aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
AgeCommit message (Collapse)Author
2011-11-20TOLTECS: More work on the menu; started with the saveload menu page and ↵Benjamin Haisch
fixed some early bugs
2011-11-20TOLTECS: More work on the menuBenjamin Haisch
2011-11-20TOLTECS: Started implementing the menu from scratchBenjamin Haisch
2011-11-20TOLTECS: Silenced some warningsFilippos Karapetis
2011-11-20TOLTECS: - Added detection entry for the German demo versionBenjamin Haisch
2011-11-20TOLTECS: Fix compilation.Benjamin Haisch
2011-11-20TOLTECS: Oops, forgot to disable the debug path drawing.Benjamin Haisch
2011-11-20TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites)Benjamin Haisch
- Minor cleanup
2011-11-20TOLTECS: - Implemented playSoundAtPos and fixed sound panning (0 is center, ↵Benjamin Haisch
not 64 like in the original) - Minor cleanup
2011-11-20TOLTECS: Reworked the ArchiveReader and ResourceCache classes.Benjamin Haisch
ResourceCache needs more work since resources are never freed (which is bad).
2011-11-20TOLTECS: - Fixed sound playingBenjamin Haisch
- Renaming
2011-11-20TOLTECS: - Moved script functions out of the switch statement and into an arrayBenjamin Haisch
2011-11-20TOLTECS: - Added enum for sound channel typeBenjamin Haisch
- Added isPointInside
2011-11-20TOLTECS: Updated TODO (nothing new, just syncing local copy with the repo)Benjamin Haisch
2011-11-20TOLTECS: - Removed TODO, external resources aren't explicitly used (the ↵Benjamin Haisch
original game extracts resources from WESTERN to HD to increase access speed)
2011-11-20TOLTECS: Fixed compilationFilippos Karapetis
2011-11-20TOLTECS: Fixed compilationFilippos Karapetis
2011-11-20TOLTECS: Added German versionBenjamin Haisch
2011-11-20TOLTECS: - Fixed compilation after Fingolfin's latest series of commitsBenjamin Haisch
- 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-20TOLTECS: Silenced MSVC warningsFilippos Karapetis
2011-11-20TOLTECS: - Implemented RTLBenjamin Haisch
- Fixed return values in savegame/loadgame - Some minor cleanup
2011-11-20TOLTECS: Very very minor cleanup.Benjamin Haisch
2011-11-20TOLTECS: - Listing savestates via command line or LauncherBenjamin Haisch
- 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-20TOLTECS: - Fixed Screen::updateTalkText (text x position was read ↵Benjamin Haisch
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-20TOLTECS: Implemented preliminary sound playback; some stuff is still missing ↵Benjamin Haisch
(correct volumes etc.)
2011-11-20TOLTECS: Removed unused functions.Benjamin Haisch
2011-11-20TOLTECS: Correct initialization for graphics. Since the game is 640x480, it ↵Eugene Sandulenko
should be default to 1x scaler.
2011-11-20TOLTECS: Added sound to the movie player (finally). Still TODO: Ability to ↵Benjamin Haisch
abort movies.
2011-11-20TOLTECS: Updated TODO.txtBenjamin Haisch
2011-11-20TOLTECS: A lot of changes in the graphics code:Benjamin Haisch
- 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-20TOLTECS: Switched quicksave key from F6 to F5.Benjamin Haisch
2011-11-20TOLTECS: Cleanup.Benjamin Haisch
2011-11-20TOLTECS: Changed how screen masks are handled.Benjamin Haisch
At load time, a Surface is created for each screen mask, in which the gfx data from the background is copied. This is the first step towards more optimized gfx rendering (more to come later).
2011-11-20TOLTECS: Renamed ybottom to priorityBenjamin Haisch
2011-11-20TOLTECS: Moved sprite drawing code to sprite.cppBenjamin Haisch
2011-11-20TOLTECS: More changes to wrapGuiTextBenjamin Haisch
2011-11-20TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapStateBenjamin Haisch
2011-11-20TOLTECS: Forgot script.cpp.Benjamin Haisch
And some tests for menu & movie player in toltecs.cpp.
2011-11-20TOLTECS: - Added menu system prototype (may change later)Benjamin Haisch
- Added movie player (still incomplete, sound is not yet implemented) Both are not yet hooked to the engine. - Added code for microtile arrays (from the SEL - Simple DirectMedia Layer Extension Library project), under the LGPL This will be used as dirty rectangle "manager". This is experimental for now, it may be removed later.
2011-11-20TOLTECS: Renamed some functions.Benjamin Haisch
2011-11-20TOLTECS: Adjust y position of talk text lines.Benjamin Haisch
2011-11-20TOLTECS: Added Screen::getTextWidthBenjamin Haisch
2011-11-20TOLTECS: Add Russian version detection which works great.Eugene Sandulenko
2011-11-20TOLTECS: Added TODO/NOTES/BUGS textBenjamin Haisch
Also: The game is completable with this revision! (yay!:)
2011-11-20TOLTECS: - Fixed setDeltaPalette (sprites at night now look correct)Benjamin Haisch
- Renamed TalkTextItem.rects/rectCount to lines/lineCount - Workaround for font glitch in updateTalkText (text sets invalid font number)
2011-11-20TOLTECS: Cancel all talkText items when camera position is changed (fixes ↵Benjamin Haisch
some crashes and odd behaviour)
2011-11-20TOLTECS: Merged text drawing routines into drawStringBenjamin Haisch
2011-11-20TOLTECS: Fixed bug in anim frame displaying.Benjamin Haisch
2011-11-20TOLTECS: Fixed text command parsing in updateVerbLineBenjamin Haisch
2011-11-20TOLTECS: Clear the text duration first in updateTalkText before adding text ↵Benjamin Haisch
lines (else the durations add up and the text stays on screen a really long time)