Glenn Maynard
3637516f3d
small cleanup
2003-05-27 01:12:28 +00:00
Glenn Maynard
65b5eb0274
Rename AllowSoftwareRenderer to AllowUnacceleratedRenderer; people
...
seem to think SM has an internal software renderer ...
2003-05-27 01:04:16 +00:00
Glenn Maynard
35e8806642
Rename AllowSoftwareRenderer to AllowUnacceleratedRenderer; people
...
seem to think SM has an internal software renderer ...
Allow overriding the renderer; "Renderer=d3d".
2003-05-27 01:03:21 +00:00
Glenn Maynard
44ecb31171
save mapped logs to log.txt once
2003-05-27 00:49:05 +00:00
Glenn Maynard
2e96c4785e
log current renderer
2003-05-27 00:48:40 +00:00
Glenn Maynard
a9fa113a0f
Link to OpenGL in the OGL renderer. We don't use glu anymore.
2003-05-27 00:25:46 +00:00
Glenn Maynard
3e1707e641
Consolidate poly line code, so it can be used with both renderers. Use it
...
with D3D instead of hardware lines.
2003-05-27 00:20:54 +00:00
Glenn Maynard
d94aa65179
add VideoDriverInfo
2003-05-26 23:36:17 +00:00
Glenn Maynard
9ee6cfd453
start of intelligent renderer selection
2003-05-26 23:33:37 +00:00
Glenn Maynard
cc6ae9f952
add headers
2003-05-26 22:25:23 +00:00
Glenn Maynard
c6dcd8c489
GLDirect hacks should become irrelevant now
2003-05-26 21:02:49 +00:00
Glenn Maynard
6434a3b7d0
Go back to one configuration.
2003-05-26 21:00:51 +00:00
Glenn Maynard
568c24ae4e
Go back to one configuration.
2003-05-26 19:42:35 +00:00
Glenn Maynard
2ddc78909a
Combine binaries, so we can choose the renderer. No actual selection
...
yet; change CreateDisplay if you want to do that for the next few hours.
2003-05-26 19:42:04 +00:00
Chris Danford
b9b07f994c
On first run, run a gameplay benchmark and adjusts graphic options automatically for 60 fps.
2003-05-26 09:34:54 +00:00
Chris Danford
c54214c1d2
On first run, run a gameplay benchmark and adjusts graphic options automatically for 60 fps.
2003-05-26 09:18:44 +00:00
Glenn Maynard
56b79a197d
Make pixel format querying a member (massaging for merge).
...
Remove a function from the header.
2003-05-26 03:12:12 +00:00
Glenn Maynard
35405bc34c
remove log
2003-05-26 01:51:59 +00:00
Glenn Maynard
8217c7bbb8
use mySDL_EventState.
2003-05-26 01:48:48 +00:00
Glenn Maynard
e173d576f2
Use mySDL_EventState. Set up event types in the ctor.
...
Restore event masks when we change modes. It's vital that we not
do this incorrectly. Resetting the video system resets the mask. If we
have events that are enabled that we don't actually monitor, it'll just stay
in the event queue and eventually fill it.
Re-fix alt-enter causing both keys to "stick".
2003-05-26 01:47:57 +00:00
Glenn Maynard
2dc0c96c8d
add mySDL_GetAllEvents and mySDL_PushEvents
2003-05-26 01:43:23 +00:00
Glenn Maynard
41cd5fd769
cosmetic fix
2003-05-26 01:06:01 +00:00
Glenn Maynard
c4b029742e
Oops. Remove log.
2003-05-26 00:04:12 +00:00
Glenn Maynard
a1a2576949
use mySDL_EventState
2003-05-25 23:50:03 +00:00
Glenn Maynard
96f86ed5e2
Add mySDL_EventState to work around bizarre SDL event behavior
2003-05-25 23:49:40 +00:00
Chris Danford
55c3f4758e
fix wrong title and icon showing at startup
2003-05-25 22:39:23 +00:00
Chris Danford
bb089f467e
consolidate SDL icon changing code
2003-05-25 21:58:34 +00:00
Chris Danford
6b63ef50f9
support theme-specific program icon and window title (useful for non-SM products)
2003-05-25 20:19:01 +00:00
Chris Danford
a75cd6e7b1
Fix D3D z-buffer problem by having separate GetOrthoMatrix functions for OGL and D3D.
...
I don't understand why the two APIs create an ortho matrix so differently, but I'm tried of messing with it for now.
2003-05-25 00:43:44 +00:00
Chris Danford
c9b4efb861
ignore DWI "-char" graphics (so they won't be detected as banner or background)
2003-05-24 21:33:02 +00:00
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