Benjamin Haisch
9a84c13bef
TOLTECS: - Implemented playSoundAtPos and fixed sound panning (0 is center, not 64 like in the original)
...
- Minor cleanup
2011-11-20 22:43:08 +01:00
Benjamin Haisch
ce7febcd70
TOLTECS: Reworked the ArchiveReader and ResourceCache classes.
...
ResourceCache needs more work since resources are never freed (which is bad).
2011-11-20 22:43:07 +01:00
Benjamin Haisch
af7e1c1683
TOLTECS: - Fixed sound playing
...
- Renaming
2011-11-20 22:43:07 +01:00
Benjamin Haisch
eab360f3e7
TOLTECS: - Moved script functions out of the switch statement and into an array
2011-11-20 22:43:07 +01:00
Benjamin Haisch
2eb6482b06
TOLTECS: - Fixed compilation after Fingolfin's latest series of commits
...
- Added a warning for the yet unimplemented palette transparency code
- Removed "debug" calls from script, they weren't that useful
- Removed unneccessary delete in the MoviePlayer
- Fixed the renderer (hopefully?)
2011-11-20 22:43:07 +01:00
Filippos Karapetis
46257f7bb4
TOLTECS: Silenced MSVC warnings
2011-11-20 22:43:07 +01:00
Benjamin Haisch
1f4764ad1c
TOLTECS: - Implemented RTL
...
- Fixed return values in savegame/loadgame
- Some minor cleanup
2011-11-20 22:43:07 +01:00
Benjamin Haisch
47ae908589
TOLTECS: - Fixed Screen::updateTalkText (text x position was read incorrectly and font color wasn't nibble-swapped)
...
- Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
2011-11-20 22:43:07 +01:00
Benjamin Haisch
4b13982116
TOLTECS: Implemented preliminary sound playback; some stuff is still missing (correct volumes etc.)
2011-11-20 22:43:07 +01:00
Benjamin Haisch
f77960e81b
TOLTECS: Removed unused functions.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
3b89304dd9
TOLTECS: Forgot script.cpp.
...
And some tests for menu & movie player in toltecs.cpp.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
2930003864
TOLTECS: Fixed a script bug (compare opcodes work on unsigned values). So far this caused one error I noticed when climbing up the ladder in the barn where the camera didn't scroll up properly, but now it's all fine.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
74c05f6aa8
TOLTECS: - Merged input.cpp with toltecs.cpp
...
- Kernel function 5 returns a random value; use ScummVM's RNG
2011-11-20 22:43:05 +01:00
Benjamin Haisch
5660ff5148
TOLTECS: Implemented buildColorTransTable (still TODO) and shadow sprite drawing.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
51214a461a
TOLTECS: Saving/loading is working; it still needs work but will suffice to make debugging somewhat easier.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
dd5567613f
TOLTECS: - Renamed stuff and cleanups
...
- Beginnings of the saveload system (incomplete)
2011-11-20 22:43:05 +01:00
Benjamin Haisch
21f6dad09a
TOLTECS: - Renamed some variables & functions
...
- Mouse cursor is hidden/shown when _mouseDisabled variable is set via script
2011-11-20 22:43:05 +01:00
Benjamin Haisch
f4e156b3b3
TOLTECS: Fixed tabs and formatting.
2011-11-20 22:43:05 +01:00
Eugene Sandulenko
7c2835313e
TOLTECS: Initial checkin
2011-11-20 22:43:05 +01:00