Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-02 | Fixed '-f BAR' command line argument style (as opposed to '-fBAR' and ↵ | Max Horn | |
'-foo=BAR') svn-id: r21565 | |||
2006-04-02 | Use the new command line parsing code to handle --config and --debugflags, too | Max Horn | |
svn-id: r21564 | |||
2006-04-02 | Split 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-02 | Don't try to copy str to _talkBuffer if str is pointing to _talkBuffer. Apart | Torbjörn Andersson | |
from being unnecessary, the result of strcpy() on overlapping memory areas is unpredictable. svn-id: r21562 | |||
2006-04-02 | Added missing backslash, oops | Max 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-02 | Backends 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-02 | With 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-02 | Fix 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-02 | Fixing the X11 & NULL backends by adding main() | Max Horn | |
svn-id: r21553 | |||
2006-04-02 | Only include gui/launcher.h if it is used; cleanup | Max Horn | |
svn-id: r21552 | |||
2006-04-02 | Move gDebugLevel to common/util.cpp (where most other debug() related stuff ↵ | Max Horn | |
already is) svn-id: r21551 | |||
2006-04-02 | Moved 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-02 | Removed 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-02 | ps2_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-02 | Moved 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 luminance | Johannes Schickel | |
svn-id: r21546 | |||
2006-04-02 | Moved all debug functions to from main.cpp to util.cpp | Max 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-02 | Removing 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-02 | Fully and officially renamed our main function to scummvm_main, thus making | Max 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-01 | Update gameDataPath() calls in engine, to fix compile | Travis Howell | |
svn-id: r21541 | |||
2006-04-01 | Typo | Max Horn | |
svn-id: r21540 | |||
2006-04-01 | Switch 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-01 | Simplified loading of startup.inf | Torbjörn Andersson | |
svn-id: r21538 | |||
2006-04-01 | Properly use registerDefault to set the default value for autosave_period | Max Horn | |
svn-id: r21537 | |||
2006-04-01 | Guard against too many entries in resource.inf, since there has been a TODO | Torbjörn Andersson | |
comment about that (removed in the previous commit) since roughly forever. svn-id: r21536 | |||
2006-04-01 | Moved File::resetDefaultDirectories from Engine destructor to runGame (since ↵ | Max Horn | |
that is the main spot where we call addDefaultDirectory) svn-id: r21535 | |||
2006-04-01 | Removed 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-01 | Simplified the loading of resource.inf | Torbjörn Andersson | |
svn-id: r21533 | |||
2006-04-01 | Removed superfluous addDefaultDirectory call, as well as two unused bad ↵ | Max Horn | |
member vars svn-id: r21532 | |||
2006-04-01 | Removing superfluous addDefaultDirectory call | Max Horn | |
svn-id: r21531 | |||
2006-04-01 | Use 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-01 | Changed 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-01 | Generate 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-01 | Simplified the File::addDefaultDirectory(Recursive) code; avoid scanning ↵ | Max Horn | |
directory multiple times svn-id: r21527 | |||
2006-04-01 | A 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-01 | Always check array bounds are valid in HE games, matching original | Travis Howell | |
svn-id: r21524 | |||
2006-04-01 | Patch #1432378: BASS: Memory leak, patch included | Max Horn | |
svn-id: r21523 | |||
2006-04-01 | Fix painting and fridge magnet palette glitches in thinker1 | Travis Howell | |
svn-id: r21522 | |||
2006-03-31 | Hide eval debug output deeper to level 5. Report total number of defined | Eugene Sandulenko | |
variables. svn-id: r21521 | |||
2006-03-31 | Add size() methods to Map and HashMap classes | Eugene Sandulenko | |
svn-id: r21520 | |||
2006-03-31 | Updated ConfigFile/ConfigManager classes, that work with the updated Map ↵ | Max Horn | |
class, and optionally support HashMap (disabled for now) svn-id: r21519 | |||
2006-03-31 | Disable DEBUG_HASH_COLLISIONS again (accidentally got enabled in my previous ↵ | Max Horn | |
commit) svn-id: r21518 | |||
2006-03-31 | Modify 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-31 | Modified 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-31 | Modified the List postfix ++/-- operators to simply invoke their prefix ↵ | Max Horn | |
counterparts; also removed Symbian/Palm specific hack svn-id: r21515 | |||
2006-03-31 | Rename two WizParameters fields | Travis Howell | |
svn-id: r21514 | |||
2006-03-31 | Make corners of SCUMM load/save dialog round. | Eugene Sandulenko | |
svn-id: r21513 | |||
2006-03-31 | Small correction in the TODO file (use proper class names) | Max Horn | |
svn-id: r21512 |