Commit Graph

413 Commits

Author SHA1 Message Date
Torbjörn Andersson
e3ab20ee90 Fixed DO_OPTION_OPT so that the '=' is no longer required in long options. (The
value is, as the name implies, optional.) This fixes bug #1526483.

svn-id: r23561
2006-07-22 15:16:28 +00:00
Max Horn
5e1bf44046 Testing the new ciabot.py hook ... dang, I wanted to modify scummsys.h, where is abort butto... CARRIER LOST
svn-id: r23440
2006-07-08 20:56:02 +00:00
Marcus Comstedt
d71d5774ad Include DCLauncherDialog.h from the new backend dir.
svn-id: r23360
2006-06-30 21:58:40 +00:00
Max Horn
8c5ead1f70 No need to calls clearSoundCallback here (engine destructor already does that)
svn-id: r23356
2006-06-30 19:54:12 +00:00
Max Horn
c9fd9c4878 Added 'timer' backend module, based on the existing TimerManager code (work in progress)
svn-id: r23279
2006-06-24 09:53:45 +00:00
Max Horn
75628fe9d7 Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
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-24 08:07:48 +00:00
Eugene Sandulenko
6f844ae420 - Make tabs narrower so they all fit on screen. Now navigation buttons
appear only on PSP resolution
- Combined Audio/Volume tab in game options for consistency.

svn-id: r23130
2006-06-15 13:18:28 +00:00
Johannes Schickel
70fc192f30 Should fix --debugflags for all engines which set up the debug flags in Engine::init.
svn-id: r23110
2006-06-14 19:43:25 +00:00
Torbjörn Andersson
42d093cd16 Added --themepath option, and documented (very briefly) the --gui-theme option.
svn-id: r23108
2006-06-14 19:32:26 +00:00
Eugene Sandulenko
1c285c7094 Bump version
svn-id: r23041
2006-06-11 22:29:41 +00:00
Lars Persson
4549a61060 Removed actions.h include for symbian build. Not needed anymore.
svn-id: r23027
2006-06-11 14:21:46 +00:00
Kostas Nakos
44fc26a907 removed GUI::Actions::init() now that noone uses it.
svn-id: r23017
2006-06-10 21:17:26 +00:00
Lars Persson
5755b5a97e Fixed problem when building and debugging using Symbian Emulator.
svn-id: r22820
2006-06-01 22:43:19 +00:00
Lars Persson
72904c3354 Moved Symbian call to GUI::Actions::init(); to the Symbian backend
svn-id: r22811
2006-05-31 21:13:37 +00:00
Lars Persson
acb3ff742b Only do warning for path create failure and not error as it can be set within scummvm.
svn-id: r22797
2006-05-31 11:36:20 +00:00
Travis Howell
d9d3b604f2 Fix compile
svn-id: r22592
2006-05-24 00:27:56 +00:00
Paweł Kołodziejski
107073537e imported AGI engine
svn-id: r22588
2006-05-23 23:43:52 +00:00
Won Star
7eede3c510 Compile fix for GP32 and PalmOS. GP32 port still doesn't work since when GUI code changed...
svn-id: r22583
2006-05-23 14:19:38 +00:00
Eugene Sandulenko
9e3b78e1e9 --force-1x-overlay is no more. Remove leftovers.
svn-id: r22519
2006-05-18 13:59:20 +00:00
Eugene Sandulenko
14ec3f45fa - Heavily modified patch #1214784: "Disable overlay scaling"
- 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-17 23:52:45 +00:00
Andrew Kurushin
45b249ee60 fix VS2005 compilation warnings
svn-id: r22431
2006-05-13 08:39:12 +00:00
Max Horn
3623a94927 Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also 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-12 21:41:54 +00:00
Eugene Sandulenko
d2546e3979 - Updated MSVC8 project files
- 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-09 14:16:43 +00:00
Max Horn
0bb35a7856 Corrected a warning message (findGame failures are due to unsupported gameids, and have nothing to do with targets)
svn-id: r22357
2006-05-05 00:28:26 +00:00
Max Horn
dad44b45d3 Removed Base::setTarget, and some minor cleanup & tweaks
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
b56139b3aa Updated outdated TODO
svn-id: r22354
2006-05-05 00:12:42 +00:00
Max Horn
dc2581fa09 Fingolfin just remembered *why* GUI::Actions::init() is called in scummvm_main, but luckily those reasons are gone now, so let's fix this :-)
svn-id: r22353
2006-05-05 00:05:38 +00:00
Max Horn
f42baa6dab Some further cleanup in scummvm_main
svn-id: r22352
2006-05-05 00:03:21 +00:00
Max Horn
5e2d023aa8 Moved PalmOS specific call to ArgsFree up to the last point where argv is used (hopefully that's correct :-)
svn-id: r22351
2006-05-05 00:00:39 +00:00
Max Horn
e20d896a72 Fix s_appName computation
svn-id: r22350
2006-05-04 23:59:12 +00:00
Max Horn
be09fc77dc Moved listGames, listTargets, runDetectorTest to base/options.cpp; also moved some code that was formerly in scummvm_main() to Base::processSettings()
svn-id: r22349
2006-05-04 23:57:49 +00:00
Max Horn
2dcf2c36ad Removed last traces of class GameDetector
svn-id: r22348
2006-05-04 23:37:50 +00:00
Max Horn
64d9224b54 Renamed base/gameDetector.h/.cpp to base/options.h/.cpp
svn-id: r22347
2006-05-04 23:29:56 +00:00
Max Horn
5d5c02d66c Moved GameDetector::setTarget & findGame to the new namespace Base; moved 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-04 23:24:09 +00:00
Max Horn
c46301bcc2 Make sure our config default values get properly registered
svn-id: r22345
2006-05-04 22:55:15 +00:00
Max Horn
6321cfc874 Turned the last remaining few GameDetector methods into static methods
svn-id: r22344
2006-05-04 22:52:18 +00:00
Max Horn
b727a89b6c Set speech_mute/sfx_mute/music_mute values in one single central place
svn-id: r22342
2006-05-04 21:14:50 +00:00
Torbjörn Andersson
6a41946219 The loadPlugins() function works a bit better if it doesn't fail when listDir()
succeeds. ;-)

svn-id: r22325
2006-05-04 03:50:30 +00:00
Max Horn
05f6adbbd9 Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
svn-id: r22317
2006-05-03 20:49:33 +00:00
Max Horn
b67c30f6c8 Fix DYNAMIC_MODULES (update the listDir call used in PluginManager::loadPlugins when using dynamic modules/plugins)
svn-id: r22316
2006-05-03 20:45:57 +00:00
Max Horn
d016c353c5 Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
svn-id: r22315
2006-05-03 20:43:26 +00:00
Willem Jan Palenstijn
af280f967b add small note about svnversion
svn-id: r22220
2006-04-29 13:17:22 +00:00
Max Horn
a427a14ebe Updated the common on why we would like to display the SVN rev as part of the ScummVM version string, and why this is non-trivial
svn-id: r22217
2006-04-29 12:38:28 +00:00
Max Horn
bf73598811 * Changed the createEngine() factory function of our plugins to return an 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-29 00:27:20 +00:00
Max Horn
1dba198cbf Proper fix for bug #1476651: Do not use File::exists to check for the presence of a directory described by an absolute path
svn-id: r22174
2006-04-26 08:36:55 +00:00
Eugene Sandulenko
9aec81802d Return correct value from Engine_Empty::init() method.
svn-id: r22166
2006-04-26 01:09:31 +00:00
Eugene Sandulenko
35098dbd9f Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
svn-id: r22165
2006-04-26 00:59:13 +00:00
Eugene Sandulenko
bf53520130 - Check if path specified for a game in scummvm.ini really exists and complain
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-25 23:07:59 +00:00