Johannes Schickel
a6fff7a805
WINTERMUTE: Switch WideString to U32String.
2013-11-23 21:34:54 +01:00
Einar Johan Trøan Sømåen
4e2bec5311
WINTERMUTE: Transfer Const Char* explicitly when saving/loading.
2013-11-05 13:58:02 +01:00
Einar Johan Trøan Sømåen
237d3d86ec
WINTERMUTE: Transfer Char* explicitly when saving/loading.
2013-11-05 13:54:25 +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
Einar Johan Trøan Sømåen
7892188bcf
WINTERMUTE: Transfer Uint32s explicitly when saving/loading.
2013-11-05 13:31:13 +01:00
Einar Johan Trøan Sømåen
4c3c707671
WINTERMUTE: Transfer Doubles explicitly when saving/loading.
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
6b4adab654
WINTERMUTE: Transfer booleans explicitly when saving/loading.
2013-10-28 19:19:12 +01:00
Willem Jan Palenstijn
023914d121
WINTERMUTE: Disambiguate empty and NULL strings when saving
...
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 22:12:49 +02:00
Willem Jan Palenstijn
dd9ab7accb
WINTERMUTE: Don't clean up _scripts mid-iteration
...
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-09-05 20:23:42 +02: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
e19656464c
WINTERMUTE: Set _scriptStream to nullptr after deletion
...
(Clang static-analyzer issue)
2013-07-23 18:39:50 +02:00
Einar Johan Trøan Sømåen
7cc19bf29d
WINTERMUTE: Avoid explicitly including <math.h>
2013-06-18 01:35:49 +02:00
Einar Johan Trøan Sømåen
f1c3869669
WINTERMUTE: Fix ScriptExtDate-saving (bump savegame-version to 1.2.1).
...
This also fixes int->int32 in ScriptExtDate::transfer.
2013-04-20 18:32:42 +02:00
Einar Johan Trøan Sømåen
d8eff7be22
WINTERMUTE: Change ScriptValue to use int32.
2013-04-20 18:18:54 +02:00
Einar Johan Trøan Sømåen
a2fb3dfe9e
WINTERMUTE: Replace a few more ints by int32s.
2013-04-19 18:13:42 +02:00
Einar Johan Trøan Sømåen
72d0affe01
WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses.
2013-04-19 17:17:53 +02:00
Einar Johan Trøan Sømåen
b6242d0ea5
WINTERMUTE: Use int32 instead of int in classes.
2013-04-18 17:45:50 +02:00
Einar Johan Trøan Sømåen
8f25b651e8
WINTERMUTE: Split the timers from BaseGame into a separate class.
2013-04-18 12:10:40 +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
0407906bfa
WINTERMUTE: Redo the way floats are saved, break savegame compatibility with 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-31 23:59:21 +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
c239b868da
WINTERMUTE: More formatting fixes.
2013-01-24 20:17:17 +01:00
Einar Johan Trøan Sømåen
5d4d65d6d9
JANITORIAL: Fix ){ -> ) {
2013-01-24 20:15:13 +01:00
Einar Johan Trøan Sømåen
487539f102
WINTERMUTE: Remove commented out code.
2013-01-24 18:39:57 +01:00
Einar Johan Trøan Sømåen
53512b0841
WINTERMUTE: Const-ify member-functions that obviously should be const.
2012-12-03 10:42:58 +01:00
Einar Johan Trøan Sømåen
ea024cd203
WINTERMUTE: Avoid including script_ext_math.h in base_game.cpp
2012-12-02 20:46:26 +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
Einar Johan Trøan Sømåen
f33884b020
WINTERMUTE: Remove a few more unused includes.
2012-09-11 03:40:56 +02:00
Einar Johan Trøan Sømåen
8c864170a4
WINTERMUTE: Remove unneccessary includes of base_file.h
2012-09-11 03:11:02 +02:00
Willem Jan Palenstijn
b4090ead4d
WINTERMUTE: Convert CRLF to LF
2012-09-04 22:17:23 +02:00
Filippos Karapetis
00ad58c29b
WINTERMUTE: Fix a warning with MSVC
2012-09-04 20:10:30 +03:00
Einar Johan Trøan Sømåen
e067520bb9
WINTERMUTE: Use tabs in enums
2012-08-31 21:03:29 +02:00
Einar Johan Trøan Sømåen
158a206086
WINTERMUTE: Use ++it instead of it++
2012-08-31 20:00:41 +02:00
Einar Johan Trøan Sømåen
2fd38f47e0
WINTERMUTE: Replace col_templ's getSize with Common::Array::size()
2012-08-31 19:23:41 +02:00
Einar Johan Trøan Sømåen
b01f09e82f
WINTERMUTE: Use <math.h> instead of <cmath>
2012-08-31 17:28:37 +02:00
Einar Johan Trøan Sømåen
764ca7a51a
WINTERMUTE: Fix some of the clang++ warnings listed by LordHoto
2012-08-31 14:21:33 +02:00
Einar Johan Trøan Sømåen
eacb0b1698
WINTERMUTE: Make use of the wday-field in dates, instead of a wrong mday-value.
2012-08-15 02:36:08 +02:00
Einar Johan Trøan Sømåen
10ca0f136d
WINTERMUTE: Clear out some commented-out code.
2012-08-15 02:35:11 +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
c422ae9d8a
WINTERMUTE: Get rid of strncpy+manual termination.
2012-08-11 02:30:07 +02:00
Einar Johan Trøan Sømåen
52aeaf4ece
WINTERMUTE: Move dcscript.h into the proper folder.
2012-08-07 14:06:42 +02:00
Einar Johan Trøan Sømåen
20e2ec4ff4
WINTERMUTE: Remove unused functions from StringUtil::
2012-07-29 18:00:15 +02:00
Einar Johan Trøan Sømåen
2e7d21fc52
WINTERMUTE: Replace BaseRegistry with ConfMan
2012-07-29 17:53:44 +02:00
Einar Johan Trøan Sømåen
aa3467ddaa
WINTERMUTE: Remove the debugger.
2012-07-29 15:30:44 +02:00
Einar Johan Trøan Sømåen
482a5fb467
WINTERMUTE: Make the BaseEngine-singleton use Common::Singleton as super-class
2012-07-29 03:41:07 +02:00
Einar Johan Trøan Sømåen
9b5cf8f1ba
WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.
2012-07-29 02:34:44 +02:00
Einar Johan Trøan Sømåen
b214041539
WINTERMUTE: Remove static function variable from SXArray
2012-07-29 00:58:15 +02:00