aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
2006-05-25Set and show/hide mouse cursors through a "cursor manager" (analogous to theTorbjörn Andersson
recently added (cursor) palette manager) so that the cursor can be properly restored after returning from the GUI. If there's any C++ magic that can keep the backend functions from being called by anything else than these managing classes, that would probably be a good idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps there are at least some backends that will no longer need to? svn-id: r22639
2006-05-25Setting a "null" cursor like this doesn't do anything in the SDL backend, andTorbjörn Andersson
could possibly be undefined in other backends. So it should be safe to remove. svn-id: r22636
2006-05-18Renamed screenChanged() to handleScreenChanged().Torbjörn Andersson
svn-id: r22518
2006-05-18Allow changing scaler while playing MPEG cutscenes.Torbjörn Andersson
svn-id: r22515
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-05-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
2006-05-03Use FilesystemNode, never AbstractFilesystemNode (which is for internal use ↵Max Horn
only) svn-id: r22296
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-29* Changed the createEngine() factory function of our plugins to return an ↵Max Horn
error code (the engine is now passed indirectly via a double pointer) * Removed Engine_Empty (obsolete now that engines can return actual error codes) svn-id: r22199
2006-04-21Fixed silly bug in --save-slot handling: Don't try to restore a savegame unlessTorbjörn Andersson
the specified save slot is > 0. (The default value is -1, which shouldn't be restored either.) I thought I had fixed that already, but I guess I made a last-minute change... svn-id: r22069
2006-04-18Added support for the --save-slot option for Broken Sword 1. (Feature requestTorbjörn Andersson
#1460977.) svn-id: r22009
2006-04-18Call updateScreen() from delay functions for smoother mouse cursor movement.Torbjörn Andersson
svn-id: r21996
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-04-15Removed GameDetector::_gameid in favor of using a config manager entryMax Horn
svn-id: r21915
2006-04-08Modified the REGISTER_PLUGIN macro so that it allows (and requires) a ↵Max Horn
trailing semicolon (this helps certain tools to parse our code better) svn-id: r21689
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-04-01A lot of code in sword1/router.cpp and sword2/router.cpp is virtually ↵Max Horn
identical -- unified the two files in many places (but a lot more could be done, feel free to pick up and continue this work) svn-id: r21526
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-03-09- Renamed GameSettings to PlainGameDescriptorMax Horn
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with Common::String members instead of const char * ones) - Changed DetectedGame to subclass GameDescriptor - Removed toGameSettings() in favor of new (template) constructors in DetectedGame and GameDescriptor - Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines svn-id: r21150
2006-03-02Fix for bug #1438822 (Targets are case sensitive)Max Horn
svn-id: r21017
2006-02-21Removed the "extra bars/nodes" code, since nothing ever added the extra bars orTorbjörn Andersson
nodes. Removed the path-plotting debugging code, since the line-drawing function has been a stub for the past few years, as far as I can tell. Similar code was removed from the BS2 router long ago, so this could be a first tiny step towards bringing them together. svn-id: r20805
2006-02-20Fix for bug #1428261 (Solaris x86 build fails: variable name collision)Max Horn
svn-id: r20787
2006-02-18- Merged GameDetector::detectGame() into GameDetector::detectMain()Max Horn
- Replaced GameSettings GameDetector::_game by a simple gameid string svn-id: r20753
2006-02-18- renamed PLUGIN_getSupportedGames to PLUGIN_gameIDList for consistencyMax Horn
- renamed Engine_XXX_gameList to Engine_XXX_gameList for consistency - added new Engine_XXX_findGameID / PLUGIN_findGameID function - updated plugins code to take advantage of the new plugin API, to support obsolete gameids w/o showing them to the user svn-id: r20752
2006-02-18- Removed the 'features' field from GameSettingsMax Horn
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
2006-02-17Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to ↵Max Horn
Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly svn-id: r20738
2006-02-12Reduced data duplication in module.mk files; added module.mk files for null ↵Max Horn
and x11 backends; added engines/module.mk svn-id: r20584
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582