Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-11 | WINTERMUTE: Suppress FoxTail runtimeError on game load | lolbot-iichan | |
FoxTail reloads in-hand items and cursor during AfterLoad by calling wrapped Game.LoadItems() method. This does not work in WME, as WME explicitly disables methods call at "AfterLoad" event. Somehow, everything seems to work fine without it. Let's supress this error by now... TODO: inspect actor.TakeItem and SetItemCursor for possible effects TODO: make a fake game that calls some methods on AfterLoad, test with FoxTail engine | |||
2020-01-11 | WINTERMUTE: Add FoxTail arrays methods | lolbot-iichan | |
Game.Split(str,sep) is added to split string into array of substrings with separator array.Delete(index) is added to delete an array item by index | |||
2019-12-02 | WINTERMUTE: restored commented out stack->pop() | lolbot-iichan | |
Unused variables were cleaned up at 47811167d5ddd9cbf64099ad36f2da5ae413fc86, commenting out a bit too much code, since stack->pop() has a side effect (popping a value from data stack). | |||
2019-07-24 | WINTERMUTE: Fix GCC Compilation Warnings | D G Turner | |
Have commented out rather than removed the lines causing unused variable warnings as they might be used again in future. | |||
2019-07-16 | WINTERMUTE: Suppress warning on Directory.Create() for Hamlet | lolbot-iichan | |
2019-07-16 | WINTERMUTE: Fix File.WriteText method | lolbot-iichan | |
Removed unnecessary '\0' byte written after a string. Reasons to remove: 1. Hamlet game does not write 0 after string when running this code: var SomeFile = new File((Game.SaveDirectory + "\gamelet.save")); SomeFile.OpenAsText(2); SomeFile.WriteText(LVL_N); SomeFile.Close(); 2. Original WME does not have this: https://github.com/retrowork/Wintermute-Engine/blob/master/src/engine_core/wme_base/SXFile.cpp#L303 | |||
2019-07-16 | WINTERMUTE: Implement saving files using SavefileManager | lolbot-iichan | |
2019-07-16 | WINTERMUTE: Add dummy implementation of Directory global object | lolbot-iichan | |
Source: http://docs.dead-code.org/wme/generated/scripting_ref_directory.html | |||
2019-06-25 | WINTERMUTE: Add debugN + comment for getNumScripts() | lolbot-iichan | |
2019-06-25 | WINTERMUTE: Handle enum in GetNumScripts | lolbot-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-18 | WINTERMUTE: Fix Split() method of ext_string | lolbot-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-03 | WINTERMUTE: Use degree conversion common math funcs | David Fioramonti | |
2016-08-22 | WINTERMUTE: Fix compilation with MSVC | Filippos Karapetis | |
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it was used, it triggered a fatal error C1017 | |||
2016-03-01 | WINTERMUTE: Remember to delete watch instances | Tobia Tesan | |
2016-03-01 | WINTERMUTE: Do not delete a pointer we do not own in resolveName | Tobia Tesan | |
2016-03-01 | WINTERMUTE: Add Watch functionality | Tobia Tesan | |
2016-03-01 | WINTERMUTE: Add name resolution to DebuggableScript | Tobia Tesan | |
2016-02-29 | WINTERMUTE: Add post instruction hook to DebuggableScript | Tobia Tesan | |
2016-02-29 | WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classes | Tobia Tesan | |
These extend the script engine and allow for monitoring and adding pre/post instruction hooks | |||
2016-02-29 | WINTERMUTE: Make _operand protected in script.h | Tobia Tesan | |
2016-02-29 | WINTERMUTE: Remove dead code from vestigial remnants of WME debugger | Tobia Tesan | |
2014-06-08 | WINTERMUTE: Silence/fix some warnigns when compiling Symbian port. | Johannes Schickel | |
See bug #6625 "WINTERMUTE: Symbian Compilation Warnings". | |||
2014-02-19 | WME: Fix bug #6531 - "WME: Art of Murder - Assertion" | Filippos Karapetis | |
2014-02-18 | WINTERMUTE: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-11-23 | WINTERMUTE: Switch WideString to U32String. | Johannes Schickel | |
2013-11-05 | WINTERMUTE: Transfer Const Char* explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-11-05 | WINTERMUTE: Transfer Char* explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-11-05 | WINTERMUTE: Transfer Sint32s explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-11-05 | WINTERMUTE: Transfer Uint32s explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-10-29 | WINTERMUTE: Transfer Doubles explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-10-28 | WINTERMUTE: Transfer booleans explicitly when saving/loading. | Einar Johan Trøan Sømåen | |
2013-09-05 | WINTERMUTE: Disambiguate empty and NULL strings when saving | Willem 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-05 | WINTERMUTE: Don't clean up _scripts mid-iteration | Willem 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-04 | WINTERMUTE: Fix end of namespace comments. | Johannes Schickel | |
2013-07-23 | WINTERMUTE: Set _scriptStream to nullptr after deletion | Einar Johan Trøan Sømåen | |
(Clang static-analyzer issue) | |||
2013-06-18 | WINTERMUTE: Avoid explicitly including <math.h> | Einar Johan Trøan Sømåen | |
2013-04-20 | WINTERMUTE: 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-20 | WINTERMUTE: Change ScriptValue to use int32. | Einar Johan Trøan Sømåen | |
2013-04-19 | WINTERMUTE: Replace a few more ints by int32s. | Einar Johan Trøan Sømåen | |
2013-04-19 | WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid ↵ | Einar Johan Trøan Sømåen | |
overload-misses. | |||
2013-04-18 | WINTERMUTE: Use int32 instead of int in classes. | Einar Johan Trøan Sømåen | |
2013-04-18 | WINTERMUTE: Split the timers from BaseGame into a separate class. | Einar Johan Trøan Sømåen | |
2013-04-17 | WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod() | Einar Johan Trøan Sømåen | |
2013-03-24 | WINTERMUTE: Really fix build breakage... | D G Turner | |
strlcpy() needed qualification of Common namespace. | |||
2013-03-24 | WINTERMUTE: Fix build breaking missing header declaration. | D G Turner | |
This is required to declare the strlcpy() function. | |||
2013-03-24 | WINTERMUTE: Replace WMELite's String-Split-function with code from WME. | Einar Johan Trøan Sømåen | |
2013-01-31 | WINTERMUTE: 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-26 | WINTERMUTE: Replace all NULLs with nullptr. | Einar Johan Trøan Sømåen | |
2013-01-24 | WINTERMUTE: More formatting fixes. | Einar Johan Trøan Sømåen | |
2013-01-24 | JANITORIAL: Fix ){ -> ) { | Einar Johan Trøan Sømåen | |