Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-14 | Changed File::open to take a Common::String as file name parameter | Max Horn | |
svn-id: r21867 | |||
2006-04-14 | Fix crash in fopenNoCase triggered by filenames/paths that exceeded ~ 512 ↵ | Max Horn | |
bytes (see bug #1109687) svn-id: r21858 | |||
2006-04-12 | Fixing the workaround for bug #1458388 (should have added trailing dot, but ↵ | Max Horn | |
didn't) svn-id: r21822 | |||
2006-04-11 | Don'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-11 | Removed 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-11 | Bad 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-11 | Fixed line ending | Chris Apers | |
svn-id: r21804 | |||
2006-04-11 | Not needed | Chris Apers | |
svn-id: r21803 | |||
2006-04-11 | PalmOS too | Chris Apers | |
svn-id: r21802 | |||
2006-04-08 | Add comments explaining what does EN_ANY mean | Eugene Sandulenko | |
svn-id: r21703 | |||
2006-04-08 | Introduced language EN_ANY used for general English game entries. EN_USA and | Eugene 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-08 | Change 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-08 | AmigaOS4 changes from tracker #1416370 | Max Horn | |
svn-id: r21691 | |||
2006-04-08 | Removed 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-07 | Fix compile with GP32 by overriding datatypes. | Won Star | |
svn-id: r21664 | |||
2006-04-05 | Added comments to Symbians data types. | Lars Persson | |
svn-id: r21631 | |||
2006-04-05 | Updated datatypes for Symbian OS | Lars Persson | |
svn-id: r21628 | |||
2006-04-05 | Added 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-04 | Re-fix sort by renaming min to minElem (avoid conflicts with certain system ↵ | Max Horn | |
headers that #define min) svn-id: r21618 | |||
2006-04-04 | Turned 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-04 | Removed extra exclamation marks in warning() calls as well. | Eugene Sandulenko | |
svn-id: r21608 | |||
2006-04-04 | Small updates to intiate variable and member visibility. | Lars Persson | |
svn-id: r21604 | |||
2006-04-04 | Added const qualifier | Max Horn | |
svn-id: r21603 | |||
2006-04-04 | We don't need wchar_t -> removing this to improve portability | Max Horn | |
svn-id: r21595 | |||
2006-04-04 | Remove SCUMMVM_USE_LONG_INT from DC port. | Marcus Comstedt | |
svn-id: r21594 | |||
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 | Move gDebugLevel to common/util.cpp (where most other debug() related stuff ↵ | Max Horn | |
already is) svn-id: r21551 | |||
2006-04-02 | Moved all debug functions to from main.cpp to util.cpp | Max Horn | |
svn-id: r21545 | |||
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 | 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 the File::addDefaultDirectory(Recursive) code; avoid scanning ↵ | Max Horn | |
directory multiple times svn-id: r21527 | |||
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 | Avoid using Map::merge | Max Horn | |
svn-id: r21511 | |||
2006-03-31 | Added some functor objects (for comparision and hash computations), similar ↵ | Max Horn | |
to those present in the STL svn-id: r21510 | |||
2006-03-29 | Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵ | Max Horn | |
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500 | |||
2006-03-29 | - Added some explanatory comments (everybody feel free to extend them) | Max Horn | |
- Unified the various typedefs - Added a couple FIXME comments (which porters may want to resolve) - Some cleanup svn-id: r21498 | |||
2006-03-29 | cleanup | Max Horn | |
svn-id: r21496 | |||
2006-03-28 | Set correct load factor for hashmap (just wanted to check if anybody is ↵ | Max Horn | |
paying attention to those commit messages *cough* ;-) svn-id: r21482 | |||
2006-03-28 | Get rid of Map::addKey | Max Horn | |
svn-id: r21480 | |||
2006-03-28 | - Renamed Map::remove to Map::erase (matching the STL and HashMap) | Max Horn | |
- Added Map::find() (see also HashMap), and made the ConfigManager use it svn-id: r21477 | |||
2006-03-28 | Added iterator support to hashmap, as well as erase & find methods (all ↵ | Max Horn | |
currently needs more testing and may be buggy) svn-id: r21476 | |||
2006-03-28 | Reduce the differences between Map and HashMap some more (in the end, we ↵ | Max Horn | |
should be able to easily switch between the two, e.g. in the ConfigManager class) svn-id: r21475 | |||
2006-03-28 | Increase the load factor for our hashmaps from 50% to 75%, to be slightly ↵ | Max Horn | |
nicer regarding memory consumption svn-id: r21474 | |||
2006-03-28 | - Renamed class AssocArray to HashMap to match our existing class Map (note also | Max Horn | |
that many STL implementations have a class hash_map next to class map, too) - Changed some static File class member vars to be normal static variables, in yet another attempt to reduce header dependencies (in this case on hashmap.h) svn-id: r21473 | |||
2006-03-28 | Renamed various container isEmpty() methods to empty() to match STL conventions | Max Horn | |
svn-id: r21472 |