Thierry Crozat
7d88a52275
AGS: Engine: fixed restoring a legacy savegame
...
From upstream 9776df3c8403f252e981f5518c48eace2e83d373
2022-12-15 22:40:17 +01:00
Vladimir Serbinenko
0006cf9aea
AGS: Fix a new[]/delete[] mismatch in main_game_file.cpp
2022-12-04 21:19:22 +00:00
Hubert Maier
169a1e00a3
AGS: Correct spelling mistake
...
refered -> referred
2022-10-27 15:56:07 +02:00
Thierry Crozat
fe80834639
AGS: Store DialogTopics in std::vector
...
From upstream 2609c0d1ee43a4f997021ce48ca2a4f70ca1a6c7
2022-06-20 23:52:25 +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
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
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
7b13f47d04
AGS: Fixing unimplemented cases in switches
...
From upstream 55345ca2b19598aeac2362d726fcaf15adf698fd
2022-04-25 19:37:00 -07:00
Paul Gilbert
f2399dc15c
AGS: Fixing various "unused variable/arg" warnings
...
From upstream 4b3c27c1a2b39d6c6b089adee111c6889d19ad0e
2022-04-25 19:17:26 -07:00
Paul Gilbert
250190e997
AGS: Fixing various type-cast warnings
...
From upstream 82e89d3c3dccfa0aba0b18c1aa544130ac7e6902
2022-04-25 18:47:12 -07:00
Paul Gilbert
07e74fdd72
AGS: Typecast warning fixes in data serialization
...
From upstream efed621fda5adabac8937b8d0ca64e537fabdfeb
2022-04-25 18:47:08 -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
d2665bfd71
AGS: Save text encoding hint in room files
...
From upstream 94f57933069768e170ec6423da8632ab2057068c
2022-04-12 22:27:58 -07:00
Paul Gilbert
4ecb2115ca
AGS: Remove cursor limit
...
From upstream 612f5702ce7cdee0acb898705a0ae11c84651afb
2022-04-12 22:27:55 -07:00
Paul Gilbert
7fe18e925b
AGS: Cleanup load room code a little
...
From upstream f9f49987d3109b8141648d603cafd03885bd148d
2022-04-12 22:27:55 -07:00
Paul Gilbert
7c96238080
AGS: Do not preset Hotspot's names (description)
...
From upstream 479f1067d7a474d41c32df217d10af8961ce2959
2022-04-12 22:27:53 -07:00
Paul Gilbert
186250aab9
AGS: added Room.BackgroundAnimationEnabled property
...
From upstream 15a1c66344d25dbdfa21246408477f05b49f54ce
2022-04-12 22:27:53 -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
af203d0da5
AGS: Removed guis list param from GUI:ReadGUI and WriteGUI (useless)
...
From upstream 08c64d187b56e042e2d09f11f76ebb5db6d3007c
2022-04-08 22:17:52 -07:00
Paul Gilbert
81ea142e4f
AGS: Little code cleanup in room_file.cpp
...
From upstream d3ae5106d0e0ca43b3fb8b397a9faabff77f54b2
2022-04-08 22:17:50 -07:00
Paul Gilbert
02540a3b47
AGS: In save_lzw() replaced the use of temp file with memory buffer
...
From upstream 49045c7c5b6550d7724c4ceda822fbf4c3fc05a1
2022-03-30 22:13:17 -07:00
Paul Gilbert
4392fa5e2d
AGS: Simplified savecompressed_allegro() and renamed for clarity
...
From upstream 9a6b55bfe78bf0e9f24b2e3c2d1b073f850fae50
2022-03-30 22:13:17 -07:00
Paul Gilbert
84a54f5e8e
AGS: Remade OPT_FONTLOADLOGIC into individual font's flags
...
From upstream 54c5303c5e0ed98609397d9e5df4114f128fb4a2
2022-03-27 13:37:14 -07:00
Paul Gilbert
5b10b7437c
AGS: Added "ascender fixup" flag to the font init mode
...
SHA-1: 1273e64c1b82ffbcbbc90261952b6192bef9c966
2022-03-27 13:37:14 -07:00
Paul Gilbert
977925d105
AGS: Some fixes of namespace Common to be Shared
2022-03-22 22:30:14 -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
a3dda03cf1
AGS: Store Views in std::vector
...
From upstream 095db88ae0f1acceb298f793a2e1b81dbe06fcff
2022-03-18 21:29:56 -07:00
Paul Gilbert
8b8bc2f32f
AGS: support reading font extension "v360_fonts"
...
From upstream 668430c4d21e6c39ae4c1c3a7e5be2c3a0ad7062
2022-03-14 21:04:08 -07:00
antoniou79
4505b60ef8
AGS: Fix for transparency test being unintentionally in 3.5.0
...
Resolves bug #13251 for Zniw GUI language selection screen being non-interactable
The fix is from AGS' github repository commit: https://github.com/adventuregamestudio/ags/commit/a087584a26106d2fb6a17c13b0cb3f6857f4cbed
by @ivan-mogilko on 26 Dec, 2021.
2022-02-15 22:52:24 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
18a56a084a
AGS: Fix new[]/delete mismatch
2021-12-24 21:56:29 +01:00
Paul Gilbert
d865acf606
AGS: introduced font outline style and thickness parameters
...
From upstream 43425f738dc6beb7d0758e256a840c5f37a4d38a
2021-09-20 17:20:59 -07:00
antoniou79
d474ee3003
AGS: Change a few char variables to int8
...
In order to specify that they should be treated as signed
Some ports may treat an (unspecified) "char" as unsigned by default. Android does this for its ARM architectures and while we did fix this by enforcing -fsigned-char to its compiler, the issue may come up for other ports. Also it should be better to clarify in the engine when a variable is not actually storing string characters.
I've spotted and changed the most "safe" cases I could find for this. As far as I can tell, out of these, only the Outline field and fontoutline array could potentially be assigned valid negative values which would cause bugs for ports treating chars as unsigned.
2021-09-09 19:27:49 -07:00
D G Turner
0e7f628443
AGS: Fix Several GCC Warnings
2021-08-03 04:00:34 +01:00
Paul Gilbert
c56b82b5f6
AGS: Codestyle members of DataExtParser
...
From upstream b88b83385d7d4f5180f5741d2ce31b8547bbf156
2021-07-31 14:34:10 -07:00
Paul Gilbert
9e50e3268e
AGS: Moved RoomAreaMask enum and GetMask functions to RoomStruct
...
From upstream 0903ec301f25f69b8bb931db2e27e0e3bfce3afe
2021-07-31 14:34:10 -07:00
Paul Gilbert
7b42f9c350
AGS: Optional block over-read leeway, for TRABlockReader
...
From upstream 92c0844519653507ec979037d46a58a60ea93032
2021-07-10 18:56:58 -07:00
Paul Gilbert
ddf30d3234
AGS: implement GetOldBlockName() in RoomBlockReader, TRABlockReader
...
From upstream 838605f7689febdf8174083d9dace140a6e07e19
2021-07-10 18:56:58 -07:00
Paul Gilbert
bfd25ba440
AGS: Reorganized ReadExtData functions into a DataExtReader class
...
From upstream 462535ec21e2b184651d03d118b9cfd2258520e4
2021-07-10 18:56:58 -07:00
Paul Gilbert
188951a499
AGS: Supports reading scripts as separate assets
...
From upstream 4de348c79b14dc9f6801b497ae5d7ea4fa1077cd
2021-07-10 14:33:38 -07:00
D G Turner
e9c374feae
AGS: Fix GCC Compiler Warnings
2021-07-09 04:08:46 +01:00
Paul Gilbert
5dc90dabc4
AGS: Added encoding hint to the TRS/TRA
...
From upstream 37efe963fd6f3bd62de248a71e8a7aa97a1ba1c2
2021-07-07 22:07:10 -07:00
Paul Gilbert
313a824fb9
AGS: Fix int pointer type mismatches
2021-06-15 19:16:10 -07:00
D G Turner
efc9e04ce0
AGS: Fix Various GCC Compiler Warnings
2021-06-15 11:07:23 +01:00
Paul Gilbert
31dc015df5
AGS: Fix gcc warnings
2021-06-13 21:42:08 -07:00
Paul Gilbert
7c71a16683
AGS: Use shared data ext algorithm when reading/writing translation
...
From upstream e74b5ca5e45e6440f0a46a9b0fc0131c5dd6738e
2021-06-13 21:09:14 -07:00
Paul Gilbert
3c26d9c86c
AGS: use shared data ext algorithm when reading/writing MGF
...
From upstream ab3fec069c1906fe545d6308dad7b88968b132a9
2021-06-13 21:09:13 -07:00