aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
AgeCommit message (Collapse)Author
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-10-02Implemented "iconify window" opcode. This, of course, needs support in theTorbjörn Andersson
backend to work, and so far it's only done in the SDL backend. See the new kFeatureIconifyWindow flag. (This is patch #1568775.) svn-id: r24060
2006-08-04Added new method OSystem::getScreenChangeID(), which can be used by code to ↵Max Horn
track screen changes even without getting all EVENT_SCREEN_CHANGED events svn-id: r23661
2006-07-09Added OSystem::setFocusRectangle (first part of Nintendo DS patch)Max Horn
svn-id: r23449
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-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-06Added a default implementation of the OSystem CD API (which simply does nothing)Max Horn
svn-id: r22370
2006-04-17Actually, 3-4 alpha bits are fine, too :)Max Horn
svn-id: r21965
2006-04-17Clarify that kFeatureOverlaySupportsAlpha should only be set if at least a ↵Max Horn
few bits of alpha are present svn-id: r21963
2006-04-17Document how the alpha color component is to be interpretedMax Horn
svn-id: r21962
2006-04-02With this change, backends are now responsible for instantiating their ↵Max Horn
OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently) svn-id: r21557
2006-02-20Clarified that OSystem::setWindowCaption currently only supports ASCII captionsMax Horn
svn-id: r20780
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20510
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-11-08Augmented OSystem docsMax Horn
svn-id: r19522
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved (In/Out)SaveFile(Manager) and Timer to namespace CommonMax Horn
svn-id: r18038
2005-05-09fixed warningsPaweł Kołodziejski
svn-id: r18004
2005-05-09Fix doxygen commentMax Horn
svn-id: r17999
2005-05-08Added two new methods to OSystem: grabPalette and grabRawScreenMax Horn
svn-id: r17974
2005-05-08oopsMax Horn
svn-id: r17971
2005-05-08Fix doxygen warningMax Horn
svn-id: r17970
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-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-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-02-20Implement OSystem method disableCursorPalette(bool disable) as mentionedEugene Sandulenko
in patch #1013937 (OSystem layer with bigger resolution). svn-id: r16820
2005-02-17Mouse part of big patch #1013937 (OSystem layer with bigger resolution)Eugene Sandulenko
svn-id: r16800
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-10Reduce dependencies on common/savefile.h from 88 to 14Max Horn
svn-id: r16528
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-09Added new interface SeekableReadStreamMax Horn
svn-id: r16493
2005-01-06- remove "extern" before OSystem::makeInstanceAndrew Kurushin
svn-id: r16457
2005-01-06Modify the singleton code once more to help overcome an issue with MSVC 7 ↵Max Horn
(see also patch #1095133) svn-id: r16454
2005-01-01Changed the singleton code to allow for custom object factories; this ↵Max Horn
allowed me to change OSystem to use the singleton base class, too svn-id: r16404
2005-01-01Changed OSystem::instance() to return a reference, not a pointer (it now ↵Max Horn
matches the Singleton interface) svn-id: r16402
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-11-27Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing ↵Max Horn
some very specialised methods svn-id: r15914
2004-11-22Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, ↵Max Horn
though :-) svn-id: r15864
2004-11-13Add new clearScreen OSystem call. Currently only implemented in SDL backend. ↵James Brown
This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering. svn-id: r15799