aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.h
AgeCommit message (Collapse)Author
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02SWORD2: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-02-15SWORD2: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
Thanks to eriktorbjorn for helping me with this.
2010-11-01SWORD2: CleanupTorbjörn Andersson
Removed some of the debug code that has never ever been enabled for as long as this engine has been in ScummVM. svn-id: r53998
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
2010-10-15ENGINES: Enhance namespace comments a bitMax Horn
svn-id: r53484
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-06Const correctnessEugene Sandulenko
svn-id: r40346
2009-04-07Sword2: PSX version support, and GMM loading/savingFabio Battaglia
svn-id: r39896
2009-03-15sword2: added detection for Broken Sword 2 PSX, and a check to say wether pc ↵Fabio Battaglia
or psx version is run svn-id: r39417
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
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