3570 Commits

Author SHA1 Message Date
Max Horn
4237f9a416 DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make clean'
svn-id: r50745
2010-07-07 23:24:29 +00:00
Max Horn
f6afba1f19 DS: Split buildrule for scummvm.nds and scummvm.ds.gba
This parallels what I did in ds.mk

svn-id: r50744
2010-07-07 23:24:08 +00:00
Max Horn
6aa53ba3b8 DS: Remove cruft from Makefiles
svn-id: r50743
2010-07-07 23:23:44 +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
61a200dcdd DS: Remove redundant lines from arm9/makefile
svn-id: r50736
2010-07-07 16:51:36 +00:00
Max Horn
fe409ea269 DS: cleanup arm9/makefile
svn-id: r50729
2010-07-06 22:29:45 +00:00
Max Horn
9b927b414a DS: Implemented (ugly, but working) support for optimization level overrides
svn-id: r50728
2010-07-06 22:14:06 +00:00
Max Horn
2343f8c60d DS: Add isScrollingWithDPad() to make code more readable
svn-id: r50727
2010-07-06 22:13:43 +00:00
Max Horn
edac80ad6b DS: Fix warning about anonymous struct
svn-id: r50709
2010-07-05 20:36:43 +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
5d25d3821a DS: Only include NDS/scummvm_ipc.h where necessary; minor tweaks
svn-id: r50702
2010-07-05 19:10:56 +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
776c3a1d51 DS: Fix MODULE_DIRS value (now dependency tracking works correctly)
svn-id: r50694
2010-07-05 16:12:47 +00:00
Max Horn
75529dc402 DS: Fix various warnings and errors in the DS FS code
* Do not modify the strings passed to std_fopen anymore
* Correct signature of std_fread
* Do not cast away constness, nor perform unnecessary casts

svn-id: r50693
2010-07-05 16:12:31 +00:00
Max Horn
edb5210d38 DS: Fix error in std_fopen (warnings are great :)
svn-id: r50692
2010-07-05 16:12:10 +00:00
Max Horn
d2a24c0a95 DS: Remove unused portdefs.cpp
svn-id: r50691
2010-07-05 16:11:54 +00:00
Max Horn
782e43591a DS: Cleanup NDS portdefs.h a bit
* Don't #include "nds/ndstypes.h" everywhere
* Don't #define ITCM_DATA globally, it is only need in one place
* Fix STREAM_AUDIO_FROM_DISK definition (copy&paste error)
* Fix custom assert() implementation by using the do/while(0) trick
  for macros. Previously, there could be subtle errors caused by
  statements like
     if (COND) assert(...) else ...

svn-id: r50690
2010-07-05 16:11:34 +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
f39f7f3ded DS: Augment 'clean' target, simplify bin->elf conversion rule
svn-id: r50686
2010-07-05 16:08:59 +00:00
Angus Lees
330e94feed Drop direct use of (private) libEGL.so and call EGL functions via Java.
This removes the final private library - we should be completely above
board now.

svn-id: r50677
2010-07-05 13:06:58 +00:00
Max Horn
d4ad7b8a6d DS: Add missing .bin -> .elf rule
svn-id: r50676
2010-07-05 11:53:55 +00:00
Max Horn
fcde7221d5 DS: Fix typo; change bin2o/bin2h to create taget dir
svn-id: r50675
2010-07-05 11:07:24 +00:00
Max Horn
cb265ae09a DS: Fix setShakePos
svn-id: r50674
2010-07-05 10:08:13 +00:00
Max Horn
9a61be13e6 DS: Made some vars static, code formatting, cleanup
svn-id: r50673
2010-07-05 10:07:54 +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
db1fa71745 NDS: Enable compilation of backend specific files
Also tried to enable the conversion of .raw/.pal/.bin files,
but this does not currently work (probably something really
silly, but I don't have the time to debug this right now).

svn-id: r50671
2010-07-05 10:07:06 +00:00
Angus Lees
b8778fc7c3 Switch Android toolchain prefix from arm-android-eabi to
arm-*-linux-androideabi, since this is what the upcoming gcc-4.6
change uses.
Work around Android 2.0 and newer dynamic linker bug by explicitly
linking plugins against the core libscummvm.so.
Mark Android packages as preferring to be on external storage.
Move -lm from LDFLAGS to LIBS.

svn-id: r50665
2010-07-05 01:00:59 +00:00
Angus Lees
bb300ec671 Skip /dev/sequencer MIDI on Android.
svn-id: r50664
2010-07-05 00:09:41 +00:00
Max Horn
762ff57e0d NDS: Some tweaks for compiling via std build system
svn-id: r50582
2010-07-01 23:12:28 +00:00
Max Horn
a905327e65 NDS: Fix typo
svn-id: r50557
2010-07-01 16:26:18 +00:00
Max Horn
e3590a60a0 NDS: Fix compile errors and a warning
svn-id: r50555
2010-07-01 16:06:26 +00:00
Angus Lees
a3a1499444 Replace some code with constructs that work on Android pre-1.6.
Add a boolean for disabling the "no plugins found" warning.

svn-id: r50494
2010-06-29 12:56:22 +00:00
Robert Špalek
5e030bebcc enable reading ZIP archives even without USE_ZLIB
our module unzip.cpp can read uncompressed ZIP archives even without zlib.  if some of the files
inside are compressed and zlib is not linked in, an error is returned.

svn-id: r50483
2010-06-29 06:38:00 +00:00
Johannes Schickel
09b4f7cbed Define WIN32_LEAN_AND_MEAN before including windows.h.
This will cause our code to include less functionality, but might on the other hand fasten up the compilation.

svn-id: r50346
2010-06-26 21:55:52 +00:00
Jordi Vilalta Prat
063cef0c28 GUI: Add and improve some messages to translate
svn-id: r50324
2010-06-26 15:48:03 +00:00
Max Horn
6c854f30da PSP: Whitespace fix (and rewrap overlong line for readability)
svn-id: r50129
2010-06-21 21:37:00 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Yotam Barnoy
65fe8d817c PSP: moved RTC to singleton to allow usage by classes other than Osystem
svn-id: r50116
2010-06-21 15:13:36 +00:00
Yotam Barnoy
b5a25a6e19 PSP: errors from both ScummVM and the PSP port now print to file by default. This should make debugging easier, especially for users.
svn-id: r50113
2010-06-21 13:58:51 +00:00
Yotam Barnoy
57b8e2caaa PSP: removed default 'using ME' message
svn-id: r50112
2010-06-21 13:23:13 +00:00
Yotam Barnoy
3c857be0c5 PSP: switched loader to use PSP's debug mechanism
svn-id: r50111
2010-06-21 11:51:19 +00:00
Yotam Barnoy
e7e8808aff PSP: got rid of SDL
svn-id: r49903
2010-06-16 09:04:27 +00:00
David Turner
4ac81f3d18 Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and derived backends.
svn-id: r49902
2010-06-16 07:22:54 +00:00
John Willis
2e9a7155e6 GP2X: Move port distribution rules into a makefile for use with buildbot.
This removes them from the old scripts in /backends/platform/gp2x/build/ and puts them in the right place.

svn-id: r49892
2010-06-15 20:45:13 +00:00
John Willis
ee419aad9c GP2XWiz: Add port distribution rules into a makefile so they can be used with buildbot.
This removes them from the old scripts in /backends/platform/gp2xwiz/build/ and puts them in the right place as make targets.

svn-id: r49877
2010-06-15 17:49:40 +00:00
Martin Kiewitz
831e626ccd SDL: only change mouse cursor, when mouse is currently within our window, also enable mouse position changing again for SCI
svn-id: r49866
2010-06-15 16:58:03 +00:00
Yotam Barnoy
a21b9c7b96 PSP: fixed up PowerManager and removed dependency on SDL
svn-id: r49852
2010-06-15 13:10:00 +00:00