Commit Graph
17 Commits
Author SHA1 Message Date
D G Turner 8356656575 GOB: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 02:20:51 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse 8e03a200ef GOB: Fix a stupid typo in SlotFileIndexed::buildIndex()
This should fix bug #3295893.

The intention of this piece of code was to pad the first save slot
name with spaces until it's as long as the longest save slot name,
because the scripts use it to gauge the width of the save list.
Unfortunately, I messed up there, overwriting variable space directly
after the save names. In Urban Runner's case, this would be the list
of inventory items.
2011-05-05 20:50:53 +02:00
Sven Hesse 812680d187 GOB: Rename Draw::kSpritesCount to Draw::kSpriteCount
svn-id: r55729
2011-02-02 16:49:20 +00:00
Sven Hesse c498d70dd2 GOB: Change SPRITES_COUNT into a const
svn-id: r55645
2011-01-30 00:02:42 +00:00
Sven Hesse 0432ca6d0f GOB: Add a FakeFileHandler
For temporarily storing save "files"

svn-id: r55528
2011-01-25 12:14:05 +00:00
Sven Hesse 40a4b09246 GOB: Fix the save list width
The length of the slot 0 string determines the list's width

svn-id: r55426
2011-01-22 14:23:03 +00:00
Sven Hesse 9e338a170f GOB: Add support for saving true color sprites
Not exactly the "nice", since up-depthing the sprite data to 24bit
happens after it has been adapted to the current system's color
format, so we're going to gradually lose precision when the save
gets passed around different systems. Still, this is the least
headachy solution, I guess...

svn-id: r55383
2011-01-21 19:15:10 +00:00
Sven Hesse 8b3f2955a4 GOB: Make the Cemetary/Lab screen work correctly
Saving there still won't work though

svn-id: r55374
2011-01-21 13:28:35 +00:00
Sven Hesse adbeb20f3b GOB: Add preliminary Inca 2 save support
svn-id: r55323
2011-01-19 09:02:39 +00:00
Sven Hesse 51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Johannes Schickel cbbb78d9f2 Enforce conversion formatting on pointer casts in the DEV code.
svn-id: r49068
2010-05-17 22:46:53 +00:00
Sven Hesse c70a874506 Properly fixing the Lost in Time temp sprite issue
svn-id: r43654
2009-08-22 15:46:43 +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
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
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