Commit graph

55 commits

Author SHA1 Message Date
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
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
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +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
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
Bertrand Augereau
1e048c1de6 NDS : Suppressed unneccessary complications regarding the backbuffer when CPU-scaled, basically it has the same stride than the regular one (512b) so most code doesn't have to change
svn-id: r27517
2007-06-18 07:06:24 +00:00
Bertrand Augereau
29bfadcdd7 NDS: Compile fixes
svn-id: r27508
2007-06-17 10:30:34 +00:00
Bertrand Augereau
03d82560c7 DS :
* grabRawScreen should work with the scaler enabled
* the address given to DC_FlushRange in grabRawScreen was mixing a u16 base address and a u8 stride, skipping every odd line and buffer-overrunning (if I'm not mistaken :) )

svn-id: r27415
2007-06-15 09:04:08 +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
Neil Millstone
c6d41c0755 Updating DS port for changes in main codebase. Code changes for DevkitArm r20 and latest libnds.
svn-id: r26394
2007-04-06 18:34:53 +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
Neil Millstone
0c82694f47 Ported changes from branch-0-9-0 to fix grabRawScreen(), and palette corruption.
svn-id: r25129
2007-01-20 17:29:20 +00:00
Neil Millstone
ea6663fdfa Merging in changes made in branch for 0.9.1 release into trunk
svn-id: r24596
2006-11-03 23:16:29 +00:00
Bertrand Augereau
aada1329a8 DS : Blind backends changes to comply to fingolfin's changes
svn-id: r24506
2006-10-25 19:37:43 +00:00
Bertrand Augereau
24b0d4800a DS backend : Compile fixes for the new backends system, still needs plugging the old callbacks
svn-id: r24504
2006-10-25 19:18:38 +00:00