Commit Graph
67 Commits
Author SHA1 Message Date
Thierry Crozat 08db4be24c AGS: As a hotfix, restored the old way to test for hung script loops
The timeout method introduced by 6f665dfe is not working very well and
gives "false positives", so I'll disable it for the time being.

From upstream e0edb28b6606c360a1ea3fdcc487c2b05929ed02
2022-06-23 23:57:49 +01:00
Thierry Crozat 6f665dfe68 AGS: Test for hanging script using timeout instead of while loops
From upstream c34f0c96596f1a7814c15e7a06c2c498cb95ebfc
2022-06-23 23:57:27 +01:00
Thierry Crozat fe80834639 AGS: Store DialogTopics in std::vector
From upstream 2609c0d1ee43a4f997021ce48ca2a4f70ca1a6c7
2022-06-20 23:52:25 +01:00
Thierry Crozat b948d94ce2 AGS: Implemented dialog_options_close callback
From upstream 88cb130d1063bf5268bbcae29ffaae37324f5a30
2022-06-19 00:46:56 +01:00
Thierry Crozat 74416f547f AGS: Removed redundant arrays keeping copies of obj script names
From upstream f0887ba798b9df7aa70125b432efd5d62c64a622
2022-06-15 22:13:02 +01:00
Paul Gilbert 1933841f79 AGS: Removed numgui* variables, use size of vectors instead
From upstream 095cf9d77c96fb3a1f9e887d7aaa1ef1e92ebe60
2022-05-10 21:35:19 -07:00
Paul Gilbert 97c12e8435 AGS: Merged Character and ObjectCache structs, and hid in draw.cpp
From upstream 753d47d975b10666702c47a22cbc4e68847787f1
2022-05-05 22:41:09 -07:00
Paul Gilbert a40ea44aa2 AGS: CharacterCache is stored in std::vector, hide in draw.cpp
From upstream 417879fce0dc27d458a73fedc20f311f3305f26f
2022-05-05 22:41:08 -07:00
Paul Gilbert 6482e38803 AGS: CharacterExtras and MoveLists are stored in std::vector
From upstream 0c81cfefb788c0dcfdb2cad914f939f28110edca
2022-05-05 22:41:08 -07:00
Paul Gilbert 16d0d89787 AGS: Grouped ccError variables in a struct
From upstream 48ef387226e4d420dc62d0a0b204cf4cd89a1139
2022-05-05 22:41:07 -07:00
Paul Gilbert a2a5f2575d AGS: Reorganized few cc_ headers
From upstream ea1f8b9ece69fc7c49c4d3aa7b9af51c4ca736e5
2022-05-05 22:41:07 -07:00
Paul Gilbert 6ef504bba2 AGS: Store gui draw order in a std::vector
From upstream fcc873ef0c26439faf67100f4d70d540434ca9f5
2022-05-01 17:23:22 -07:00
Paul Gilbert d2b03800c6 AGS: Allow to place sounds on a crossfade channels for compatibility
From upstream 86564e983572b4ffb3cd12b00c116ae91c6fcbe4
2022-04-29 22:20:39 -07:00
Paul Gilbert 043f80a237 AGS: Avoid using global "game" in game_init because it's possible
From upstream 4041a18e7c1744aa59773da19de40b51bdc78a49
2022-04-24 16:00:05 -07:00
Paul Gilbert 9533c0e028 AGS: Made script module index an unsigned value
From upstream bd4e65677eb0319ff746e519ee40016000a4f4f9
2022-04-24 16:00:04 -07:00
Paul Gilbert 09da0fbf5d AGS: Implemented dialog_options_text_input(int chr) callback
From upstream 76db49c6189810faa467b00c1aef9e78c526876d
2022-04-18 19:10:39 -07:00
Paul Gilbert 84a54f5e8e AGS: Remade OPT_FONTLOADLOGIC into individual font's flags
From upstream 54c5303c5e0ed98609397d9e5df4114f128fb4a2
2022-03-27 13:37:14 -07:00
Paul Gilbert 0211fa25e6 AGS: Moved linespacing precalc to post_init_font()
From upstream f848107265d2662819636790d24c13292fe2ec82
2022-03-23 20:17:33 -07:00
Paul Gilbert ca4c91031b AGS: Configurable font init mode, for backward compatibility
From upstream 9a11a1d4334aef99b8b516a13d5a5bcc0284fde7
2022-03-23 20:09:46 -07:00
Paul Gilbert d42b639142 AGS: Always precalculate and save font linespacing (as outlined)
From upstream 8ba3a77e38a6dc8ace6d6393042730d73292a1a7
2022-03-22 22:30:14 -07:00
Paul Gilbert dc3ce9f70a AGS: Renamed few font functions for consistent naming style
From upstream 9c355da410b734edc79212009a5e1be0b502c3b0
2022-03-22 22:30:13 -07:00
Paul Gilbert a3dda03cf1 AGS: Store Views in std::vector
From upstream 095db88ae0f1acceb298f793a2e1b81dbe06fcff
2022-03-18 21:29:56 -07:00
Paul Gilbert ee311d660f AGS: Make game audiochannels limit defined by a game version
From upstream 65f0b843dfd85967135eca1bda46976aa1ddcf26
2022-03-17 21:49:25 -07:00
Paul Gilbert 3167bac67b AGS: More clear use of the "max channels" constants
From upstream 2fd582a2a5fc9d38643277903854a977f8995e07
2022-03-17 21:49:25 -07:00
Paul Gilbert 4293a267cb AGS: Corrected font outline upgrade condition
From upstream 070b3ff3d0040f65ef42764033cf0d01742926ff
2022-03-17 21:49:24 -07:00
Paul Gilbert 448bb2d77e AGS: Moved "LucasFan" font hack to game_init, enable for all systems
From upstream 5d84ea958f9d2ba5582e69f211dbcb006ed4e187
2022-03-14 21:46:58 -07:00
Paul Gilbert 255a739eca AGS: Encapsulate game object draw caches in draw.cpp
From upstream e04ebc0039580faf017ceb0acbeeab975bf44fcc
2022-03-14 21:04:09 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert b63427641d AGS: Moved font's linespacing hack into the game_init
From upstream f8ad7b96b46c33156ee1d6c7c4b64b5029c7b93b
2021-09-21 18:45:18 -07:00
Paul Gilbert d865acf606 AGS: introduced font outline style and thickness parameters
From upstream 43425f738dc6beb7d0758e256a840c5f37a4d38a
2021-09-20 17:20:59 -07:00
Matthew Duggan 5bd8bffad9 AGS: Fix build for short int platforms 2021-08-01 11:13:33 +09:00
Paul Gilbert 101be6b282 AGS: fixed lipsync data lost when doing RunAGSGame()
From upstream 599fb0c0882bdc511d2dd9e533a5b996b9ba4bc9
2021-07-31 14:34:09 -07:00
Paul Gilbert 7a61c3838a AGS: Added GetScriptAPIName() and use it instead of an array
From upstream 20d8861d742a8ce61a9f5f72547d5f17025c2f0e
2021-07-10 14:33:39 -07:00
Paul Gilbert 188951a499 AGS: Supports reading scripts as separate assets
From upstream 4de348c79b14dc9f6801b497ae5d7ea4fa1077cd
2021-07-10 14:33:38 -07:00
Cameron Cawley 9b348b3e7d AGS: Fix more type mismatches 2021-06-16 13:03:41 +01:00
Paul Gilbert edb1ac0f6c AGS: fixed formatting type for several size_t and soff_t values
From upstream 548573740a5c8acc48600f9b069b7d1dc94d0dc3
2021-06-13 21:09:01 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Thierry Crozat 0dd5962b70 AGS: Only apply upscale mode for game formats < 3.1.0
This is taken from upstream to fix starting Gemini Rue
Windows from GOG.

See https://github.com/adventuregamestudio/ags/issues/1246
2021-03-27 00:36:41 +00:00
Paul Gilbert 24d800ae1b AGS: Move agsstaticobject.cpp globals to Globals 2021-03-12 21:14:38 -08:00
Paul Gilbert 3a0a70bc43 AGS: Move more game.cpp globals to Globals 2021-03-10 21:01:11 -08:00
Paul Gilbert 2d82d32577 AGS: Move draw.cpp globals to Globals 2021-03-09 21:14:02 -08:00
Paul Gilbert 81976cb994 AGS: Move dialog.cpp globals to Globals 2021-03-08 19:22:34 -08:00
Paul Gilbert dc019af530 AGS: Move character.cpp globals to Globals 2021-03-08 19:04:35 -08:00
Paul Gilbert f05ad88320 AGS: Move gui.cpp globals to Globals 2021-03-08 18:41:26 -08:00
Paul Gilbert 37b563ef35 AGS: Move game globals to Globals 2021-03-07 19:23:24 -08:00
Paul Gilbert 3fb4b083ec AGS: Move audio globals to Globals 2021-03-07 15:54:11 -08:00
Paul Gilbert 21e9dde4ca AGS: Move cc_error.cpp globals to Globals 2021-03-06 15:11:39 -08:00
Paul Gilbert 94423abaa1 AGS: Move usetup to Globals 2021-03-05 21:36:00 -08:00
Paul Gilbert 8989092cb5 AGS: Move guilabel.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert ae99244e06 AGS: Move game_init.cpp globals to Globals 2021-03-03 20:25:07 -08:00