Glenn Maynard
9607765e1e
centralize pulling in opengl
...
make gl data available externally (but separately from RageDisplay)
clean up extension stuff
2002-12-30 00:48:31 +00:00
Glenn Maynard
4658ebff6b
this is a per-texture setting; don't set it here (confusing)
2002-12-28 21:39:14 +00:00
Glenn Maynard
9aa85c2293
fix fullscreen getting "stuck"
2002-12-28 21:37:18 +00:00
Glenn Maynard
49f05c9ab8
s/throw RageException/RageException::Throw/
2002-12-21 19:34:02 +00:00
Glenn Maynard
6ffd189d53
add stat clearing
2002-12-21 07:54:24 +00:00
Glenn Maynard
03886901da
fix course display
2002-12-17 05:05:41 +00:00
Glenn Maynard
c41b0bf85a
Remove the line loop width hack. It sometimes makes things worse ...
2002-12-07 06:20:47 +00:00
Chris Danford
4a588230e1
DirectInput replaced with SDL's input routines. Keyboard works, but joystick and pump are untested.
2002-11-29 20:37:12 +00:00
Glenn Maynard
da226d2f57
fix flushing on systems without the texture combining extension
2002-11-21 09:19:36 +00:00
Glenn Maynard
52ce8414b3
Set up smoothing hints at setup time.
...
Fix radar tween-out.
2002-11-18 20:55:23 +00:00
Glenn Maynard
ee20acddb7
fix changing bpp
2002-11-16 21:21:43 +00:00
Glenn Maynard
feca14fb91
fix error message
...
go to more lengths to get our own glext.h
2002-11-16 07:40:32 +00:00
Glenn Maynard
265b3926d6
remove unused functions
2002-11-15 08:26:23 +00:00
Glenn Maynard
344c513a62
use the projection matrix stack
2002-11-15 08:22:53 +00:00
Glenn Maynard
df22699cec
Set up the ortho projection directly, and only once.
2002-11-15 08:13:51 +00:00
Glenn Maynard
79da35a795
Add perspective stuff.
2002-11-15 08:01:34 +00:00
Glenn Maynard
f7f1d2cd9f
Move OpenGL specs into a struct, so they're easy to scan.
...
Log the line/point size specs.
Move viewport setting into a function, and allow shifting the screen around.
Tweak the line loop points.
2002-11-15 02:47:08 +00:00
Glenn Maynard
6b12eddc7f
Fix up line loops.
2002-11-14 09:03:19 +00:00
Glenn Maynard
88264c3a56
Make SetProjectionTransform set the projection transform.
...
Remove unused variable.
Add a function to draw an antialiased line loop with rounded corners.
2002-11-14 08:38:41 +00:00
Chris Danford
9d68ff5d7b
Added clamp in RageColor->RageVColor conversion to fix some artifacts
...
Fixed "autogen doesn't generate patterns for all difficulties for some songs"
Fixed incorrect "show" value in "show!hold" being written in DWIs
Fixed "song ends early after adding an edit then playing"
2002-11-13 05:17:15 +00:00
Glenn Maynard
ea28757815
Use plib for some matrix ops, implement some others without
...
d3dx. (Rest coming soon ...)
2002-11-13 03:54:20 +00:00
Glenn Maynard
a64cfed1cf
Put my refresh rate code back in. (mutter)
2002-11-13 02:37:15 +00:00
Chris Gilbert
3bd65dbe56
refresh rate changes fixed
2002-11-13 01:30:01 +00:00
Glenn Maynard
086bf5bf89
move extension tests to after opengl init
2002-11-12 20:39:08 +00:00
Glenn Maynard
78fb452cd3
implement vsync
2002-11-12 19:29:45 +00:00
Glenn Maynard
5b33869ed8
uncomment mode switch code
2002-11-12 09:56:57 +00:00
Glenn Maynard
03c2431d01
Move OpenGL init to a function
...
handle refresh rates
use the SDL change vid mode extension
remove refresh rate stuff
use 16-bit zbuffer, never 32 (we'd probably be fine with 8, even)
2002-11-12 09:29:46 +00:00
Glenn Maynard
df7aec2eb0
enable fullscreen
2002-11-12 02:43:36 +00:00
Glenn Maynard
ee223ec178
fix version
2002-11-12 01:28:39 +00:00
Glenn Maynard
dac8bd4f2d
add ZBufferEnabled() query
2002-11-12 01:25:03 +00:00
Chris Danford
b4a16fc246
Fixed little compile error in RageDisplay and fixed error in README
2002-11-12 00:59:19 +00:00
Glenn Maynard
5673bec6f2
Add SetBlendMode;
...
add glexts.h;
log version and available extensions;
implement real glow with GL_EXT_texture_env_combine.
2002-11-12 00:51:27 +00:00
Glenn Maynard
3f4b11f495
store and log opengl version
2002-11-11 21:05:02 +00:00
Glenn Maynard
b037524db0
finish draw stats
2002-11-11 20:43:30 +00:00
Glenn Maynard
bdf364a5aa
Fix flushing when setting modulate and when changing textures;
...
implement stats.
2002-11-11 09:56:07 +00:00
Chris Danford
628dea9da7
OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken.
2002-11-11 04:53:31 +00:00
Glenn Maynard
bccaf3560b
s/Add/push_back/
2002-10-31 04:23:39 +00:00
Glenn Maynard
a041b7cd3e
s/RemoteAt/erase/
2002-10-31 04:11:08 +00:00
Glenn Maynard
7e9905995d
some more s/GetSize/size/ and other minor STLisms
2002-10-31 03:16:02 +00:00
Chris Danford
73f7db6b15
Replaced most D3DX dependencies. Added Brendan's not-yet-functional networking code.
2002-10-28 05:30:45 +00:00
Glenn Maynard
7e08ea8408
get rid of some SetSize calls
2002-10-24 20:16:46 +00:00
Glenn Maynard
dc06849fa0
Use clamp instead of border to get rid of some stray lines.
2002-10-20 08:50:49 +00:00
Chris Danford
15fc589cc6
Fixed articts in hold note and life frames.
2002-10-18 19:01:32 +00:00
Glenn Maynard
49f21f16e3
For tracking down Michel's problem: Reenable mode printing, print
...
the hr when CheckDeviceType fails.
2002-10-01 22:11:07 +00:00
Glenn Maynard
36034dd5e1
GAAAH.
...
undo commit caused by annoying windows CVS client.
2002-09-15 03:13:21 +00:00
Glenn Maynard
ba7efdb319
fix DWIPath loading for songs that have a normal layout;
...
some DWI's have relative paths that don't begin with ".\
Song.cpp
2002-09-15 02:58:33 +00:00
Glenn Maynard
ebbc1c274d
Fix signededness issues.
...
Add a sanity check.
2002-09-07 10:06:50 +00:00
Glenn Maynard
0b75b00f55
Implement m_bVsync.
2002-09-03 00:22:00 +00:00
Glenn Maynard
0f7e9874cc
break apart SwitchDisplayMode
2002-08-29 22:30:06 +00:00
Glenn Maynard
53acc507f7
Quiet the CheckDeviceType logs a bit.
2002-08-29 21:52:26 +00:00