Commit Graph

196 Commits

Author SHA1 Message Date
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
Glenn Maynard 6ca905ef9d use SDL_Delay to sleep 2003-02-14 06:31:09 +00:00
Glenn Maynard 5ba0e8f47d move global keys into a separate function
re-fix not sending key events to screens for global key
releases and repeats
simplify
2003-02-12 17:36:54 +00:00
Kevin Slaughter 0d5c5de300 See TODO.miryokuteki 2003-02-12 15:56:01 +00:00
Kevin Slaughter de2602ccba Operator & InsertCoin keys are now configurable like any other menu key, and are still global (effective on any screen). many other misc bug fies and changes. see TODO.miryokuteki 2003-02-12 11:43:08 +00:00
Glenn Maynard 97dd3b2cb3 Use scroll lock instead of control. Control's a nice, useful key; we
might want to use it for eg. jumping to a song title by initial in the
music wheel.  Scroll lock is out of the way.

Don't send the operator button to windows.
2003-02-12 08:05:23 +00:00
Kevin Slaughter c8745d1b47 Updates, new joint premium advertisin implemented.. also global operator key, and global credit key.. see my TODO file. I have talked with chris, the global credit key will soon be able to be changed in the map inputs.. the one in there now has no bearing on the gloal key. 2003-02-12 06:25:51 +00:00
Chris Danford d7b2f341da Fixed some subtle sync issues 2003-02-10 22:08:10 +00:00
Chris Danford 4ff98e0442 added flexable NoteType coloring to NoteDisplay, optimized note texture usage 2003-02-06 07:32:57 +00:00
Chris Danford 3ea84b5e5c NoteSkin format change. Fixes artifacts along borders, and more flexability for artists. 2003-02-05 03:53:57 +00:00
Chris Danford d12e090808 grading error fixes, ranking calculation and display fixes, set default difficulty back to same level as 3.0 final 2003-02-03 05:53:59 +00:00