aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2006-04-23Remove superfluous exclamation markMax Horn
svn-id: r22108
2006-04-23Modified some error calls to explicitly name the function they occured in ↵Max Horn
(this helps debugging) svn-id: r22093
2006-04-22Implement CLIP() routine used to put arbitrary value in specified range.Eugene Sandulenko
svn-id: r22079
2006-04-21Return of void value is not valid for all platforms. Changed to call ↵Lars Persson
function and then plain return; svn-id: r22075
2006-04-17Actually, 3-4 alpha bits are fine, too :)Max Horn
svn-id: r21965
2006-04-17Clarify that kFeatureOverlaySupportsAlpha should only be set if at least a ↵Max Horn
few bits of alpha are present svn-id: r21963
2006-04-17Document how the alpha color component is to be interpretedMax Horn
svn-id: r21962
2006-04-16Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have ↵Max Horn
new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch) svn-id: r21951
2006-04-16Fixed some breakage in the 'Add Game' code I recently introduced; added a ↵Max Horn
FIXME comment regarding the 'description' config file key svn-id: r21943
2006-04-16Fixed broken svn:keywords valuesMax Horn
svn-id: r21939
2006-04-16Removed the directory parameter from md5_fileMax Horn
svn-id: r21937
2006-04-16Fixed evil longstanding bug in String::toLowercase & toUppercase: Before ↵Max Horn
modifying the string content, make sure we do not share it with any other string). This should help (hopefully fix) bug #1470892 svn-id: r21931
2006-04-15cleanupMax Horn
svn-id: r21919
2006-04-15- Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a ↵Max Horn
new getActiveDomain method that returns a pointer to the actual active *domain* - Added Engine::_targetName whose value is computed from the name of the active domain - Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain - This in turn allowed for removing usage of GameDetector in many places svn-id: r21916
2006-04-15Always use base 0 in strtol when parsing integer command line options / ↵Max Horn
config file entries (this makes it possible to optionally use hex values) svn-id: r21911
2006-04-15Properly init _activeDomain to 0Max Horn
svn-id: r21908
2006-04-15- Replaced ConfigManager::_globalDomains by _appDomain (we don't support ↵Max Horn
multiple global domains anymore) - Restructured parts of the ConfigManager to be more consistent and a bit easier to understand - Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs) - Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain - Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits - Introduced various hidden easter bugs. Happy easter, and have fun searching! svn-id: r21906
2006-04-14Tiny optimization for empty strings, which avoids allocating a single byte ↵Max Horn
just to store an empty string (we pass around empty strings in lots of places) svn-id: r21892
2006-04-14Changed File::open to take a Common::String as file name parameterMax Horn
svn-id: r21867
2006-04-14Fix crash in fopenNoCase triggered by filenames/paths that exceeded ~ 512 ↵Max Horn
bytes (see bug #1109687) svn-id: r21858
2006-04-12Fixing the workaround for bug #1458388 (should have added trailing dot, but ↵Max Horn
didn't) svn-id: r21822
2006-04-11Don't hardcode specific values for our language enums, as nothing should ↵Max Horn
depend on them -- any code that is broken by this change was wrong to start with and must be fixed accordingly svn-id: r21812
2006-04-11Removed the PalmOS specific hack in file.cpp in favor for code that should ↵Max Horn
work everywhere (and hopefully will help the GP32 port, too). svn-id: r21811
2006-04-11Bad hack to make the file class work agaain with PalmOS ARM version - read ↵Chris Apers
the comment for more details svn-id: r21806
2006-04-11Fixed line endingChris Apers
svn-id: r21804
2006-04-11Not neededChris Apers
svn-id: r21803
2006-04-11PalmOS tooChris Apers
svn-id: r21802
2006-04-08Add comments explaining what does EN_ANY meanEugene Sandulenko
svn-id: r21703
2006-04-08Introduced language EN_ANY used for general English game entries. EN_USA andEugene Sandulenko
EN_GRB should be used for games which have both variants. Currently it is MM NES and BASS. All other are switched to EN_ANY. svn-id: r21702
2006-04-08Change check for MIN/MAX macros: Always undef those so that our templates ↵Max Horn
are used (which are safer, consider MIN(a++, b++)) svn-id: r21692
2006-04-08AmigaOS4 changes from tracker #1416370Max Horn
svn-id: r21691
2006-04-08Removed common/map.h with the Common::Map template class (it was a very bad ↵Max Horn
implementation, and our HashMap is simply better). svn-id: r21688
2006-04-07Fix compile with GP32 by overriding datatypes.Won Star
svn-id: r21664
2006-04-05Added comments to Symbians data types.Lars Persson
svn-id: r21631
2006-04-05Updated datatypes for Symbian OSLars Persson
svn-id: r21628
2006-04-05Added SCUMMVM_DONT_DEFINE_TYPES so that (a) porters can still override our ↵Max Horn
typedefs if they must, and (b) my image of evil-scummsys.h-changer is strengthened svn-id: r21624
2006-04-04Re-fix sort by renaming min to minElem (avoid conflicts with certain system ↵Max Horn
headers that #define min) svn-id: r21618
2006-04-04Turned FSList::sort into a generic function which can be applied to anything ↵Max Horn
which implements comparable iterators (like Array, List, or plain C arrays) svn-id: r21617
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-04-04Small updates to intiate variable and member visibility.Lars Persson
svn-id: r21604
2006-04-04Added const qualifierMax Horn
svn-id: r21603
2006-04-04We don't need wchar_t -> removing this to improve portabilityMax Horn
svn-id: r21595
2006-04-04Remove SCUMMVM_USE_LONG_INT from DC port.Marcus Comstedt
svn-id: r21594
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-02Move gDebugLevel to common/util.cpp (where most other debug() related stuff ↵Max Horn
already is) svn-id: r21551
2006-04-02Moved all debug functions to from main.cpp to util.cppMax Horn
svn-id: r21545
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-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 the File::addDefaultDirectory(Recursive) code; avoid scanning ↵Max Horn
directory multiple times svn-id: r21527
2006-03-31Add size() methods to Map and HashMap classesEugene Sandulenko
svn-id: r21520