Commit Graph

23 Commits

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