Le Philousophe
73c09b1d56
WINTERMUTE: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
3919f53326
ENGINES: Replace new[]/memset with new[]()
2021-11-10 19:53:15 +01:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
Vladimir Serbinenko
3fc822e55c
COMMON: introduce substr for U32String ( #2585 )
...
It's safer than direct array manipulation. Replace current uses
of subsetting with substr.
2020-11-01 22:53:03 +01:00
lolbot-iichan
5a4c607073
WINTERMUTE: Add methods required for Pole Chudes
2020-02-29 10:31:55 +02:00
lolbot-iichan
a7efc8afd8
WINTERMUTE: Fix Split() method of ext_string
...
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]; }
2019-06-18 21:20:33 +03:00
Filippos Karapetis
5d0ebad996
WME: Fix bug #6531 - "WME: Art of Murder - Assertion"
2014-02-19 00:42:10 +02:00
Johannes Schickel
fc5ef58fff
WINTERMUTE: Make GPL headers consistent in themselves.
2014-02-18 02:39:40 +01:00
Johannes Schickel
a6fff7a805
WINTERMUTE: Switch WideString to U32String.
2013-11-23 21:34:54 +01:00
Einar Johan Trøan Sømåen
d07409def7
WINTERMUTE: Transfer Sint32s explicitly when saving/loading.
2013-11-05 13:48:11 +01:00
Johannes Schickel
1ce54c217a
WINTERMUTE: Fix end of namespace comments.
2013-08-04 00:51:09 +02:00
Einar Johan Trøan Sømåen
3ff6af3dde
WINTERMUTE: Use strlcpy instead of strcpy in SXString::scCallMethod()
2013-04-17 17:11:44 +02:00
D G Turner
69ba094f60
WINTERMUTE: Really fix build breakage...
...
strlcpy() needed qualification of Common namespace.
2013-03-24 19:04:36 +00:00
D G Turner
502cde4fa0
WINTERMUTE: Fix build breaking missing header declaration.
...
This is required to declare the strlcpy() function.
2013-03-24 18:56:48 +00:00
Einar Johan Trøan Sømåen
d136e20d6e
WINTERMUTE: Replace WMELite's String-Split-function with code from WME.
2013-03-24 18:55:33 +01:00
Einar Johan Trøan Sømåen
980dc4a456
WINTERMUTE: Replace all NULLs with nullptr.
2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen
afc21941e3
WINTERMUTE: Make scGetProperty use Common::String& instead of const char*
2012-09-29 00:47:12 +02:00
Willem Jan Palenstijn
b4090ead4d
WINTERMUTE: Convert CRLF to LF
2012-09-04 22:17:23 +02:00
Einar Johan Trøan Sømåen
fed19cb66a
WINTERMUTE: WinterMute -> Wintermute
2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen
8ed71a99f6
WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : SuperClass(args)
2012-07-27 19:37:14 +02:00
Einar Johan Trøan Sømåen
ef11f9d0c5
WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code.
2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen
fa96c9ea18
WINTERMUTE: "delete []" -> "delete[]"
2012-07-25 21:05:03 +02:00
Einar Johan Trøan Sømåen
c7eda9abc8
WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.
2012-07-23 03:42:27 +02:00
Einar Johan Trøan Sømåen
b5a07fef8e
WINTERMUTE: Get rid of the C-prefix for class-definitions.
2012-07-21 21:01:47 +02:00
Einar Johan Trøan Sømåen
5683f07633
WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
...
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.
2012-07-21 19:15:33 +02:00