Commit Graph

187 Commits

Author SHA1 Message Date
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
Andre Heider
f34f2ee6cc make -> $(MAKE)
svn-id: r44409
2009-09-27 15:44:02 +00:00
Andre Heider
4193367d30 makefile -> Nakefile
svn-id: r44408
2009-09-27 15:42:18 +00:00
Andre Heider
3330ca56c8 make -> $(MAKE)
svn-id: r44407
2009-09-27 15:40:52 +00:00
Andre Heider
d7130081c9 makefile -> Nakefile
svn-id: r44406
2009-09-27 15:39:15 +00:00
Torbjörn Andersson
e7469479ce Removed unnecessary semi-colons.
svn-id: r44048
2009-09-13 10:32:55 +00:00
Max Horn
f5112efa11 DS: Started work on a new build system for the Nintendo DS port, based on configure (and thus suitable for buildbot). Currently only the ARM7 part is 'done'
svn-id: r42939
2009-07-30 18:27:50 +00:00
Max Horn
31f7f45609 NDS: Changed jtypes.h to ndstypes.h (this 'newer' name has been in effect even in the older versions of DevKitPro used for compiling ScummVM...)
svn-id: r42937
2009-07-30 17:48:03 +00:00
Max Horn
5188929825 cleanup
svn-id: r42040
2009-07-02 22:05:42 +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
b629b0cc78 Fixed NDS compilation when using older devkitpro versions (I accidentally broke that some time ago)
svn-id: r41786
2009-06-22 23:09:28 +00:00
Max Horn
3235fd3f65 cleanup
svn-id: r41150
2009-06-03 20:48:35 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
c97a1aed74 Also strip trailing whitespaces in C and Objective-C source files. (Seems I forgot that we got those too :-P)
svn-id: r40872
2009-05-24 21:53:29 +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
559190904d Set svn:keywords on asm files
svn-id: r39568
2009-03-20 16:35:34 +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
05b4370c21 Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions
svn-id: r39135
2009-03-05 20:37:53 +00:00
Max Horn
01581b24c0 DS: Removed code from GBAMPSaveFileManager::getSavePath() which was for compatibility with 0.6.1 config files (NDS port 0.1 was based on 0.7.1); added FIXME comment
svn-id: r36291
2009-02-13 05:10:36 +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
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
72702130d9 DS: Apply an old cleanup patch of mine from last August
svn-id: r36011
2009-01-23 03:06:21 +00:00
Max Horn
4455a9fc2f DS: Fix compilation
svn-id: r36010
2009-01-23 02:44: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
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Max Horn
6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
a1eb74622e DS port: Removed mixer.cpp from OPTLIST (saves 11kb code size); added several DEFINES which reduce the binary size further
svn-id: r35468
2008-12-21 17:14:42 +00:00
Robin Watts
0bd0badbf2 Fix NDS warning that should really be an error. Returning nothing from a non
void function should be an error in any sane compiler...

svn-id: r35176
2008-11-30 02:08:09 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Robin Watts
766a685125 Nintedo DS specific code: Remove function call (strlen) from loop condition.
(Spotted by Fingolfin - Thanks)

svn-id: r35163
2008-11-24 00:36:07 +00:00
Robin Watts
f897def64d Eliminate some warnings from NDS specific code.
svn-id: r35157
2008-11-23 11:49:58 +00:00
Robin Watts
fc507e9874 Remove NDS blitters.s, as it's unused - we now have blitters_arm.s instead.
svn-id: r35156
2008-11-23 11:14:02 +00:00
Max Horn
38bb172b92 NDS: Fix link error in non-SCUMM builds by removing some dead & obsolete code
svn-id: r35129
2008-11-20 13:49:53 +00:00
Max Horn
d230b17a93 Fix warnings
svn-id: r35128
2008-11-20 13:46:59 +00:00
Robin Watts
54713bc086 Tweaks to make DS buildable again.
svn-id: r35085
2008-11-15 15:49:22 +00:00
Max Horn
674a6ecc16 DS: Replaced call to obsolete addButton method
svn-id: r35084
2008-11-15 14:39:23 +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
Johannes Schickel
92cfe5e246 Specified VECTOR_RENDERER_FORMAT to 1555 for DS build (at least from the code it looks like DS uses a 1555 overlay).
svn-id: r34869
2008-10-31 13:20:13 +00:00
Robin Watts
ed5beecd33 DS port: My version of devkitpro complains that various symbols are defined in
a different namespace. The fix is to refer to these symbols using ::.

svn-id: r34850
2008-10-26 10:46:55 +00:00
Robin Watts
9021921303 DS port: Declare ARM blitters as being ITCM_CODE, so that we avoid the dreaded
"relocation truncated to fit" error in thumb builds. 

svn-id: r34849
2008-10-26 10:33:04 +00:00
Max Horn
2bcc5681d8 DS: Removing some dead code; merged (parts of) std_cwd into GBAMPSaveFileManager::listSavefiles
svn-id: r34587
2008-09-17 16:38:01 +00:00
Max Horn
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
fbfe30bf86 DS: Removed legacy GCC 2.x build code (NDS/DevKitPro uses GCC 3 or newer anyway); thinned down INCLUDES some more; added a FIXME to the elf->bin rule
svn-id: r34548
2008-09-14 22:24:35 +00:00