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
4d15fc94c8
AGS: Refactor ScummVM GfxFilter from being static global
2022-05-31 21:04:19 -07:00
Paul Gilbert
b47407e804
AGS: Fix shadowed StringMap warnings
2022-05-31 18:35:39 -07:00
Paul Gilbert
7282304951
AGS: Script API: implemented room overlays
...
From upstream 65a7cd7e7566d3a1111be10b70dcb51b1853cd88
2022-05-06 20:16:42 -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
8e132f7b3f
AGS: cc_error returns stack from all script threads
...
From upstream 9e76800d668d8d0af7d47d815e6d1b781c7601f6
2022-05-05 22:41:07 -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
480be2134b
AGS: Added script instance thread stack, replacing current_instance
...
From upstream f3443cb7a4ae5858e5d2d28131aaf6cf138bc0ec
2022-05-05 22:41:06 -07:00
Paul Gilbert
8e4254b839
AGS: Refactored walk-behinds calculation and texture generation
...
From upstream ac0c4cea6a6e41238fe74f0753fa6a458f05d954
2022-05-05 22:41:05 -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
4cd0ca9a27
AGS: Removed DrawAsSeparateCharSprite walk-behind method
...
From upstream e075376fd42c95ea2399809b7cc492cbc116b0db
2022-05-01 17:23:25 -07:00
Paul Gilbert
87994139f6
AGS: Tidied gui drawing code a little
...
From upstream c1bb2fb846c8ffe997ce2c1dda690467bc28edc4
2022-05-01 17:23:24 -07:00
Paul Gilbert
b2d5b6e586
AGS: Implemented Overlay.Width & Height working as scaling
...
From upstream 3a27e81a710a1c3de4b745d84dca39554dc64385
2022-05-01 17:23:24 -07:00
Paul Gilbert
a476850123
AGS: Calculate visible graphic size of gui controls for textures
...
From upstream a91bec5f3fa7f37187a084cabd0ab2289e609a6e
2022-05-01 17:23:19 -07:00
Paul Gilbert
c768b94cf6
AGS: Draw GUI Controls on separate textures
...
From upstream 5cbe36626842ddd900cbda8fd4b6ddfc3804456f
2022-04-29 22:20:41 -07:00
Paul Gilbert
1ba7d8435f
AGS: Scale debug overlays when necessary
...
From upstream cbbf2a0f8344fa4a5f7d91de927636c208bc446d
2022-04-27 20:25:25 -07:00
Paul Gilbert
e0282d5064
AGS: Implemented key handling switch (old/new mode)
...
From upstream b9e23731d0d792d095c1d4e83fa1797a1afeee46
2022-04-21 20:55:38 -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
8be58d3de2
AGS: Store game events in std::vector, remove event cap
...
From upstream a2f9a5ba94377686762b2828df4fccbe661d2b03
2022-04-18 19:10:29 -07:00
Paul Gilbert
aeddd232e0
AGS: Removed animating buttons limit
...
From upstream 484f6d3f44c7dbb361ddeebd8bb46862760501bc
2022-04-13 21:55:18 -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
3ca1db4cd8
AGS: Fixed engine shutdown could try to access unallocated objects
...
From upstream 1b43aeb3051c8e41811dff19d7630584d8f871b3
2022-03-21 20:30:33 -07:00
Paul Gilbert
a3dda03cf1
AGS: Store Views in std::vector
...
From upstream 095db88ae0f1acceb298f793a2e1b81dbe06fcff
2022-03-18 21:29:56 -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
ea65fe3c69
AGS: Moved SpriteFile class to a separate code unit for convenience
...
From upstream 393ef2c24bbc835d8e7a7229d40f638a6f172304
2022-03-17 21:49:22 -07:00
Paul Gilbert
6bf83c7f39
AGS: Removed Overlays' arbitrary limit
...
From upstream 735dcfb14069b38aace4cef9468d44b63349d1bd
2022-03-15 22:28:36 -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
d450abb40b
AGS: Properly destroy platform driver on exit
2021-08-20 20:36:55 -07:00
Paul Gilbert
304d82a9ba
AGS: Fix writing uninitialized data to savegames
2021-07-24 11:45:26 -07:00
Paul Gilbert
b38d1c3e6c
AGS: Fix crash when starting games with multiple plugins
2021-07-18 21:19:29 -07:00
Paul Gilbert
14b53d9a9e
AGS: Moved plugins globals into Globals
2021-07-18 17:07:02 -07:00
Paul Gilbert
83bf163365
AGS: Move script exports for DrawingSurface to a new plugins/core/ folder
2021-07-16 19:48:13 -07:00
Paul Gilbert
4c5d1335a7
AGS: fixed software mode's dirty rects in the legacy letterbox mode
...
From upstream b7fdf44a70d838a0848cd5c94ffe82821323c798
2021-07-10 14:33:41 -07:00
Paul Gilbert
454cc0fff9
AGS: Properly move Lines global into Globals
2021-07-08 20:37:51 -07:00
Paul Gilbert
f913067750
AGS: Reimplemented Translation reading in Common, similar to Game and Room
...
From upstream cae33966338b24a0d2527bc0c537ac65fe39eddb
2021-06-13 21:09:11 -07:00
Paul Gilbert
fdca14a38d
AGS: Replaced TreeMap with std::unordered_map for translations
...
From upstream 3a4603dccc175736dfc20daf3376819dfb2060e8
2021-06-13 21:09:11 -07:00
Paul Gilbert
8278e9fa52
AGS: Moved PlaneScaling to Shared
...
From upstream 080226c6b1c1a9b7ae913dedd35a2022a3ce1940
2021-06-13 21:09:08 -07:00
Paul Gilbert
e73df29f6c
AGS: Engine fixes
2021-06-13 21:08:53 -07:00
Paul Gilbert
5f4b6d74e3
AGS: Re-add proper class initializations
2021-06-13 21:08:51 -07:00
Paul Gilbert
b104d78888
AGS: Enabling disabled blocks, and making ScummVM needed changes
2021-06-13 21:08:50 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00
Thierry Crozat
b1683699bd
AGS: Fix script dump
...
The code for dumping script was not working. One issue is that it
was opening and closing the file for each line, which was very
slow. Another issue is that we do not support opening in rw mode,
so it was open in write mode only and only the last line was
available in the file. The code switches to writing the file using
Common::DumpFile and keeps the file open until we close the engine.
2021-04-14 23:54:48 +01:00
Thierry Crozat
993d73e430
AGS: Fix deletion of non-array variable
2021-04-01 01:05:28 +01:00
Paul Gilbert
9c22d4ff12
AGS: Move agsplugin.cpp global to Globals
2021-03-26 20:47:24 -07:00