aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables
AgeCommit message (Collapse)Author
2013-09-05WINTERMUTE: Disambiguate empty and NULL strings when savingWillem Jan Palenstijn
The string stored is now strlen(s)+1, with length 0 indicating NULL. Increment savegame version for this new format. Old savegames are fixed by assuming VAL_STRING should never be NULL.
2013-09-05WINTERMUTE: Don't clean up _scripts mid-iterationWillem Jan Palenstijn
Scripts executing from ScEngine::tick() can call ScEngine::unbreakableTick() via scCallMethod("SaveGame") and applyEvent("BeforeSave"). This recursive execution could cause finished scripts being removed from _scripts while ScEngine::tick() is still iterating over that array.
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-07-23WINTERMUTE: Set _scriptStream to nullptr after deletionEinar Johan Trøan Sømåen
(Clang static-analyzer issue)
2013-06-18WINTERMUTE: Avoid explicitly including <math.h>Einar Johan Trøan Sømåen
2013-04-20WINTERMUTE: Fix ScriptExtDate-saving (bump savegame-version to 1.2.1).Einar Johan Trøan Sømåen
This also fixes int->int32 in ScriptExtDate::transfer.
2013-04-20WINTERMUTE: Change ScriptValue to use int32.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Replace a few more ints by int32s.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid ↵Einar Johan Trøan Sømåen
overload-misses.
2013-04-18WINTERMUTE: Use int32 instead of int in classes.Einar Johan Trøan Sømåen
2013-04-18WINTERMUTE: Split the timers from BaseGame into a separate class.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod()Einar Johan Trøan Sømåen
2013-03-24WINTERMUTE: Really fix build breakage...D G Turner
strlcpy() needed qualification of Common namespace.
2013-03-24WINTERMUTE: Fix build breaking missing header declaration.D G Turner
This is required to declare the strlcpy() function.
2013-03-24WINTERMUTE: Replace WMELite's String-Split-function with code from WME.Einar Johan Trøan Sømåen
2013-01-31WINTERMUTE: Redo the way floats are saved, break savegame compatibility with ↵Einar Johan Trøan Sømåen
WME Lite completely. (This also breaks compatibility with savegames from ScummVM prior to this commit, AND resets the Savegame-version, older savegames will have differing MAGIC-numbers in their headers, and will thus not be recognized).
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-24WINTERMUTE: More formatting fixes.Einar Johan Trøan Sømåen
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2013-01-24WINTERMUTE: Remove commented out code.Einar Johan Trøan Sømåen
2012-12-03WINTERMUTE: Const-ify member-functions that obviously should be const.Einar Johan Trøan Sømåen
2012-12-02WINTERMUTE: Avoid including script_ext_math.h in base_game.cppEinar Johan Trøan Sømåen
2012-09-29WINTERMUTE: Make scGetProperty use Common::String& instead of const char*Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Remove a few more unused includes.Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Remove unneccessary includes of base_file.hEinar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-09-04WINTERMUTE: Fix a warning with MSVCFilippos Karapetis
2012-08-31WINTERMUTE: Use tabs in enumsEinar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Use ++it instead of it++Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Replace col_templ's getSize with Common::Array::size()Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Use <math.h> instead of <cmath>Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Fix some of the clang++ warnings listed by LordHotoEinar Johan Trøan Sømåen
2012-08-15WINTERMUTE: Make use of the wday-field in dates, instead of a wrong mday-value.Einar Johan Trøan Sømåen
2012-08-15WINTERMUTE: Clear out some commented-out code.Einar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-11WINTERMUTE: Get rid of strncpy+manual termination.Einar Johan Trøan Sømåen
2012-08-07WINTERMUTE: Move dcscript.h into the proper folder.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove unused functions from StringUtil::Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Replace BaseRegistry with ConfManEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove the debugger.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Make the BaseEngine-singleton use Common::Singleton as super-classEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove static function variable from SXArrayEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Replace const char* with const Common::String & in fonts, gfx, ↵Einar Johan Trøan Sømåen
particles, sound and files.
2012-07-27WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵Einar Johan Trøan Sømåen
SuperClass(args)
2012-07-27WINTERMUTE: Remove all unneccessary #if 0 blocksEinar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings.Einar Johan Trøan Sømåen
2012-07-26WINTERMUTE: More variable/function renaming VarName->varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: var_name -> varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.Einar Johan Trøan Sømåen
This needs additional cleanup, but compiles and runs at this point.