aboutsummaryrefslogtreecommitdiff
path: root/engines/made/database.cpp
AgeCommit message (Collapse)Author
2013-05-15MADE: Show version-related before size-related incompatibilities in savegamesFilippos Karapetis
This gives clearer errors when users use savegames saved with a different version
2013-04-28MADE: Null terminate string. CID 1003874Eugene Sandulenko
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-10-10MADE: Added missing finalize() calls to the game state saving codeFilippos Karapetis
Thanks to wjp for finding these
2011-10-09MADE: Minimize #include usage.Johannes Schickel
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-02MADE: Remove all instances of s(n)printfMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-07-22MADE: fixed bug 3029750 caused by caching from commit 46102.Yotam Barnoy
Cache needed to be cleared every time we load a game. Otherwise, those platforms that happen to use the exact same addresses (PC) were ok, but those platforms that had different addresses (PSP for example) would get messed up. svn-id: r51138
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-11-23Optimized object property access speedBenjamin Haisch
svn-id: r46102
2009-09-24Reverted parts of revisions #44292, #44293, #44295 and #44296, to prevent ↵Filippos Karapetis
warnings and issues in compilers which don't support NORETURN svn-id: r44312
2009-09-24MADE: Fixed some warnings about unreachable codeFilippos Karapetis
svn-id: r44296
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-01-24Initialize variables that might not be initialized but still used later on ↵Kari Salminen
line 422 in a debug function call (Fixes MSVC's warnings about 'potentially uninitialized local variable'). svn-id: r36031
2009-01-22- Added support for The Manhole EGA versionBenjamin Haisch
- Support for 'chunked' picture resources and EGA pictures - Improved the mouth sync in RtZ (still not perfect, though) - Removed obsolete TODOs - Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie svn-id: r35997
2009-01-14Game database headers are verified nowFilippos Karapetis
svn-id: r35861
2009-01-13Save game headers are now verifiedFilippos Karapetis
svn-id: r35848
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-15- Implemented cmd_restart (for the restart functionality in Return to Zork)Benjamin Haisch
svn-id: r35378
2008-06-18- Fixed sprite drawing in Rodney's FunscreenBenjamin Haisch
- Handle mouse button up events and event number fixes in MadeEngine::handleEvents() - Use milliseconds -> game ticks calculation based on Windows version of the original engine - "Rodney's Fun Screen" -> "Rodney's Funscreen" svn-id: r32731
2008-06-12Fixing compilationSven Hesse
svn-id: r32676
2008-06-12- Added support for Rodney's Fun ScreenBenjamin Haisch
- Added audio cd playback (still kinda broken though) - Renamed getObjectPropertyPtr to findObjectProperty svn-id: r32669
2008-05-29- Implemented opcodes: sfHomeText, sfDrawAnimPicBenjamin Haisch
- Comments on unneeded opcodes - Simplified getting/setting strings in Objects svn-id: r32361
2008-05-28Split Object/GameDatabase into engine version specific classesBenjamin Haisch
svn-id: r32349
2008-05-13Implemented savegame saving/loading for LGOP2.Benjamin Haisch
svn-id: r32081
2008-05-09Removed debug outputFilippos Karapetis
svn-id: r31967
2008-05-06- The Manhole: New and Enhanced is now (partially) playableBenjamin Haisch
- Implemented cmd_objectp - Changed how the script externals array is set up - Cleanup svn-id: r31895
2008-05-05Fixed unsigned/signed mismatch warning.Kari Salminen
svn-id: r31875
2008-05-05- Renamed XmidiResource to GenericResourceBenjamin Haisch
- Added MIDI resource type - Added ScriptFunctionsLgop2 and ScriptFunctionsMhne (for Leather Goddesses of Phobos 2 and The Manhole: New and Enhanced, resp.) - Many changes for LGOP2 and The Manhole: N&E Note about the new ScriptFunctions classes: I copied the ScriptFunctionsRtz class and so duplicated a lot of code. Most of the opcode functions are the same in all games but there might be differences. Once all common opcode functions have been figured out, they'll be moved to a common place (like the ScriptFunctions class). svn-id: r31871
2008-05-02Fixing Fingolfin's commit :PSven Hesse
svn-id: r31830
2008-05-02Fix warningsMax Horn
svn-id: r31829
2008-05-02- Added patch #1955698: MADE: Add "The Manhole" DetectionBenjamin Haisch
- Added detection for Leather Goddesses of Phobos 2 Note that these two games will definitely not work as expected and will probably crash! svn-id: r31810
2008-04-30Implemented savegame loading/saving and sprite clippingBenjamin Haisch
Fixed bug in Screen::printTextEx Implemented opcodes: - o1_DRAWTEXT - o1_DRAWMENU - o1_MENUCOUNT - o1_SAVEGAME - o1_LOADGAME - o1_GAMENAME svn-id: r31794
2008-04-29Fixed possible endian problems in getObjectPropertyPtr.Benjamin Haisch
svn-id: r31779
2008-04-23Implemented direct loading of rtzcd.dat from the archive rtzcd.red, i.e. the ↵Benjamin Haisch
game doesn't have to be installed first to get rtzcd.dat. Also added the respective detection entry. svn-id: r31661
2008-04-22Removed 2 obsolete fixmesFilippos Karapetis
svn-id: r31653
2008-04-21Fixed endian issues in get/setObjectProperty.Benjamin Haisch
svn-id: r31638
2008-04-20Changed spaces to tabs.Torbjörn Andersson
svn-id: r31610
2008-04-20Initial import of the work in progress MADE engineFilippos Karapetis
svn-id: r31599