Commit Graph

16685 Commits

Author SHA1 Message Date
Glenn Maynard 984b433858 signs, headers, for scoping 2002-11-16 20:21:00 +00:00
Glenn Maynard c07730aa46 newlines, missing def 2002-11-16 20:19:35 +00:00
Glenn Maynard 23254cdd4a more cleanups (lint lint lint) 2002-11-16 09:12:55 +00:00
Glenn Maynard 551f5adb16 and more of the same 2002-11-16 08:55:46 +00:00
Glenn Maynard 397bd8b734 more of the same 2002-11-16 08:54:15 +00:00
Glenn Maynard e587b3a012 fix enum mismatch 2002-11-16 08:45:40 +00:00
Glenn Maynard fcf8fb58dc end-of-file newlines 2002-11-16 08:37:12 +00:00
Glenn Maynard 3a7db0620c for scoping 2002-11-16 08:35:26 +00:00
Glenn Maynard 87dd42be64 add return values 2002-11-16 08:10:57 +00:00
Glenn Maynard 07b8ebd809 end-of-file newlines 2002-11-16 08:08:46 +00:00
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