Commit Graph

33 Commits

Author SHA1 Message Date
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