Commit Graph
5295 Commits
Author SHA1 Message Date
Alejandro Marzini f97809a9a6 OPENGL: Improve aspect ratio correction mode selection.
svn-id: r51752
2010-08-05 06:20:44 +00:00
Tony Puccinelli cade67be4f added plugin design first refinement define to ps2 makefile
svn-id: r51749
2010-08-05 02:21:11 +00:00
Alejandro Marzini 7968374e27 OPENGL: Fix compiling for GLES.
svn-id: r51721
2010-08-04 04:23:00 +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 9f5bcadaea Simplify code a bit, add several FIXMEs
svn-id: r51688
2010-08-03 12:45:12 +00:00
Yotam Barnoy 3b4b00cf50 PSP: Factored out thread creation routines into PspThreadable class.
This should aid in further optimizations.

svn-id: r51685
2010-08-03 12:29:08 +00:00
Tony Puccinelli 9be8f0a544 got rid of dlerr[MAXDLERRLEN]
svn-id: r51678
2010-08-03 07:52:10 +00:00
Tony Puccinelli 934c0b922c got rid of dlopen, dlclose, etc. wrappers
svn-id: r51677
2010-08-03 06:25:03 +00:00
Alejandro Marzini 498c17655d OPENGL: Refresh OpenGL textures on all loadGFX() calls.
OpenGL context may be destroyed after calling SDL_SetVideoMode, so it is better to always recreate the textures.

svn-id: r51675
2010-08-03 02:30:36 +00:00
Alejandro Marzini 5439b173b3 OPENGL: Prioritize desktop resolution as default fullscreen mode.
svn-id: r51674
2010-08-03 02:10:55 +00:00
Fabio Battaglia bde60490ad N64: mention hkz-libn64 download location in port readme
svn-id: r51656
2010-08-02 20:28:14 +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
Alejandro Marzini d542648a89 OPENGL: Add missing header.
svn-id: r51605
2010-08-02 03:38:35 +00:00
Alejandro Marzini 905ec1104e OPENGL: Save last fullscreen mode size to config file.
svn-id: r51604
2010-08-02 03:17:12 +00:00
Alejandro Marzini 4d8f8195b8 OPENGL: Improve fullscreen mode selection. Add warpMouse adjusting.
svn-id: r51603
2010-08-02 03:03:28 +00:00
Alejandro Marzini 41204282ec OPENGL: By default only enable None, Conserve and 4/3 aspect ratio corrections.
svn-id: r51599
2010-08-01 22:53:18 +00:00
Alejandro Marzini b816849c78 Fix warnings.
svn-id: r51592
2010-08-01 20:49:13 +00:00
Lars Persson ce271697ea SYMBIAN 2nd installment of getting symbian to build with gsoc2010 SDL
svn-id: r51588
2010-08-01 19:51:23 +00:00
Lars Persson 2e55bcf383 SYMBIAN platform. Correct building of SDL refacturing for Symbian.
svn-id: r51587
2010-08-01 19:40:46 +00:00
Fabio Battaglia 2e94391d98 CONFIGURE: add support for N64 port to configure
svn-id: r51581
2010-08-01 17:16:39 +00:00
Yotam Barnoy 0db8427f46 iPhone: changed GL_NEAREST to GL_LINEAR in miniaturization filter as per forum post 29/7/10
svn-id: r51567
2010-08-01 07:15:43 +00:00
Alejandro Marzini 7f8e7fc29d OPENGL: Remove use of floats for aspect ratio correction. Improved fullscreen toggling default mode selection.
Floats can lead to calculation errors because, now uints are used and aspect ratio values are handled with a x 10000 scale.
When entering fullscreen, it will be looked for the fullscreen mode with the smallest metric that mantains the game screen aspect ratio.

svn-id: r51563
2010-08-01 02:26:20 +00:00
Alejandro Marzini dd7bcc051f OPENGL: Switch to native resolution fullscreen as default.
svn-id: r51560
2010-07-31 23:50:54 +00:00
Alejandro Marzini 7dbe257da8 OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for GLES). General cleanup and commenting.
svn-id: r51559
2010-07-31 22:54:10 +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
Alejandro Marzini c93adcbd29 OPENGL: For GLES, add glOrthox and do not use GL_BGR.
svn-id: r51552
2010-07-31 20:58:14 +00:00
Alejandro Marzini 6d6756b46a Add OpenGL dependencies to MinGW configure.
svn-id: r51551
2010-07-31 19:57:54 +00:00
Alejandro Marzini fc94a3246a OPENGL: Fix texture updating.
svn-id: r51549
2010-07-31 19:20:33 +00:00
Yotam Barnoy 1532685d82 PSP: optimized memcpy some more and fixed memcpy testing
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for.

svn-id: r51503
2010-07-30 09:32:54 +00:00
Alejandro Marzini fb4086cadb Merged from trunk, from Rev 50841 to HEAD
svn-id: r51495
2010-07-30 05:28:09 +00:00
Alejandro Marzini 7b070bbef8 SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.
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-30 03:31:05 +00:00
Alejandro Marzini 9daa1c7f93 OSYSTEM: Add resetGraphicsScale() method.
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager.

svn-id: r51492
2010-07-30 03:06:57 +00:00
Alejandro Marzini 37f7748a4a OPENGL: Fix crash on Broken Sword 2 when refreshing screen.
I must admit that I do not know why it does crash, but it seems that updating row by row is safer and does not makes problems.

svn-id: r51491
2010-07-30 02:58:35 +00:00
Alejandro Marzini ffb5868ac5 SDL: Add SDL backend subfolders paths to makefile MODULE_DIRS.
This should fix subfolders sources not recompiling after a header change.

svn-id: r51489
2010-07-30 00:48:10 +00:00
Marcus Comstedt 630127bc07 DC: Let scummvm.ini override autodetect of games
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-29 20:37:56 +00:00
Marcus Comstedt 3e8a972602 DC: Specialize createConfig{Read,Write}Stream
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-29 19:11:49 +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 2692e55208 BUILD: Fix MODULE_DIRS for WinCE port
svn-id: r51466
2010-07-29 13:02:30 +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 145d8899df added some comments to shorts-segment-manager, moved main engine linker script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled
svn-id: r51447
2010-07-28 23:17:39 +00:00
Tony Puccinelli 9d236ac4d0 added check for MIPS machine type in the 'readElfHeader' method
svn-id: r51403
2010-07-28 05:18:46 +00:00
Tony Puccinelli ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli 749d47ba26 fixed incorrect header file include
svn-id: r51399
2010-07-28 01:03:17 +00:00