aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/palette.cpp
AgeCommit message (Collapse)Author
2010-11-01SWORD2: Cleanup pause handlingTorbjörn Andersson
Removed a bunch of pause-related code which I either can't remember why it's there, or which doesn't seem to serve any useful purpose. Most things I've tried seem to work as well or better than before. svn-id: r53997
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-04-07Sword2: PSX version support, and GMM loading/savingFabio Battaglia
svn-id: r39896
2008-11-09Removed some code that was added earlier to deal with dimming/undimming theTorbjörn Andersson
palette when pausing the game in a mid-fade. The game can only be paused in mid-fade from the outside, and then the palette isn't dimmed/undimmed. svn-id: r34958
2008-11-09Allow pausing (from the outside) during credits and palette fades. ↵Torbjörn Andersson
Refactored the code to distinguish outside pausing from in-game pausing, to avoid cursor-related problems. The screen is now only dimmed during in-game pausing. svn-id: r34957
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-07-13SWORD2 works with the new GMM implementationChristopher Page
svn-id: r33044
2008-05-29Rewrote dimPalette() so that the dimming is now a "filter" between the ScreenTorbjörn Andersson
class and the backend, i.e. as far as the game engine is concerned the palette remains unchanged. (This is similar how to the SCUMM engine handles the "noir" mode in Sam & Max.) This is one small step towards allowing the game to be paused anywhere. svn-id: r32369
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-31Re-added Revolution Software copyright to BS2 engineMax Horn
svn-id: r27030
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-02-17Removed includes from sword2.h so that (hopefully) there will eventually beTorbjörn Andersson
less dependencies. svn-id: r20741
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582