aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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)
2011-11-20TOLTECS: Fixed a script bug (compare opcodes work on unsigned values). So ↵Benjamin Haisch
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-20TOLTECS: Corrected debug output.Benjamin Haisch
2011-11-20TOLTECS: Fixed clipping (the clipping of the right border with flipped ↵Benjamin Haisch
sprites was buggy)
2011-11-20TOLTECS: Finished sprite clipping.Benjamin Haisch
2011-11-20TOLTECS: Deleted obsolete files.Benjamin Haisch
2011-11-20TOLTECS: - Merged input.cpp with toltecs.cppBenjamin Haisch
- Kernel function 5 returns a random value; use ScummVM's RNG
2011-11-20TOLTECS: Implemented buildColorTransTable (still TODO) and shadow sprite ↵Benjamin Haisch
drawing.
2011-11-20TOLTECS: Merged drawChar and drawChar2Benjamin Haisch
2011-11-20TOLTECS: Minor cleanup.Benjamin Haisch
2011-11-20TOLTECS: Fixed tabs.Benjamin Haisch
2011-11-20TOLTECS: - Made game "quittable"Benjamin Haisch
- Save/load mouse position and if the cursor is enabled
2011-11-20TOLTECS: Saving/loading is working; it still needs work but will suffice to ↵Benjamin Haisch
make debugging somewhat easier.
2011-11-20TOLTECS: - Renamed stuff and cleanupsBenjamin Haisch
- Beginnings of the saveload system (incomplete)
2011-11-20TOLTECS: - Renamed some variables & functionsBenjamin Haisch
- Mouse cursor is hidden/shown when _mouseDisabled variable is set via script
2011-11-20TOLTECS: Some cleanup of the pathfinding code.Benjamin Haisch
2011-11-20TOLTECS: Fixed tabs and formatting.Benjamin Haisch
2011-11-20TOLTECS: Initial checkinEugene Sandulenko
2011-11-20MOHAWK: Implement kLBOpLoad, kLBOpUnload.Alyssa Milburn
2011-11-20MOHAWK: Replace _neverEnabled with basic _loaded logic.Alyssa Milburn
2011-11-20SCI: Reset parameters for all channels used by a song when it startsFilippos Karapetis
2011-11-20DREAMWEB: Reduce code duplicationWillem Jan Palenstijn
2011-11-20DREAMWEB: Accessor for kQuitrequestedBertrand Augereau
2011-11-20DREAMWEB: 'screenupdate' ported to C++Bertrand Augereau
2011-11-20DREAMWEB: 'switchryanon' and 'switchryanoff' ported to C++Bertrand Augereau
2011-11-20DREAMWEB: 'startup' and 'startup1' ported to C++Bertrand Augereau
2011-11-20DREAMWEB: dochange(void) is not needed anymoreBertrand Augereau
2011-11-20DREAMWEB: 'dumpwatch' ported to C++Bertrand Augereau