Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Johannes Schickel
aec9b9e22a
ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
...
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b
BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
...
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1
BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" as buffer.
...
This removes the need to convert the parameter to copyRectToScreen to
"const byte *", which is commonly used in games, which use Graphics::Surface
to store their graphics data.
2012-06-16 02:18:01 +02:00
Johannes Schickel
a401f0a19e
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
...
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.
Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
c30018ef37
DC: Use OSystem's 'slots' for timer/savefile manager & fsFactory
2011-06-07 14:57:56 +02:00
Max Horn
afb06b51cc
BACKENDS: Unify AudioCD manager instantiation
2011-06-06 15:02:33 +02:00
Max Horn
ce32745d9c
BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
2011-06-04 11:55:56 +02:00
Matthew Hoops
9539017ee3
ALL: initialise -> initialize
2011-05-25 11:17:11 -04:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
1a7e84f376
DC: Fix compilation
2011-04-28 20:55:00 +03:00
Marcus Comstedt
21421d2e86
DC: Move dynamic plugin handling into the platform
2011-04-20 23:46:44 +02:00
Max Horn
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Marcus Comstedt
98e057603c
DC: Implement logMessage()
...
svn-id: r55171
2011-01-08 20:33:07 +00:00
Marcus Comstedt
878674809e
DC: Implement getSystemLanguage()
...
svn-id: r54752
2010-12-03 18:57:20 +00:00
Marcus Comstedt
1ed5b5b353
DC: Adapted CDDA interface to the new standard.
...
svn-id: r54714
2010-12-01 19:57:23 +00:00
Marcus Comstedt
3e8a972602
DC: Specialize createConfig{Read,Write}Stream
...
Implement platform-specific variants of createConfigReadStream()
and createConfigWriteStream(), instead of inheriting the BaseBackend
definitions. Nonstandard behavious is as follows:
* createConfigWriteStream() always returns 0 (read-only filesystem)
* createConfigReadStream() returns an empty MemoryReadStream instead
of NULL if scummvm.ini does not exist. This is to make sure that
loadDefaultConfigFile() always clears out any old config data, as
I'll want to restart config parsing from scratch after a disc
swap.
svn-id: r51478
2010-07-29 19:11:49 +00:00
Max Horn
703f0ca29c
SYSTEM: Unify OSystem::getSupportedFormats() signature
...
svn-id: r49838
2010-06-15 12:21:08 +00:00
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01:44 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Marcus Comstedt
f517f32902
RGB support.
...
svn-id: r44874
2009-10-10 14:26:53 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Eugene Sandulenko
95c5d24044
Second attempt to fix DC and iPhone backends compilation
...
svn-id: r43651
2009-08-22 14:52:26 +00:00
Eugene Sandulenko
ad507d3387
Attempt to fix DC and iPhone backends compilation
...
svn-id: r43650
2009-08-22 13:34:38 +00:00
Marcus Comstedt
415d0c5b03
Refresh the screen if pollEvent() is called without updateScreen() being called for a long time.
...
svn-id: r42139
2009-07-05 14:57:03 +00:00
Marcus Comstedt
95f02dd86f
Detected games with different language or platform are now
...
no longer treated as duplicates, even if they have the same
target and directory. Also, pass these parameters to the
ConfMan, so that the correct version of the game is started.
svn-id: r41504
2009-06-13 23:42:39 +00:00
Marcus Comstedt
9890b34390
Moved hardware initialization to a constructor, to make it run really early.
...
svn-id: r39577
2009-03-20 22:55:42 +00:00
Marcus Comstedt
da142af5d4
Changed grabOverlay() and copyRectToOverlay() to use OverlayColor instead of int16.
...
svn-id: r39493
2009-03-17 22:09:33 +00:00
Johannes Schickel
49d90127b9
Removed OSystem_Dreamcast::fillScreen implementation after discussing it with Marcus.
...
svn-id: r38327
2009-02-15 23:01:27 +00:00
Johannes Schickel
5417f6bacb
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
...
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.
svn-id: r38304
2009-02-15 21:20:21 +00:00
Max Horn
c69ebfd798
Moved default implementations for various OSystem methods into a new class BaseBackend
...
svn-id: r36135
2009-01-30 03:35:47 +00:00
Marcus Comstedt
8aa122b157
Need graphics/colormasks.h for Graphics::createPixelFormat.
...
svn-id: r36108
2009-01-27 18:43:00 +00:00
Max Horn
edf9f24926
Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
...
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27
Got rid of OSystem::ARGBToColor and colorToARGB
...
svn-id: r34911
2008-11-06 14:27:13 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Marcus Comstedt
3f22509321
New Mixer API.
...
svn-id: r32836
2008-06-29 11:51:47 +00:00
Marcus Comstedt
d5e09de48c
Added getTimeAndDate() implementation.
...
svn-id: r31027
2008-03-01 22:12:52 +00:00
Marcus Comstedt
4d45121ccf
Integrated fs factory into osystem object.
...
svn-id: r31024
2008-03-01 17:48:42 +00:00
Marcus Comstedt
964caae2dd
Moved Dreamcast filesystem factory to platform directory.
...
svn-id: r31021
2008-03-01 15:45:54 +00:00
Marcus Comstedt
7668ac231f
Include <graphics/surface.h> for Graphics::Surface.
...
svn-id: r28969
2007-09-19 19:26:12 +00:00
Max Horn
41c68ac3e4
Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y)
...
svn-id: r27961
2007-07-08 12:02:38 +00:00
Max Horn
b51f2f3212
Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All 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-19 22:39:59 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class 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-17 19:02:05 +00:00
Marcus Comstedt
dde7244f2d
Removed timerproc and soundproc.
...
svn-id: r24455
2006-10-22 18:35:49 +00:00
Marcus Comstedt
fbb5a2d773
Modularization.
...
svn-id: r24453
2006-10-22 17:58:38 +00:00