Walter Agazzi
028567e890
AGS: Engine: improved parameter logging in SetAudioTypeVolume
...
from upstream 94598f32ff20494a3239f258ac972f8108bc05bf
2023-01-17 17:27:07 +00:00
Thierry Crozat
483ff1bc30
AGS: fixed object cache may sometimes keep an old dynsprite ref
...
This may result in object texture not updating if the old sprite was deleted but a new dynamic sprite was created right after having same ID.
Was broken by upstream 9dffb04 in 3.5.1, and also some later changes in 3.6.0.
From upstream 7ed51861898d864902b0f61b0cb7d0acadef1fe3
2022-10-10 00:16:16 +01:00
Thierry Crozat
5987bc5e6e
AGS: rewrote eAGSMouseButton enum to sync with the script API
...
* Changed from -1 - based constants to 0 - based constants;
* These were purely internal values, therefore no API would be harmed;
* Removed necessity of converting from internal mouse button code to script and back all the time;
* On a side note, this fixes a bug where WaitMouse etc were returning incorrect values on mouse skip, because we forgot to convert from internal to script code.
From upstream 471098d239b076c494beb2d554572ccb69372667
2022-10-10 00:16:16 +01:00
Thierry Crozat
119e09e56e
AGS: Removed a too early call to pl_stop_plugins() and fixed another
...
There's one call in unload_game_file(), which should be called after
all objects that may have been provided by plugins are disposed
(fonts, managed objects).
From upstream 462cabe7353fc75f3cf70222a97028066f12f030
2022-06-24 20:54:47 +01:00
Thierry Crozat
3a4d94bf0b
AGS: Updated Multitasking setting
...
* Added `[misc] multitasking=[0,1]` to config, acting as a *starting*
setting, which may be changed by runtime call to `SetMultitaskingMode`;
* Ensure multitasking mode is overridden by connected external debugger
(always on, if possible);
* Let multitasking mode work in "fullscreen desktop" gfx mode (still
disabled in exclusive fullscreen);
* Now correctly reset multitasking mode if gfx mode changes.
From upstream 9f091926e393f75c90c951f9597710bf17395332
2022-06-23 23:57:27 +01:00
Thierry Crozat
5089b28645
AGS: Added more logging for multitasking mode, switching in/out
...
From upstream d3925672f5b96fab3308b606eb6f38dc279636d7
2022-06-21 23:28:01 +01:00
Thierry Crozat
0c936b888d
AGS: Fixed GUI textual controls not redrawn when translation changes
...
From upstream 618d2e38a118f47389aaf7e57972b2520b81fc1b
2022-06-21 23:28:01 +01:00
Thierry Crozat
fe80834639
AGS: Store DialogTopics in std::vector
...
From upstream 2609c0d1ee43a4f997021ce48ca2a4f70ca1a6c7
2022-06-20 23:52:25 +01:00
Thierry Crozat
b49d3b2e9f
AGS: In unload_game_file() don't error if quit during the of dialog
...
From upstream c7bd448dfffc197c4398a38395b444457c958d24
2022-06-19 20:50:24 +01:00
Thierry Crozat
e90fb00412
AGS: Replaced more strcpy with snprintf, for safety
...
From upstream 1b6cf053ebbe85e7ba6c5828e2582d757503bc16
2022-06-19 20:50:24 +01:00
Thierry Crozat
b948d94ce2
AGS: Implemented dialog_options_close callback
...
From upstream 88cb130d1063bf5268bbcae29ffaae37324f5a30
2022-06-19 00:46:56 +01:00
Thierry Crozat
282ee9ad97
AGS: Fixing more trivial warnings
...
From upstream 83f7d9857e70f7d1d10fedf61196740d20ba0b0a
2022-06-18 01:08:54 +01:00
Thierry Crozat
5d8c66c511
AGS: Implemented debug keys for saving/restoring a game
...
This may be useful in case the game does not provide any save system, or one is broken.
From upstream 86130ec92f6966cfa2d5565c749ba839acad8136
2022-06-16 23:16:20 +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
Thierry Crozat
aecb62429d
AGS: Update shared texture when dynamic sprite changes
...
From upstream 6be0e6d094e70e96d93a9ee4dd31ca166663eeaf
2022-06-13 00:30:21 +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
a8ebf2b41b
AGS: Added "clone" parameter to Overlay.CreateGraphical()
...
From upstream 2a7adfb6a3424017913c9a6c240525029debf1e0
2022-05-08 11:37:49 -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
830c1b096b
AGS: introduced ObjTexture struct which combines bmp and ddb
...
From upstream b628fb4d1b3ca6a85e2b2424a468f4cec94ae9c6
Also includes new implementation of std::vector class to
properly allow for arrays of smart pointers
2022-05-05 22:41:05 -07:00
Paul Gilbert
ebe2096af7
AGS: Call unload_game_file() in quit()
...
From upstream 1118be9d3f09037b995554d7aad47a400a76fafc
2022-05-01 17:23:26 -07:00
Paul Gilbert
fbd328b0ae
AGS: On changed or deleted dynamic sprite, also update sliders
...
From upstream f675c7ff7eb33bc2969098ab59afffac078b95bb
2022-05-01 17:23:23 -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
2df62bdd55
AGS: Only redraw gui controls when they are marked as changed
...
From upstream 27a6bd6a13494cd670fb6749e5bd663f088487ea
2022-05-01 17:23:19 -07:00
Paul Gilbert
6ee31a530e
AGS: Removed unnecessary ags_domouse() calls
...
From upstream de28de1dd44d991a479ae0adb5fdb4996fe33656
2022-04-29 22:20:39 -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
ecb7e42439
AGS: unserialize dynamic objects using MemoryStream
...
From upstream c9007679f21e8347d34312b0dd078bbbd29f0de5
2022-04-23 22:14:54 -07:00
Paul Gilbert
1f666cf0dc
AGS: Fixed loading a different game when restoring a save
...
From upstream 56fb3029f61706b655f778349e2c4f50c8e03427
2022-04-23 19:26:25 -07:00
Paul Gilbert
17bac5b1ef
AGS: Removed redundant function domouse(int what)
...
From upstream 3dfda41382bdd10e3b2b78f797fade8b5dcc1efa
2022-04-23 18:15:02 -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
aeddd232e0
AGS: Removed animating buttons limit
...
From upstream 484f6d3f44c7dbb361ddeebd8bb46862760501bc
2022-04-13 21:55:18 -07:00
Paul Gilbert
0b639b8f46
AGS: Implemented video pause/resume, react to window focus events
...
From upstream 5934c62be17e179607c3387ea31c70bfddaac399
Stuff in the VideoPlayer class not implemented
2022-04-12 22:27:57 -07:00
D G Turner
3451e18f70
AGS: Fix Cast Qualification GCC Compiler Warning
2022-04-02 16:47:59 +01:00
Paul Gilbert
18f2ab00cd
AGS: Fixed and simplified MakeSaveGameDir() to match recent changes
...
From upstream 133843b5c1eef7b8614532be9b62d6a8809069db
2022-03-31 21:43:00 -07:00
Paul Gilbert
1d92ed73d9
AGS: Code rewrite: split SetSaveGameDirectory to make things easier
...
From upstream a53c06090a268b8c6dd6aa30369a30db2d3513a7
2022-03-31 21:34:33 -07:00
Paul Gilbert
8d8b786079
AGS: Don't mkdirs in the platform driver, return FSLocation instead
...
From upstream 13312e9a1d3a427f49ccfe4e78f7d0736123a809
2022-03-31 20:04:43 -07:00
Paul Gilbert
719ea5b72c
AGS: Added Game.ChangeSpeechVox and SpeechVoxFilename
...
From upstream ef3e9ae2df25fba24a3c1c091c81981431a72f36
2022-03-27 19:14:55 -07:00
Paul Gilbert
6ab3c326b3
AGS: Don't quit if setting translation failed on start
...
From upstream ac5cb3be64a5c23e8d274099baed76b0b54cfb17
2022-03-27 19:14:54 -07:00
Paul Gilbert
16b89bd8ea
AGS: tidy SOUNDCLIP's fields (volume, panning) and methods
...
From upstream 66514167d3463f8191b10ec13898df136e8e33ee
2022-03-19 21:25:08 -07:00
Paul Gilbert
c25b08448d
AGS: Removed AudioChannelsLock as it's no longer needed
...
From upstream 43f9320f66bb881920e6f812d1c642e793b134b6
2022-03-18 21:29:56 -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
2d995bbe07
AGS: Simplified use of ReplaceBitmapWithSupportedFormat()
...
From upstream 2132ba833b9d4508ed3f81a65f531b88f6087cb5
2022-03-14 21:33:38 -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
Alexandre Detiste
6044504762
JANITORIAL: typos
...
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Paul Gilbert
336f6220d5
AGS: Improved savegame screenshots
2021-09-29 21:02:22 -07:00
Paul Gilbert
311f60f1f1
AGS: Separate functions for resetting input states
...
From upstream ece319e73f7ee783740dc936c1f4c910a900f56a
2021-07-31 14:34:09 -07:00