Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 70b8f34371 define some C99 stuff (not trying to do it all; it's pages long) 2007-03-22 00:34:41 +00:00
Glenn Maynard d6986e900e enable C99 stuff if available 2007-03-22 00:26:37 +00:00
Glenn Maynard 8a07dfca34 set effectclock cleanly 2007-03-22 00:04:37 +00:00
Glenn Maynard 1fdf23a4a3 fix warning 2007-03-21 21:22:40 +00:00
Glenn Maynard d4c72630af fix test 2007-03-21 20:29:57 +00:00
Glenn Maynard aac8c00cfc RageSoundPosMap: fix splitting 2007-03-21 19:24:40 +00:00
Glenn Maynard 3e96c357aa fix bApproximate 2007-03-21 17:39:23 +00:00
Glenn Maynard 4549e6646a OptionsMenuChanged 2007-03-21 07:49:53 +00:00
Glenn Maynard 8cbd14b99f fixup 2007-03-21 06:38:11 +00:00
Glenn Maynard eed9ff74f5 fix preloading 2007-03-21 06:36:11 +00:00
Glenn Maynard bef66aa6de fix crash 2007-03-21 06:30:12 +00:00
Glenn Maynard 03922a91dc fix late join crash 2007-03-21 06:14:04 +00:00
Glenn Maynard 2c0c83e901 remove old 2007-03-21 05:53:39 +00:00
Glenn Maynard a7afd661d9 ffmpeg update 2007-03-21 05:53:17 +00:00
Glenn Maynard fec6da2b1f fixup 2007-03-21 05:52:26 +00:00
Glenn Maynard ace3a66e36 - ffmpeg API update
- Add support for doing YUV colorspace conversion in hardware,
using a fragment shader.  This speeds up high-resolution movies
substantially, and provides 32-bit color depth with the data
cost of 16-bit textures.
 - optimize rewinding
2007-03-21 05:27:53 +00:00
Glenn Maynard aaceb42b61 ffmpeg upgrade to get packed-pixel YUYV422 support 2007-03-21 05:18:17 +00:00
Glenn Maynard 504866debb Allow passing a surface with no data and non-power-of-two dimensions.
A power-of-two texture will be created and not initialized.
2007-03-21 04:51:47 +00:00
Glenn Maynard a4fbd6f19b implement EffectMode_YUYV422 2007-03-21 04:38:17 +00:00
Glenn Maynard 53a2e41837 fix Sprite copy 2007-03-21 01:40:21 +00:00
Glenn Maynard 5529816b54 add EffectMode_YUYV422 2007-03-20 07:54:21 +00:00
Glenn Maynard 5dc6e79d3c X1R5G5B5 format 2007-03-20 07:51:56 +00:00
Glenn Maynard bcb431f244 fix comments 2007-03-20 07:48:18 +00:00
Glenn Maynard d2033b110b fix comments 2007-03-20 07:47:14 +00:00
Glenn Maynard 141395e1d5 fix RageDisplay_OGL::GetTexture 2007-03-20 07:46:05 +00:00
Glenn Maynard 5f2d10f620 EffectMode 2007-03-20 07:43:47 +00:00
Glenn Maynard 068e663080 more reasonable default 2007-03-20 07:37:44 +00:00
Glenn Maynard 48d631d6ca support bOneChoiceForAllPlayers 2007-03-19 00:03:20 +00:00
Glenn Maynard 5b56042069 -XXX 2007-03-18 22:57:17 +00:00
Glenn Maynard 3616a0cb1b simplify 2007-03-18 22:56:29 +00:00
Glenn Maynard 3f32295bc9 tweak:
- tune down speedup near 100%
 - start slowing down at 50% if time is available
2007-03-18 19:53:20 +00:00
Glenn Maynard 642e2cac82 tweak haste to prevent slowing the song down too long 2007-03-18 19:38:11 +00:00
Glenn Maynard 6fad738ca5 allow rolls to increment the combo
REQUIRE_STEP_ON_HOLD_HEADS affects rolls
2007-03-18 19:04:49 +00:00
Glenn Maynard 506163fbcd no checkpoints for rolls 2007-03-18 18:41:51 +00:00
Glenn Maynard 1cb095f159 allow repeats in scrolling 2007-03-18 18:08:26 +00:00
Glenn Maynard 42d69401cc clear start on close 2007-03-18 17:50:23 +00:00
Glenn Maynard f49bd48803 message 2007-03-18 10:26:45 +00:00
Glenn Maynard 463f69ba35 implement default row selection
on main menu, show checkmark for rows changed

for selected single-selection rows:
 - show the selection on the main menu
 - hold start and press L or R to change the selection while on
   the main menu
2007-03-18 10:18:10 +00:00
Glenn Maynard 9e5cf1ec61 add GetDefaultOption 2007-03-18 09:51:44 +00:00
Glenn Maynard 03f1c24257 fix some accidental selections 2007-03-18 06:26:45 +00:00
Glenn Maynard 2b12f3c936 BeginScreen later, so OnCommand can affect things started yb m_MusicWheel.BeginScreen 2007-03-18 06:17:09 +00:00
Glenn Maynard 4df246ea09 fix up XML 2007-03-18 01:11:02 +00:00
Glenn Maynard 6d25a169fb phase out children node 2007-03-18 01:03:21 +00:00
Glenn Maynard 86a8eb0412 load commands and set xy on load, not in TweenOnScreen 2007-03-18 00:10:40 +00:00
Glenn Maynard 14fbedd1b2 GetNumStagesForSongAndStyle -> GetNumStagesForSongAndStyleType 2007-03-17 23:05:34 +00:00
Glenn Maynard 9b955535fd simplify 2007-03-17 07:55:00 +00:00
Glenn Maynard b325ed9321 fix long song crash 2007-03-17 07:46:07 +00:00
Glenn Maynard b45b1e2328 add GetSeconds 2007-03-17 07:45:16 +00:00
Glenn Maynard 70875589f0 fix crash when all steps removed; --s erase ++s trick doesn't work 2007-03-17 07:44:39 +00:00
Glenn Maynard 00285ab5eb allow opening options menu while choosing a song 2007-03-17 06:35:58 +00:00
Glenn Maynard 7e8b5de34d bind runcommandsonleaves 2007-03-17 05:31:22 +00:00
Glenn Maynard 37913e16a6 fix crash 2007-03-17 04:41:50 +00:00
Glenn Maynard e63743d664 fix INITIAL_HOLD_LIFE: leave at 1 until the hold starts 2007-03-17 03:51:07 +00:00
Glenn Maynard c0a6373693 fix rate in editor 2007-03-17 03:24:00 +00:00
Glenn Maynard bd30e42c23 don't join p2; causes both players to show in options 2007-03-17 03:17:39 +00:00
Glenn Maynard 9426495b82 noisy 2007-03-17 03:14:11 +00:00
Glenn Maynard defbdceaa3 editor: ShowCoinsAndCredits=false 2007-03-17 03:09:27 +00:00
Glenn Maynard 4a163ea0fa fixup 2007-03-17 01:14:26 +00:00
Glenn Maynard b3259747d3 InitialHoldLife 2007-03-17 01:11:20 +00:00
Glenn Maynard 81f547a879 add InitialHoldLife 2007-03-17 00:56:39 +00:00
Glenn Maynard 7315aa9152 fix editor receptor flash 2007-03-17 00:32:26 +00:00
Glenn Maynard d74382fe07 fix rendering 2007-03-17 00:24:25 +00:00
Glenn Maynard 213a513093 update 2007-03-16 23:59:33 +00:00
Glenn Maynard bbe760f24b update 2007-03-16 23:58:38 +00:00
Glenn Maynard eb68cd72bb split out CodeSet 2007-03-16 23:56:10 +00:00
Glenn Maynard 1189f94ede generalize CodeNames 2007-03-16 23:33:41 +00:00
Glenn Maynard 8857adfd8b debugging 2007-03-16 22:35:55 +00:00
Glenn Maynard 9525afbdf3 code aliases 2007-03-16 22:32:38 +00:00
Glenn Maynard 506d6d91aa semi-experimental: When a GameButton is pressed, stop repeating other keys on the same controller. 2007-03-16 22:28:55 +00:00
Glenn Maynard 324a84b9c7 more OptionsList control 2007-03-16 22:16:54 +00:00
Glenn Maynard 9ef1b725e8 only reset for the player that pressed the button 2007-03-16 22:14:10 +00:00
Glenn Maynard 960467871d debugging 2007-03-16 21:15:56 +00:00
Glenn Maynard 5884467e6a major refactoring. Puts most control of actual input mechanics
in Lua.
2007-03-16 21:14:00 +00:00
Glenn Maynard dd05b42bf2 add IsFillInMarker 2007-03-16 09:33:31 +00:00
Glenn Maynard 095b60789c PersonalRecordFeats, CategoryRecordFeats 2007-03-16 08:46:04 +00:00
Glenn Maynard 29d6ec8607 bind GetPercentDP 2007-03-16 08:41:49 +00:00
Glenn Maynard bc8ad002ac fix sort asertion failure 2007-03-16 08:40:24 +00:00
Glenn Maynard 17aa18154d silent, stealth 2007-03-16 07:46:16 +00:00
Glenn Maynard 138b3b5b1f add StageStats::PlayerHasHighScore 2007-03-16 07:35:38 +00:00
Glenn Maynard 6337f2aa17 use generic RepeatRate, RepeatDelay 2007-03-16 06:04:38 +00:00
Glenn Maynard 1faeb65a40 per-screen RepeatRate, RepeatDelay 2007-03-16 06:00:06 +00:00
Glenn Maynard c99c634d96 fixup 2007-03-16 05:54:22 +00:00
Glenn Maynard b86f021da8 split apart SetRepeatRate, SetRepeatDelay 2007-03-16 05:47:29 +00:00
Glenn Maynard 3a33a22608 pan when 2 players 2007-03-16 05:11:59 +00:00
Glenn Maynard 97cce6fe1b add ActorSound:playforplayer 2007-03-16 05:09:58 +00:00
Glenn Maynard 0a76e7ff0a alignment fix 2007-03-16 03:15:24 +00:00
Glenn Maynard 1d797dcca0 update 2007-03-16 01:36:13 +00:00
Glenn Maynard 927b3df18b Further unify codes. Allow using hold-button, multiple-presses and
sequences in the same code.  Allow handling repeats and releases.

changes:
MenuLeft,MenuRight -> MenuLeft,MenuRight (sequence)
MenuLeft-MenuRight -> MenuLeft-MenuRight (tap)
MenuLeft+MenuRight -> @MenuLeft-MenuRight (hold-and-press)

new:

@MenuLeft-+MenuRight
   press MenuRighthold while holding MenuLeft; triggers on MenuRight repeats

@MenuLeft-+MenuRight
   release MenuRight while holding MenuLeft

@MenuLeft-MenuRight,@MenuLeft-MenuRight
   press MenuRight twice while holding MenuLeft

MenuLeft-MenuRight,MenuUp-MenuDown
   press MenuLeft and MenuRight simultaneously, then press MenuUp
   and MenuDown simultaneously
2007-03-16 01:34:54 +00:00
Glenn Maynard 21f01e2bdb bindings 2007-03-16 01:23:22 +00:00
Glenn Maynard 628440a15c NUM_InputEventType, InputEventType_Invalid 2007-03-16 01:22:25 +00:00
Glenn Maynard 1a987c9f71 filter in InputQueue 2007-03-15 20:49:44 +00:00
Glenn Maynard 9bfb1a7c4f remove unused 2007-03-15 20:48:13 +00:00
Glenn Maynard dc8a6ee910 move CodeItem into InputQueue
rename to InputQueueCode
2007-03-15 20:44:18 +00:00
Glenn Maynard ca8f64a18f remove FOREACH_Code 2007-03-15 20:39:58 +00:00
Glenn Maynard 223f4b57c2 unify code types 2007-03-15 20:38:12 +00:00
Glenn Maynard c25aff2f4e fix InputHandler_MonkeyKeyboard 2007-03-15 03:33:25 +00:00
Glenn Maynard 9cdb7f3523 old 2007-03-14 22:59:31 +00:00
Glenn Maynard 1c0d59cf26 unindent 2007-03-14 22:57:19 +00:00
Glenn Maynard 0322d38179 unused 2007-03-14 22:55:55 +00:00
Glenn Maynard d50f66373a bindings 2007-03-14 04:26:32 +00:00