aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
AgeCommit message (Collapse)Author
2010-08-01SYMBIAN 2nd installment of getting symbian to build with gsoc2010 SDL Lars Persson
svn-id: r51588
2010-08-01SYMBIAN platform. Correct building of SDL refacturing for Symbian.Lars Persson
svn-id: r51587
2010-07-31OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵Alejandro Marzini
GLES). General cleanup and commenting. svn-id: r51559
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-30SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.Alejandro Marzini
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493
2010-07-30SDL: Add SDL backend subfolders paths to makefile MODULE_DIRS.Alejandro Marzini
This should fix subfolders sources not recompiling after a header change. svn-id: r51489
2010-07-29DC: Let scummvm.ini override autodetect of gamesMarcus Comstedt
If a game CD has a scummvm.ini file with at least one game domain in it, the normal autodetection is now bypassed and a menu of only the games in the .ini file is presented instead. The descriptions of the games are taken from the .ini file, but icons are still scanned for in the old fashion. Note that previously ScummVM would read global options from the scummvm.ini file on the boot disc (if present), but now global options are instead taken from the scummvm.ini on the game disc (in case of a disc swap). svn-id: r51480
2010-07-29DC: Specialize createConfig{Read,Write}Stream Marcus Comstedt
Implement platform-specific variants of createConfigReadStream() and createConfigWriteStream(), instead of inheriting the BaseBackend definitions. Nonstandard behavious is as follows: * createConfigWriteStream() always returns 0 (read-only filesystem) * createConfigReadStream() returns an empty MemoryReadStream instead of NULL if scummvm.ini does not exist. This is to make sure that loadDefaultConfigFile() always clears out any old config data, as I'll want to restart config parsing from scratch after a disc swap. svn-id: r51478
2010-07-29DS: Add WRAP_MALLOC support to ds.mk, update commentsMax Horn
svn-id: r51474
2010-07-29DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILDMax Horn
svn-id: r51473
2010-07-29BUILD: Unify how MODULE_DIRS is computed for backendsMax Horn
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-29BUILD: Fix MODULE_DIRS for WinCE portMax Horn
svn-id: r51466
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465
2010-07-27Remove Android themeengine patch - an improved version is now part ofAngus Lees
the main ScummVM codebase thanks to fingolfin :) svn-id: r51362
2010-07-23SDL: Fix bug #3025258Eugene Sandulenko
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based on patch provided by eriktorbjorn but extended with another edge case. svn-id: r51212
2010-07-23GP2XWIZ: Fix warningWillem Jan Palenstijn
svn-id: r51203
2010-07-19SDL: Hack to handle special SDL events.Alejandro Marzini
svn-id: r51015
2010-07-18trying to fix psp build for case sensitive filesystems.Andre Heider
svn-id: r50989
2010-07-18PSP: switched to using my memcpyYotam Barnoy
svn-id: r50982
2010-07-18PSP: forgot test filesYotam Barnoy
svn-id: r50981
2010-07-18Made memcpy faster but not as fast with uncached mem.Yotam Barnoy
svn-id: r50980
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-16Added basic cursor drawing.Alejandro Marzini
svn-id: r50954
2010-07-15Fixed doing OpenGL calls before a graphical context was created.Alejandro Marzini
svn-id: r50905
2010-07-13PSP: Typos in trace.hYotam Barnoy
svn-id: r50844
2010-07-13Check if USE_OPENGL is defined for compiling OpenGL code.Alejandro Marzini
svn-id: r50842
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833
2010-07-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832
2010-07-11Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵Alejandro Marzini
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-07DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make ↵Max Horn
clean' svn-id: r50745
2010-07-07DS: Split buildrule for scummvm.nds and scummvm.ds.gbaMax Horn
This parallels what I did in ds.mk svn-id: r50744
2010-07-07DS: Remove cruft from MakefilesMax Horn
svn-id: r50743
2010-07-07DS: Code formattingMax Horn
svn-id: r50742
2010-07-07DS: Fix some quirks in the NDS build system, remove some dead codeMax Horn
* 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-07DS: Remove redundant lines from arm9/makefileMax Horn
svn-id: r50736
2010-07-06DS: cleanup arm9/makefileMax Horn
svn-id: r50729
2010-07-06DS: Implemented (ugly, but working) support for optimization level overridesMax Horn
svn-id: r50728
2010-07-06DS: Add isScrollingWithDPad() to make code more readableMax Horn
svn-id: r50727
2010-07-05DS: Fix warning about anonymous structMax Horn
svn-id: r50709
2010-07-05DS: More formating, made more vars staticMax Horn
svn-id: r50708
2010-07-05DS: Only include NDS/scummvm_ipc.h where necessary; minor tweaksMax Horn
svn-id: r50702
2010-07-05DS: Fix warnings, make some vars static, cleanupMax Horn
svn-id: r50701
2010-07-05DS: Fix MODULE_DIRS value (now dependency tracking works correctly)Max Horn
svn-id: r50694
2010-07-05DS: Fix various warnings and errors in the DS FS codeMax Horn
* 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-05DS: Remove unused portdefs.cppMax Horn
svn-id: r50691
2010-07-05DS: Cleanup NDS portdefs.h a bitMax Horn
* 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-05NDS: Update GPL/copyright headers; add namespace DS closing commentsMax Horn
svn-id: r50689