Commit graph

60 commits

Author SHA1 Message Date
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
30e68efac4 BACKENDS: Add a closeCD() function to the AudioCDManager 2016-03-13 13:53:35 +01: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
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
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
Max Horn
fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +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
ce32745d9c BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls 2011-06-04 11:55:56 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
e52d54b55e NDS: Fix compilation 2011-04-28 22:19:35 +03:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +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
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
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
3d44870c8a NDS: Update GPL/copyright headers; add namespace DS closing comments
svn-id: r50689
2010-07-05 16:11:11 +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
c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +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
Max Horn
b5bcc1a23a Merged Neil's NDS changes into trunk
svn-id: r39526
2009-03-19 09:51:40 +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
Max Horn
4455a9fc2f DS: Fix compilation
svn-id: r36010
2009-01-23 02:44:30 +00:00
Max Horn
39e3c76436 More cleanup
svn-id: r35977
2009-01-21 04:27:32 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +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
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Neil Millstone
9f96471f47 DS: Backend changes for new mixer code
svn-id: r32978
2008-07-09 16:50:23 +00:00
Max Horn
3b1a60c3b2 Removed obsolete ::clearSoundCallback() code
svn-id: r32826
2008-06-28 15:13:54 +00:00
Neil Millstone
556bab2b81 Adding getFileSystemFactory() method in response to mail on scummvm-devel.
svn-id: r32247
2008-05-24 14:57:18 +00:00
Neil Millstone
2c5e8cc938 Porting changes from 0.11.0 branch
svn-id: r32140
2008-05-15 22:12:51 +00:00
Bertrand Augereau
9f2ffaabb3 NDS: OSystem::getTimeAndDate is demoted to the port (with the standard
implementation)

svn-id: r32099
2008-05-14 07:04:14 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Neil Millstone
764dc65101 Scaler corruption fixes, scaler console fixes, adding Lure target (except it doesn't quite work yet), adding function keys to virtual keyboard
svn-id: r29944
2007-12-21 18:36:40 +00:00
Neil Millstone
4deb3f1b4f Fixed a huge number of compile errors, moved over features from 0.10.0 branch.
svn-id: r29203
2007-10-13 15:40:11 +00:00
Neil Millstone
4ccec7c25a Making DS port build again
svn-id: r28654
2007-08-18 11:10:41 +00:00
Neil Millstone
75a05652e5 - Show mouse cursor option
- Support for SAGA, CINE, and AGI
- Key bindings for Gob3
- Assembler optimisations submitted by Robin Watts

svn-id: r27803
2007-06-30 23:03:03 +00:00