963 Commits

Author SHA1 Message Date
Eugene Sandulenko
5447e8ce5e
SAGA2: Rename class variables in enchant.h 2022-09-25 21:37:27 +02:00
Eugene Sandulenko
fe4aca8cd2
SAGA2: Rename class variables in effect.h 2022-09-25 21:37:27 +02:00
Eugene Sandulenko
8527a03f0a
SAGA2: Rename class variables in document.h 2022-09-25 21:37:27 +02:00
Eugene Sandulenko
f0221d3b8a
SAGA2: Renamed class variables in dispnode.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
bdb5066b35
SAGA2: Rename class variables in dice.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
2aefa6c30f
SAGA2: Rename class members in contain.h 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
40d9d2e9b9
SAGA2: Use class copy constuctor instead of memcpy() 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
ef106cf716
SAGA2: Reanme GameObj class members 2022-09-25 21:37:26 +02:00
Eugene Sandulenko
e281cde4b6
SAGA2: Use portable struct copying 2022-09-25 21:37:26 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
D G Turner
69182794c9 SAGA2: Fix Possible Uninitialized Variable in Automap Code
Should fix Coverity CID 1490802.
2022-07-25 15:04:42 +01:00
D G Turner
933c965179 SAGA2: Remove Undefined DEBUG Macro Symbol Usage from Spell Code
This generates a warning if GCC is passed -Wundef.

This will now allow debugging of the Spell behaviour at runtime via
the debug console when code to allow this is added.
2022-07-24 01:25:17 +01:00
D G Turner
32dbd828dc SAGA2: Add Automap Cheat to Console Command 2022-07-23 22:56:45 +01:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
D G Turner
ed2d89fedd SAGA2: Remove Undefined DEBUG Macro Symbol Usage from Automap
This generates a warning if GCC is passed -Wundef.

This will now allow the Automap cheat functionality to be enabled
at runtime via the debug console when code for this is added.
2022-07-18 22:17:28 +01:00
D G Turner
037393a289 SAGA2: Remove Dead / Unused Debug Code from Tile Classes
This code was causing various GCC compiler warnings including for
the DEBUG symbol value being implicitly 0 due to not being defined.
2022-06-28 22:53:25 +01:00
Orgad Shaneh
b2322a8c4f JANITORIAL: Add some long casts to match %ld format
Needed on Win64 compilation.
2022-06-12 10:24:34 +02:00
Donovan Watteau
5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
D G Turner
3eb7a65b0d SAGA2: Remove Unused Version Defines and Simplify About String
This removes a bunch of GCC warnings emitted when -Wundef is set.

This also avoids possible future issues by removing the date / time
define usage from about string used within the program about dialog.

This could be replaced by OSystem getTimeAndDate() or gScummVMBuildDate
if needed.
2022-03-30 23:29:40 +01:00
D G Turner
b3140ad89c SAGA2: Fix Compilation When DEBUG Symbol is Defined 2022-03-30 23:15:09 +01:00
D G Turner
fae75b63fd SAGA2: Remove Now Unused Debug Define Symbols 2022-03-25 09:07:34 +00:00
D G Turner
9c9ff6f670 SAGA2: Remove Leftover Compilation Broken Debug Code from Task Class
The rest of this code was removed by commit 50868e2 i.e.
"SAGA2: Removed DList from Task and TaskList".

The remaining code fails to build when "#define DEBUG 1" is passed due
to various missing function definitions and other methods from Task
base class.

This was causing GCC Undefined Macro Warnings as well when -Wundef
was passed.
2022-03-22 12:38:18 +00:00
D G Turner
e394071b98 SAGA2: Remove Several Chunks of Dead Code
This also removes several of the Undefined Macro GCC warnings emitted
when -Wundef is passed.
2022-03-20 13:06:22 +00:00
D G Turner
351f897d2c SAGA2: Remove Some Undefined Macro Compiler Warnings
Previously some of the Dinotopia specific code for cursor cycling was
hidden behind macros, resulting in some bitrot to the code. This has
been migrated to being more live by removing the macros.

This prevents various GCC warnings when -Wundef is passed.
2022-03-19 14:42:10 +00:00
D G Turner
894813870e SAGA2: Fix Redundant Declaration Warnings
These warnings are generated by GCC if -Wredundant-decls is enabled.
2022-03-07 18:30:58 +00:00
D G Turner
9a27d5430b SAGA2: Remove Redundant Declaration
This was causing GCC Warnings when -Wredundant-decls is enabled.
2022-03-06 13:43:45 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
f544cb934d SAGA2: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
d6a4c4f83a SAGA2: Use override
Using clang-tidy modernize-use-override
2021-11-14 14:34:14 +02:00
Orgad Shaneh
78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00: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
Eugene Sandulenko
4f3b53679a
SAGA2: Replace unsafe function with proper implementation 2021-10-27 23:51:28 +03:00
Filippos Karapetis
18ec7c853e SAGA2: More work on Dinotopia 2021-10-17 23:13:55 +03:00
Thunderforge
35c3668275 COMMON: Fixing misspellings "occured" -> "occurred"
Fixing this misspelled word across multiple parts of the codebase.
2021-09-25 21:36:42 +03:00
a/
0ff7c95812 SAGA2: Add command to toggle original status messages 2021-09-14 12:28:10 +09:00
a/
0cf8b150dc SAGA2: Cleanup debug code in contain.cpp 2021-09-13 09:49:55 +09:00
a/
4b27f9f6c9 SAGA2: Remove globals in contain.cpp 2021-09-13 09:27:20 +09:00
D G Turner
7ce5a5ecc1 SAGA2: Fix Incorrect Format String for Error Message 2021-09-12 16:53:40 +01:00
Filippos Karapetis
9cf165ebc1 SAGA2: Rework the resource loading code to support multiple targets
Also, set the voice file to be required in the detection entry, as the
current codebase requires it. This allows Dinotopia to progress a bit
further before crashing
2021-09-11 12:23:41 +03:00
Filippos Karapetis
79b5284a3e SAGA2: Pass game description to the engine
This will be needed to adapt the game and resource loading code for
multiple targets
2021-09-11 12:23:41 +03:00
Filippos Karapetis
cf0e380517 SAGA2: Update comments in the Shorten decoder 2021-09-11 12:23:41 +03:00
Filippos Karapetis
f360509c1f SAGA2: Remove SAGA1 game file types 2021-09-11 12:23:41 +03:00
Filippos Karapetis
d3df1b09a1 SAGA2: Adapt some C syntax to C++ 2021-09-11 12:23:32 +03:00
Eugene Sandulenko
7605439c5f
SAGA2: Mark engine as highres 2021-09-03 02:03:26 +02:00
a/
176e81f5d3 SAGA2: Use streams for locateRegion 2021-08-28 23:57:30 +09:00
a/
5fd2ab4794 SAGA2: Rename _containerList 2021-08-28 23:57:30 +09:00
a/
ab60363941 SAGA2: More const correctness in contain.cpp 2021-08-28 23:57:30 +09:00
a/
e6db9ded56 SAGA2: Move calender to Saga2Engine 2021-08-26 04:43:14 +09:00
a/
db33d0ccac SAGA2: Move global variables in beegee.cpp to Deejay class 2021-08-26 04:07:30 +09:00
a/
43945dfe39 SAGA2: Remove some globals in audio.cpp 2021-08-24 02:43:16 +09:00