aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2005-05-05Turned File::exists into a static method (as it should have been from the ↵Max Horn
start, silly copy&paste mistake svn-id: r17915
2005-05-02Don't assert that "domain" is valid. One of the cases where this functionTorbjörn Andersson
is called is when parsing the command-line, and we can't really expect the user to always type something sensible. svn-id: r17893
2005-04-28Moved Stream::eos() to ReadStream::eos()Max Horn
svn-id: r17853
2005-04-27Use a pointer ref for RGBtoYUV, instead of an array, so that we can choose ↵Max Horn
to allocate RGBtoYUV on the heap; added a comment that tries to explain why RGBtoYUV and LUT16to32 are evil and slow and how they could be removed svn-id: r17834
2005-04-24Some C++ compilers don't support the 'not' keyword, it seemsMax Horn
svn-id: r17793
2005-04-24Add additional check for comments with ().Travis Howell
Required for map.ini file included with mustard. svn-id: r17783
2005-04-24The last section of config file was not saved, when loading config file.Travis Howell
Fix all string compares. svn-id: r17781
2005-04-23Implement some missing methodsMax Horn
svn-id: r17780
2005-04-23Make StringMap class (with case insensitive keys) globalMax Horn
svn-id: r17779
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