Walter Agazzi
8e915febde
AGS: Engine: fixed callstack not reported in case of script api errors
...
This was broken by 9e76800
From upstream 716a36aa0252a7481d299d4e409eed2d56239bb3
2024-10-30 18:07:42 +02:00
Walter Agazzi
73526c8f1c
AGS: Engine: add SPF_OBJECTOWNED flag for dyn sprites owned by Overlays
...
Currently this is only to skip checking them when exiting the game.
Partially from upstream f535a4b7fec65bb00b13c883a0b3e1154509f651
2024-10-30 18:07:42 +02:00
Walter Agazzi
822842d038
AGS: Engine, Common: refactor guard using set_our_eip
...
Remove naked our_eip usages
From upstream 9f4371ab8c2fbc9ccf41b49f7b975ebe8bc5d1b8
2024-10-30 18:07:42 +02:00
Walter Agazzi
3a5ccd4cba
AGS: Engine: moved dynamic object management functions to a separate unit
...
From upstream 1a9df937e3ac9eba0c2f5b663507a52569d635e0
2024-10-30 18:07:42 +02:00
Walter Agazzi
c46b2feaca
AGS: Engine: removed redundant quit_shutdown_scripts()
...
Scripts are shut down in unload_game().
It did not do what the function name implied anyway...
From upstream 67c0bdc9e854c558282d290ef5952ac211cc4133
2024-04-02 23:18:14 +02:00
Walter Agazzi
f09519834c
AGS: Engine: updated unload_game_file(), fix few things not reset
...
This is not as important in case of game quit, as it is in case of RunAGSGame().
* Adjusted order of data release in unload_game_file() to be in sync with 3.6.1 (as much as possible).
* Fixed GameSetupStruct not releasing some of the data in Free().
Noteably this fixes font infos to not getting fully reset on RunAGSGame().
from upstream 1cc9d22095d0ee90541ce506fa54c538de7ca4ad
2024-03-28 12:03:33 +01:00
Walter Agazzi
118f6fde0a
AGS: When quitting with an alertbox, also print error to console
...
Minor QoL improvement for easier bug reporting
2023-05-02 18:44:56 +02:00
Walter Agazzi
37f97cc8b6
AGS: Engine: add bitness and endianess to the printed engine version
...
+ Use term "engine" instead of "ACI" (a legacy "Adventure
Creator Interpreter" title).
From upstream eaf298ae3f96db6e37bfd9ac99bad1dff48430ae
2023-04-29 13:11:41 +02:00
Walter Agazzi
97d08215b5
AGS: Engine: Use a single function to send messages to editor debugger
...
From upstream 003243d6c925d176d6e206bed7c1c930952ba2da
2023-03-12 20:58:28 +00:00
Le Philousophe
7f90669bdd
AGS: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02: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
76aebcd336
AGS: Tidy the quit message code and add comments
...
From upstream 3b4d21ab7025d4b66e7351639073f6d62e44f277
2022-06-21 23:28:01 +01:00
Paul Gilbert
8e132f7b3f
AGS: cc_error returns stack from all script threads
...
From upstream 9e76800d668d8d0af7d47d815e6d1b781c7601f6
2022-05-05 22:41:07 -07:00
Paul Gilbert
cfefb80461
AGS: Moved font renderer shutdown after the game data disposal
...
From upstream 0914030ff28647262e53d611f8de8e9b5f3aca16
2022-05-05 22:41:06 -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
68e5184afa
AGS: Replaced some (v)sprintfs with sNprintf counterparts
...
From upstream a34bd392249f87a152dc470d90c67a7d193a28d8
2022-04-27 20:51:30 -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
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paul Gilbert
31bf101af1
AGS: Fix quitting via abort key
2021-08-21 10:49:13 -07: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
eb1e337edd
AGS: Removed String's "const char*" conversion operator
...
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert
d57474ce59
AGS: Provided more function variants accepting const String&
...
From upstream 44402962003db439e54d79e0c562fba1cf59e455
2021-06-13 21:08:58 -07:00
Paul Gilbert
c111ef5f45
AGS: Changing ::remove to File::DeleteFile
2021-06-13 21:08:56 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00
Paul Gilbert
7462386f66
AGS: Remove unused test globals
2021-03-12 19:41:09 -08:00
Paul Gilbert
f8eb923d25
AGS: Moved cdaudio.cpp globals to Globals
2021-03-12 19:41:09 -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
bb488f2d58
AGS: Move dynamicsprite.cpp globals to Globals
2021-03-08 21:12:00 -08:00
Paul Gilbert
37b563ef35
AGS: Move game globals to Globals
2021-03-07 19:23:24 -08:00
Paul Gilbert
94423abaa1
AGS: Move usetup to Globals
2021-03-05 21:36:00 -08:00
Paul Gilbert
ef245e2104
AGS: Move thisroom to Globals
2021-02-28 13:27:21 -08:00
Paul Gilbert
80bfa0510d
AGS: Move troom to Globals
2021-02-28 13:27:21 -08:00
Paul Gilbert
334b2a9d48
AGS: Move play to Globals
2021-02-27 15:31:34 -08:00
Paul Gilbert
1a8ae27b58
AGS: Move game & spriteset into Globals
2021-02-26 21:28:53 -08:00
Martin Gerhardy
485a229007
AGS: fixed potential buffer overflows due to missing null byte
2021-02-26 11:19:11 +01:00
Cameron Cawley
ff276f88ff
AGS: Refactor audio code
2021-02-08 18:03:22 -08:00
Paul Gilbert
f548bdae38
AGS: Cleanup of error message display
2021-02-07 19:19:39 -08:00
Paul Gilbert
32981785fd
AGS: Don't show interface_click error dialog on exit
2021-02-07 15:02:07 -08:00
Paul Gilbert
d6b8c21557
AGS: Merged engine/plugin/ into plugins/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
ec02e1a118
AGS: Move debugger globals to Globals
2021-02-06 16:37:31 -08:00
Paul Gilbert
f432dc29c2
AGS: Move quit globals into Globals
2021-02-06 16:37:31 -08:00
Paul Gilbert
e2469a8cfa
AGS: Move globals from ags.cpp to Globals
2021-02-06 16:37:31 -08:00
Paul Gilbert
cf9bbb2bb2
AGS: Beginnings of new Globals class
2021-02-06 16:37:31 -08:00
Paul Gilbert
3155da5ed4
AGS: Allow graceful exit after call to quit
2021-02-06 16:37:31 -08:00
Paul Gilbert
9a78e04039
AGS: Beginnings of engine/ inclusion
2021-02-06 16:37:31 -08:00
Paul Gilbert
a7a9ca0543
AGS: Adding AGS3 namespace to cpp files
2021-02-06 16:37:31 -08:00
Paul Gilbert
d8e471b03c
AGS: Changing Common namespace to Shared
2021-02-06 16:37:31 -08:00
dreammaster
8026e4bb30
AGS: Run astyle formatting
2021-02-06 16:37:31 -08:00
Paul Gilbert
bd6a58d1a1
AGS: Adding ScummVM comment headers
2021-02-06 16:37:31 -08:00