Eugene Sandulenko
5dcdfd2600
GOB: Dual-license the gob engine under LGPL
...
The major contributors provided their consent:
DrMcCoy, Strangerke, sdelamarre, sev.
The goal is to allow the re-release of this code under
Switch, which is incompatible with pure GPL
2024-01-08 01:44:04 +01:00
Simon Delamarre
1c801b4c24
GOB: workaround for an infinite loop in Adibou2 flower garden activity
2023-04-23 00:57:57 +02:00
Simon Delamarre
97a66c329e
GOB: yet more int16->uint16 changes, to accommodate for Playtoons/Adibou2 larger variable space
...
This makes the Playtoons-like minigame in Adibou2 playable (with glitches).
2022-12-02 11:44:28 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
8d91d66a15
GOB: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
D G Turner
799a088b6e
GOB: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-12 17:31:01 +00:00
Eugene Sandulenko
7d2d5e371d
GOB: Fix warning
2016-02-14 17:35:09 +01:00
Johannes Schickel
ea21bc939a
GOB: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Sven Hesse
65bc46d3ab
GOB: Add Script::evalInt() and Script::evalString()
...
svn-id: r55634
2011-01-29 22:47:53 +00:00
Sven Hesse
40bf0286a1
GOB: Rename Script::evalBoolResult() to Script::evalBool()
...
svn-id: r55633
2011-01-29 22:47:14 +00:00
Sven Hesse
16a3cc8a84
GOB: Clean up class DataIO
...
Removing the need for class DataStream and that handle mess.
svn-id: r53984
2010-10-31 20:07:14 +00:00
Johannes Schickel
cbbb78d9f2
Enforce conversion formatting on pointer casts in the DEV code.
...
svn-id: r49068
2010-05-17 22:46:53 +00:00
Sven Hesse
5c52ed9f4b
Make sure that enough data is read out of the script
...
svn-id: r46785
2009-12-31 00:06:28 +00:00
Sven Hesse
f832d0fc56
Silencing two "empty loop body" warnings
...
svn-id: r42856
2009-07-28 15:05:44 +00:00
Sven Hesse
835dea71ce
Added a skipBlock() method
...
svn-id: r42122
2009-07-05 11:27:26 +00:00
Sven Hesse
d03dc08b64
Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
...
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
53c4e66b71
Checking for the file's existence in DataIO::getDataStream()
...
svn-id: r41837
2009-06-24 21:48:13 +00:00
Sven Hesse
483c3a51c3
Clarifying some warnings
...
svn-id: r41836
2009-06-24 21:47:54 +00:00
Sven Hesse
82f1ebcafe
Putting TOT filename generation and LOM checking into TOTFile
...
svn-id: r41822
2009-06-23 23:55:35 +00:00
Sven Hesse
04d4ce4a8b
Putting basic TOT handling into its own class
...
svn-id: r41821
2009-06-23 23:55:19 +00:00
Sven Hesse
b6e1787d72
Also loading TOT properties when the TOT is found in a LOM
...
svn-id: r41799
2009-06-23 01:23:51 +00:00
Sven Hesse
96c13416f1
Stopping the seek() going into the header
...
svn-id: r41798
2009-06-23 01:23:31 +00:00
Sven Hesse
fcddd5c69a
Replacing the 2 offset functions by a generic Script::getFunctionOffset()
...
svn-id: r41797
2009-06-23 01:23:14 +00:00
Sven Hesse
c967db5fa0
Added Script::getCenterOffset()
...
svn-id: r41796
2009-06-23 01:22:51 +00:00
Sven Hesse
792e77e653
Added Script::getStartOffset()
...
svn-id: r41795
2009-06-23 01:22:30 +00:00
Sven Hesse
3470faa936
Added Script::getAnimDataSize()
...
svn-id: r41794
2009-06-23 01:21:51 +00:00
Sven Hesse
43923e8b33
Added Script::getResourcesOffset()
...
svn-id: r41793
2009-06-23 01:21:06 +00:00
Sven Hesse
8e63d7989f
Added Script::getTextsOffset()
...
svn-id: r41792
2009-06-23 01:20:21 +00:00
Sven Hesse
ec5b2d6c9a
Added a method to query the number of variables needed by a Script
...
svn-id: r41791
2009-06-23 01:20:05 +00:00
Sven Hesse
4fa11436a0
Const correctness
...
svn-id: r41790
2009-06-23 01:19:37 +00:00
Sven Hesse
8bd5c0ceba
Added Script methods to query commun file handling
...
svn-id: r41789
2009-06-23 01:19:21 +00:00
Sven Hesse
f6118f7a85
Added Script methods to get the TOT major and minor version
...
svn-id: r41788
2009-06-23 01:19:03 +00:00
Sven Hesse
c31b79b7c9
Properly guarding Script::getOffset() and adding a reverse operation
...
svn-id: r41782
2009-06-22 20:51:34 +00:00
Sven Hesse
c3aafec1fb
Renaming parse.h and parse.cpp to expression.h and expression.cpp
...
svn-id: r41773
2009-06-22 16:30:35 +00:00
Sven Hesse
487a9bd14b
Renaming "Parse" to "Expression"
...
svn-id: r41772
2009-06-22 16:30:06 +00:00
Sven Hesse
7ba9c46cb0
More signess consistency on the reading and seeking methods
...
svn-id: r41771
2009-06-22 16:29:45 +00:00
Sven Hesse
565a9f5b0d
Don't assert on pop when no script is loaded
...
svn-id: r41770
2009-06-22 16:29:31 +00:00
Sven Hesse
49c46a46f7
Adding some comments
...
svn-id: r41769
2009-06-22 16:29:16 +00:00
Sven Hesse
59c32e72fb
const correctness
...
svn-id: r41765
2009-06-22 11:53:46 +00:00
Sven Hesse
7d005f62c3
Putting evalBoolResult() and evalExpr() into Script
...
svn-id: r41760
2009-06-22 10:29:32 +00:00
Sven Hesse
850203fc73
Unwinding the call stack before unloading the script
...
svn-id: r41759
2009-06-22 10:16:45 +00:00
Sven Hesse
648139dda7
Removing the now useless cuckoo function and shrink the call stack entries accordingly
...
svn-id: r41758
2009-06-22 10:16:17 +00:00
Sven Hesse
82568c66b1
Implemented loading TOTs from video file again
...
svn-id: r41756
2009-06-22 10:15:14 +00:00
Sven Hesse
7fbad08fd1
Implemented a call stack
...
svn-id: r41754
2009-06-22 10:14:18 +00:00
Sven Hesse
962fc19b57
Encapsulating script file access
...
svn-id: r41753
2009-06-22 10:13:37 +00:00