Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-11-24 | TOLTECS: Fix crash on Big Endian | Joost Peters | |
2011-11-20 | TOLTECS: Fix bugs | Benjamin Haisch | |
- Save scene parameters before playing a movie and restore them afterwards (fixes crash) - Fix text disappearing too fast - Implement script function sfGetCameraChanged - Replace nop script functions with stubs which print debug info when called - Some cleanup, remove obsolete TODOs | |||
2011-11-20 | TOLTECS: Reduced header dependencies | Filippos Karapetis | |
2011-11-20 | TOLTECS: - 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-20 | TOLTECS: - Work on the menu system (use strings from resources instead of ↵ | Benjamin Haisch | |
hardcoded ones) - ...and load the system strings from the resource on startup - Only redraw menu screen when required - Change parameters for some text functions from byte* to const byte* - Rename some mouse vars | |||
2011-11-20 | TOLTECS: Fixed odd bug in drawChar (I subtracted 2 from the font height ↵ | Benjamin Haisch | |
before, though I don't recall why exactly I did that; now I use the font height as-is) | |||
2011-11-20 | TOLTECS: Fix compilation. | Benjamin Haisch | |
2011-11-20 | TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites) | Benjamin Haisch | |
- Minor cleanup | |||
2011-11-20 | TOLTECS: Reworked the ArchiveReader and ResourceCache classes. | Benjamin Haisch | |
ResourceCache needs more work since resources are never freed (which is bad). | |||
2011-11-20 | TOLTECS: Silenced MSVC warnings | Filippos Karapetis | |
2011-11-20 | TOLTECS: - Implemented RTL | Benjamin Haisch | |
- Fixed return values in savegame/loadgame - Some minor cleanup | |||
2011-11-20 | TOLTECS: - 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-20 | TOLTECS: Implemented preliminary sound playback; some stuff is still missing ↵ | Benjamin Haisch | |
(correct volumes etc.) | |||
2011-11-20 | TOLTECS: 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-20 | TOLTECS: Moved sprite drawing code to sprite.cpp | Benjamin Haisch | |
2011-11-20 | TOLTECS: More changes to wrapGuiText | Benjamin Haisch | |
2011-11-20 | TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapState | Benjamin Haisch | |
2011-11-20 | TOLTECS: Renamed some functions. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Adjust y position of talk text lines. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Added Screen::getTextWidth | Benjamin Haisch | |
2011-11-20 | TOLTECS: - 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-20 | TOLTECS: Cancel all talkText items when camera position is changed (fixes ↵ | Benjamin Haisch | |
some crashes and odd behaviour) | |||
2011-11-20 | TOLTECS: Merged text drawing routines into drawString | Benjamin Haisch | |
2011-11-20 | TOLTECS: Fixed text command parsing in updateVerbLine | Benjamin Haisch | |
2011-11-20 | TOLTECS: 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-20 | TOLTECS: Fixed clipping (the clipping of the right border with flipped ↵ | Benjamin Haisch | |
sprites was buggy) | |||
2011-11-20 | TOLTECS: Finished sprite clipping. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Implemented buildColorTransTable (still TODO) and shadow sprite ↵ | Benjamin Haisch | |
drawing. | |||
2011-11-20 | TOLTECS: Merged drawChar and drawChar2 | Benjamin Haisch | |
2011-11-20 | TOLTECS: Saving/loading is working; it still needs work but will suffice to ↵ | Benjamin Haisch | |
make debugging somewhat easier. | |||
2011-11-20 | TOLTECS: - Renamed stuff and cleanups | Benjamin Haisch | |
- Beginnings of the saveload system (incomplete) | |||
2011-11-20 | TOLTECS: Fixed tabs and formatting. | Benjamin Haisch | |
2011-11-20 | TOLTECS: Initial checkin | Eugene Sandulenko | |