aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.h
AgeCommit message (Collapse)Author
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-11-09Moved sound-related settings to syncSoundSettings() for the global options ↵Torbjörn Andersson
dialog. svn-id: r34947
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896
2008-07-13SWORD2 works with the new GMM implementationChristopher Page
svn-id: r33044
2008-06-26Sword2 now uses the new _quit flagChristopher Page
svn-id: r32794
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-05-23Initial implementation of pauseEngineIntern(). There are issues, though, sinceTorbjörn Andersson
the engine doesn't always allow the game to be paused, and some things (GUI, movie cutscenes, credits, ...) are outside the main engine loop. svn-id: r32232
2007-06-22Slightly updated key handling in BS2, Kyra, and ToucheMax Horn
svn-id: r27637
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
2007-03-18Let the event manager keep track of the mouse position.Torbjörn Andersson
svn-id: r26205
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-01-03Use FRAMES_PER_SECOND, not getFramesPerSecond(), to calculate the number ofTorbjörn Andersson
frames before a sound effect is triggered. This is not dependent on _gameSpeed. svn-id: r24971
2007-01-03Added experimental "fast mode" for Broken Sword 2. (Use Ctrl-f to toggle.)Torbjörn Andersson
svn-id: r24970
2006-11-07Fixed regression caused by recent debug console cleanup. The key stroke thatTorbjörn Andersson
invoked the debug console would repeat after the console was closed. Another example why keyboard repeat should be centralized, I guess... svn-id: r24649
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-09-16* Added virtual Engine::getDebugger() methodMax Horn
* Removed code from errorString() methods that hooked the debugger(s) into error(), in favor of using getDebugger() from within error() * As a consequence, removed most custom errorString() methods svn-id: r23894
2006-07-22Cleanup.Torbjörn Andersson
svn-id: r23551
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-02-17Removed includes from sword2.h so that (hopefully) there will eventually beTorbjörn Andersson
less dependencies. svn-id: r20741
2006-02-12Standardized the preprocessor constants used to prevent double inclusion ofTorbjörn Andersson
header files. Each now begins with "SWORD2_" and ends with "_H". (Well, except for "SWORD2_H", since I didn't want to name it "SWORD2_SWORD2_H".) svn-id: r20655
2006-02-12Renamed files for consistency with other engines:Torbjörn Andersson
build_display -> screen save_rest -> saveload More to come, no doubt. svn-id: r20651
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582