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
42ab839dd6
AUDIO: Rename sound/ dir to audio/
...
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
9fb1e2b17e
COMMON: Change wrapBufferedWriteStream() to always disposes wrapped stream
...
This is the only we need right now, and it saves a few bytes per
instance. The template approach I used before has the drawback that it
increases the binary size, which negates the benefit. Thanks to LordHoto
for pointing this out.
svn-id: r54344
2010-11-18 20:27:15 +00:00
Max Horn
c02a233084
DS: Add note that ARM_ADPCM is unused (and fix a typo)
...
svn-id: r54335
2010-11-18 17:45:07 +00:00
Max Horn
7444a06c61
DS: cleanup
...
svn-id: r54334
2010-11-18 17:42:28 +00:00
Max Horn
316ba2e6a9
DS: Replace GBAMPSaveFile by DSFileStream + wrapBufferedWriteStream
...
svn-id: r54332
2010-11-18 17:31:12 +00:00
Max Horn
b8f0026739
DS: Port changes from 1.2.0 branch to trunk
...
svn-id: r54325
2010-11-18 17:01:30 +00: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
16d9e0f14a
DS: Fix compilation despite use of 'forbidden' symbols
...
svn-id: r54317
2010-11-18 13:13:48 +00:00
Max Horn
668adaa461
GUI: Rename gui/GuiManager.* to gui/gui-manager.*
...
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
427dc1ae93
GUI: Move major widgets to new directory gui/widgets
...
Also renamed the source/header files, now they are more closely
aligned to how we rename most other source files
svn-id: r54264
2010-11-16 10:11:57 +00:00
Yotam Barnoy
13b904d282
Merge from gsoc2010-plugins
...
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.
svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
94c8d0a14d
Updated with latest from trunk
...
svn-id: r53976
2010-10-31 11:08:43 +00:00
Jordi Vilalta Prat
8388e0dfea
JANITORAL: Clean trailing whitespaces.
...
svn-id: r53160
2010-10-12 02:18:11 +00:00
Andre Heider
86f4dbd956
PLUGINS: Move all ELF loader related files to its own directory.
...
svn-id: r52555
2010-09-05 12:51:25 +00:00
Andre Heider
4ac6c6a1dd
DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set.
...
svn-id: r52545
2010-09-05 12:36:46 +00:00
Andre Heider
9c495a23b2
DS: Merge r52533 from trunk.
...
svn-id: r52534
2010-09-04 22:26:12 +00:00
Andre Heider
7248efb178
DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.
...
svn-id: r52533
2010-09-04 22:19:20 +00:00
Tony Puccinelli
2f3ab6bdab
manually merged trunk/backends into branch and removed some now redundant elf32.h files
...
svn-id: r51966
2010-08-11 02:44:11 +00:00
Tony Puccinelli
682807f0e9
merged trunk into branch, reverted Cruise Singleton changes
...
svn-id: r51961
2010-08-10 23:21:08 +00:00
Tony Puccinelli
d4a4176123
added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)
...
svn-id: r51777
2010-08-06 06:03:34 +00:00
Max Horn
2f4d2b58de
DS: Allow disabling assert via NDEBUG; cleanup
...
svn-id: r51640
2010-08-02 17:12:52 +00:00
Max Horn
450b82355d
DS: Fix custom DS build system
...
svn-id: r51555
2010-07-31 22:42:42 +00:00
Max Horn
8de57b0b29
DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILD
...
svn-id: r51473
2010-07-29 16:24:08 +00:00
Tony Puccinelli
ff78cf6771
abstracted an ELF plugin provider
...
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli
e8fc5f2070
various manual tweaks to get ds port compiling from branch again after earlier merge from trunk
...
svn-id: r51398
2010-07-28 00:08:32 +00:00
Tony Puccinelli
58f3e81f00
Continued abstraction of generic ELF-loader, splitting off MIPS-processor specific things into their own files and testing on the PS2
...
svn-id: r51345
2010-07-27 06:27:45 +00:00
Tony Puccinelli
95f66e6fb2
changed ds makefile to use abstracted ELF-loader with ds-specific additions added to backends/plugins/ds
...
svn-id: r51236
2010-07-24 07:14:19 +00:00
Tony Puccinelli
155f45cec1
Added linker flags to ensure R_ARM_TARGET1 is treated as R_ARM_ABS32
...
svn-id: r51188
2010-07-23 01:05:26 +00:00
Tony Puccinelli
8d946ab847
Added code for relocation R_ARM_TARGET1 (untested)
...
svn-id: r51130
2010-07-22 01:44:45 +00:00
Tony Puccinelli
da414e62b8
switched out linker script for plugin linking on ds, added in check for RELA type relocations in ARM loader and coded for REL type relocations (DS now runs many games with Dynamic Plugins enabled)
...
svn-id: r51083
2010-07-21 08:50:30 +00:00
Tony Puccinelli
3d3e4e6c39
coded for more relocations, added check for RELA type relocations, added comments
...
svn-id: r51048
2010-07-20 04:04:13 +00:00
Tony Puccinelli
d5f442dc6b
put in initial relocations for R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_V4BX
...
svn-id: r50942
2010-07-16 20:44:11 +00:00
Tony Puccinelli
03b188468b
various dsloader fixes, including initializing _symtab_sect to -1 in the header
...
svn-id: r50869
2010-07-14 03:57:36 +00:00
Tony Puccinelli
264cb839da
changed Elf32_Rela to Elf32_Rel
...
svn-id: r50868
2010-07-14 03:55:11 +00:00
Tony Puccinelli
6e5b0def20
formatting fix for dsloader.h
...
svn-id: r50852
2010-07-13 20:20:29 +00:00
Tony Puccinelli
4d92cefb2f
Changed loader to use Common::SeekableReadStream (compiles but doesn't run and needs polishing)
...
svn-id: r50843
2010-07-13 06:48:43 +00:00
Tony Puccinelli
9d06726b69
Started changing loader to use Common::SeekableReadStream
...
svn-id: r50839
2010-07-13 03:24:06 +00:00
Tony Puccinelli
7335e2fc67
fixed dependencies/paths/etc. in arm9/makefile to get engine plugins building; changed makefile to not clean before building further engines when building all engines; fixed syntax of plugin.ld
...
svn-id: r50751
2010-07-08 21:40:26 +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
Tony Puccinelli
07faa734ce
various fixes for ds dynamic plugins
...
svn-id: r50732
2010-07-07 01:55:11 +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