Thierry Crozat
7d88a52275
AGS: Engine: fixed restoring a legacy savegame
...
From upstream 9776df3c8403f252e981f5518c48eace2e83d373
2022-12-15 22:40:17 +01:00
Hubert Maier
912adcf19b
AGS: Correct spelling mistake
...
accomodate -> accommodate
2022-10-27 15:56:08 +02:00
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
13c3d6cddc
AGS: Increased Room Objects limit to 256
...
From upstream b71f820c992d70ffef8f40b783ee4b53df634254
2022-06-15 22:13:02 +01:00
Thierry Crozat
5d9ae41cd6
AGS: Store room objects in std::vector
...
From upstream 5f3b8eb509c9535c75b401f9b7257f7c7acd0e6d
2022-06-15 22:13:02 +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
c4457ce443
AGS: Changed ComponentHandlers array from being global objects
2022-05-31 18:46:33 -07:00
Paul Gilbert
b736c3af77
AGS: Make the ComponentHandlers array static const
2022-05-30 15:23:20 -07:00
Paweł Kołodziejski
c4e8320ed4
AGS: Avoid global constructor
2022-05-30 19:42:27 +02:00
Paul Gilbert
7c7c94d85a
AGS: Fixed crash when quitting with error during restoring a save
...
From upstream 6f2156704e4e6534b71094c4a90666d5aa3a8daf
2022-05-10 21:38:24 -07: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
91d25a3098
AGS: Added animation volumes to save format
...
From upstream 752da45aa7666355e383df0f1017cf5c5842fea1
2022-05-10 21:18:01 -07:00
Paul Gilbert
898650ebbd
AGS: Fix WriteOverlays method
2022-05-10 21:17:52 -07:00
Paul Gilbert
3ac6998a98
AGS: Support Overlays not copying the image, but storing a sprite id
...
From upstream fd14bd4075bd9e6a577235f2434275b260250c46
2022-05-08 11:37:49 -07:00
Paul Gilbert
cf091f2d3e
AGS: Replaced couple of variables in ScreenOverlay with flags
...
From upstream 38a4e8c262f0ec796225494fc939b283680caf57
2022-05-06 20:16:41 -07:00
Paul Gilbert
429d1dcbb4
AGS: Removed hasSerializedBitmap Overlay's member, + added comments
...
From upstream 67a4c1da9ebcd5626f2fe42a3a9ed42d90994735
2022-05-05 23:17:19 -07:00
Paul Gilbert
b1649597d7
AGS: Replaced Math/std Min/Max with ScummVM macros
...
Inspired by 6dee5ee6f271c600e30879d892295ea6069e8cc9
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
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
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
b2d5b6e586
AGS: Implemented Overlay.Width & Height working as scaling
...
From upstream 3a27e81a710a1c3de4b745d84dca39554dc64385
2022-05-01 17:23:24 -07:00
Paul Gilbert
8319217b7a
AGS: Added GUIControl.Transparency
...
From upstream a7c406b1d162bf9ac3896ecb8e26bc6d5327ecfe
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
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
99c97541e4
AGS: Set current savegame version to 360beta
...
This is a portion of upstream 018d8790f8a8f3d39088cedace98b52d7ef730db,
but I didn't implement all of it, because we still need savegame
thumbnails for showing in the GMM
2022-04-29 22:20:38 -07:00
D G Turner
ead607938b
AGS: Fix Various Signed vs. Unsigned Comparison GCC Warnings
2022-04-27 12:25:46 +01:00
Paul Gilbert
357679d2a8
AGS: Fixing unimplemented cases in switches
...
From upstream f2bb0d055344197b6e4ed537c3107fe0c9784e50
2022-04-25 21:50:33 -07:00
Paul Gilbert
a6f42ad1ab
AGS: Fixing various "unused va/arg" warnings + removed empty funcs
...
From upstream 61771ecd638338806c40d0da2bf1addea06cac90
2022-04-25 21:44:40 -07:00
Paul Gilbert
a633e9d72f
AGS: Fixing various type-cast warnings
...
From upstream 6c42c7331e96386721f28c92ec3cb4cd039e10cd
2022-04-25 20:06:19 -07:00
Paul Gilbert
5b291a5ef0
AGS: Typecast warning fixes in data serialization
...
From upstream f781cb76a806f9ffcd9d29c51441eaab0136e598
2022-04-25 19:47:02 -07:00
Paul Gilbert
07e74fdd72
AGS: Typecast warning fixes in data serialization
...
From upstream efed621fda5adabac8937b8d0ca64e537fabdfeb
2022-04-25 18:47:08 -07:00
D G Turner
a6a3b324bf
AGS: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
2022-04-25 01:30:15 +01: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
bf5e0b2d08
AGS: Updated AnimatingButton save format
...
From upstream 7920a8719db3bc39b1187a076184d9a6d66b1310
2022-04-21 22:18:33 -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
fa997d3c4b
AGS: Fixed bg frame and bg locked flag is reset on save restore
...
From upstream 2c1604074da6fc2ccea17a63596b370df0d12147
2022-04-12 22:27:57 -07:00
Paul Gilbert
60ddcb068a
AGS: In save components, "thisroom" should have same ver as "states"
...
From upstream 892e1876e9befa413b482a5524522973b49308e7
2022-04-12 22:27:55 -07:00
Paul Gilbert
2d63a71b22
AGS: Fixed formatting of soff_t values
...
From upstream 80a01b51d66f8ca3c17670527ffc1c661ff47c81
2022-04-10 19:39:09 -07:00
Paul Gilbert
dcb1099f2b
AGS: Cursor.AnimationDelay property and arg to ChangeModeView()
...
From upstream 7393b0a8ee8a23949b63cf8ba57eb1c4f4e381fd
2022-04-10 19:39:09 -07:00
Paul Gilbert
fabab1285d
AGS: Made Hotspot.Name and Object.Name settable
...
From upstream 6a7271c4df1765dc86f88d7676337b63fcef17aa
2022-04-10 19:39:08 -07:00
Paul Gilbert
9b5f0c6221
AGS: Fixed default values for restoring of audiochannels
...
From upstream 970e023af4db037e2fe24488e583b9dd3ad935aa
2022-04-10 19:39:07 -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