Commit graph

72 commits

Author SHA1 Message Date
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
Max Horn
b5bcc1a23a Merged Neil's NDS changes into trunk
svn-id: r39526
2009-03-19 09:51:40 +00:00
Max Horn
a925b5e7b7 Oops
svn-id: r36015
2009-01-23 03:48:04 +00:00
Max Horn
3e7155981e DS: Nothing is supposed to use time(), so don't globally include <time.h> -- in particular, no need to fake a time() impl if the only code using it is the backend itself ;)
svn-id: r36012
2009-01-23 03:23:30 +00:00
Max Horn
980917e545 More cleanup of the DS port
svn-id: r35978
2009-01-21 04:46:31 +00:00
Max Horn
39e3c76436 More cleanup
svn-id: r35977
2009-01-21 04:27:32 +00:00
Max Horn
023fcd05a3 cleanup
svn-id: r35976
2009-01-21 04:03:22 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Bertrand Augereau
f41ab55021 Fixed a few warnings
svn-id: r32994
2008-07-10 18:01:54 +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
Max Horn
fb5ea14e4e DS: The SpriteEntry::atributes array has only 3 elements; also removed some apparently not needed #includes
svn-id: r32432
2008-05-31 19:24:26 +00:00
Max Horn
bd9671ba24 Fixing various warnings in the DS port
svn-id: r32428
2008-05-31 19:02:35 +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
8c5d09bcf7 NDS: Minor code formatting fixes
svn-id: r32100
2008-05-14 07:07:38 +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