Walter Agazzi
5ae3427f9d
AGS: Common: simplified MFLUtil::ReadEncInt32(), use conditional function
...
Apparently, this was already done once in b6b8701, but then broken soon after by a merge 22e3a83 (years ago).
From upstream 50800e0e2aca0b7678af4a24bd6322d82261760f
2023-01-20 14:14:56 +00:00
Donovan Watteau
a82501b638
AGS: Fix ReadEncInt32() on big-endian systems
...
Fixes kq1agdi crashing on big-endian systems, since it tried to allocate
a gigantic amount of memory from MFLUtil::ReadV21() because of the
misread values.
From upstream 5e29a339fc83bf5c06a3a9a3b1c65a2fc4b4e72c
Also includes upstream 427752da015fd93549deef1a31d5e533e5c9319e
2022-10-03 18:42:58 +01:00
Paul Gilbert
f2399dc15c
AGS: Fixing various "unused variable/arg" warnings
...
From upstream 4b3c27c1a2b39d6c6b089adee111c6889d19ad0e
2022-04-25 19:17:26 -07:00
Paul Gilbert
07e74fdd72
AGS: Typecast warning fixes in data serialization
...
From upstream efed621fda5adabac8937b8d0ca64e537fabdfeb
2022-04-25 18:47:08 -07:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paul Gilbert
7d01f1dc1f
AGS: in asset library files treat offsets & sizes as unsigned values
...
From upstream 603c5c27165e46afc52b06eed2a9f798ae2ecf4e
2021-07-10 14:33:40 -07:00
Paul Gilbert
a8f4d9dc5b
AGS: Safety check for asset library v20, for asset name over limit
...
From upstream 9a2aaae2b3a0799722f1567f97761701afbef584
2021-07-10 14:33:40 -07:00
Paul Gilbert
e390466d1d
AGS: Re-convert global strings in multi_file_lib
2021-06-13 21:09:16 -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
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00