Commit Graph

39144 Commits

Author SHA1 Message Date
Filippos Karapetis
0c411d66ce SCI: Simplified op_div and op_mod, removed some variables and removed the pointless OBJ_PROPERTY wrapper
svn-id: r50719
2010-07-06 07:42:25 +00:00
Willem Jan Palenstijn
a3202eab7c Note Common::String's behaviour may be undefined with \0 characters.
Also make operator=(char) and String(char) behave the same.

svn-id: r50712
2010-07-05 21:29:52 +00:00
Johannes Schickel
0c3cbcbfc5 Prevent SCUMM from adding gui options based on user flags into the config file (regression from r50706).
svn-id: r50710
2010-07-05 21:18:25 +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
Martin Kiewitz
cffcc3d936 SCI: fixing signature of kDoSound (fading related) thx to Ceriand
svn-id: r50707
2010-07-05 20:25:33 +00:00
Johannes Schickel
1443a2721c Fix update of GUI options, which only differ in the language setting.
svn-id: r50706
2010-07-05 20:10:56 +00:00
Johannes Schickel
73e51735a4 Formatting fixes.
svn-id: r50705
2010-07-05 20:10:28 +00:00
Johannes Schickel
d4bc0f9f10 Replace a tab by whitespaces in the help string.
svn-id: r50704
2010-07-05 19:45:48 +00:00
Martin Kiewitz
0d317c40a2 SCI: fixing kDrawCel signature for kq6
svn-id: r50703
2010-07-05 19:31:32 +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
Max Horn
00dfb4db29 SAGA: Fix warning on systems where enum's are unsigned
svn-id: r50685
2010-07-05 16:08:43 +00:00
Florian Kagerer
47e59d8cc2 GUI/AUDIO: minor fix for the case that after enabling individual audio options for a target the gui tries to select the audio device from global options, but that particular device is unavailable due to GUIO flags settings
svn-id: r50684
2010-07-05 15:53:17 +00:00
Martin Kiewitz
63c439a858 SCI: fix compilation issues from r50678
svn-id: r50679
2010-07-05 14:46:09 +00:00
Martin Kiewitz
5527882daa SCI: implemented new kernel call signature format
svn-id: r50678
2010-07-05 14:36:31 +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
Max Horn
179a2b4e88 NDS: Rename backend 'nds' to 'ds' in configure
svn-id: r50670
2010-07-05 10:06:38 +00:00
Paul Gilbert
660ffc194d Bugfixes for new player code - Rex is now correctly positioned when the player manager takes over from the wakeup animation sequence
svn-id: r50669
2010-07-05 09:53:10 +00:00
Angus Lees
830c7611dc Revert Android libtremor header to standard path, since we now ship
our own statically linked version rather than relying on the system
shared lib that happens to be on most Android systems.

svn-id: r50666
2010-07-05 01:03:52 +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
Matthew Hoops
18b449d4fd Add a hexDumpReg function to view references that are not raw and fix SCI32 strings/arrays in segmentInfo.
svn-id: r50660
2010-07-04 23:38:08 +00:00
Filippos Karapetis
6219ffe52f SCI: Removed the unused line number parameter from validate_variable() and related functions
svn-id: r50654
2010-07-04 21:31:09 +00:00
Johannes Schickel
2f138f6055 Simplify audio device settings handling by using the device handle as tag instead of newly created id.
svn-id: r50651
2010-07-04 18:24:13 +00:00
Johannes Schickel
9cf1cff5fc Whoops, always increase midiId, not only when it's added to the GM Device popup.
svn-id: r50650
2010-07-04 18:07:34 +00:00
Johannes Schickel
9880017c11 Prevent the MT-32 Emulator from being displayed in the "GM Device" pop up.
svn-id: r50649
2010-07-04 18:03:18 +00:00
Johannes Schickel
da1a8535b4 More cleanup / readability fixes.
svn-id: r50648
2010-07-04 18:00:46 +00:00
Johannes Schickel
8f2c0c2ff0 Cleanup.
svn-id: r50647
2010-07-04 17:40:06 +00:00
Florian Kagerer
6c9e3b01da GUI/AUDIO: This change will make individual game audio settings take over the audio device from the global settings if no device config key is found for that game (This should fix the problem reported by LordHoto on devel. It might make sense to implement this behaviour to other settings, like subtitle mode etc.)
svn-id: r50646
2010-07-04 15:06:42 +00:00
Filippos Karapetis
7d64f3e343 SCI: Added a short description for all opcodes, so that it's easier to understand what they do without cross referencing the wiki, and removed some obsolete and unused code
svn-id: r50645
2010-07-04 14:55:28 +00:00
Paul Gilbert
587ba8a90e Implemented more of the support methods for player display
svn-id: r50644
2010-07-04 12:45:33 +00:00
Torbjörn Andersson
dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Johannes Schickel
db01417447 Fix the size of the ScummVM logo in the launcher in the modern theme.
svn-id: r50642
2010-07-04 01:19:16 +00:00
Johannes Schickel
052d2ab6f1 Prevent GraphicsWidget from being assigned a surface which wouldn't fit in the widget.
svn-id: r50641
2010-07-04 01:18:49 +00:00