aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-04-02Only include gui/launcher.h if it is used; cleanupMax Horn
svn-id: r21552
2006-04-02Move gDebugLevel to common/util.cpp (where most other debug() related stuff ↵Max Horn
already is) svn-id: r21551
2006-04-02Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says ↵Max Horn
he might remove it completly in a future version) svn-id: r21550
2006-04-02Removed built-in endian/alignment verifier (it's original purpose is mostly ↵Max Horn
gone now that we have a configure script detecting endianess and more) svn-id: r21549
2006-04-02Moved the Win/Symbian specific stdout/stderr redirect code from ↵Max Horn
base/main.cpp to sdl.cpp, where it belongs (considering that it is backend specific code) svn-id: r21547
2006-04-02Moved all debug functions to from main.cpp to util.cppMax Horn
svn-id: r21545
2006-04-02Removing undocumented Allegro/Qtopia port stuff -- if anybody is working on ↵Max Horn
either port, feel free to re-add it, but this time, document it and make sure it's clear how to build that port svn-id: r21543
2006-04-02Fully and officially renamed our main function to scummvm_main, thus makingMax Horn
various backend specific hacks unnecessary. As a consequence, it is now the responsibility of the backend to define main. Hence I adapted the SDL backend accordingly. svn-id: r21542
2006-04-01Properly use registerDefault to set the default value for autosave_periodMax Horn
svn-id: r21537
2006-04-01Moved File::resetDefaultDirectories from Engine destructor to runGame (since ↵Max Horn
that is the main spot where we call addDefaultDirectory) svn-id: r21535
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2006-03-25- Revert my last change with moving addDefaultDirectory() from TheneNew.cppEugene Sandulenko
- Removed locking of further directory adds because it did not work for themes. svn-id: r21452
2006-03-25- Move AddDefaultDirectory() calls in somon engine to constructorEugene Sandulenko
- Move AddDefaultDirectory() from NewTheme.cpp to main.cpp svn-id: r21451
2006-03-25- Implemented case insensitive file reading. Left old system as a fallbackEugene Sandulenko
in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443
2006-03-14Positioned logo properly, added different version number rendering andEugene Sandulenko
got rid of antialiasing artifacts svn-id: r21270
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-04WIP of maemo portEugene Sandulenko
svn-id: r21055
2006-02-25Small loop adjustment to compile for VC6Lars Persson
svn-id: r20869
2006-02-23fixed error for msvc7, it didn't find func without Common namespacePaweł Kołodziejski
svn-id: r20832
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-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-12Changed file paths from /epoc/ to /symbian/Lars Persson
svn-id: r20618
2006-02-12'Changed Symbian configuration handling so it is using the basepath of the ↵Lars Persson
application installation as a path for Savegames, ini files etc *Updated list.h so it also compiles for Symbian codewarrior and gcce compilers svn-id: r20586
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20509
2006-01-29Oops. I should've test it before commit. Fixed now.Eugene Sandulenko
svn-id: r20286
2006-01-29Added new debugN() function which doesn't append newline.Eugene Sandulenko
svn-id: r20285
2006-01-25New tools/update-version.pl script (usage: CMD 1 2 3 CVS -> results in ↵Max Horn
version 1.2.3CVS) svn-id: r20165
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-031. New build structure for Symbian builds to allow easier build and project ↵Lars Persson
updates 2. Updated framework files for new structure 3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether. 4. Incorporated Sevs code formatting changes in the new Symbian source structure. 5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered. 6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked) 7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome. 8. Built for S60V1 and UIQ2 targets from the cvs 9. Updated Readme with new build instructions. Any comments are welcome. Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated. svn-id: r19739
2005-11-27Patch #1341626: "New GP32 port"Eugene Sandulenko
svn-id: r19710
2005-11-23Made the autosave period a configuration option and updated the engines ↵Gregory Montoir
using that feature (SCUMM, Queen and Sky). The value is supposed to be in seconds ; if it's set to 0 then autosaving is disabled. See also tracker item #1350187. svn-id: r19700
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-17Bump version to 0.9.0CVS. Woo hoo!Eugene Sandulenko
svn-id: r19133
2005-09-17correct features string when using tremorJoost Peters
svn-id: r18837
2005-09-03Change PalmOS identChris Apers
svn-id: r18743
2005-08-16Added: PSP backendJoost Peters
svn-id: r18696
2005-08-10Rest of the changes required for tremor to actually work.Jonathan Gray
Based on patches against 0.7.1 by Jolan Luff. svn-id: r18641
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-05* Start of generic key configuration support for ScummVMLars Persson
* Moved KeyConfigDialog, key from WinCE to gui * Updated wince code to inherit and use new GUI::Keys and launch new dialog * New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp * Added new function to SDL\Events that handles key remapping. LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events * Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA) * Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test * Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly * Actor.h in Saga now compiles for default VC6 setting. * Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting. * Changed order of creation of gamedetector and mainsystem in Main.cpp * If anything does not compile, or is totally out of order, please revert changes. svn-id: r18498
2005-06-27Just updated ending comment properly for the sake of itLars Persson
svn-id: r18473
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
Test built for Symbian and run on P910i without any major problems. Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA). svn-id: r18430
2005-05-14Removing the last traces of the old custom new/delete operatorsMax Horn
svn-id: r18094
2005-05-11Added "FluidSynth" to the features string. We may have to start word-Torbjörn Andersson
wrapping it in the "About" dialog... svn-id: r18055
2005-05-10Moved (In/Out)SaveFile(Manager) and Timer to namespace CommonMax Horn
svn-id: r18038
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-09Patch #1181544 (AmigaOS 4 changes)Max Horn
svn-id: r18011
2005-05-05Handle engine creation failure a bit more gracefulMax Horn
svn-id: r17918
2005-04-24Changed the semantics of debug level 0 from off back to something more ↵Max Horn
similiar to how it used to be (default debug level now is -1) svn-id: r17788