Cameron Cawley
e92ac655be
BACKENDS: Add default implementation for GraphicsMode functions
2019-12-15 16:06:56 +02:00
Cameron Cawley
2048c9cc78
AUDIO: Remove unused parameter from the MixerImpl constructor
2019-11-30 17:47:34 +02:00
sluicebox
b8390fa161
GRAPHICS: Add interface for horizontal shake
2019-11-19 00:20:40 +01:00
Cameron Cawley
6293299f40
BACKENDS: Remove unnecessary implementations of setGraphicsMode(const char *)
2019-11-18 08:09:15 +02:00
Cameron Cawley
925025ec54
DS: Only disable forbidden symbols when necessary
2018-04-07 22:12:18 +00:00
Cameron Cawley
9111998c49
DS: Fix compilation with devkitARM r47
2018-04-07 09:30:07 +02:00
Colin Snover
bda253b1ac
BACKENDS: Constify PaletteManager::grabPalette implementations
2017-10-15 13:47:19 -05:00
Matthew Hoops
fb6fe1332a
BACKENDS: Move to an openCD() without parameters as the public API
2016-03-13 13:52:24 +01:00
Johannes Schickel
312442fcdd
DS: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
Johannes Schickel
6d86a66493
NDS: Do not access Surface::pixels directly.
2013-08-06 03:51:11 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Johannes Schickel
4fb9bceabc
Merge pull request #246 from lordhoto/osystem-void-buffers
...
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07: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
Matthew Hoops
b2f5721e58
COMMON: Add tm_wday to our TimeDate struct
...
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04: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
Christoph Mallon
89ccde3948
DS: Remove the unused method OSystem_DS::grabRawScreen().
...
This was removed from OSystem in b51f2f3212
.
2011-11-27 13:09:47 +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
9f40bdcd2c
DS: Prevent OSystem destructor from deleting _savefileManager
2011-06-08 14:14:54 +02:00
Max Horn
98db614cd8
DS: Use OSystem::_savefileManager slot
2011-06-07 14:57:58 +02:00
Max Horn
886c4e5417
DS: Use OSystem's 'slot' for timer manager
2011-06-07 14:57:56 +02:00
Max Horn
b0b5a1d802
DS: Add custom logMessage() implementation
2011-06-06 15:36:28 +02:00
Max Horn
c847522422
BACKENDS: Add OSystem::getDefaultConfigFileName
...
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.
Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +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
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
Max Horn
3d4e9fe674
BACKENDS: Allow various files to use stuff from time.h
2011-05-03 11:27:44 +02:00
Johannes Schickel
da734a4af0
ALL/GRAPHICS: Remove Surface::bytesPerPixel.
2011-04-17 21:27:34 +02:00
Johannes Schickel
877004dbdd
BACKENDS: Adapt various backends code to set up Surface::format correctly.
...
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
Johannes Schickel
7ac3ae108a
BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
2011-04-17 16:24:37 +02:00
Max Horn
84184aabc0
ALL: colour -> color
2011-04-14 14:12:35 +02:00
Johannes Schickel
aafebe1389
DS: Adapt to setPalette/grabPalette RGBA->RGB change.
...
This change is not tested, but should hopefully work fine.
2011-02-15 23:59:31 +01:00
Max Horn
51a954c1dd
DS: Add some FIXME/TODO comments on changes that need to be applied to the DS backend
...
svn-id: r54318
2010-11-18 13:17:25 +00:00
Max Horn
c4a626931b
DS: Code formatting
...
svn-id: r50742
2010-07-07 23:23:19 +00:00
Max Horn
fe72d5dd78
DS: Fix some quirks in the NDS build system, remove some dead code
...
* remove (S)RAM save code (it has not been in use for quite some time)
* remove the lz compressor (was only used by ram save code)
* OPT_SPEED was set incorrectly
* dsmain.cpp was misspelled as ds_main.cpp
* remove unsed arm9 libcartreset (the copy in the arm7 directory
still is around, though)
svn-id: r50741
2010-07-07 23:22:53 +00:00
Max Horn
429de8f6ef
DS: More formating, made more vars static
...
svn-id: r50708
2010-07-05 20:36:11 +00:00
Max Horn
68d620ccab
DS: Fix warnings, make some vars static, cleanup
...
svn-id: r50701
2010-07-05 19:10:20 +00:00
Max Horn
e4ec2e6403
DS: Code formatting: "char* foo" -> "char *foo"
...
svn-id: r50688
2010-07-05 16:10:22 +00:00
Max Horn
d5c78f78c5
DS: Fix warnings, cleanup
...
svn-id: r50687
2010-07-05 16:09:27 +00:00
Max Horn
a9af532448
DS: Can now build binaries via our "configure/make" build system.
...
Conversion of the old build system is incomplete. Binaries created
using this new build system support most likely will not run!
More work is needed, but the work done so far should be enough
to get basic NDS support on our buildbot working.
svn-id: r50672
2010-07-05 10:07:33 +00:00
Max Horn
9b837d66d4
Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
...
svn-id: r48238
2010-03-11 23:39:51 +00:00
Max Horn
c97ee14a65
Remove last traces of OSystem::getOutputSampleRate()
...
svn-id: r48229
2010-03-10 21:01:44 +00:00
Neil Millstone
4a8ab4b075
DS: Merging accross changes from branch1-0-0 into trunk.
...
svn-id: r48136
2010-02-26 17:29:18 +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
Max Horn
8f609497ee
Backported NDS changes from 1.0.0 branch to trunk
...
svn-id: r44426
2009-09-27 22:42:21 +00:00
Andre Heider
f4597ee83e
Fixed compilation of the NDS port.
...
svn-id: r44410
2009-09-27 16:06:06 +00:00
Max Horn
bb28ed7b7a
Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
...
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails
svn-id: r41932
2009-06-28 19:58:11 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00