aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
AgeCommit message (Collapse)Author
2007-06-19Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All ↵Max Horn
changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax. svn-id: r27548
2007-06-03Adding the new kFeatureDisableKeyFiltering OSystem feature.Kostas Nakos
This feature is used by agi's prediction dialog and is a hint to the backend to temporarily switch off any keyboard mapping, used in devices with limited keyboard input. Also, supply some comments to the newly added event & feature. svn-id: r27069
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-03-24Corrected some c&p error in the documentation.Johannes Schickel
svn-id: r26298
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-17Implemented a simple EventManager classMax Horn
svn-id: r26154
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