31793 Commits

Author SHA1 Message Date
Sven Hesse
65891626a2 Changing the TBR FIXME into a warning in setVoice()
svn-id: r41803
2009-06-23 08:51:55 +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
Paul Gilbert
510700b086 Bugfixes to keep sound effects to channel #4 like the original (it ignores the channel parameter to the given library routine)
svn-id: r41787
2009-06-23 01:01:16 +00:00
Max Horn
b629b0cc78 Fixed NDS compilation when using older devkitpro versions (I accidentally broke that some time ago)
svn-id: r41786
2009-06-22 23:09:28 +00:00
Max Horn
a5832d81d3 Patch #2810483 (SCI: Convert gfx subsystem headers to Doxygen format), with @brief removed
svn-id: r41785
2009-06-22 21:48:47 +00:00
Sven Hesse
3f404ef3c9 Removing trailing tabs
svn-id: r41784
2009-06-22 20:52:08 +00:00
Sven Hesse
6c7a790b54 Removing trailing spaces
svn-id: r41783
2009-06-22 20:51:48 +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
4ab4517016 Added stream-reading loading wrappers to MDYPlayer and added a workaround to fix TBR reading for the moment
svn-id: r41781
2009-06-22 20:27:47 +00:00
Arnaud Boutonné
e9ffb84179 rename parse.h and .cpp to expression.h and .cpp
svn-id: r41778
2009-06-22 19:56:06 +00:00
Johannes Schickel
4597178cf9 Fix palette regression in Lands of Lore.
svn-id: r41777
2009-06-22 19:46:08 +00:00
Sven Hesse
fae143f72d Renaming kDebugParser to kDebugExpression
svn-id: r41774
2009-06-22 16:30:51 +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
58aeec17c0 Removing commented-out declarations
svn-id: r41768
2009-06-22 16:29:00 +00:00
Arnaud Boutonné
ca10b516a3 Include recently added script.h and script.cpp
svn-id: r41766
2009-06-22 12:03:58 +00:00
Sven Hesse
59c32e72fb const correctness
svn-id: r41765
2009-06-22 11:53:46 +00:00
Paul Gilbert
4f631e9a89 Removed redundant variation of the routine to play sound effects
svn-id: r41763
2009-06-22 10:41:32 +00:00
Sven Hesse
dc4e06dd6e Pushing script.o down
svn-id: r41762
2009-06-22 10:30:09 +00:00
Sven Hesse
65fc23f962 Removing the Parse object from GobEngine
svn-id: r41761
2009-06-22 10:29:48 +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
b6a26911a3 Giving CollisionArea a full-blown Script pointer instead the data pointer
svn-id: r41757
2009-06-22 10:15:52 +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
28041433a5 Removing debug output
svn-id: r41755
2009-06-22 10:14:49 +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
Sven Hesse
dd9e62e31e Adding DataIO::existData()
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse
1dafcabb43 Encapsulated access to _resultStr
svn-id: r41751
2009-06-22 10:11:53 +00:00
Sven Hesse
f6717373b5 Encapsulated access to Parse::_resultInt
svn-id: r41750
2009-06-22 10:11:25 +00:00
Paul Gilbert
640f322194 Added the dummy volume variable to the savegame format
svn-id: r41749
2009-06-22 06:35:08 +00:00
Paul Gilbert
8dfbd0f845 Implemented the Op_SetVolume method like the original, which simply set a dummy variable and never actually changed the volume
svn-id: r41748
2009-06-22 06:17:50 +00:00
Johannes Schickel
4c01d4a954 Fix memory leak.
svn-id: r41747
2009-06-22 02:41:56 +00:00
Johannes Schickel
5767277d8d - Fixed regression in Screen::fadeToBlack
- Fixed some palette regressions in Kyra1 Amiga (only the intro works currently)

svn-id: r41746
2009-06-22 02:37:57 +00:00
Johannes Schickel
d7432e18ea Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
svn-id: r41745
2009-06-22 02:37:41 +00:00