Glenn Maynard
8ebdc06ea8
If a format isn't supported, don't "fake it" with an unrelated format; that
...
just "lies" to the user code, probably resulting in extra format conversions.
Just don't claim support for it, and a different, more appropriate format will
be used. (This didn't actually matter, since RageDisplay_D3D::SupportsTextureFormat
returns false for everything but FMT_RGBA8.)
2004-09-05 02:02:10 +00:00
Glenn Maynard
bb90bca544
remove unused ckey parameter to RageSurfaceUtils::Blit
2004-08-31 01:15:12 +00:00
Glenn Maynard
39988e2d93
cleanup
2004-08-19 00:36:11 +00:00
Glenn Maynard
40cecbcf50
word -> uint16_t (a "word" is architecture-specific)
2004-08-19 00:35:35 +00:00
Chris Danford
1d376f5795
add support for texture coordinate animation in AnimatedTexture
2004-08-09 00:46:42 +00:00
Chris Danford
6bd2a34271
Xbox builds again
2004-06-20 01:35:25 +00:00
Thad Ward
d7eb216b71
use #else when there is no condition, not #elif or #else if
2004-06-15 06:45:11 +00:00
Chris Danford
5123451925
fix VC7 compile error
2004-06-15 06:34:30 +00:00
Chris Danford
b2cf196d74
fixing Xbox compile errors
2004-06-15 06:24:58 +00:00
Glenn Maynard
34b3862833
log SDL version
2004-06-14 05:19:42 +00:00
Glenn Maynard
aa7ad967ae
HandleSDLEvents is too small to be worth splitting
...
all code that handles SDL events is also responsible for enabling and
disabling those events
2004-06-14 03:53:41 +00:00
Glenn Maynard
03e11c81a1
call SDL_UpdateHWnd
2004-06-14 03:34:38 +00:00
Glenn Maynard
56af82b1c9
HandleSDLEvents
2004-06-14 03:12:32 +00:00
Glenn Maynard
b481fc465b
excessively large commit: use RageSurface
2004-06-14 00:51:00 +00:00
Glenn Maynard
e0ceb30f93
remove virtual IsSoftwareRenderer()
2004-05-23 22:38:44 +00:00
Glenn Maynard
70a90469e9
remove SDL_SRCCOLORKEY
2004-05-17 01:49:09 +00:00
Chris Danford
e83bbc40da
fix ActorFrame ZTest propogation
2004-05-15 18:35:03 +00:00
Chris Danford
9ec4c6be91
add "draw on z fail" mode
2004-05-15 09:26:21 +00:00
Glenn Maynard
3119833bae
types
2004-05-11 21:08:13 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Glenn Maynard
c046875db1
fix warnings
2004-04-26 05:26:52 +00:00
Chris Danford
3963ee8501
use same zbias in D3D as OpenGL
2004-04-25 18:52:27 +00:00
Chris Danford
11c7a06e23
fix multitexture in d3d
2004-04-25 12:14:21 +00:00
Chris Danford
cd7a87cfdd
fix VC7 warning
2004-04-22 04:36:04 +00:00
Chris Danford
7de8269a67
pack all geometry for a Model into one set of vertex buffers
2004-04-16 05:09:02 +00:00
Chris Danford
3dc41e5d94
move rendundant renderer code to be shared by all
2004-04-15 05:24:28 +00:00
Glenn Maynard
8c8e449922
add DrawQuadStrip
2004-04-13 07:28:25 +00:00
Chris Danford
3597e45bbc
add hardware vertex buffers for OpenGL renderer
2004-04-12 03:07:44 +00:00
Glenn Maynard
e540237288
fix crashes due to there being two RageModelVertexArraySW classes
2004-04-09 04:28:37 +00:00
Chris Danford
ef998e5e84
move vertex buffers into a separate object in perparation for HW vertex buffers
2004-04-08 08:35:38 +00:00
Glenn Maynard
f7a9946cac
fix d3d screenshot crashes
2004-02-25 04:48:46 +00:00
Chris Danford
871a1a9c63
add JPEG screenshots
2004-02-12 06:49:13 +00:00
Chris Danford
3ca8601390
add front face culling
2004-02-04 11:05:33 +00:00
Chris Danford
9502f1c262
draw models with 2 textures with multitexture instead of 2 passes. D3D multitexture not tested yet
2004-02-04 09:55:18 +00:00
Manu Evans
c87e9ada30
fixed some warnings
2004-01-31 02:17:47 +00:00
Manu Evans
173d4c2c84
Still tryig to get xbox building..
...
DeleteObject needed replacing with CloseHandle for xbox (and maybe PC too?)
RageDisplay_D3D was creating dynamic links to the wrong .lib's ..
they are only in the windows build now ..
libs are included in the project file for xbox ..
2004-01-31 01:57:33 +00:00
Chris Danford
b3ff1ef883
re-add mipmapping, support it in OpenGL (D3D unimplemented)
2004-01-23 06:20:28 +00:00
Chris Danford
034fcb6bad
clean up parameter types
2004-01-06 21:25:46 +00:00
Chris Danford
882406afe8
add spherical environment mapping
2004-01-06 19:54:13 +00:00
Glenn Maynard
c1522bff10
s/ ;/;/g
2003-12-30 07:24:03 +00:00
Glenn Maynard
f276aaa08c
missing headers
2003-12-21 02:06:40 +00:00
Glenn Maynard
1a23e5dea9
fix d3d screenshots
2003-12-13 05:21:46 +00:00
Glenn Maynard
cac44ec303
don't use GL_UNSIGNED_SHORT_1_5_5_5_REV for movie textures
...
if it'll require an additional conversion
2003-11-29 17:56:09 +00:00
Glenn Maynard
e21f149d3b
separate Z-write and Z-test flags
2003-11-18 20:33:18 +00:00
Glenn Maynard
0d1966c2f6
Bias depth values when drawing in BLEND_NO_EFFECT.
2003-11-18 04:03:58 +00:00
Chris Danford
47def7d3dc
xbox updates
2003-11-13 00:39:36 +00:00
Chris Danford
412abd7389
add logging to RageDisplay_D3D::RageDisplay_D3D to try and find point of crash
2003-11-01 06:50:12 +00:00
Chris Danford
aa50c93791
fix BLEND_ADD bug
2003-10-22 01:47:40 +00:00
Chris Danford
70446551a9
add half-finished screen centering code (necessary for arcade and Xbox)
2003-10-11 01:51:36 +00:00
Chris Danford
e63eb9bdfa
don't throw fatal if CreateDevice or Reset fails so that the resolution fallback logic has a chance
2003-10-08 07:12:48 +00:00