aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/eden.cpp
AgeCommit message (Collapse)Author
2019-10-17CRYO: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-09-11CRYO: EDEN: Move graphics into a separate classDavid Fioramonti
Eden game object now contains a graphics object with which to delegate graphics operations and store states of the graphics. Much of the video playing is done in the graphics class so I have moved a lot of the video state into there. Some graphics related variables were moved out of eden and into graphics, but many are still in eden. Since they are still coupled there are lots of getters and setters. For example both eden_graphics and eden share a handle to the same video object. I have made a few more things public than desirable. I changed graphics to eden_graphics since it is specialized to eden and not just cryo.
2019-05-27CRYO: Fix MSVC warningsFilippos Karapetis
- Add missing default switch cases - Specify packing for structs with pointers to complex objects - Change literal suffixes to uppercase - Replace uses of malloc() with new []
2018-07-29CRYO: Fix Debug Statement Format String Compiler Warnings.D G Turner
Some of the debug statements in the engine compute values or sizes of various items by pointer subtraction (which is probably not recommended; I am not sure if this is why some of the structs were previous packed as noted and removed by snover). In any case, the subtractions should result in relatively small integer values, but using these into debug() calls with printf style format strings can cause warnings from the compiler with the format specifier depending on the underlying pointer sizes. To avoid these, have recast these to int. If this does cause any issues, they should be limited to debug() value changes and thus not a functional issue with the engine, which can be corrected by the engine developers.
2018-05-01CRYO: Push down the AD includesBastien Bouclet
2018-04-22JANITORIAL: Fix formattingAdrian Frühwirth
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-01-12CRYO: Stop packing struct containing pointersColin Snover
This struct packing causes the pointer-to-member-function to become unaligned, and does not seem necessary in any way. Closes gh-1081.
2017-02-27CRYO: Fix crash when restarting the gameStrangerke
2017-02-26CRYO: Improve macro safetyWillem Jan Palenstijn
2017-02-26CRYO: Fix warningEugene Sandulenko
2017-02-26CRYO: Improve syncTapePointersStrangerke
2017-02-24CRYO: Some renamingStrangerke
2017-02-21CRYO: Fix a bug in syncTapePointersStrangerke
2017-02-19CRYO: Rename sync functionsStrangerke
2017-02-19CRYO: Rewrite save/load game functionsStrangerke
2017-02-12CRYO: Remove some more dead code, remove _keyboardHeldStrangerke
2017-02-12CRYO: Some code simplification, remove dead codeStrangerke
2017-02-12CRYO: Merge spriteOnSubtitle() into drawSprite()Filippos Karapetis
2017-02-12CRYO: Split graphics and resource-related functions into separate filesFilippos Karapetis
2017-02-12CRYO: Merge the two noclipax() methods and rename to drawSprite()Filippos Karapetis
2017-02-11CRYO: Rename variables to conform to our code formatting guidelinesFilippos Karapetis
2017-02-11CRYO: Clean up and document some variablesFilippos Karapetis
2017-02-11CRYO: Add cryo.dat to all messages related to itFilippos Karapetis
2017-02-11CRYO: Fix typos in some sizeof() valuesFilippos Karapetis
2017-02-11CRYO: Change the version of cryo.dat to be a 32-bit integer (2/2)Filippos Karapetis
Though it's unlikely that we'll ever have that many changes, it's better to provision for more space now, for versioning
2017-02-11CRYO: Rename variables to conform to our formatting guidelinesFilippos Karapetis
2017-02-11CRYO: Move more static data to cryo.dat (2/2)Filippos Karapetis
2017-02-11CRYO: Use hardcoded values for structs instead of sizeof()Filippos Karapetis
2017-02-10CRYO: Move all static data for Lost Eden to cryo.dat (2/2)Filippos Karapetis
2017-02-10CRYO: Use cryo.dat for all game versionsFilippos Karapetis
All the static data will be eventually moved into this file
2017-02-10CRYO: Add handling for the cryo.dat aux data fileFilippos Karapetis
2017-02-10Revert "CRYO: Add handling for the cryo.dat aux data file"Filippos Karapetis
This reverts commit 01e072fbbc1baaf8aaa48aba0842bf8977510b93.
2017-02-10Revert "CRYO: Use cryo.dat for all game versions"Filippos Karapetis
This reverts commit 6ff7ef95d73c29051a675d03bdccd42f0a5a215b.
2017-02-10CRYO: Use cryo.dat for all game versionsFilippos Karapetis
All the static data will be eventually moved into this file
2017-02-10CRYO: Add handling for the cryo.dat aux data fileFilippos Karapetis
2017-02-08CRYO: Fix some more GCC warningsStrangerke
2017-02-08CRYO: Fix some shadowed memberStrangerke
2017-02-08CRYO: Fix several issues reported by coverityStrangerke
2017-02-06CRYO: Fix a null pointerStrangerke
2017-02-02CRYO: Remove some commented codeStrangerke
2017-02-02CRYO: Remove some obsolete TODOsStrangerke
2017-02-02CRYO: Remove some dead code, small refactoringStrangerke
2017-02-02CRYO: Remove double screen code (unused)Strangerke
2017-01-29CRYO: Remove a couple of unused class membersStrangerke
2017-01-25CRYO: Fix compilationEugene Sandulenko
2017-01-25CRYO: Remove last use of EDEN_DEBUGStrangerke
2017-01-25CRYO: Move inventory debug hack to debuggerStrangerke
2017-01-25CRYO: Introduce debugger, remove console initialisationStrangerke
2017-01-25CRYO: Fix out of bounds access in cursor save/restoreRetro-Junk