aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
2007-02-04Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208Max Horn
svn-id: r25382
2007-01-21Added game.cpp file with some funcs/methods declared in game.hMax Horn
svn-id: r25137
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2006-11-13Patch #1595319: "Enable the command line --debugflags before engine.init()"Eugene Sandulenko
svn-id: r24705
2006-11-12Print sensible messages if engine instantiation failedMax Horn
svn-id: r24684
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
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-08-04Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)Max Horn
svn-id: r23666
2006-07-23The GUI now uses the cursor palette for all themes. Therefore, it shouldn't beTorbjörn Andersson
necessary to set up a "dummy" palette for the cursor any more. If an engine wants to display an error message without using the GUI, it can set up its own palette. With this change, ScummVM no longer sets a palette before _screen is created in the SDL backend. svn-id: r23575
2006-07-08Testing the new ciabot.py hook ... dang, I wanted to modify scummsys.h, ↵Max Horn
where is abort butto... CARRIER LOST svn-id: r23440
2006-06-30Include DCLauncherDialog.h from the new backend dir.Marcus Comstedt
svn-id: r23360
2006-06-30No need to calls clearSoundCallback here (engine destructor already does that)Max Horn
svn-id: r23356
2006-06-24Added 'timer' backend module, based on the existing TimerManager code (work ↵Max Horn
in progress) svn-id: r23279
2006-06-24Renamed class Timer to TimerManager (the old name was somewhat ↵Max Horn
incorrect/confusing) svn-id: r23278
2006-06-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h) svn-id: r23274
2006-06-15- Make tabs narrower so they all fit on screen. Now navigation buttonsEugene Sandulenko
appear only on PSP resolution - Combined Audio/Volume tab in game options for consistency. svn-id: r23130
2006-06-14Should fix --debugflags for all engines which set up the debug flags in ↵Johannes Schickel
Engine::init. svn-id: r23110
2006-06-11Removed actions.h include for symbian build. Not needed anymore.Lars Persson
svn-id: r23027
2006-06-10removed GUI::Actions::init() now that noone uses it.Kostas Nakos
svn-id: r23017
2006-05-31Moved Symbian call to GUI::Actions::init(); to the Symbian backendLars Persson
svn-id: r22811
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-12Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also ↵Max Horn
changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941. svn-id: r22424
2006-05-09- Updated MSVC8 project filesEugene Sandulenko
- Renamed base/options.cpp to base/commandLine.cpp because of conflict with gui/options.cpp which sit in same directory in MSVC builds - Moved AudioCDManager singleton declaration outside of Audio namespace - Fixed numerous MSVC warning of potentially uninitialized variables and int <-> bool conversions. svn-id: r22397
2006-05-05Corrected a warning message (findGame failures are due to unsupported ↵Max Horn
gameids, and have nothing to do with targets) svn-id: r22357
2006-05-05Removed Base::setTarget, and some minor cleanup & tweaksMax Horn
svn-id: r22356
2006-05-05Updated outdated TODOMax Horn
svn-id: r22354
2006-05-05Fingolfin just remembered *why* GUI::Actions::init() is called in ↵Max Horn
scummvm_main, but luckily those reasons are gone now, so let's fix this :-) svn-id: r22353
2006-05-05Some further cleanup in scummvm_mainMax Horn
svn-id: r22352
2006-05-05Moved PalmOS specific call to ArgsFree up to the last point where argv is ↵Max Horn
used (hopefully that's correct :-) svn-id: r22351
2006-05-04Moved listGames, listTargets, runDetectorTest to base/options.cpp; also ↵Max Horn
moved some code that was formerly in scummvm_main() to Base::processSettings() svn-id: r22349
2006-05-04Removed last traces of class GameDetectorMax Horn
svn-id: r22348
2006-05-04Renamed base/gameDetector.h/.cpp to base/options.h/.cppMax Horn
svn-id: r22347
2006-05-04Moved GameDetector::setTarget & findGame to the new namespace Base; moved ↵Max Horn
their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function svn-id: r22346
2006-05-04Make sure our config default values get properly registeredMax Horn
svn-id: r22345
2006-05-04Turned the last remaining few GameDetector methods into static methodsMax Horn
svn-id: r22344
2006-05-03Removed FilesystemNode::isValid (leaving it up to the porters to decide ↵Max Horn
whether to remove their isValid code or not) svn-id: r22317
2006-05-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
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-26Proper fix for bug #1476651: Do not use File::exists to check for the ↵Max Horn
presence of a directory described by an absolute path svn-id: r22174
2006-04-25- Check if path specified for a game in scummvm.ini really exists and complainEugene Sandulenko
if it does not - Give more understandable feedback to user when SCUMM module can't find a game - Put TODO to kyra engine as their current detection scheme does not let easily tell if game data really present in specified directory svn-id: r22163
2006-04-25Added hidden --test-detector command line option to make it easy to test the ↵Max Horn
detector on your config file (to be removed before the next release) svn-id: r22158
2006-04-23Also output the description when running DETECTOR_TESTING_HACKMax Horn
svn-id: r22106
2006-04-23typoMax Horn
svn-id: r22103
2006-04-23Modified DETECTOR_TESTING_HACK code to skip over invalid pathsMax Horn
svn-id: r22099
2006-04-23Test code for the detection code in all engines (disabled by default)Max Horn
svn-id: r22095
2006-04-21Conflicting domains for String definition. Added Common:: to String to ↵Lars Persson
clarify domain. svn-id: r22072
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-15Removed GameDetector::createMixer(), GameDetector::createEngine(), ↵Max Horn
GameDetector::_plugin svn-id: r21913