aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-07-10Add cyx's patch for #1497725 - GUI: trying to enter empty CD driveTravis Howell
svn-id: r23475
2006-07-10Change default config file location to 'Application Data\ScummVM' directory ↵Travis Howell
of the user's profile, when using Windows NT4/2000/XP/Vista svn-id: r23465
2006-07-09Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of ↵Max Horn
checking for GCC / not GCC svn-id: r23458
2006-07-09Changed the default value of START_PACK_STRUCTS / END_PACK_STRUCTS; cleanupMax Horn
svn-id: r23456
2006-07-09Patch #1519399: DS BackendMax Horn
svn-id: r23452
2006-07-09Added OSystem::setFocusRectangle (first part of Nintendo DS patch)Max Horn
svn-id: r23449
2006-07-08Fixed typo in comment.Torbjörn Andersson
svn-id: r23435
2006-07-07make grabRawScreen() pure virtual, since it's now _required_ to be ↵Joost Peters
implemented by backends for certain SCUMM games to function properly. This happened when ScummEngine::moveScreen() was changed in revision 23215 and causes Indy4 to fail the assert(_system->grabRawScreen(...)) on PSP (and Symbian?), where this function was not implemented. svn-id: r23383
2006-06-30Moved savefile.cpp to backends, to work around link errorMax Horn
svn-id: r23361
2006-06-24Typo, and stress that getSavePath() is not to be used for storing savegames ↵Max Horn
via Common::File svn-id: r23286
2006-06-24Moved savefile code to new 'saves' backend module (work in progress)Max Horn
svn-id: r23282
2006-06-24Added 'timer' backend module, based on the existing TimerManager code (work ↵Max Horn
in progress) svn-id: r23279
2006-06-24Renamed class Timer to TimerManager (the old name was somewhat ↵Max Horn
incorrect/confusing) svn-id: r23278
2006-06-24* Renamed config.mak to config.mkMax Horn
* Renamed common.rules to rules.mk * Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it) svn-id: r23275
2006-06-24Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cppMax Horn
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h) svn-id: r23274
2006-06-16Remove _name.clear(); from Close since same File instance is re-opened by ↵Lars Persson
Symbian using that filename. svn-id: r23152
2006-06-11Applied the patch included in bug rep [ 1503716 ] Leak in File::Open (on OS ↵Oystein Eftevaag
X) and unzOpen (on all) svn-id: r23019
2006-06-10fixes ps2 stuff I brokeKostas Nakos
svn-id: r23013
2006-06-10added CE port definitions sectionKostas Nakos
svn-id: r23008
2006-06-10Patch #1503718: "Strange results from Common::computeCapacity"Eugene Sandulenko
svn-id: r22998
2006-06-08fixed ps2 types.Robert Göffringmann
svn-id: r22985
2006-06-08cleanup, made osystem for .ini on different devices.Robert Göffringmann
svn-id: r22984
2006-06-05Lazily allocate _refCount in class StringMax Horn
svn-id: r22935
2006-06-04When ensureCapacity() does not have an old string to copy, make sure the newlyTorbjörn Andersson
allocated one is terminated. Hopefully this will keep the SCUMM save dialog from randomly adding garbage to my savegame names. svn-id: r22908
2006-06-03Allocate and grow Common::String objects in multiples of 32, and leave at ↵Max Horn
least 16 spare bytes at the end, in case the string grows a little bit. svn-id: r22896
2006-06-03Don't try to save settings on the Dreamcast, CD-ROM:s are read only...Marcus Comstedt
svn-id: r22890
2006-06-03Removed unnecessary typedefMax Horn
svn-id: r22875
2006-06-03Really remove HashMap::find(char *)Max Horn
svn-id: r22874
2006-06-03Replaced the bogus find(const String &key) method with the proper find(const ↵Max Horn
Key &key) one. Also removed the bogus find(const char *key) (which not only doesn't work correctly for non-string keys, but also usually will be *less* efficient) svn-id: r22871
2006-06-02Plug memory leakEugene Sandulenko
svn-id: r22842
2006-06-02Remove slipped in debug output.Eugene Sandulenko
svn-id: r22840
2006-06-02Added possibility to use (char *) as ashMap keys. For some reason it does notEugene 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-02Fix mingw compileTravis Howell
svn-id: r22835
2006-06-02Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() callsEugene Sandulenko
on startup svn-id: r22834
2006-05-26add functions for reverse iteration of Common::ListWillem Jan Palenstijn
svn-id: r22665
2006-05-23fix VC & SDL 1.2.10 compilation errorAndrew Kurushin
svn-id: r22585
2006-05-20Make 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-13Fix for bug #1483213Max Horn
svn-id: r22461
2006-05-06Added a default implementation of the OSystem CD API (which simply does nothing)Max Horn
svn-id: r22370
2006-05-04Moved 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-03Removed 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-03Changed FilesystemNode::listDir to return a bool indicating its success (or ↵Max Horn
failure) svn-id: r22315
2006-05-02Add support for reading/writing config files through saveGameManager and use ↵Travis Howell
for config files in HE games svn-id: r22273
2006-05-01Add a variant of File::addDefaultDirectory(Recursive) which takes a ↵Max Horn
FilesystemNode instead of a string object svn-id: r22265
2006-04-30Add a File::open variant that takes a FilesystemNode as parameterMax Horn
svn-id: r22251
2006-04-30Avoid 'unused variable' warning when using DISABLE_MD5Max Horn
svn-id: r22250
2006-04-27Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot ↵Travis Howell
in windows filesys backend was real cause of problem. svn-id: r22194
2006-04-26Use File::size to determine the size of a file, instead of doing a seek(0, ↵Max Horn
SEEK_END) svn-id: r22184