Alejandro Marzini
03d66c4012
Fixed rect size when drawing npot textures. Added OpenGL attr for SDL.
...
svn-id: r50979
2010-07-18 05:32:44 +00:00
Alejandro Marzini
492569a7a2
Improved cursor drawing.
...
svn-id: r50976
2010-07-18 03:25:58 +00:00
Max Horn
0b48a71c99
Remove PalmOS port
...
svn-id: r50964
2010-07-17 18:41:38 +00:00
Alejandro Marzini
0e748c5a97
Added basic cursor drawing.
...
svn-id: r50954
2010-07-16 23:50:46 +00:00
Joost Peters
3995b2d8f7
change post-increment to pre-increment in return value of nextHighest2(), as some compilers will not return the incremented value otherwise
...
svn-id: r50946
2010-07-16 22:20:21 +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
Alejandro Marzini
cfe85d6b9f
Added basic screen drawing (only overlay working).
...
svn-id: r50930
2010-07-16 04:45:47 +00:00
Tony Puccinelli
4da73f4a38
added necessary #includes to loader
...
svn-id: r50910
2010-07-15 05:25:19 +00:00
Tony Puccinelli
e6c9dc4d6c
Fixed function prototype typos
...
svn-id: r50909
2010-07-15 05:07:59 +00:00
Alejandro Marzini
fc8b60abda
Fixed header for OS X, and added OpenGL feature to configure script. (Patch by clone2727)
...
svn-id: r50908
2010-07-15 05:04:44 +00:00
Alejandro Marzini
25f1980dad
Optimized nextHigher2.
...
svn-id: r50907
2010-07-15 04:20:21 +00:00
Alejandro Marzini
36583ff888
Fixed problem with OpenGL headers and windows.
...
svn-id: r50906
2010-07-15 04:05:20 +00:00
Alejandro Marzini
9ef2fc4744
Fixed doing OpenGL calls before a graphical context was created.
...
svn-id: r50905
2010-07-15 04:01:41 +00:00
Alejandro Marzini
d677ba5a11
Replaced nextHigher2, so CHAR_BIT define is not needed.
...
svn-id: r50904
2010-07-15 02:49:59 +00:00
Tony Puccinelli
625230a8a9
restructured ps2loader to use Common::SeekableReadStream instead of a file descriptor
...
svn-id: r50903
2010-07-15 02:45:49 +00:00
Matthew Hoops
69bf70d693
Silence gcc warnings.
...
svn-id: r50902
2010-07-15 01:48:28 +00:00
Alejandro Marzini
f53028d4a2
Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager.
...
svn-id: r50900
2010-07-15 01:21:20 +00:00
Torbjörn Andersson
bc0c306110
If the ALSA driver hasn't been opened, closing it should do nothing. This keeps
...
ScummVM from crashing if, for instance, someone accidentally closes the driver
twice.
svn-id: r50870
2010-07-14 04:33:35 +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
Yotam Barnoy
762c569207
PSP: Typos in trace.h
...
svn-id: r50844
2010-07-13 08:00:22 +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
Alejandro Marzini
84ceae9328
Check if USE_OPENGL is defined for compiling OpenGL code.
...
svn-id: r50842
2010-07-13 05:38:10 +00:00
Alejandro Marzini
609e08d5db
Merged from trunk, from Rev 49499 to HEAD
...
svn-id: r50840
2010-07-13 04:31:15 +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
eced5b3c82
removed --gc-sections linker flags so functions/data needed after run-time linking of plugins won't be mistakenly garbage-collected during building
...
svn-id: r50838
2010-07-13 03:22:42 +00:00
Max Horn
dcd520ce31
Get rid of yet another global object with constructor
...
svn-id: r50835
2010-07-12 23:19:56 +00:00
Max Horn
e2c1ee853a
SDL: Tweak OSystem_SDL::detectSupportedFormats a bit
...
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-12 23:19:08 +00:00
Max Horn
8e9d933658
SDL: Overhaul OSystem_SDL::getSupportedFormats
...
* 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-12 23:18:44 +00:00
Alejandro Marzini
8b6a670391
OpenGL manager: Implemented PixelFormat functions. Implemented GFX methods. Changed how GLTexture determines its format.
...
svn-id: r50811
2010-07-12 06:00:19 +00:00
Matthew Hoops
a1161feed2
Fix compile on Mac OS X.
...
svn-id: r50801
2010-07-11 16:11:28 +00:00
Alejandro Marzini
4dca7c7e02
Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public 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-11 04:32:24 +00:00
Alejandro Marzini
85034dc730
Added BaseSdlGraphicsManager. Added GLTexture.
...
svn-id: r50795
2010-07-10 22:47:29 +00:00
Alejandro Marzini
386785e2b8
Added OpenGLSDLGraphicsManager.
...
svn-id: r50768
2010-07-09 19:45:56 +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
4237f9a416
DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make clean'
...
svn-id: r50745
2010-07-07 23:24:29 +00:00
Max Horn
f6afba1f19
DS: Split buildrule for scummvm.nds and scummvm.ds.gba
...
This parallels what I did in ds.mk
svn-id: r50744
2010-07-07 23:24:08 +00:00
Max Horn
6aa53ba3b8
DS: Remove cruft from Makefiles
...
svn-id: r50743
2010-07-07 23:23:44 +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
Max Horn
61a200dcdd
DS: Remove redundant lines from arm9/makefile
...
svn-id: r50736
2010-07-07 16:51:36 +00:00
Tony Puccinelli
6c8cae3c55
fixed some errors in makefile for plugin linking
...
svn-id: r50733
2010-07-07 05:15:11 +00:00
Tony Puccinelli
07faa734ce
various fixes for ds dynamic plugins
...
svn-id: r50732
2010-07-07 01:55:11 +00:00
Alejandro Marzini
8b6d49ce42
Implemented CHECK_GL_ERROR macro for debugging OpenGL calls.
...
svn-id: r50731
2010-07-07 01:05:32 +00:00
Max Horn
fe409ea269
DS: cleanup arm9/makefile
...
svn-id: r50729
2010-07-06 22:29:45 +00:00
Max Horn
9b927b414a
DS: Implemented (ugly, but working) support for optimization level overrides
...
svn-id: r50728
2010-07-06 22:14:06 +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