23 Commits

Author SHA1 Message Date
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
Max Horn
f177c7142c Fixed some silly warnings
svn-id: r40165
2009-04-27 14:40:14 +00:00
Sven Hesse
dc8e67900a Fixing the parser-related FIXMEs. 17 and 18 are int16 and int8, respectively
svn-id: r39893
2009-04-07 16:53:38 +00:00
Max Horn
1d1307de01 GOB: Some more cleanup
svn-id: r39890
2009-04-07 13:29:13 +00:00
Max Horn
3f22e4b401 GOB: Gave tons of opcode explicit names. As a result, found potential bugs in parse_v2.cpp (related to OP_LOAD_VAR_UINT8 and OP_LOAD_VAR_UINT16, see FIXME comments in parse.h)
svn-id: r39889
2009-04-07 13:21:20 +00:00
Max Horn
37bfe22a54 GOB: Some more code cleanup. My respect for the developers of the original GOB engine is at an all-time low :)
svn-id: r39888
2009-04-07 13:20:29 +00:00
Max Horn
7444665152 GOB: Gave some numerical constants a name. This codebase is a bit of a mess ;) (tons of duplicate code, unnamed constants, etc.)
svn-id: r39882
2009-04-07 10:41:23 +00:00
Sven Hesse
f785068dc3 Some more Urban Runner changes. Still no cylindrical smoking device, though
svn-id: r35371
2008-12-15 00:27:05 +00:00
Sven Hesse
8da68b2964 Script variables are now always stored in the game version's native endianess.
This should make Woodruff playable on big-endian systems.

svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Sven Hesse
8d7d61f1f6 Some more small fixes. Gob3 is completable now :)
svn-id: r26556
2007-04-21 20:13:15 +00:00
Sven Hesse
ec5a9eee31 - Minor cleanup
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen

svn-id: r26383
2007-04-05 13:37:20 +00:00
Sven Hesse
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +00:00
Sven Hesse
2dc7cb2cd4 Major clean-up, including:
- Cutting down the code-dup
- Plucking leaks
- Removing dead/unused code
- Properly naming "word_2342F"-style variables and functions (removing the warnings alongside)
- Fleshing out the "stubby" functions
- Moving functions and variables to more appropriate/logical places
- Re-ordering functions and variables
- Re-structuring functions
- Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up)
- Formatting
- Getting rid off the classes "Anim", "Pack" and "Timer", along with their files

svn-id: r26252
2007-03-20 14:51:57 +00:00
Willem Jan Palenstijn
35d242b74b make printExpr, skipExpr accept both gob1 and gob2 expressions
svn-id: r22568
2006-05-21 21:18:23 +00:00
Sven Hesse
8a855b4251 - Stubbed goblinFunc(), it's completeley different; now it at least
doesn't crash anymore
- Reduced valgrind's complains about unitialized memory

svn-id: r22263
2006-05-01 19:11:57 +00:00
Sven Hesse
61a0266a92 More stubs; GOB2 goes in-game for a second, then segfaults in the
Global-constructor; valgrind shows invalid reads in parseValExpr()
and parseExpr() while accessing _inter_variables and _inter_execPtr

svn-id: r22262
2006-05-01 16:04:53 +00:00
Max Horn
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
d9a9fac937 Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00