aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/sprite.cpp
AgeCommit message (Collapse)Author
2011-11-20TOLTECS: silence a couple gcc warningsAlex Bevilacqua
2011-11-20TOLTECS: Reduced header dependenciesFilippos Karapetis
2011-11-20TOLTECS: - More work on the menu system, saving and loading from there is ↵Benjamin Haisch
now possible - Add blastSprite method which draws a sprite directly to the frontScreen without the renderQueue - Add F10 scancode in sfHandleInput to open the menu
2011-11-20TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites)Benjamin Haisch
- 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: Silenced MSVC warningsFilippos Karapetis
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: Renamed ybottom to priorityBenjamin Haisch
2011-11-20TOLTECS: Moved sprite drawing code to sprite.cppBenjamin Haisch