aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables
AgeCommit message (Collapse)Author
2019-07-16WINTERMUTE: Implement saving files using SavefileManagerlolbot-iichan
2019-07-16WINTERMUTE: Add dummy implementation of Directory global objectlolbot-iichan
Source: http://docs.dead-code.org/wme/generated/scripting_ref_directory.html
2019-06-25WINTERMUTE: Add debugN + comment for getNumScripts()lolbot-iichan
2019-06-25WINTERMUTE: Handle enum in GetNumScriptslolbot-iichan
This code is used only in debug mode and only to display some script counters. States are handled in the very same way in WME Lite, so there is no reason to log tons of warning here.
2019-06-18WINTERMUTE: Fix Split() method of ext_stringlolbot-iichan
It's hard to believe, but this fixes bug "#10432" WME Carol Reed Mysteries hint system not working. Carol Reed hint system happen to heavily use line.Split(";") results, which were wrong by 1 byte (delimeter was appended to result while it shouldn't be). I started with decompiling Carol Reed source code, reproducing issue with a stand-alone test project (which worked with WME and showed [null] with ScummVM). then minimized it to a minimal testcase: var line = new String("New Goal;Visit Christina at the Art Museum;1;0;S;;"); var ar = line.Split(";"); if((ar[0] == "New Goal")) { var g = ar[1]; }
2018-07-03WINTERMUTE: Use degree conversion common math funcsDavid Fioramonti
2016-08-22WINTERMUTE: Fix compilation with MSVCFilippos Karapetis
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it was used, it triggered a fatal error C1017
2016-03-01WINTERMUTE: Remember to delete watch instancesTobia Tesan
2016-03-01WINTERMUTE: Do not delete a pointer we do not own in resolveNameTobia Tesan
2016-03-01WINTERMUTE: Add Watch functionalityTobia Tesan
2016-03-01WINTERMUTE: Add name resolution to DebuggableScriptTobia Tesan
2016-02-29WINTERMUTE: Add post instruction hook to DebuggableScriptTobia Tesan
2016-02-29WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classesTobia Tesan
These extend the script engine and allow for monitoring and adding pre/post instruction hooks
2016-02-29WINTERMUTE: Make _operand protected in script.hTobia Tesan
2016-02-29WINTERMUTE: Remove dead code from vestigial remnants of WME debuggerTobia Tesan
2014-06-08WINTERMUTE: Silence/fix some warnigns when compiling Symbian port.Johannes Schickel
See bug #6625 "WINTERMUTE: Symbian Compilation Warnings".
2014-02-19WME: Fix bug #6531 - "WME: Art of Murder - Assertion"Filippos Karapetis
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-23WINTERMUTE: Switch WideString to U32String.Johannes Schickel
2013-11-05WINTERMUTE: Transfer Const Char* explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Char* explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Sint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Uint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Transfer Doubles explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-28WINTERMUTE: Transfer booleans explicitly when saving/loading.Einar Johan Trøan Sømåen
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