aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-02Fixed '-f BAR' command line argument style (as opposed to '-fBAR' and ↵Max Horn
'-foo=BAR') svn-id: r21565
2006-04-02Use the new command line parsing code to handle --config and --debugflags, tooMax Horn
svn-id: r21564
2006-04-02Split GameDetector::parseCommandLine into a static parseCommandLine method ↵Max Horn
which returns a StringMap with all settings, and a non-static parseCommandLine method which interprets the StringMap returned by parseCommandLine. svn-id: r21563
2006-04-02Don't try to copy str to _talkBuffer if str is pointing to _talkBuffer. ApartTorbjörn Andersson
from being unnecessary, the result of strcpy() on overlapping memory areas is unpredictable. svn-id: r21562
2006-04-02Added missing backslash, oopsMax Horn
svn-id: r21561
2006-04-02- The command line parser now doesn't work in reverse order anymore.Max Horn
- Changed the usage string to a very short message; the old usage string now is only printed upon help (this matches the behavior of many other tools out there). - Continued to modify GameDetector::parseCommandLine in such a way that it soon will be possible to use it w/o immediately storing stuff into ConfMan. - Slightly reduced code duplication for bool option parsing. svn-id: r21560
2006-04-02Backends now are also responsile for deiniting properly. In particular, ↵Max Horn
moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different) svn-id: r21559
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-02Fix console output been redirected under win32 build, due to main changes. ↵Travis Howell
Remove NO_CONSOLE, since it is never defined svn-id: r21554
2006-04-02Fixing the X11 & NULL backends by adding main()Max Horn
svn-id: r21553
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-02ps2_fopen uses getGameDataPath -- added FIXME comment that explain how it ↵Max Horn
probably could be fixed, but I'll leave this to somebody who can actually compile & test this port :-) svn-id: r21548
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-02- changed standard inactive dialog effect to dim with 30% instead of luminanceJohannes Schickel
svn-id: r21546
2006-04-02Moved all debug functions to from main.cpp to util.cppMax Horn
svn-id: r21545
2006-04-02- moves some code in ThemeNew.cpp (calcGradient and calcAlpha to the bottom)Johannes Schickel
- added possibility to use a shading effect on inactive dialogs (luminance and dim are builtin, and special ablility to specifiy a own expression, evaluated via the evaluator) - adds also a color cache (atm it's generated on startup) - uses luminance effect by default - bumps theme config version to 7 svn-id: r21544
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-01Update gameDataPath() calls in engine, to fix compileTravis Howell
svn-id: r21541
2006-04-01TypoMax Horn
svn-id: r21540
2006-04-01Switch ConfigManager to use HashMap (seems to work fine over here, but an ↵Max Horn
older version killed my scummvm.ini, so use at your own risk (not that you really have a choice. I just like being evil *g*)) svn-id: r21539
2006-04-01Simplified loading of startup.infTorbjörn Andersson
svn-id: r21538
2006-04-01Properly use registerDefault to set the default value for autosave_periodMax Horn
svn-id: r21537
2006-04-01Guard against too many entries in resource.inf, since there has been a TODOTorbjörn Andersson
comment about that (removed in the previous commit) since roughly forever. svn-id: r21536
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-04-01Removed yet another superfluous addDefaultDirectory call, and removed the ↵Max Horn
unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this) svn-id: r21534
2006-04-01Simplified the loading of resource.infTorbjörn Andersson
svn-id: r21533
2006-04-01Removed superfluous addDefaultDirectory call, as well as two unused bad ↵Max Horn
member vars svn-id: r21532
2006-04-01Removing superfluous addDefaultDirectory callMax Horn
svn-id: r21531
2006-04-01Use extra_versions to compute ScummGameSettings (currently only compared to ↵Max Horn
the value determined via multiple_versions_md5_settings but not actively used; requires more testing, in particular with HE games) svn-id: r21530
2006-04-01Changed output path for md5scumm target (matching the credits target: ↵Max Horn
assumes that you are running the target from inside a full checkout of the ScummVM SVN repository) svn-id: r21529
2006-04-01Generate an error when kGenAsIs is used with an unsupported platform, ↵Max Horn
instead of silently continuing with a bogus _fileHandle (leading to odd crashes) svn-id: r21528
2006-04-01Simplified the File::addDefaultDirectory(Recursive) code; avoid scanning ↵Max Horn
directory multiple times svn-id: r21527
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-04-01Always check array bounds are valid in HE games, matching originalTravis Howell
svn-id: r21524
2006-04-01Patch #1432378: BASS: Memory leak, patch includedMax Horn
svn-id: r21523
2006-04-01Fix painting and fridge magnet palette glitches in thinker1Travis Howell
svn-id: r21522
2006-03-31Hide eval debug output deeper to level 5. Report total number of definedEugene Sandulenko
variables. svn-id: r21521
2006-03-31Add size() methods to Map and HashMap classesEugene Sandulenko
svn-id: r21520
2006-03-31Updated ConfigFile/ConfigManager classes, that work with the updated Map ↵Max Horn
class, and optionally support HashMap (disabled for now) svn-id: r21519
2006-03-31Disable DEBUG_HASH_COLLISIONS again (accidentally got enabled in my previous ↵Max Horn
commit) svn-id: r21518
2006-03-31Modify HashMap to allow client code to override the equality/hash ↵Max Horn
functionality via functors that are specified as template paramaters (emulating the hash_map class which many STL implementations provide) -> this is necessary to allow e.g. HashMaps that use case insensitive strings as keys svn-id: r21517
2006-03-31Modified our Map class to use a 'Less' function instead of a 'strcmp'-like ↵Max Horn
comparator functor, to match the STL map template svn-id: r21516
2006-03-31Modified the List postfix ++/-- operators to simply invoke their prefix ↵Max Horn
counterparts; also removed Symbian/Palm specific hack svn-id: r21515
2006-03-31Rename two WizParameters fieldsTravis Howell
svn-id: r21514
2006-03-31Make corners of SCUMM load/save dialog round.Eugene Sandulenko
svn-id: r21513
2006-03-31Small correction in the TODO file (use proper class names)Max Horn
svn-id: r21512