Commit graph

66 commits

Author SHA1 Message Date
Hubert Maier
0e31a0845f
JANITORIAL: ICB: Fix typos in comments 2024-08-25 23:31:24 +03:00
Hubert Maier
09ec0083cb
JANITORIAL: ICB: Fix allign and devide typos in code 2024-08-25 14:43:29 +03:00
Cameron Cawley
89c57d29ef COMMON: Move more maths functions into the Math namespace 2024-07-27 14:00:48 +03:00
Christian Krause
a04bb51bf5 ICB: compile fix for GCC 14
- cast const away to allow modification (as intended according to
  existing comments)
2024-02-10 12:17:39 +01:00
Donovan Watteau
4a90e10942 ICB: Use MSVC_PRINTF when GCC_PRINTF is used 2022-11-29 01:37:16 +01:00
Donovan Watteau
bcc9e1e803 ICB: Make pxVString use GCC_PRINTF to catch -Wformat issues 2022-11-25 16:36:15 +01:00
Joost Peters
c658a2e5d0 ICB: ELDORADO: support newer texture format 2022-08-05 17:31:40 +02:00
Joost Peters
436fd5a09d ICB: split McodeTable into ICB and ED variants 2022-08-05 15:23:10 +02:00
Joost Peters
fea4f8bcfa ICB: ELDORADO: support loading newer El Dorado version of .set files 2022-08-05 13:55:07 +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
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
dedb524011
ICB: More work on endian code safe 2022-07-30 16:29:46 +02:00
Paweł Kołodziejski
0f4791ea28
ICB: Avoid casting PXMarker class to memory 2022-07-30 16:17:54 +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
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
027f85f612 ICB: Fix Redundant Declaration Warnings
These are emitted by GCC if -Wredundant-decls is enabled.
2022-03-07 19:43:11 +00: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
97b33d0dae
ICB: Remove not used macro 2021-12-01 23:04:09 +01:00
Orgad Shaneh
75bfc1290b ICB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02: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
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
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
4c3b157726 ICB: Cleanup 2021-03-13 14:31:49 +01:00
Paweł Kołodziejski
1f35872fde ICB: Restore previous change and fix variable type to get 'while' actually to work 2021-03-08 19:06:29 +01:00
Paweł Kołodziejski
95d581e853 ICB: int -> int32 fixes 2021-03-08 12:29:14 +01:00
Paweł Kołodziejski
ed4ae57063 ICB: Fixed several compiler warnings 2021-03-08 10:00:06 +01:00
Paweł Kołodziejski
9c96c353c6 ICB: Remove '/' from path if exists 2021-03-07 20:28:14 +01:00
Le Philousophe
fc20dd9a43 ICB: Fix uint/uint32 discrepancies 2021-03-07 12:07:27 +01:00
Paweł Kołodziejski
a18e803ea6 ICB: Cleanup types 2021-03-07 09:56:34 +01:00
Cameron Cawley
d3c6b4cf69 ICB: Replace cstr with const char * 2021-02-28 08:56:49 +01:00
Cameron Cawley
1d1de5d974 ICB: Remove pxException 2021-02-28 08:56:49 +01:00
Cameron Cawley
75d5a886df ICB: Replace _ASSERT with assert 2021-02-28 08:56:49 +01:00
Cameron Cawley
286f377d1f ICB: Replace PXmin and PXmax with MIN and MAX 2021-02-28 08:56:49 +01:00
Cameron Cawley
8eb1cecf53 ICB: Replace PreventClassCopy with Common::NonCopyable 2021-02-28 08:56:49 +01:00
Fiodar Stryzhniou
9b0f0eb1af CODESTYLE: remove C++ headers, use int64 instead __int64_t. 2021-02-26 19:29:33 +01:00
Cameron Cawley
cda348f885 ICB: Fix compilation on AmigaOS 4 2020-12-27 12:02:44 +00:00
Matthew Duggan
6200935007 ICB: Fix most of the remaining int/int32 confusions 2020-12-27 20:10:11 +09:00
Matthew Duggan
ef75bf7404 ICB: More tweaks to types to fix amigaos4 build
This should be a safe change, but I'm not totally familiar with the engine - I
tried the demo but it crashes quite soon into the game.  I also tried before
commit 8aac0d, bit that also crashes quite soon into the game, so at least not
worse than before..
2020-12-27 14:08:21 +09:00
Cameron Cawley
8aac0d2cf2 ICB: Remove duplicate types 2020-12-25 05:16:57 +01:00
Pawel Kolodziejski
d63f0e7513 ICB: Corrected header ifdef guards 2020-10-06 14:32:14 +02:00
Pawel Kolodziejski
edaa015de1 ICB: Switch to Common::File access game data 2020-10-06 12:59:49 +02:00
Pawel Kolodziejski
22c607b1a8 ICB: Cleanup headers 2020-10-06 09:51:20 +02:00
Pawel Kolodziejski
2c9c005469 ICB: Remove ifdefs _PC and _PSX 2020-10-06 06:33:43 +02:00
Pawel Kolodziejski
43e97395b5 ICB: Cleanup macros 2020-09-21 07:56:28 +02:00