Thierry Crozat
fa87b3f28f
AGS: force update gui metrics on load and on game start
...
This fixes some controls not reporting their metrics correctly until first displayed on screen.
From upstream ea4e6762236a13621ba0771b9d5d8ac4bcf33ee8
2022-10-09 19:12:22 +01:00
Thierry Crozat
29505204c1
AGS: Turned want_exit and abort_engine vars from int to bool
...
From upstream e924778ce3f88a4c821a4eecfea8edc353a6807b
In ScummVM they were already bools, but where still assigned values
of 0 and 1 instead of false and true in some places.
2022-06-23 23:57:27 +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
305fdb853a
AGS: Abort current scripts on close window event
...
This helps kill "hanging" scripts if user closed the window while
there's no real engine update.
From upstream a758fd6de2dccd0c948fc7f9e5b65200df902a65
2022-06-23 23:57:26 +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
d6d464f898
AGS: Fixed sprite cache limit was reset on sprite file open
...
From upstream 4f57730e2b3d41af4fd0300e8b092d31d448f544
2022-06-16 23:16:20 +01:00
Paul Gilbert
d2547418c0
AGS: Added show_fps to config
...
From upstream 2d6e0fca6bd310822e4f82ed95eb2bb5c116ac65
2022-05-05 22:59:51 -07:00
Paul Gilbert
d385968209
AGS: Tidy up mobile config once more and get rid of psp_* variables
...
From upstream 4ba8fbed2f16786e86f201f57fdaaa91cc887700
2022-05-05 22:41:10 -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
6482e38803
AGS: CharacterExtras and MoveLists are stored in std::vector
...
From upstream 0c81cfefb788c0dcfdb2cad914f939f28110edca
2022-05-05 22:41:08 -07:00
Paul Gilbert
21ab95f5ab
AGS: Remove RegisterGameWithGameExplorer()
...
From upstream 1554207f04dc6999994d02956587b302bb56f858
2022-04-29 22:20:39 -07:00
Paul Gilbert
23a2e8c709
AGS: More config parse helpers: reading boolean ints, min-max range
...
From upstream 9737cabb8e7562122f8c471793bd994685d72bfe
2022-04-27 20:38:38 -07:00
Paul Gilbert
7b0bfee7cc
AGS: Renamed and moved INIread/write functions for proper org&style
...
From upstream 18398a7d695e81575218380e1bba28010c239fdc
2022-04-27 20:25:31 -07:00
Paul Gilbert
7fb5f6d21a
AGS: Support option for software renderer's output driver
...
From upstream d45f77548675f06056143d6989929870338b34a1
2022-04-21 21:31:00 -07:00
Paul Gilbert
5060848b48
AGS: Support requesting particular audio driver
...
From upstream 076e675a3d031cd0a9d162f914e6d94c93a10d71
2022-04-21 21:20:58 -07:00
Paul Gilbert
1b502b3d0f
AGS: Switch text format mode depending on OPT_GAMETEXTENCODING
...
From upstream 1295b8b70eced8ea7c6e277d0595c24e58b6c657
2022-04-12 22:27:58 -07:00
Paul Gilbert
29ea22c308
AGS: Add rotation support in config
...
From upstream d68e28eb1927c6c4391cddfe1e6294142181c365
2022-04-12 22:27:58 -07:00
Paul Gilbert
6fb506b1fe
AGS: Prevent reacting to window events during gfx mode init
...
From upstream b288b1ccb35b615bec9eb049352fa51adab1415a
2022-04-10 19:39:07 -07:00
Paul Gilbert
e4a6bd71f6
AGS: Option to clip GUI Controls' contents to their rect
...
From upstream 6c2612eb087924255a04d2da1dc1d5c8559d28b3
2022-04-10 19:39:06 -07:00
Paul Gilbert
3425f8faf2
AGS: Moved couple of gui-related global vars into GuiOptions struct
...
From upstream 973d238a2c20368d8932ade22d2965d121cb7793
2022-04-10 19:39:06 -07:00
Paul Gilbert
f5cfc86d70
AGS: Audio core init may throw
...
From upstream 0bd5a95eaabb87afc1ef577f3757f90b8953761d
2022-04-10 19:39:05 -07:00
Paul Gilbert
0408ce2b72
AGS: Fixed unnecessary registration of empty optional data paths
...
From upstream af24f3c307b3080e4ec8a7215dcac496f9ce38c6
2022-04-08 22:17:50 -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
e37ab7b725
AGS: Implemented "localuserconf" option in cmdline and global config
...
From upstream 109a9d985f498ed31308e2e97e1b97fa306c87c0
2022-03-31 19:36:12 -07:00
Paul Gilbert
70d620c07a
AGS: Support freely switching voice-over pack at runtime
...
From upstream 40b6fff14ac404185b822245bc1a3ba4af928a12
2022-03-27 19:14:55 -07:00
Paul Gilbert
8e310c5d98
AGS: Split GameState::want_speech into two variables for easier handling
...
From upstream 2f6e7362f742c59020fc6a70fdf67c5a87ff2e69
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
8e12d38366
AGS: Simplier implementation of --windowed/--fullscreen cmd arg
...
From upstream 87d14d90579cbcf798ff7b6b72f125b54803c74e
2022-03-27 19:14:52 -07:00
Paul Gilbert
db3e087526
AGS: Fixed play.globalscriptvars[] was not initialized on start
...
From upstream b5c8feb3f70d35eebbab30d80d08f1c901081be2
2022-03-27 13:37:12 -07:00
Paul Gilbert
c4e7bd355b
AGS: Distinct "real fullscreen" and "desktop fullscreen" window mode
...
From upstream e7763cea241d46e360ed48dcb07bc8c75e591a8c
2022-03-22 22:30:13 -07:00
Paul Gilbert
d7727eb964
AGS: Separate configs for fullscreen and windowed modes
...
From upstream 96a1868fcf5d5aa0c070feaebc912c969348db0f
2022-03-22 22:30:13 -07:00
Paul Gilbert
1ad9fe0a37
AGS: Deprecated "ScreenSizeDefinition" option as overcomplicating
...
From upstream 997170c80c6189b0f4d6940cc1817dabcd77fe30
2022-03-22 22:30:12 -07:00
Paul Gilbert
106622d44c
AGS: Removed "scaling factor" from the FrameScaleDefinition struct
...
From upstream b2a4e98ecdd8cfd1d8e42ab32f6f337af60e5a68
2022-03-21 22:08:04 -07:00
Paul Gilbert
83c785cf22
AGS: Slightly more clear platform driver init/exit steps
...
From upstream b539f0c5c57514fb77875b4d15fc623e0251de52
2022-03-20 22:11:56 -07:00
Paul Gilbert
fff50e3735
AGS: Moved IsFile() and similar functions from Path to File unit
...
From upstream ab78e1c454d1d0e60eac5a27672f27aa2487e24f
2022-03-20 22:11:55 -07:00
Paul Gilbert
6aa5960eed
AGS: Ensure quit() is called if engine startup was interrupted
...
From upstream 099cb50246f3cde2df1ccfc13347607d77ccd094
2022-03-19 21:25:10 -07:00
Paul Gilbert
a3dda03cf1
AGS: Store Views in std::vector
...
From upstream 095db88ae0f1acceb298f793a2e1b81dbe06fcff
2022-03-18 21:29:56 -07:00
Paul Gilbert
27dc8075fb
AGS: Configurable user paths support $GAMENAME$ token
...
From upstream c61191084fbdc8d60d147dc4238dc43797716e2c
2022-03-17 21:49:27 -07:00
Paul Gilbert
78b9068a91
AGS: Replace "localuserconf" option with "user-conf-dir"
...
From upstream 9edb428aa028164081cd9a4f9050cf5fa0767964
2022-03-17 21:49:26 -07:00
Paul Gilbert
6e695f7817
AGS: Only set default character's idle delay for games < 3.6.0
...
From upstream 8e6152837a6bc73ff50f6a304ed58b38997b5418
2022-03-17 21:49:24 -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
Eugene Sandulenko
801266eca5
AGS: Use safer string copying
2021-12-21 00:21:54 +01:00
Paul Gilbert
d90cb0d203
AGS: Removed excessive headers containing random group of includes
...
From upstream 9e5149457a4638694fb1366b3fa59b08816f522c
2021-08-17 21:31:56 -07:00
Paul Gilbert
12b9c52fba
AGS: IGraphicsDriver must also know native game color depth
...
From upstream 0f9392acc1dd71b9b849af0eefbccdd92be12b30
2021-07-31 14:34:09 -07: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
311f60f1f1
AGS: Separate functions for resetting input states
...
From upstream ece319e73f7ee783740dc936c1f4c910a900f56a
2021-07-31 14:34:09 -07:00
Paul Gilbert
65f992979e
AGS: Implemented Game.BlockingWaitSkipped
...
From upstream ce6bd0173f668932a0a5cab41119d2a476f7e73c
2021-07-27 22:03:38 -07:00
Paul Gilbert
9612b5cb35
AGS: distinct overlay types of speech and messagebox
...
From upstream d7c091890d2cde07776cca4ebbed7352d379612d
2021-07-27 22:03:37 -07:00
Paul Gilbert
cf3cc50981
AGS: Remove global macro from some strings and comments
2021-07-12 20:05:28 -07:00