aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/screen.h
AgeCommit message (Collapse)Author
2013-04-26TOLTECS: Remove dead codeFilippos Karapetis
The clearSprites() method is a leftover from the older sprite drawing code
2013-03-15TOLTECS: Work around undefined subtitle behaviour at script loadingTorbjörn Andersson
It may be because of an underlying bug, but there is at least one case where a script is unloaded and replaced by another script while that script slot still has an active subtitle. This causes it to print random garbage for me, and may be causing crashes for others. I've discussed this patch with johndoe, and he was ok with it, so let's see how it works out.
2013-01-13TOLTECS: Fix bug #3600166 - "TOLTECS: Parrot speech cuts off Fenimore's in ↵Filippos Karapetis
Cemetery"
2013-01-13TOLTECS: Fix bug #3599370 - "TOLTECS: Text on intro video not shown as per ↵Filippos Karapetis
original"
2012-10-06TOLTECS: Improve the shake screen effects during moviesTorbjörn Andersson
I don't know how often the original shook the screen (perhaps as often as it could?), but at least we now have the opportunity to shake the screen more than once per movie frame.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
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: - 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-20TOLTECS: Fixed compilation with the latest trunk changes.Filippos Karapetis
This change also unveiled a serious problem: the same include files are used EVERYWHERE (e.g. code manipulating the screen is using sound includes). Added a FIXME concerning this
2011-11-20TOLTECS: More work on the menuBenjamin Haisch
2011-11-20TOLTECS: Implemented preliminary sound playback; some stuff is still missing ↵Benjamin Haisch
(correct volumes etc.)
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
2011-11-20TOLTECS: More changes to wrapGuiTextBenjamin Haisch
2011-11-20TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapStateBenjamin Haisch
2011-11-20TOLTECS: Renamed some functions.Benjamin Haisch
2011-11-20TOLTECS: Added Screen::getTextWidthBenjamin Haisch
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 clipping (the clipping of the right border with flipped ↵Benjamin Haisch
sprites was buggy)
2011-11-20TOLTECS: Implemented buildColorTransTable (still TODO) and shadow sprite ↵Benjamin Haisch
drawing.
2011-11-20TOLTECS: Merged drawChar and drawChar2Benjamin Haisch
2011-11-20TOLTECS: - Renamed stuff and cleanupsBenjamin Haisch
- Beginnings of the saveload system (incomplete)
2011-11-20TOLTECS: Fixed tabs and formatting.Benjamin Haisch
2011-11-20TOLTECS: Initial checkinEugene Sandulenko