Commit Graph
73 Commits
Author SHA1 Message Date
Arnaud Boutonné e350e0b020 Replace magic numbers by constants : kPropsSize and kIndexSize
svn-id: r43562
2009-08-20 13:36:18 +00:00
Arnaud Boutonné 50d515c3df modify props size to avoid later error (Size is still temporary) and prepare the magic number => constant modification
svn-id: r43560
2009-08-20 12:30:37 +00:00
Arnaud Boutonné 90336c88ac Add back parenthesis (I wasn't aware of this convention, sorry) in saveload, and mimic this code in oPlaytoons_openItk
svn-id: r43464
2009-08-17 10:05:02 +00:00
Arnaud Boutonné e214755107 Suppress useless parentheses
svn-id: r43462
2009-08-17 09:54:49 +00:00
Sven Hesse 5e90ce3536 Setting gob3 save/load mode of the temporary sprite "intro.$$$" to ignore and remove the TempSpriteHandler.
Gob3 doesn't use it at all and Lost in Time only saves (with an invalid index) and never loads

svn-id: r43366
2009-08-14 15:22:43 +00:00
Arnaud Boutonné 6bcc9a45fd Initial save handler for Playtoons
svn-id: r43344
2009-08-13 09:56:54 +00:00
Arnaud Boutonné 1e36bac353 gob - Add 2 files tested and used by Playtoons and Playtoons CK
svn-id: r43228
2009-08-10 20:58:13 +00:00
Sven Hesse 550d9cf39d More alignment-related changes
svn-id: r42858
2009-07-28 16:28:32 +00:00
Sven Hesse 01b8320367 Fixing a bug in the V4 save file handler, produced by a "neat" feature in Woodruff: The saves remember their position within the list and use that information to load the "correct" screen properties, making it impossible to load reordered saves correctly -.-
svn-id: r42679
2009-07-23 19:50:13 +00:00
Sven Hesse 87af626ee9 Making some static const uint32s public, older GCC versions don't seem to like nested classes to access their parents' protected members
svn-id: r42640
2009-07-21 11:26:31 +00:00
Arnaud Boutonné 09efaaa1c9 Change SaveLoad_Playtoons case
svn-id: r42217
2009-07-07 12:51:21 +00:00
Arnaud Boutonné a0ab8c9c0c - Separate Playtoons gametypes from in GobEngine::initGameParts()
- Add a specific save/load class for Playtoons as some specific files need to be tested

svn-id: r42214
2009-07-07 11:58:22 +00:00
Sven Hesse 3f404ef3c9 Removing trailing tabs
svn-id: r41784
2009-06-22 20:52:08 +00:00
Max Horn 0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse 9c8c1cb080 Removing the helper-include where it's not used anymore
svn-id: r41089
2009-05-31 23:58:05 +00:00
Max Horn 416f6565be GOB: Resolve FIXMEs
svn-id: r41086
2009-05-31 22:30:49 +00:00
Max Horn e072532458 GOB: Got rid of last traces of strdupcpy and strdupcat
svn-id: r41079
2009-05-31 17:00:38 +00:00
Max Horn 78a8874903 GOB: Untangled SlotFileIndexed and SlotFileStatic (ATTENTION: This uncovered something which seems to me a bug in SaveLoad_v4::ScreenPropsHandler::getSize)
svn-id: r41078
2009-05-31 17:00:07 +00:00
Max Horn 400d2b10af GOB: Replaced many uses of strdupcpy by Common::String
svn-id: r41077
2009-05-31 16:59:45 +00:00
Matthew Hoops 865e8e642b Typos: Unkown -> Unknown
svn-id: r41075
2009-05-31 15:43:51 +00:00
Sven Hesse cb09622c5a Ooops, that's one "File::" too many
svn-id: r41062
2009-05-31 10:11:25 +00:00
Sven Hesse daec436047 public'ing some inner classes since some compilers don't seem to like nested friend'ing (while my gcc 4.3.3 doesn't even complain with -pedantic)
svn-id: r41058
2009-05-31 03:06:19 +00:00
Sven Hesse 896df6daf3 - A new save system for the GobEngine, one that is not fundamentally broken and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system
- Removed the now superfluous variables sizes

svn-id: r41056
2009-05-31 02:15:43 +00:00