aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/savepoint.h
AgeCommit message (Collapse)Author
2018-08-26LASTEXPRESS: multiple fixes in NPC logicEvgeny Grechnikov
Checked the logic against the original game (to be precise, DOS English version from GOG, although I think AI logic has no significant differences with other versions). Fixed a *lot* of errors with varying visibility for the user. Also, save+exit+load sometimes resulted in memory corruption like ((EntityParametersSSII*)(new EntityParametersIIII))->param8 = 0; load operation did not restore the correct type of NPC logic context, the default one was used (which also has the smallest sizeof). Should be fixed now. Save+load is still unusable because it locks everybody waiting for kActionEndSound (the sound state is not restored), but, at least, it should not corrupt the memory. Hopefully.
2014-06-16LASTEXPRESS: Update SavePoint::push/call interface and check for string ↵Littleboy
size. CID 1003261, 1003262
2014-02-18LASTEXPRESS: Make GPL headers consistent in themselves.Johannes Schickel
2012-07-27LASTEXPRESS: Remove entity include in savepoint.hLittleboy
2012-07-27LASTEXPRESS: More include re-organizationLittleboy
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-27LASTEXPRESS: Cleanup game savingJulien Templier
- Move loading of game stream to separate function - Add checks for NULL in functions using _savegame - Add expected saved size for sound & savepoints svn-id: r53881
2010-10-19LASTEXPRESS: Fix some space formatting.Jordi Vilalta Prat
svn-id: r53629
2010-10-18LASTEXPRESS: Merge in the engine.Eugene Sandulenko
svn-id: r53579