Commit Graph

206 Commits

Author SHA1 Message Date
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
Chris Danford 16df407e32 Cosmetic cleanups
Added "press START for more options" to ScreenPlayerOptions
2003-03-11 08:52:45 +00:00
Chris Danford 51ca82a8e6 Modularize coin logic 2003-03-09 03:28:34 +00:00
Chris Danford 31aa613295 Cleanup of theme element names
Renamed ScreenSelectMax* back to their old names
Replaced all hard-coded transitions with TransitionBGAnimations
2003-03-09 00:55:49 +00:00
Glenn Maynard 0b22378211 give a bit more time when we don't have focus 2003-03-06 23:08:21 +00:00
Glenn Maynard f60decadd8 Temporary hack: pump events a bunch (eg. a few seconds' worth)
every frame, to see if input messages are getting queued or something.
2003-02-28 20:52:57 +00:00
Glenn Maynard 0918725cc1 delay more if we don't have focus 2003-02-28 08:44:52 +00:00
Chris Danford 66a6f0017f Most PlayerOptions now represented by floats
Appearance PlayerOptions are now not mutually exclusive
Accel PlayerOptions are now not mutually exclusive
Most PlayerOptions linearly interpolate if changed during song
2003-02-26 23:26:57 +00:00
Chris Danford 294144575c speed up editor beat bar drawing (frame rate is not 3x as fast!)
fixed inaccurate 2k/xp video card detection
2003-02-22 00:22:27 +00:00
Chris Danford e6273f1db3 more work on editor 2003-02-19 05:46:09 +00:00
Chris Danford 032bf447f3 per-player NoteSkin
NoteSkin selected on PlayerOptions screen
tweaked judgement appearance
marvelous judgement glow
ActorEffect cleanup
2003-02-17 12:19:42 +00:00
Glenn Maynard b0e5b24549 move debug dump earlier 2003-02-17 03:09:25 +00:00
Chris Danford 5028fab1bc fixed interaction between arrow brightness and boomerang
fixing more course problems
2003-02-17 02:45:30 +00:00
Glenn Maynard 42cfd6f98c stdafx -> global 2003-02-16 04:01:45 +00:00
Glenn Maynard 7578257a17 Use SDL events for keyboard and joystick input. It's simpler.
It's also the "preferred" way of doing it, according to the SDL
docs, so maybe it'll work better.

This will reliably queue events, so we can handle coin events during
loads.

It'll queue events a little too reliably; we might want to flush some events
when we load screens.
2003-02-16 01:35:48 +00:00
Glenn Maynard 6b8395335d s/_DEBUG/DEBUG/ 2003-02-15 05:15:24 +00:00
Glenn Maynard 9b2d48e2bd eof newline 2003-02-15 00:11:46 +00:00
Glenn Maynard 5acd41ab22 add ifdef 2003-02-15 00:11:12 +00:00
Glenn Maynard b47254c32b handle exception reporting in RageException 2003-02-14 19:00:37 +00:00
Glenn Maynard 0b1254af16 remove extra newline 2003-02-14 18:33:05 +00:00