Commit Graph
69 Commits
Author SHA1 Message Date
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
Filippos Karapetis edefa37a45 TOLTECS: Fixed compilation 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 ec6f0d23a7 TOLTECS: Very very minor cleanup. 2011-11-20 22:43:07 +01:00
Benjamin Haisch 9e78b5d393 TOLTECS: - Listing savestates via command line or Launcher
- Loading/Saving during run time
Other savestate functions yet todo.
I'll probably remove the "original" in-game menu and move everything to the GMM.
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
Eugene Sandulenko beab4e3ca5 TOLTECS: Correct initialization for graphics. Since the game is 640x480, it should be
default to 1x scaler.
2011-11-20 22:43:07 +01:00
Benjamin Haisch 7b97e8cd93 TOLTECS: A lot of changes in the graphics code:
- Optimized drawing code; now only items (sprites, text, screen masks) which have changed from the previous frame are redrawn, this speeds up things a lot
- Implemented dirty rectangles using a microtile array
- The previously committed Microtile Array implementation from SEL seemed buggy so I wrote my own version which works nicely so far (and is less code and GPL), only MicroTileArray::getRectangles uses parts from the old version, this will be changed later
- One known bug related to dirty rectangles remains: Sometimes the background isn't restored correctly and gfx artifacts are visible
2011-11-20 22:43:06 +01:00
Benjamin Haisch 37a5f9e9ef TOLTECS: Switched quicksave key from F6 to F5. 2011-11-20 22:43:06 +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 6a83d7d851 TOLTECS: Cancel all talkText items when camera position is changed (fixes some crashes and odd behaviour) 2011-11-20 22:43:06 +01:00
Benjamin Haisch e2b3a35486 TOLTECS: Corrected debug output. 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 f0c9e489fe TOLTECS: Minor cleanup. 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 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