Commit Graph

266 Commits

Author SHA1 Message Date
Paweł Kołodziejski
92e8e06024
ICB: ELDORADO: Icon size specifics 2022-08-05 08:12:58 +02:00
Paweł Kołodziejski
3b40bfc071
ICB: ELDORADO: Increased macro value 2022-08-05 07:39:57 +02:00
Paweł Kołodziejski
18e0949ac0
ICB: ELDORADO: More specifics for ICB flow 2022-08-05 01:09:32 +02:00
eientei
f1099a5cf2 ICB: ELDORADO: Add detection for Italian + Spanish Windows releases 2022-08-04 21:17:24 +02:00
eientei
cde17b7499 ICB: ELDORADO: Add detection for Portuguese full, English demo and PS1 versions 2022-08-04 21:17:24 +02:00
Joost Peters
fc46171489 ICB: ELDORADO: handle fn_set_as_player differences 2022-08-04 16:57:39 +02:00
Joost Peters
2e6cd47b68 ICB: ELDORADO: add some more script functions 2022-08-04 16:07:27 +02:00
Joost Peters
f23d8fddf7 ICB: ELDORADO: implement pose overriding functions 2022-08-04 13:48:42 +02:00
Joost Peters
7e903367cc ICB: ELDORADO: add fn_set_manual_interact_object() and fn_cancel_manual_interact_object() 2022-08-03 17:27:58 +02:00
Joost Peters
a125e3d3d0 ICB: ELDORADO: some more El Dorado script functions and differences 2022-08-03 16:41:28 +02:00
Joost Peters
4a7c433f92 ICB: ELDORADO: handle fn_set_watch difference 2022-08-03 15:41:24 +02:00
Joost Peters
46a4c63698 ICB: make error messages match the actual function names and add some apostrophes 2022-08-03 15:22:44 +02:00
Joost Peters
0892badade ICB: ELDORADO: add several El Dorado specific script functions 2022-08-03 15:07:02 +02:00
Paweł Kołodziejski
62770fe170
ICB: ELDORADO: Avoid selection mission and profiles in extras 2022-07-31 22:12:38 +02:00
Paweł Kołodziejski
ed394dc83f
ICB: ELDORADO: Added copyright info in game menu 2022-07-31 22:11:12 +02:00
Paweł Kołodziejski
6009e646f6
ICB: Few more endian fixes 2022-07-31 21:16:45 +02:00
Paweł Kołodziejski
b236160c9b
ICB: ELDORADO: This part only for ICB 2022-07-31 19:38:44 +02:00
Paweł Kołodziejski
726f52359c
ICB: ELDORADO: Game starts from 'scenes' instead 'player' 2022-07-31 18:23:03 +02:00
Paweł Kołodziejski
68659caf05
ICB: ELDORADO: Ignore scripts version mismatch for now 2022-07-31 18:02:03 +02:00
Paweł Kołodziejski
f74192101c
ICB: Switch detection from exe to game data. Added El Dorado to game entries 2022-07-31 17:22:08 +02:00
Paweł Kołodziejski
2c1e7d8e4d
ICB: Attempt to fix ppc build 2022-07-31 11:22:33 +02:00
Paweł Kołodziejski
c9428b441a
ICB: Mark game as unstable 2022-07-31 10:55:49 +02:00
Paweł Kołodziejski
dcd54c8821
ICB: Avoid casting BarrierCollision class to memory. Cleanup names. 2022-07-31 10:41:26 +02:00
Paweł Kołodziejski
a71891824d
ICB: Few more endian fixes 2022-07-31 10:30:27 +02:00
Paweł Kołodziejski
c37ab7845c
ICB: Avoid casting RapAPIObject to memory, cleanup naming, endian fixes 2022-07-31 00:25:48 +02:00
Paweł Kołodziejski
63cdc2f3eb
ICB: Avoid casting CGameObject class to memory 2022-07-30 21:26:14 +02:00
Paweł Kołodziejski
32f10e16f4
ICB: Few endian code fixes 2022-07-30 21:25:28 +02:00
Paweł Kołodziejski
8813b7e489
ICB: Silence warnings 2022-07-30 20:48:03 +02:00
Paweł Kołodziejski
a2aaca3786
ICB: Avoid casting rap_API class to memory 2022-07-30 16:58:23 +02:00
Paweł Kołodziejski
dedb524011
ICB: More work on endian code safe 2022-07-30 16:29:46 +02:00
Paweł Kołodziejski
a277b779f0
ICB: More work on endian code safe 2022-07-30 16:18:27 +02:00
Paweł Kołodziejski
0f4791ea28
ICB: Avoid casting PXMarker class to memory 2022-07-30 16:17:54 +02:00
Paweł Kołodziejski
c0a35f0825
ICB: Eliminate macro function override 2022-07-30 15:32:37 +02:00
Paweł Kołodziejski
072fead8da
ICB: Avoid casting LinkedDataFile class to memory 2022-07-30 15:14:30 +02:00
Paweł Kołodziejski
73f29ee3d5
ICB: Work in endian code safe, avoid casting pxBitmap class to memory. 2022-07-30 11:05:03 +02:00
Paweł Kołodziejski
25496c5a84
ICB: Do not load game data into memory. 2022-07-29 20:48:42 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
D G Turner
f3b3d20f45 ICB: Fix Left Shift of Negative Value GCC Compiler Warning in NanoJPEG
This is emitted by GCC when -Wshift-negative-value is passed.

ICB has been tested and the jpeg backgrounds still decode as expected
with this change.
2022-07-23 19:00:18 +01:00
D G Turner
8aeaabc6d1 ICB: Fix Remaining GCC Compiler Format Overflow Warnings 2022-07-18 02:37:13 +01:00
D G Turner
b7cec2f35a ICB: Replace Various String Handling with Common String Class
While using the dynamic Common::String has more overhead, this removes
various large fixed size buffers used for path construction for icon
file access so the overall effect should be a reduction in dynamic
i.e. stack memory usage. This also avoids any possible buffer overflow
corruption.

This also removes quite a few GCC Compiler Format Overflow warnings
which are emitted if -Wformat-overflow is passed.
2022-07-18 01:15:53 +01:00
D G Turner
511a886591 ICB: Fix GCC Undefined Macro Symbols Warnings
These are emitted by GCC when -Wundef is passed.

The _PSX symbol looks to be intended to switch the codebase between
building the PSX and PC version of the game due to differences in the
data structures. The _PSX_ON_PC likely allows building a version of
the engine which will run on PC, but use the PSX game data.

These should be refactored to allow the codebase to use either PC or
PSX game data at runtime in future, but for now, these are hardcoded
to the PC game data version for build stability.
2022-07-16 01:47:41 +01:00
D G Turner
d9ae18ecbe ICB: Remove Macro Test Usage of Undefined CD_MODE Symbol
This symbol was undefined which meant that it defaulted to being equal
to zero. Since this was the value tested for in all cases, then all
cases of this macro test were enabled which was not very clear.

Looking at the code, it appears this is intended to guard a debugging
mode enabling slower, but more readable rendering code and other graphics
information. This should probably be migrated to a boolean flag of the
engine (since debug already exists) or a ScummVM debug level / flag.

This changes also removes a large number of GCC warnings regarding
use of undefined macro symbols.
2022-07-11 00:43:33 +01:00
Paweł Kołodziejski
e66834d200
ICB: Janitorial 2022-07-07 16:50:19 +02:00
D G Turner
4ffcf60b93 ICB: Remove Unused Variables in PSX Global Objects Code 2022-07-07 00:52:46 +01:00
D G Turner
cd68086ff0 ICB: Minor Code Readability Improvements
No functional change.
2022-07-07 00:41:08 +01:00
D G Turner
a90e78fd09 ICB: Fix Some Undefined Macro Compiler Warnings
These are emitted by GCC when -Wundef is passed.
2022-03-18 08:39:58 +00:00
D G Turner
f2cb975193 ICB: Fix Remaining Redundant Declaration Warning
This is emitted by GCC if -Wredundant-decls is passed.
2022-03-09 12:51:05 +00:00
D G Turner
027f85f612 ICB: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:43:11 +00:00
Christian Kündig
d698578d3a
ICB: Add Bink as an engine dependency 2022-03-05 19:57:04 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
82a1d05d78
ICB: Fixed coverity error 2021-12-20 19:26:21 +01:00
Paweł Kołodziejski
73293d1cbe
ICB: Fixed compiler warning 2021-12-19 00:07:27 +01:00
Paweł Kołodziejski
afd7a04d1e
ICB: Replaced with modified NanoJpeg decoder 2021-12-18 22:42:32 +01:00
Paweł Kołodziejski
9d65a23339
TINYGL: Remove leftovers 2021-12-08 14:54:33 +01:00
Paweł Kołodziejski
b88cd5e77d
ICB: Fixed registering globals 2021-12-02 00:37:19 +01:00
Paweł Kołodziejski
a83e60357f
ICB: Replace GetMicroTimer() with timer from common 2021-12-01 23:21:51 +01:00
Paweł Kołodziejski
97b33d0dae
ICB: Remove not used macro 2021-12-01 23:04:09 +01:00
Paweł Kołodziejski
4d2a295d68
ICB: Remove exception leftovers 2021-12-01 23:02:21 +01:00
Paweł Kołodziejski
c07779f57a
ICB: User random from common 2021-12-01 22:57:09 +01:00
Paweł Kołodziejski
30d2be21f0
ICB: Use jpeg from common image 2021-12-01 22:14:48 +01:00
Paweł Kołodziejski
af37825be3
ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Orgad Shaneh
75bfc1290b ICB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
D G Turner
a2b81f837a ICB: Fix GCC Identical Branch Compiler Warnings 2021-11-11 10:21:59 +00:00
Orgad Shaneh
3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Le Philousophe
df52fee40d ICB: Remove calls to _flushall
This doesn't seem necessary and it's not a standard function
2021-10-24 15:11:18 +03:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Paul Gilbert
baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Fiodar Stryzhniou
aa2ab77080 ICB: Fix compilation failure due usage C++ header cstring.
Get rid from legacy "typedef struct ...".
2021-06-26 13:49:21 +02:00
D G Turner
20a3f0e5e9 ICB: Fix Various GCC Set But Not Used Variable Warnings 2021-06-22 23:02:15 +01:00
D G Turner
b0c7b27ea8 ICB: Fix GCC Unused Variable Warnings 2021-06-22 04:36:30 +01:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
5ecc781ed0 ICB: Further Fixes for Various GCC Warnings 2021-03-20 00:19:47 +00:00
D G Turner
efcc8ee6a3 ICB: Various Fixes for GCC Warnings and Minor Comment Spelling 2021-03-19 15:41:37 +00:00
D G Turner
9368284fc4 ICB: Fix Set-But-Unused-Variable GCC Compiler Warnings 2021-03-19 00:35:11 +00:00
Paweł Kołodziejski
dcb1fe586a ICB: Fixed misaligned malloc/new with MemoryStream 2021-03-15 20:36:07 +01:00
Paweł Kołodziejski
3768e51f38 ICB: Remove global constructors 2021-03-14 14:34:03 +01:00
Paweł Kołodziejski
77c4705a6a ICB: Remove global constructors 2021-03-14 14:28:34 +01:00
Paweł Kołodziejski
99f91430d3 ICB: Remove global constructors 2021-03-14 13:52:41 +01:00
Paweł Kołodziejski
621758f3f9 ICB: Remove global constructor 2021-03-14 13:37:58 +01:00
Paweł Kołodziejski
0faee72fa2 ICB: Remove global constructor case 2021-03-14 13:29:25 +01:00
Paweł Kołodziejski
a33c662f7b ICB: Reworked global constructor and fixed clashing enum 2021-03-14 09:06:11 +01:00
Paweł Kołodziejski
04b237629a ICB: Reworked global constructor 2021-03-14 08:59:48 +01:00
Paweł Kołodziejski
078f7ad1c7 ICB: Reworked global constructor 2021-03-14 08:50:19 +01:00
Paweł Kołodziejski
02c75be38b ICB: Remove global constructor 2021-03-13 21:10:28 +01:00
Paweł Kołodziejski
b79554f742 ICB: Reworked some global constructors 2021-03-13 19:20:24 +01:00
Paweł Kołodziejski
e69d636329 ICB: Reworked some global constructors 2021-03-13 17:34:02 +01:00
Paweł Kołodziejski
771f3e8ad4 ICB: Cleanup save code 2021-03-13 15:46:30 +01:00
Paweł Kołodziejski
b36e2a8ba8 ICB: Cleanup saving code a bit 2021-03-13 15:06:00 +01:00
Paweł Kołodziejski
64f4ccb975 ICB: Formatting 2021-03-13 14:43:41 +01:00
Paweł Kołodziejski
4c3b157726 ICB: Cleanup 2021-03-13 14:31:49 +01:00
Paweł Kołodziejski
39f7490356 ICB: Remove dead code 2021-03-13 14:22:41 +01:00
Paweł Kołodziejski
2ee0d6483b ICB: Remove no longer needed code for keys mapping 2021-03-13 12:39:49 +01:00
Paweł Kołodziejski
8eee2f9b30 ICB: Remove in game keys mapping 2021-03-13 12:37:20 +01:00
Paweł Kołodziejski
e0691903a1 ICB: Fixed handling key color 2021-03-13 08:31:49 +01:00
Paweł Kołodziejski
22fb7015ff ICB: Added return to launcher functionality 2021-03-13 07:48:34 +01:00
Paweł Kołodziejski
433dfc6981 ICB: Added initial support for keymapping 2021-03-12 21:45:16 +01:00