Commit Graph

58 Commits

Author SHA1 Message Date
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
Glenn Maynard e8eb97c9cf Move GetAdapterIdentifier check into ctor, so it's not done multiple
times if the first SwitchDisplayMode fails.

Don't print spurious "supports the following modes".
2002-08-29 21:48:57 +00:00
Glenn Maynard e96941e288 const stuff 2002-08-29 21:30:16 +00:00
Glenn Maynard 5ab889f509 Deal with systems that have different refresh rates available at 16bpp
and 32bpp.

(There are still systems that report refresh rates they can't really use ...
need to probe, I think.)
2002-08-29 20:59:47 +00:00
Glenn Maynard ebac0bc8ec "max refresh" tests format (might have more available at 16bpp than
32bpp, though we're only ever 16bpp right now anyway)

Merge format lists.
2002-08-29 20:21:30 +00:00
Chris Danford 7922f5bbc7 Updated AnnoucerManager::GetPathTo to act like ThemeManager. More theme and Ez2 cleanup. 2002-08-27 23:31:41 +00:00
Glenn Maynard 9e90640281 fix texture memleak 2002-08-23 08:30:44 +00:00
Glenn Maynard cc93e9a096 const const const 2002-08-23 01:31:48 +00:00
Chris Danford 822f8dd3a6 Moved more constants into theme metrics 2002-08-22 09:31:32 +00:00
Glenn Maynard 3e4576352f Dim unavailable refresh rates. Add "MAX" refresh. Dim refresh rates when set to windowed. 2002-08-22 08:49:41 +00:00
Chris Danford 0e5f97143e optimizations 2002-08-19 20:02:30 +00:00
Chris Danford 8b55061827 added more info besides FPS to the stats display 2002-08-18 17:48:50 +00:00
Chris Danford 0447dc2aad Bug fixes and deferred rendering architecture 2002-08-18 16:19:26 +00:00
Chris Danford 7c1bfb3a0d big checkin - new noteskin format and XY positioning. I probably broke a lot of things. 2002-08-13 23:26:46 +00:00
Chris Danford 4ec08edf2d Mini-rewrite of input mapping, theme support, and added KSF reader. 2002-07-31 19:40:40 +00:00