Commit Graph

10 Commits

Author SHA1 Message Date
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alex Bevilacqua
b592d73e62 TOLTECS: silence a couple gcc warnings 2011-11-20 22:43:12 +01:00
Filippos Karapetis
febda31f50 TOLTECS: Reduced header dependencies 2011-11-20 22:43:10 +01:00
Benjamin Haisch
1cb95f36e7 TOLTECS: - More work on the menu system, saving and loading from there is 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-20 22:43:10 +01:00
Benjamin Haisch
22db6b1558 TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites)
- 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
46257f7bb4 TOLTECS: Silenced MSVC warnings 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
150e555953 TOLTECS: Renamed ybottom to priority 2011-11-20 22:43:06 +01:00
Benjamin Haisch
ade8eec8cf TOLTECS: Moved sprite drawing code to sprite.cpp 2011-11-20 22:43:06 +01:00