Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-02 | Added possibility to use (char *) as ashMap keys. For some reason it does not | Eugene Sandulenko | |
work as expected. When I try to switch _aliasmap in eval.h to it, I get crash in String constructor on dereferencing. svn-id: r22838 | |||
2006-06-02 | Fix mingw compile | Travis Howell | |
svn-id: r22835 | |||
2006-06-02 | Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() calls | Eugene Sandulenko | |
on startup svn-id: r22834 | |||
2006-05-26 | add functions for reverse iteration of Common::List | Willem Jan Palenstijn | |
svn-id: r22665 | |||
2006-05-23 | fix VC & SDL 1.2.10 compilation error | Andrew Kurushin | |
svn-id: r22585 | |||
2006-05-20 | Make the copy constructor / assignment operator of class File private to ↵ | Max Horn | |
prevent accidental copying of File objects svn-id: r22549 | |||
2006-05-17 | - Heavily modified patch #1214784: "Disable overlay scaling" | Eugene Sandulenko | |
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505 | |||
2006-05-13 | Fix for bug #1483213 | Max Horn | |
svn-id: r22461 | |||
2006-05-06 | Added a default implementation of the OSystem CD API (which simply does nothing) | Max Horn | |
svn-id: r22370 | |||
2006-05-04 | Moved GameDetector::setTarget & findGame to the new namespace Base; moved ↵ | Max Horn | |
their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function svn-id: r22346 | |||
2006-05-03 | Removed FilesystemNode::isValid (leaving it up to the porters to decide ↵ | Max Horn | |
whether to remove their isValid code or not) svn-id: r22317 | |||
2006-05-03 | Changed FilesystemNode::listDir to return a bool indicating its success (or ↵ | Max Horn | |
failure) svn-id: r22315 | |||
2006-05-02 | Add support for reading/writing config files through saveGameManager and use ↵ | Travis Howell | |
for config files in HE games svn-id: r22273 | |||
2006-05-01 | Add a variant of File::addDefaultDirectory(Recursive) which takes a ↵ | Max Horn | |
FilesystemNode instead of a string object svn-id: r22265 | |||
2006-04-30 | Add a File::open variant that takes a FilesystemNode as parameter | Max Horn | |
svn-id: r22251 | |||
2006-04-30 | Avoid 'unused variable' warning when using DISABLE_MD5 | Max Horn | |
svn-id: r22250 | |||
2006-04-27 | Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot ↵ | Travis Howell | |
in windows filesys backend was real cause of problem. svn-id: r22194 | |||
2006-04-26 | Use File::size to determine the size of a file, instead of doing a seek(0, ↵ | Max Horn | |
SEEK_END) svn-id: r22184 | |||
2006-04-26 | Removed 'directory' parameter of File::open | Max Horn | |
svn-id: r22183 | |||
2006-04-26 | Use the joined filename for savegames, otherwise saves will be stored in the | Torbjörn Andersson | |
current working directory instead of the save directory. svn-id: r22181 | |||
2006-04-26 | Changed InSaveFile (part of the save file system) to inherit from ↵ | Max Horn | |
SeekableReadStream, meaning that savegames opened for reading now are seekable (DC, PS2, Palm ports will have to be updated accordingly) svn-id: r22180 | |||
2006-04-26 | Added a 'skip' method to SeekableReadStream (just an alias for seek(X, ↵ | Max Horn | |
SEEK_CUR)) svn-id: r22178 | |||
2006-04-26 | Yet another revision of File::exists. I now believe the function really is ↵ | Max Horn | |
'wrong' right now (it has to fulfill too many roles right now). Need to correctly fix this later svn-id: r22171 | |||
2006-04-26 | Commited *correct* File::exists reimplementation (compared to my incomplete ↵ | Max Horn | |
previous commit. Aargh) svn-id: r22170 | |||
2006-04-26 | Properly re-implemented File::exists to FilesystemNode (this should fix bug ↵ | Max Horn | |
#1476651, at least partially) svn-id: r22169 | |||
2006-04-25 | HashMap::size does not modify the state of the hashmap, so it can be ↵ | Max Horn | |
declared const (allowing it to be used on const hashmaps, too) svn-id: r22156 | |||
2006-04-23 | Small tweak to allow turning off MD5 computation for debugging | Max Horn | |
svn-id: r22109 | |||
2006-04-23 | Remove superfluous exclamation mark | Max Horn | |
svn-id: r22108 | |||
2006-04-23 | Modified some error calls to explicitly name the function they occured in ↵ | Max Horn | |
(this helps debugging) svn-id: r22093 | |||
2006-04-22 | Implement CLIP() routine used to put arbitrary value in specified range. | Eugene Sandulenko | |
svn-id: r22079 | |||
2006-04-21 | Return of void value is not valid for all platforms. Changed to call ↵ | Lars Persson | |
function and then plain return; svn-id: r22075 | |||
2006-04-17 | Actually, 3-4 alpha bits are fine, too :) | Max Horn | |
svn-id: r21965 | |||
2006-04-17 | Clarify that kFeatureOverlaySupportsAlpha should only be set if at least a ↵ | Max Horn | |
few bits of alpha are present svn-id: r21963 | |||
2006-04-17 | Document how the alpha color component is to be interpreted | Max Horn | |
svn-id: r21962 | |||
2006-04-16 | Fix 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-16 | Fixed 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-16 | Fixed broken svn:keywords values | Max Horn | |
svn-id: r21939 | |||
2006-04-16 | Removed the directory parameter from md5_file | Max Horn | |
svn-id: r21937 | |||
2006-04-16 | Fixed 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-15 | cleanup | Max 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-15 | Always 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-15 | Properly init _activeDomain to 0 | Max 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-14 | Tiny 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-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 |