aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2005-04-23Added new ConfigFile class. It is not yet used anywhere. ConfigManager will ↵Max Horn
be rewritten around this class. Note that it is not final yet and may be revised in many ways. svn-id: r17773
2005-04-23Remove StringMap class from map.h (at least for now)Max Horn
svn-id: r17772
2005-04-23Simplified debuglevel handling:Max Horn
- it's only honored in the global level of the config file - all checks for it go through gDebugLevel now, which is made global - the '-d' switch is handled in a slightly saner and consistent way - removed 'debuglevel' from the config format documentation; we do not want to encourage the avarage user to use it svn-id: r17769
2005-04-23Check for a '\' before adding slash too, otherwise starting a game in root ↵Travis Howell
directory will fail. svn-id: r17763
2005-04-22Use class File instead of FILE (not finished)Max Horn
svn-id: r17753
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-04-19Replace OSystem::hasAlpha with a feature flagMax Horn
svn-id: r17695
2005-04-19Added new (optional) OSystem::initBackend() method; this (and its usage) ↵Max Horn
fixes bugs #1160977 and #1184664 svn-id: r17694
2005-04-16vc compile warnAndrew Kurushin
svn-id: r17637
2005-04-13Get rid of errno; add some (optional) error checking facilities to SaveFile ↵Max Horn
classes (they are ugly, and to simple, but better than nothing) svn-id: r17589
2005-04-10split SaveFileManager::openSavefile and class SaveFile into two, each, one ↵Max Horn
for loading and one for saving svn-id: r17517
2005-04-09Moved the GFX_ constants to sdl-common.h, where they belong.Max Horn
svn-id: r17479
2005-04-09A common platform alias for 'Windows' is 'win'Max Horn
svn-id: r17478
2005-04-08Add NES platformEugene Sandulenko
svn-id: r17454
2005-04-03Added some comments on how the graphics in OSystem are meant to work, based ↵Max Horn
partially on a nice mail by Marcus, and adding in some information of my own. Certainly could be improved in style, language, content and everything, but once again it should be better than nothing... svn-id: r17359
2005-04-03Added some overlay method comments. They could be better and explain more, ↵Max Horn
but it's at least a start svn-id: r17358
2005-04-03Added possibility to have an overlay with an alpha channel.Marcus Comstedt
svn-id: r17353
2005-03-31Playstation2 Port: initial importRobert Göffringmann
svn-id: r17305
2005-03-30Forgot to init _encbyte in MemoryReadStream.Eugene Sandulenko
svn-id: r17301
2005-03-30Support for direct reading from NES ROM:Eugene Sandulenko
o extend MemoryReadStream with XOR facility o implement MemoryWriteStream o _fileHandle now is a reference to BaseScummFile class and is created on the fly o implement ScummNESFile class which is basically extract_mm_nes utility o update NES MM md5's due to above changes NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename ROM to standard conventional name 'Maniac Mansion (XXX).nes' svn-id: r17300
2005-03-14Fix method names to comply to our coding standardsMax Horn
svn-id: r17134
2005-03-12mouse cursor palette better fits into the 'mouse' category than in the ↵Max Horn
'graphics' category (IMO) svn-id: r17102
2005-03-09Patch #1013937 "OSystem layer with bigger resolution". Now you will alwaysEugene Sandulenko
get at least 640x400 window. And finally we have means of implementing nice looking GUI. Also updated all backends. If your backend has ability to run with 640x400 or 640x480 resolution then read patch tracker item to find out details. Other port maintainers shouldn't worry, as this patch doesn't affect them, they still get their 320x200. svn-id: r17055
2005-03-07Add Amiga renderer mode for EGA games.Travis Howell
svn-id: r17019
2005-03-06Obsolete TODO ;-)Max Horn
svn-id: r17004
2005-03-06Fix bug which led to an endless loop if 1.5x scaler is fed with odd value.Eugene Sandulenko
svn-id: r17003
2005-03-02Distinguish between green and amber hercules. Now specify it via hercGreenEugene Sandulenko
and hercAmber. Updated documentation accordingly. svn-id: r16975
2005-02-22Verify domain names as they are passed into the config manager (better to ↵Max Horn
crash here, early, than to corrupt a user's config file) svn-id: r16862
2005-02-20Implement OSystem method disableCursorPalette(bool disable) as mentionedEugene Sandulenko
in patch #1013937 (OSystem layer with bigger resolution). svn-id: r16820
2005-02-20Patch #1121337 (CGA rendering in early LEC titles).Eugene Sandulenko
Differences against patch: o Updated documentation o Fixed text colors o Implemented Hercules dithering Ditherers are based on loom ega and monkey ega, so for zak and mm they're wrong, i.e. these games look better than with original ditherers. TODO: Proper ditherers for zak & MM EGA ditherers for VGA SCUMM v5 games svn-id: r16816
2005-02-19compatible version for wincePaweł Kołodziejski
svn-id: r16813
2005-02-18removing ZLIB_WINAPI from scummsys.hAndrew Kurushin
ZLIB_WINAPI macro needs only than you want to build VisualBasic compatible ZLIBWAPI.DLL with WINAPI(STDCALL) calling convetion. svn-id: r16803
2005-02-17Mouse part of big patch #1013937 (OSystem layer with bigger resolution)Eugene Sandulenko
svn-id: r16800
2005-02-06Added String::hasSuffix and hasPrefixMax Horn
svn-id: r16744
2005-01-28Use class Mutex instead of MutexRefMax Horn
svn-id: r16679
2005-01-28fix VC7.1 compilationAndrew Kurushin
svn-id: r16664
2005-01-27emsvc4 need public access, hmmm...Paweł Kołodziejski
svn-id: r16650
2005-01-15Forgot to commit thisMax Horn
svn-id: r16567
2005-01-15Added a convenience class 'Mutex'Max Horn
svn-id: r16566
2005-01-15Get rid of the ConstString classMax Horn
svn-id: r16564
2005-01-11last wjp suggested patch - helps reenable "no definition for inline ↵Andrew Kurushin
function" warning svn-id: r16543
2005-01-11On Fingolfin's suggestion I put back the inclusion of util.h into Rect, forTorbjörn Andersson
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
2005-01-11This is probably not the optimal fix, but at least ScummVM compiles again.Torbjörn Andersson
svn-id: r16538
2005-01-10Remove some more header dependenciesMax Horn
svn-id: r16530
2005-01-10Reduce dependencies on common/savefile.h from 88 to 14Max Horn
svn-id: r16528
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-10Moved mutex stuff into a seperate headerMax Horn
svn-id: r16526
2005-01-10yet another attempt to get makeInstance working for gcc 3.3, gcc 3.2, and ↵Max Horn
MSVC (thanks to wjp for the suggestion). Works fine with GCC 3.2 and 3.3 svn-id: r16525
2005-01-09some disabled warning moved from .vcproj to #pragma with commentsAndrew Kurushin
(can anyone update .vcproj for vs2002&vs2005?) svn-id: r16508
2005-01-09Ensure these headers match the rest of ScummVMMax Horn
svn-id: r16505