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.)
Glenn Maynard2002-11-16 07:11:05 +00:00
8327fcbc4e
Don't do the other stuff when coming out of demonstration prematurely, either.
Glenn Maynard2002-11-15 23:26:32 +00:00
5b88710c7b
Updated for bug 626184 - no longer will go to evaluation screen after playing 0 length steps in demo.
Angela Stefanski2002-11-15 23:10:19 +00:00
5cc013520e
The default OpenGL ortho matrix looks down the negative Z axis, not the positive one.
Glenn Maynard2002-11-15 21:41:38 +00:00
d2ef9a8441
The default OpenGL ortho matrix looks down the negative Z axis, not the positive one.
Glenn Maynard2002-11-15 21:27:13 +00:00
f7f1d2cd9f
Move OpenGL specs into a struct, so they're easy to scan.
Glenn Maynard2002-11-15 02:47:08 +00:00
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.)
Glenn Maynard2002-11-14 23:54:40 +00:00
88264c3a56
Make SetProjectionTransform set the projection transform. Remove unused variable. Add a function to draw an antialiased line loop with rounded corners.
Glenn Maynard2002-11-14 08:38:41 +00:00
487b4e9527
Readded texture stretch, texture dither, and 16 bit textures.
Chris Danford2002-11-14 01:26:19 +00:00
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"
Chris Danford2002-11-13 05:17:15 +00:00
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.)
Glenn Maynard2002-11-13 02:19:01 +00:00
08c0dcacce
Add plib; extremely useful library. We only use sg (and ul, which sg uses).
Glenn Maynard2002-11-13 01:33:14 +00:00
086bf5bf89
move extension tests to after opengl init
Glenn Maynard2002-11-12 20:39:08 +00:00
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)
Glenn Maynard2002-11-12 20:38:14 +00:00
7026fb79d2
set caption handle selective reloading after video mode change and texture prefs change
Glenn Maynard2002-11-12 09:31:08 +00:00
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)
Glenn Maynard2002-11-12 09:29:46 +00:00
33b0eff159
reimplement refresh rates no MAX; not sure how to do that
Glenn Maynard2002-11-12 09:24:36 +00:00
58dbd9bdb3
Add InvalidateTextures; change reload behavior. (breaks reloading until I get the rest committed in a moment)
Glenn Maynard2002-11-12 09:21:44 +00:00
b4a16fc246
Fixed little compile error in RageDisplay and fixed error in README
Chris Danford2002-11-12 00:59:19 +00:00
5673bec6f2
Add SetBlendMode; add glexts.h; log version and available extensions; implement real glow with GL_EXT_texture_env_combine.
Glenn Maynard2002-11-12 00:51:27 +00:00