Commit Graph
358 Commits
Author SHA1 Message Date
Max Horn 3d4e9fe674 BACKENDS: Allow various files to use stuff from time.h 2011-05-03 11:27:44 +02:00
Johannes Schickel 71bdb86e02 Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16

Conflicts:
	graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion e52d54b55e NDS: Fix compilation 2011-04-28 22:19:35 +03:00
Johannes Schickel da734a4af0 ALL/GRAPHICS: Remove Surface::bytesPerPixel. 2011-04-17 21:27:34 +02:00
Johannes Schickel 877004dbdd BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
2011-04-17 21:14:19 +02:00
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
dhewg 2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01: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 50d2f7a6be DS: moved build-ds.sh to DS directory. It's currently unused but has a good way of reducing dynamic size
svn-id: r54059
2010-11-04 06:22:24 +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 41834499ed PLUGINS: Cleanup.
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER

svn-id: r52728
2010-09-15 07:43:16 +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 2cd99b449f refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIME
svn-id: r52058
2010-08-13 05:58:11 +00:00
Tony Puccinelli 139a96182d modified DS makefile to use new plugin design where only one plugin is loaded at a time and tested successfully on the DS. Added code to prevent a crash in the case where there are no engine plugins present. Removed code for R_ARM_TARGET1 in arm-loader, as it is no longer used and was never used successfully
svn-id: r52052
2010-08-12 23:55:12 +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 0712d41870 modified psp to use mips-loader.cpp (and added things to backends/module.mk)
svn-id: r51826
2010-08-07 05:01:43 +00:00
Tony Puccinelli 026c9ba656 got rid of unneccessary 'extern C' section in elf-loader header and refactored arm-relocs.cpp to arm-loader.cpp
svn-id: r51793
2010-08-06 17:33:44 +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
Tony Puccinelli 520c0a4009 added checks for ELF_LOADER_TARGET before including the elf plugin provider
svn-id: r51716
2010-08-03 22:08:32 +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 8d1890d931 DS: Disable debug mode in setup-builddirs.sh
svn-id: r51638
2010-08-02 17:12:20 +00:00
Max Horn 8a3a41bc2b DS: More closely immitate CXXFLAGS of custom DS build system
svn-id: r51637
2010-08-02 17:12:03 +00:00
Max Horn 2682721aac DS: Reorder & complete list of OPT_SPEED files; some tweaks
Add -mno-thumb to OPT_SPEED to override the -mthumb from OPT_SIZE.

svn-id: r51636
2010-08-02 17:11:43 +00:00
Max Horn 57ad040846 DS: Remove now redundant ds-fs.o from PORT_OBJS
svn-id: r51558
2010-07-31 22:48:49 +00:00
Max Horn 4b9df2203f DS: Add shell script which emulates old DS builds using configure&make
svn-id: r51556
2010-07-31 22:43:09 +00:00
Max Horn 450b82355d DS: Fix custom DS build system
svn-id: r51555
2010-07-31 22:42:42 +00:00
Max Horn 148c830d76 DS: Add WRAP_MALLOC support to ds.mk, update comments
svn-id: r51474
2010-07-29 16:24:25 +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
Max Horn d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Max Horn 264d17ccc7 BUILD: Compile & link certain files only for specific BACKEND values
svn-id: r51465
2010-07-29 13:02:14 +00:00
Tony Puccinelli ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00