aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2006-07-24Documenting Common::File a bit.Johannes Schickel
svn-id: r23588
2006-07-23String class usage cleanupMax Horn
svn-id: r23582
2006-07-22Fix struct packing issues (macros are not resolve in #pragma params, at ↵Max Horn
least for GCC) svn-id: r23569
2006-07-22Added some warnings if md5_file is used on an illegal FilesystemNode.Johannes Schickel
svn-id: r23568
2006-07-22Added isValid to FilesystemNode and AbstractFilesystemNode. See my mail to ↵Johannes Schickel
-devel for more information. svn-id: r23567
2006-07-22Part of the FreeMiNT patchMax Horn
svn-id: r23566
2006-07-22Using FilesystemNode::name instead of FilesystemNode::displayName in the ↵Johannes Schickel
fileclass too, then again this doesn't *have* to work. (check FilesystemNode documentation) svn-id: r23562
2006-07-22Return false for directories on md5_file with a FSNode as param.Johannes Schickel
svn-id: r23560
2006-07-22- let md5_file accept a FilesystemNode too Johannes Schickel
- changes some engine detectors to use it svn-id: r23559
2006-07-22Added FilesystemNode::name methodMax Horn
svn-id: r23553
2006-07-21Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS ↵Max Horn
now (hiya eriktorbjorn, this one is for you *ggg*) svn-id: r23547
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