aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/scriptables/script_ext_string.cpp
AgeCommit message (Collapse)Author
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]; }
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 Sint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
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-26WINTERMUTE: Replace all NULLs with nullptr.Einar 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-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵Einar Johan Trøan Sømåen
SuperClass(args)
2012-07-26WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵Einar Johan Trøan Sømåen
easier-to-read-code.
2012-07-25WINTERMUTE: "delete []" -> "delete[]"Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Get rid of the C-prefix for class-definitions.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenamesEinar Johan Trøan Sømåen
This is mostly a lead-up to namespacing the Ad/Base folders, and then possibly removing the prefixes from the files, it also has the added benefit of getting rid of the odd case-typos that makes for issues on platforms that don't ignore case.