Glenn Maynard
4d48fe779c
remove unused members
2002-11-15 23:49:25 +00:00
Glenn Maynard
197addc73f
use texture prefs for bit depth directly
2002-11-15 23:45:48 +00:00
Glenn Maynard
f7d89d3481
remove extra assert.h
2002-11-15 23:34:27 +00:00
Glenn Maynard
8327fcbc4e
Don't do the other stuff when coming out of demonstration prematurely,
...
either.
2002-11-15 23:26:32 +00:00
Angela Stefanski
5b88710c7b
Updated for bug 626184 - no longer will go to evaluation screen after playing 0 length steps in demo.
2002-11-15 23:10:19 +00:00
Glenn Maynard
5cc013520e
The default OpenGL ortho matrix looks down the negative Z axis, not
...
the positive one.
I could have fixed this by reversing them at the glOrtho call, but I figured
it'd be cleaner to just switch these. It also makes it match the 3d projection.
2002-11-15 21:41:38 +00:00
Glenn Maynard
d2ef9a8441
The default OpenGL ortho matrix looks down the negative Z axis, not
...
the positive one.
I could have fixed this by reversing them at the glOrtho call, but I figured
it'd be cleaner to just switch these. It also makes it match the 3d projection.
2002-11-15 21:27:13 +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
3183844e5b
remove d3dx
...
(and there was much rejoicing)
2002-11-15 08:16:24 +00:00
Glenn Maynard
4fa74d7118
remove unused RageMatrixOrthoOffCenterLH
2002-11-15 08:15:15 +00:00
Glenn Maynard
df22699cec
Set up the ortho projection directly, and only once.
2002-11-15 08:13:51 +00:00
Glenn Maynard
9169da5b9d
remove d3dx stuff
2002-11-15 08:07:26 +00:00
Glenn Maynard
46b6e64bbe
Implement space.
2002-11-15 08:02:27 +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
21c2d438a2
Move game loop into a spearate functoin. (Aside from being cleaner--that
...
main function was huge--it makes profiling easier since loading and
gameplay are on separate call trees.)
Implement alt-enter.
Link to glu. (Not committing the code that uses it yet ...)
2002-11-14 23:54:40 +00:00
Glenn Maynard
f84e2edb11
update
2002-11-14 09:17:29 +00:00
Glenn Maynard
c81eb5ea31
remove + 0
2002-11-14 09:15:05 +00:00
Glenn Maynard
a2d83b3d39
remove magic constant
2002-11-14 09:12:42 +00:00
Glenn Maynard
f730e6d981
Mitered edges look bad with sharp angles; make GrooveRadar use
...
rounded edges instead.
This also lets us use lines instead of polys, which have cheap antialiasing
on a lot of hardware, which makes the radar look a lot better.
2002-11-14 09:06:54 +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
Glenn Maynard
f08a747182
trivial
2002-11-14 06:56:31 +00:00
Chris Danford
38a451d0e9
no message
2002-11-14 05:07:23 +00:00
Angela Stefanski
65dba8d282
Added three committed BUG FIXes to news file.
2002-11-14 02:37:33 +00:00
Glenn Maynard
0a1ec64bf6
remove comment
2002-11-14 01:48:48 +00:00
Chris Danford
487b4e9527
Readded texture stretch, texture dither, and 16 bit textures.
2002-11-14 01:26:19 +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
4788da7a4e
Another try at refresh rates.
2002-11-13 04:03:29 +00:00
Chris Gilbert
b67d9446dc
Updated
2002-11-13 04:00:04 +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
Glenn Maynard
3195ca664c
fix up refresh rate stuff
2002-11-13 02:32:20 +00:00
Glenn Maynard
42ddf7e470
Make sure transitions are always [0..1]. (The fact that this wasn't the
...
case became a problem due to lack of color clamping; this seems the
right thing to do anyway.)
2002-11-13 02:19:01 +00:00
Glenn Maynard
08c0dcacce
Add plib; extremely useful library. We only use sg (and ul, which sg uses).
2002-11-13 01:33:14 +00:00
Chris Gilbert
3bd65dbe56
refresh rate changes fixed
2002-11-13 01:30:01 +00:00
Chris Gilbert
1e5f77f3e1
uploading todo list
2002-11-13 01:28:12 +00:00
Glenn Maynard
086bf5bf89
move extension tests to after opengl init
2002-11-12 20:39:08 +00:00
Glenn Maynard
47a8fcb1a2
don't clamp color values; slow and seems unneeded
...
(be nice if we didn't have to convert it, either, but there's no
GL_T2F_C4F_V3F)
2002-11-12 20:38:14 +00:00
Glenn Maynard
78fb452cd3
implement vsync
2002-11-12 19:29:45 +00:00
Chris Danford
12c2a81174
stale lock gone yet?
2002-11-12 11:27:32 +00:00
Chris Danford
19244acaf1
Added missing GraphicOptions help text, re-added F4 fullscreen and F5 detail toggles, fixed texel-pixel alignment in Sprite, BitmapText
2002-11-12 11:11:16 +00:00
Glenn Maynard
5b33869ed8
uncomment mode switch code
2002-11-12 09:56:57 +00:00
Glenn Maynard
64bf5fbb0d
(actually compiled the release version this time ...)
2002-11-12 09:53:17 +00:00
Glenn Maynard
3a43c3f2d7
update
2002-11-12 09:31:53 +00:00
Glenn Maynard
7026fb79d2
set caption
...
handle selective reloading after video mode change and texture prefs
change
2002-11-12 09:31:08 +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
33b0eff159
reimplement refresh rates
...
no MAX; not sure how to do that
2002-11-12 09:24:36 +00:00
Glenn Maynard
f56b5e9b6b
change refreshratemode to refreshrate
2002-11-12 09:23:50 +00:00