Commit Graph
22667 Commits
Author SHA1 Message Date
Glenn Maynard 592e0e1733 More dimming support. 2002-08-22 08:08:16 +00:00
Glenn Maynard c0384d6529 Add dimming support. 2002-08-22 07:35:58 +00:00
Glenn Maynard 78bd46eb04 move song selection for the editor to SongSelector 2002-08-22 05:57:15 +00:00
Glenn Maynard b657027ad6 Before/AfterRowChange -> ChangeSelectedRow 2002-08-22 04:14:24 +00:00
Glenn Maynard 1f807bc7e2 Forgot to commit this: add shiftAnchor to ScreenEdit. 2002-08-22 04:05:13 +00:00
Glenn Maynard 7a26eac141 Update. 2002-08-22 03:37:28 +00:00
Glenn Maynard a87562116b Add optoin to make pad escape instant. 2002-08-22 03:35:33 +00:00
Glenn Maynard 09b89aa400 Simplify graphics search. Search for movies as graphics, too. 2002-08-22 02:43:07 +00:00
Glenn Maynard bc7e0ceadd trivial simplifications 2002-08-22 00:56:22 +00:00
Glenn Maynard 89a8953bba Handle IET_RELEASE. 2002-08-21 22:49:13 +00:00
Glenn Maynard 1ca396bd49 Move +/- -> {/}, so it lines up with [/]. Add shift-motion selection. 2002-08-21 22:48:33 +00:00
Glenn Maynard 950729ea91 Update. 2002-08-21 22:33:26 +00:00
Glenn Maynard 89a4c8365f Move slow-mo to ~. 2002-08-21 22:33:04 +00:00
Glenn Maynard 3364c2c20e Add templated swap(). 2002-08-21 21:47:36 +00:00
Glenn Maynard 7c905e971c Changes in preparation for handling IET_RELEASE. 2002-08-21 21:47:06 +00:00
Glenn Maynard 2f82d0be50 Move F1/F2 -> [/], so it doesn't overlap with help. 2002-08-21 20:57:40 +00:00
Glenn Maynard 0c1a6efe9f Add DIK_DIVIDE. 2002-08-21 20:51:22 +00:00
Glenn Maynard bc314e42c4 Don't let sample offest of length go negative (crashes RageAudio and doesn't make sense anyway) 2002-08-21 20:41:01 +00:00
Glenn Maynard b288aba0de Move change history to NEWS. 2002-08-21 20:09:13 +00:00
Glenn Maynard df60cee0f9 Add SongCacheIndex.*. 2002-08-21 19:37:36 +00:00
Glenn Maynard b71dde95c7 Add course support to FadingBanner. 2002-08-21 07:59:04 +00:00
Glenn Maynard 118f97fd1b More KiU simplifications. 2002-08-21 04:11:53 +00:00
Glenn Maynard 755e1e44c3 Fix Endless crashing. 2002-08-21 04:11:21 +00:00
Glenn Maynard 395fdbabbf Update changelog. 2002-08-21 03:40:50 +00:00
Glenn Maynard 6737671287 Fix pump doubles offset. 2002-08-21 03:40:21 +00:00
Glenn Maynard a93bdd314f Fix assertion failure when starting pump double.
Merge duplicate cases.
2002-08-21 03:30:04 +00:00
Glenn Maynard 35eeb0bc79 Update changelog. 2002-08-21 03:06:08 +00:00
Glenn Maynard 718a6305f4 Flatten song parsing code a bit. (Gah--that makes patches look really big, when most of the lines are really just changing indentation.)
More minor const fixes in Notes.

Handle #DIFFICULTY in KSF.

Fix spurious warnings about KSF keys.

Clean up KSF parsing slightly.
2002-08-21 03:04:39 +00:00
Glenn Maynard 9e9e012310 Move cache indexing into a global object. Only load the cache file once, instead of for each song loaded. (Speedup, and simplifies Song.cpp.)
It's still written over for each file; this way, if a file load crashes, the earlier files will still be written to cache.
2002-08-21 02:13:08 +00:00
Glenn Maynard 22f558bf34 More const fixups. 2002-08-21 00:48:41 +00:00
Glenn Maynard a8cbf08e3d Make Song:: const-correct, and fix constness in the qsort() callbacks. 2002-08-21 00:47:29 +00:00
Glenn Maynard 681a00826d Update changelog. 2002-08-20 23:28:28 +00:00
Glenn Maynard 14ac7e1620 Readd support for secondary Pump pads (which vanished somehow).
Make PiU button order more logical: UL, UR, MID, DL, DR.
2002-08-20 23:25:27 +00:00
Glenn Maynard 0a1cc6116f Don't die when there's no keyboard or mouse. (Perhaps we should die if we find *no* input devices?) 2002-08-20 23:12:52 +00:00
Glenn Maynard b7785f2d8c Uncomment joystick init (oops, didn't mean to commit that part) 2002-08-20 22:59:08 +00:00
Glenn Maynard c8af49d888 Add templated min and max, which only evaluate their arguments once. (Switching to the STL will require this eventually, anyway.)
Keep #defined MIN and MAX, for the few cases where we really do need compile-itme constants.

Add min/max(float,int) and (int,float) specializations, since that's often used.
2002-08-20 22:56:13 +00:00
Glenn Maynard 43cb55dcde Use DeviceInput::NumButtons. 2002-08-20 22:51:47 +00:00
Glenn Maynard fa746ea3f3 Add Pump USB pad support. Code requiring the DDK is blocked off by HAVE_DDK.
Add DeviceInput::NumButtons, to abstract button counts (so adding devices or buttons doesn't require changes to InputFilter).

Use clamp() for m_AbsPosition_x and m_AbsPosition_y.
2002-08-20 22:51:12 +00:00
Glenn Maynard c233e3c6d2 Support for "artist - title - difficulty" titles in KSF. 2002-08-20 22:03:09 +00:00
Glenn Maynard cb25c1f4ce Update changelog. 2002-08-20 22:01:06 +00:00
Glenn Maynard 9de93c7883 Update changelog. 2002-08-20 21:20:55 +00:00
Glenn Maynard 08bfaf532f Fix announcer repeating when you get a 100*n combo and break it at the 100*n+1st step. 2002-08-20 21:19:49 +00:00
Chris Danford 7766338beb more bug fixes 2002-08-20 21:00:56 +00:00
Glenn Maynard d84f00a70d Update changelog. 2002-08-20 20:50:18 +00:00
Glenn Maynard 77dc160001 Add SongManager::ChooseRandomSong (from TitleMenu). Use it
when starting a demonstration.

Instead of queuing a bunch of SM_PlayAttract's, queue one and
have it requeue itself.

This means 1: if the demonstration fails to start, we don't stop
playing the attract.  (Well, if we don't have any songs, maybe
we don't want ot attract attention, but ...) and more importantly,
2: setting the SECONDS_BETWEEN_ATTRACT value to some obscenely
high value won't cause millions of messages to be queued.

Flatten the option selection loop a bit (this should probably be
moved somewhere, too.)
2002-08-20 20:38:40 +00:00
Glenn Maynard 748c21c0f8 When start/back is pressed at the evaluation screen, settle the grade immediately so it can be seen during fade out. 2002-08-20 08:34:46 +00:00
Glenn Maynard 4e52525262 Add GradeDisplay::SettleImmediately(). 2002-08-20 08:30:30 +00:00
Glenn Maynard 10b0287c9d Don't allow cancelling ScreenCaution while i''s already in the process of being cancelled.
(Other screens have this problem, too ...)
2002-08-20 08:29:55 +00:00
Glenn Maynard 13acb4ac15 Make IsAnInt not O(n^2) 2002-08-20 08:01:59 +00:00
Glenn Maynard 50370506d9 Allow backing out of the caution screen. 2002-08-20 07:58:19 +00:00