Johannes Schickel
bba003e53a
Fixed segfault when trying to start invalid gameid from command line.
...
svn-id: r31731
2008-04-26 10:21:53 +00:00
Max Horn
9287ea8376
Patch #1926787 : small memory leak and cleanup
...
svn-id: r31261
2008-03-27 11:06:29 +00:00
Max Horn
b0c6a12c81
Modified Patch #1925352 : Memory leak fixes
...
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Torbjörn Andersson
0c6cd983dc
Replaced GUI dialog with warning. We don't have any screen to draw on yet.
...
svn-id: r30782
2008-02-03 21:15:48 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
4cc9d17c34
Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
...
svn-id: r28890
2007-09-11 09:20:39 +00:00
Chris Apers
500481c4ec
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
...
svn-id: r28803
2007-09-01 19:13:04 +00:00
Max Horn
8fcece52ac
Patch #1595026 : engine init/shutdown OSystem methods
...
svn-id: r27838
2007-07-01 20:29:28 +00:00
Max Horn
a097a11ce7
BASE code: renamed detectMain to detectPlugin and updated some comments for clarity; added some TODO/FIXME comments; added a dialog that's shown if the user tries to start a game for which no plugin feels responsible
...
svn-id: r27423
2007-06-15 17:29:49 +00:00
Willem Jan Palenstijn
3b7b869476
add DATA_PATH to directory search list when starting game
...
svn-id: r27381
2007-06-12 21:21:40 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Torbjörn Andersson
a3bde14ead
Fixed bug #1701842 , after discussing with Fingolfin.
...
svn-id: r26545
2007-04-18 20:59:51 +00:00
Max Horn
b9658b5960
Do not use addDefaultDirectoryRecursive to add 'path', rather use the non-recurseive addDefaultDirectory (see also bug #1672098 )
...
svn-id: r25922
2007-03-02 12:57:38 +00:00
Max Horn
8ae2be31e0
Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208
...
svn-id: r25382
2007-02-04 13:04:36 +00:00
Max Horn
baaedb1651
Added game.cpp file with some funcs/methods declared in game.h
...
svn-id: r25137
2007-01-21 00:25:04 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
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
2007-01-20 21:27:57 +00:00
Eugene Sandulenko
4d840e5295
Patch #1595319 : "Enable the command line --debugflags before engine.init()"
...
svn-id: r24705
2006-11-13 12:03:08 +00:00
Max Horn
c7b2f4d332
Print sensible messages if engine instantiation failed
...
svn-id: r24684
2006-11-12 03:21:44 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
f95f5ed133
Added OSystem::getTimerManager and OSystem::getMixer methods (wip)
...
svn-id: r24405
2006-10-21 12:03:43 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
4ee581adb5
Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
...
svn-id: r23666
2006-08-04 17:47:57 +00:00
Torbjörn Andersson
5cb8802699
The GUI now uses the cursor palette for all themes. Therefore, it shouldn't be
...
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-23 07:18:37 +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
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
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
72904c3354
Moved Symbian call to GUI::Actions::init(); to the Symbian backend
...
svn-id: r22811
2006-05-31 21:13:37 +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
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
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