Commit Graph

225 Commits

Author SHA1 Message Date
Glenn Maynard 81fbead16b split this up
Fix losing keyboard input when changing graphics settings (this happened
with the old code, too).
2003-06-18 05:43:12 +00:00
Glenn Maynard d34f92f535 oops. 2003-06-15 00:58:59 +00:00
Glenn Maynard 42a2098c51 not needed anymore 2003-06-15 00:58:46 +00:00
Glenn Maynard 23091b6e84 cosmetic 2003-06-13 18:42:06 +00:00
Glenn Maynard 35c6b03d07 allow VideoCardDefaults.ini to be non-consecutive 2003-06-12 01:39:31 +00:00
Glenn Maynard af4cc2b5ea "no video renderers attempted" shouldn't be appended to error 2003-06-12 01:35:54 +00:00
Glenn Maynard 5faa1d7c17 Don't preload low-quality banners on very low-memory systems. 2003-06-11 02:58:13 +00:00
Glenn Maynard b9100c93f7 Progress text for banner loading. 2003-06-11 00:23:24 +00:00
Glenn Maynard fa3dddad4f On systems with less than 192 megs of memory, disable texture caching
by default.
2003-06-10 23:50:31 +00:00
William Reading 9e1e850072 Fix video in linux/darwin 2003-06-07 16:37:24 +00:00
William Reading dd28949b68 Fix typo 2003-06-07 14:33:14 +00:00
Chris Danford 40cc0d7def move screenshot key to PrntScrn (2nd try) 2003-06-07 10:58:31 +00:00
Chris Danford e1faf3feeb move screenshot key to PrntScrn 2003-06-07 10:43:41 +00:00
Chris Danford 4a5280f71d force D3D for Savage cards (until we figure what the error in glTex2D is) 2003-06-07 10:36:39 +00:00
Chris Danford 049a1bc5bc remove ScreenAutoGraphicDetail (in favor of specific presets for each card) 2003-06-06 21:58:40 +00:00
Chris Danford 428d560a6b Clean up resolution fallback logic
Add video settings for G400
Working on composited text
2003-06-05 19:29:27 +00:00
Glenn Maynard 258451660f init BannerCache 2003-06-04 22:42:17 +00:00
Glenn Maynard 7d8ba73dc4 Fix warnings; improve error handling 2003-06-01 00:34:15 +00:00
Chris Danford f1cc708710 move "video driver database" to text file 2003-05-31 21:34:07 +00:00
Glenn Maynard 854d596f22 handle stealth voodoos 2003-05-29 01:51:59 +00:00
Glenn Maynard 428ef40d32 simpify 2003-05-28 18:38:45 +00:00
Glenn Maynard 5c830994fb add actual URLs 2003-05-28 06:41:47 +00:00
Glenn Maynard 1497b9824a do D3D fallback, at least for now 2003-05-28 05:58:24 +00:00
Chris Danford 4d182f85a4 add automatic mapping of joysticks 2003-05-28 02:35:05 +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 a9fa113a0f Link to OpenGL in the OGL renderer. We don't use glu anymore. 2003-05-27 00:25:46 +00:00
Glenn Maynard 9ee6cfd453 start of intelligent renderer selection 2003-05-26 23:33:37 +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 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 8217c7bbb8 use mySDL_EventState. 2003-05-26 01:48:48 +00:00
Chris Danford 55c3f4758e fix wrong title and icon showing at startup 2003-05-25 22:39:23 +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 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
Kevin Slaughter fd02bce784 Added new unlock system, disabled by default 2003-05-09 05:56:05 +00:00
Glenn Maynard f45baa9fe6 Always use SDL_INIT_NOPARACHUTE. 2003-04-25 05:43:48 +00:00
Glenn Maynard c382823488 Add an option to delay screen loads until after we've deleted the
old screen.  This means that we may unload resources when we'll
need them immediately, but lowers the memory usage peak considerably
for very low-memory machines.
2003-04-25 03:41:38 +00:00
Glenn Maynard 09967df461 Rest of s/GetString/c_str/.
(watch out for PlayerOptions::GetString and SongOptions::GetString)
2003-04-25 00:27:30 +00:00
Chris Danford 15a54aee79 options cleanup 2003-04-21 23:43:51 +00:00
Glenn Maynard 8bbb884204 Give 1ms instead of 0, since 0 may not give any time at all. Let's see
if this helps keyboard lag.

I could swear I tried this, but CVS says otherwise ...
2003-04-21 07:43:39 +00:00
Chris Danford 74d7bcd2bf Revamp texture caching system 2003-04-18 23:55:20 +00:00
Glenn Maynard a4b665d62a Tired of F4 triggering when I'm trying to Alt-F4. If you want to toggle
fullscreen, use Alt-Enter; that's what most apps use, anyway ...
2003-04-18 21:25:38 +00:00
Glenn Maynard eb1e2a0435 use SDL_GetEvent 2003-04-12 19:03:02 +00:00
Chris Danford 448bdc7b6e make calls to THEME->GetPathTo() more concise 2003-04-12 17:39:27 +00:00
Glenn Maynard ae39d652fd Finishing from last night; thank my cable modem for going out in the
middle of a commit ...
2003-04-12 16:06:06 +00:00
Glenn Maynard 04d01d933e FIX TYPO 2003-04-06 15:53:06 +00:00
Glenn Maynard 5b748a9a9e make sure the caption and icon are set 2003-04-06 15:51:53 +00:00
Glenn Maynard 3c5c51ca54 fix SetIcon when no SDL 2003-04-06 15:48:42 +00:00
Glenn Maynard 494dddce12 Remove extra atexit() call.
Defer SDL_VIDEO_INIT as long as possible; remove extra call.

Make sure seticon() doesn't bomb if we havn't yet initialized video.
2003-04-06 00:33:35 +00:00
Glenn Maynard be78746167 move SDL event handling to a function, to make the main
loop simpler
2003-03-17 06:20:57 +00:00