Glenn Maynard
24cc7a3c04
Get rid of all other #pragma once's, except the one in StdAfx.h.
...
(three cheers for perl)
2002-11-16 08:07:38 +00:00
Glenn Maynard
0c9e7240c3
oops.
2002-11-16 08:02:51 +00:00
Glenn Maynard
e362ba16ef
some #pragma once's
2002-11-16 07:49:38 +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
c1ad9a4159
(tired of seeing these files show up as modified in wincvs)
2002-11-16 07:36:47 +00:00
Glenn Maynard
054976824b
cleanups
2002-11-16 07:36:02 +00:00
Glenn Maynard
79cab2a1ad
fix "warning: cannot pass objects of non-POD type class CStdStringA' through ..."
2002-11-16 07:35:13 +00:00
Glenn Maynard
bc428058f5
fix scope
2002-11-16 07:31:30 +00:00
Glenn Maynard
a7f9f59427
change glext define block
2002-11-16 07:24:04 +00:00
Glenn Maynard
2d7b9001b1
cleanups; remove commented out stuff that's not needed; fix broken
...
friend function (it's to make 3 * RageColor/Vector work like RageColor * 3,
but I don't know if anything uses it.)
2002-11-16 07:11:05 +00:00
Glenn Maynard
738473aa63
fix a minor error
2002-11-16 07:05:22 +00:00
Glenn Maynard
4f21192cf3
cleanups
2002-11-16 06:56:25 +00:00
Glenn Maynard
55f3aa4d8a
fix a couple minor errors
2002-11-16 06:50:57 +00:00
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