Commit Graph
3380 Commits
Author SHA1 Message Date
Chris Danford c8c340ea09 ignore DWI "-char" graphics (so they won't be detected as banner or background) 2003-05-24 21:32:03 +00:00
Chris Danford cbe5fd91f7 fix Win98 fullscreen->windowed without recreating the device 2003-05-24 20:59:27 +00:00
Chris Danford 5fd0aedd42 Fix crash toggling from Fullscreen->Windowed in D3D.
I'm pretty sure this is a Win9x problem.  It happens on a TNT+Win98, a Rage128+Win98, but not on a GF4 Go+XP.
2003-05-24 20:04:57 +00:00
Chris Danford 36cdb56d55 For now, always get a new OpenGL context in SetVideoMode. Reusing the same context doesn't seem to be working.
Call SetVideoMode when app is fullscreen and regains focus.  Did our OGL renderer ever handle Alt+tabbing before this change?
2003-05-24 16:29:36 +00:00
Thad Ward f0e3bac8de fix a couple of settings that used the dirs from the old 2-config setup project 2003-05-24 14:13:05 +00:00
Chris Danford 7f3b7b9162 reacquire D3D device when lost in full screen (user alt+tabs out) 2003-05-24 05:44:31 +00:00
Glenn Maynard e45220cdf2 don't need to reload textures on mode change anymore 2003-05-24 02:09:17 +00:00
Glenn Maynard 7396287b1c Load texture palettes on demand, so we're not limited to 256. (That could
conceivably be a problem if a person has many songs with paletted
banners, for example.)
2003-05-24 02:03:17 +00:00
Glenn Maynard 85868bdd6b Store texture palettes persistently. 2003-05-24 01:12:30 +00:00
Chris Danford 27ec5c48ab make stats text semi-transparent 2003-05-24 00:37:38 +00:00
Andrew Livy 0a4e0ce92f ScreenSelectStyle5th now a bit more themeable.... 2003-05-24 00:22:44 +00:00
Chris Danford 66a53ec9e7 fix crash on toggle fullscreen under D3D 2003-05-23 23:51:28 +00:00
Glenn Maynard 5e8eaf3096 Fix ortho projections in OpenGL.
D3D still isn't correct.
2003-05-23 21:10:25 +00:00
Andrew Livy de5f156e4d Removal of Virus Infected WINDIFF.exe 2003-05-23 19:05:29 +00:00
Glenn Maynard 7af753ba38 use preincrement instead of postincrement in general; it's faster 2003-05-23 01:45:38 +00:00
Glenn Maynard a2d0a7dceb comment 2003-05-23 01:25:01 +00:00
Chris Danford 6ee884aed2 Add support for #DISPLAYBPM in DWI and SM files 2003-05-23 01:14:43 +00:00
Glenn Maynard 167cc3aaef Cool. Apparently this works on DLLs, too. 2003-05-22 23:50:00 +00:00
Glenn Maynard de6dcbe208 Compress the executables. I'm not doing this during the build because
it takes a few seconds.
2003-05-22 23:44:17 +00:00
Glenn Maynard e095545aa6 add upx 2003-05-22 23:40:51 +00:00
Glenn Maynard 21b358017d No manual linking on the XBox. 2003-05-22 23:05:32 +00:00
Glenn Maynard 1122e9a105 link d3d8 dynamically 2003-05-22 22:55:58 +00:00
Glenn Maynard 623185dba7 also CString("")[0] is illegal 2003-05-22 21:13:29 +00:00
Glenn Maynard 3ed33e8e17 CString("")[0] is illegal 2003-05-22 21:13:02 +00:00
Glenn Maynard 43bdf89434 unused headers 2003-05-22 20:37:53 +00:00
Glenn Maynard 2e80061f5d hash values have changed; clean out cache 2003-05-22 20:35:54 +00:00
Glenn Maynard cc1e00823b Rewrite GetHashForString to fix a small copyright problem. (A license
that says "you can use this code however you want" doesn't necessarily
imply "you can modify it, too", just that you can use it.)

Besides, hardcoding that huge table was ugly since it can be derived
easily.
2003-05-22 20:32:08 +00:00
Glenn Maynard 713b0021fa Directory separator is /.
Simplify hash function.  Remove old comments that no longer apply.

This CRC code says "You may use this program ... without restriction."  That
doesn't say "use or modify"; although that may have been the intent, it
doesn't say that.  I'll look around for some replacement code.
2003-05-22 20:02:05 +00:00
Glenn Maynard f65da9e63e Hash values are unsigned (gets rid of negative numbers in cache.index). 2003-05-22 19:36:54 +00:00
Glenn Maynard 1edc1a325c Const fixes.
Add unsigned values.
Remove old, outdated, redundant comments.
Simplify.
2003-05-22 19:35:57 +00:00
Glenn Maynard 383779f2fc warning C4702: unreachable code 2003-05-22 08:38:57 +00:00
Glenn Maynard 84bcc3146a fix latent viewport bug 2003-05-22 08:37:15 +00:00
Glenn Maynard 52b6b76bee D3D's D3DRS_CULLMODE D3DCULL_CCW means "cull CCW polys".
OpenGL's GL_FRONT_FACE = GL_CCW means front faces are CCW, so
cull CW faces (assuming GL_CULL_FACE_MODE is GL_BACK).

They're logically opposite.
2003-05-22 08:11:47 +00:00
Glenn Maynard 5b77364c8a more build rule fixes 2003-05-22 08:02:49 +00:00
Glenn Maynard 8ad78ae5af fix pre-build rule 2003-05-22 07:13:44 +00:00
Chris Danford 7724624323 Make RageBitmapTexture:m_ID private (so it can't be modified) 2003-05-22 06:32:23 +00:00
Chris Danford 02016ae442 Reorganize RageDisplay
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
James Sanders 8f87e27031 put myself into the graphics credits, i dunno who took me out, i did some ez2 graphics. 2003-05-22 03:22:58 +00:00
Andrew Livy 5641af692a Added Pumps 'half-double' style 2003-05-22 01:34:03 +00:00
Glenn Maynard 35aab38460 Clarify some code.
If we're in BOTH mode, center long options; splitting them up looks
strange.
2003-05-21 01:58:47 +00:00
Glenn Maynard 4e0faadce5 Remove unused dimming code and some old unused variables.
Make a bit of implementation private.
2003-05-21 01:10:13 +00:00
Glenn Maynard 1ebd7aac26 General simplification/cleanup.
Use conversion interface to read KSFs with CP942 data.
2003-05-21 00:10:31 +00:00
Glenn Maynard a8129c4543 Add a simple conversion interface. 2003-05-21 00:08:58 +00:00
James Sanders 46bf6a64f1 little bit more updated 2003-05-20 21:46:33 +00:00
Andrew Livy 83e0db4ec1 Fix for conflict.... 2003-05-20 19:19:32 +00:00
Andrew Livy c8b3b8cf72 More Korean Fonts, (still more to come), Ez2 UK Move theme updates, started working on mode-specific BGAnim support 2003-05-20 14:48:38 +00:00
Glenn Maynard 822a5441dd add CDTitleSpinSeconds 2003-05-20 05:52:40 +00:00
Glenn Maynard 5a01a6977e Implement CDTitles using culling, so dimming always happens at the
right time.
2003-05-20 05:31:38 +00:00
Glenn Maynard 076b03f8fa cosmetic 2003-05-20 05:29:57 +00:00
Glenn Maynard 650611f0e2 fix comments 2003-05-20 05:26:12 +00:00