Commit Graph
100 Commits
Author SHA1 Message Date
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
Glenn Maynard 0198161675 bind GetPlayerBalance 2007-03-13 22:09:40 +00:00
Glenn Maynard 65383a11b8 more consistent miss combo behavior 2007-03-13 07:28:42 +00:00
Glenn Maynard 5506576d4c fix up ScreenTestLights 2007-03-13 00:29:22 +00:00
Glenn Maynard 1adc7dcb0e premium fix 2007-03-12 21:46:25 +00:00
Glenn Maynard 9dbd608085 bindings 2007-03-12 05:54:57 +00:00
Glenn Maynard 544c445b49 expose params 2007-03-12 01:27:10 +00:00
Glenn Maynard c5717006dc send TapNoteOffset 2007-03-11 04:55:45 +00:00
Glenn Maynard b7c64f0b83 ArrowSpacing 2007-03-10 18:05:06 +00:00
Glenn Maynard f5724a2aba fix TimingWindowSecondsW5=0 causes late notes not to be judged 2007-03-09 18:47:03 +00:00
Glenn Maynard 53dcc71e11 don't log from here. This is used from Write, so write errors in logging
are causing infinite recursion.
2007-03-09 18:27:02 +00:00
Glenn Maynard 61c3a6244c add VisualDelaySeconds 2007-03-09 01:22:09 +00:00
Glenn Maynard 0a928a1e45 fix crash. Don't reset with screens on the stack not expecting it. 2007-03-08 03:50:45 +00:00
Glenn Maynard 92554ae224 lower compare
Quantize(300, 0.001)  is giving values like 300.000015
2007-03-08 01:33:23 +00:00
Glenn Maynard 398666793c fix leaky textures 2007-03-07 22:46:31 +00:00
Glenn Maynard a584f1b5be rename EndScreen; that's a virtual from Screen. Why is there no way
to get a warning when virtual methods are overloaded without specifying
"virtual"?
2007-03-07 22:04:28 +00:00
Glenn Maynard 69a945cbf1 binding 2007-03-07 21:33:27 +00:00
Glenn Maynard a156f62420 vc8 2007-03-07 20:19:55 +00:00
Glenn Maynard 7f18ab6333 always pair AssertNoGLError with FlushGLErrors. Otherwise,
AssertNoGLError can trigger for an error that happened a long
time ago, and there's no way of knowing where the real error
was.
2007-03-07 20:08:55 +00:00
Glenn Maynard 1d7383bdba PlayerFailed message 2007-03-07 04:51:38 +00:00
Glenn Maynard 764402bca7 fixup: odn't use ScreenMetric outside of init 2007-03-07 03:58:16 +00:00
Glenn Maynard 62700dffa4 ArrowSpacing metric 2007-03-07 03:04:48 +00:00
Glenn Maynard 5cca5aa4dd pull out basic multiplier 2007-03-07 03:01:23 +00:00
Glenn Maynard 3da4055c98 fix long delay, takes so long the period is nearly elapsed before it's
visible
2007-03-07 02:54:54 +00:00
Glenn Maynard 2516651741 debugging 2007-03-07 00:09:25 +00:00
Glenn Maynard 1d208be68b consistent on 2007-03-06 22:51:50 +00:00
Glenn Maynard d5f6445a5e fix double-counting reads below 0 2007-03-06 22:39:26 +00:00
Glenn Maynard 8a773bfab8 update 2007-03-06 04:25:08 +00:00
Glenn Maynard d072708157 fix crashes 2007-03-06 04:23:30 +00:00
Glenn Maynard 485a28d541 better judge messages 2007-03-06 01:12:06 +00:00
Glenn Maynard 52aca4602b do unhide 2007-03-05 23:50:38 +00:00
Glenn Maynard 60be259f3e textHelp in Lua 2007-03-05 23:27:15 +00:00
Glenn Maynard 743f8ec257 SetTipsColonSeparated helper 2007-03-05 23:24:42 +00:00
Glenn Maynard 9c0d3f1d38 GetMetricF
(this stuff needs simplification like ThemeManager did; later)
2007-03-05 04:41:56 +00:00
Glenn Maynard ebadef6de5 add Sprite.LinearFrames 2007-03-05 04:19:04 +00:00
Glenn Maynard 7d872d9710 bindings 2007-03-04 03:03:40 +00:00
Glenn Maynard efa4c68660 more cleanup 2007-03-03 21:19:46 +00:00
Glenn Maynard d592ae58ae cleanup 2007-03-03 21:19:28 +00:00
Glenn Maynard 081ddb2d53 cleanup 2007-03-03 21:08:09 +00:00
Glenn Maynard 522193f9c4 reduce eval redundancy 2007-03-03 21:07:52 +00:00
Glenn Maynard 3603f40a61 cleanup 2007-03-03 21:01:41 +00:00
Glenn Maynard cf09cf0d7c fix assert 2007-03-03 05:44:51 +00:00
Glenn Maynard 7f32fba3b7 fix reloading commands; don't rename and reload actors mid-screen 2007-03-03 04:54:22 +00:00
Glenn Maynard b1952bff19 combo and judgement can be complex actors; allow changing which actors is
affected by realtime repositioning
2007-03-03 04:47:01 +00:00
Glenn Maynard 0c056ca597 fix reloading commands; don't rename and reload actors mid-screen 2007-03-03 04:45:33 +00:00
Glenn Maynard 9c27ca1139 unused 2007-03-03 04:44:07 +00:00
Glenn Maynard 02716cccda fix Assertion 'm_textPercentRemainder.HasCommand("Off")' failed 2007-03-03 04:40:27 +00:00
Glenn Maynard 5b0e0525d8 remove unused 2007-03-03 04:23:20 +00:00
Glenn Maynard 9de9cba63e unintended 2007-03-03 02:01:51 +00:00
Glenn Maynard 43ee764fde remove unused DifficultyIcon. Do this in Lua if wanted. 2007-03-03 01:54:46 +00:00
Glenn Maynard 84e9905ae1 remove unused DifficultyMeter. Do this in Lua if wnated. 2007-03-03 01:43:19 +00:00
Glenn Maynard ef8d796c96 same logic for combo positioning as judgement 2007-03-03 01:38:42 +00:00
Glenn Maynard 6b54a07f3c unused 2007-03-03 01:31:08 +00:00
Glenn Maynard c147bda34f message parameters, not lua thread variables 2007-03-02 22:55:36 +00:00
Glenn Maynard f11dc59e6f removing graphics of unknown origin 2007-03-02 22:21:59 +00:00
Glenn Maynard d8f11a452f update JudgmentTransformCommand 2007-03-02 21:53:45 +00:00
Glenn Maynard e2c82a665c JudgmentTransformCommandFunction -> JudgmentTransformCommand 2007-03-02 21:52:10 +00:00
Glenn Maynard 4454a0aa8b use a regular command for this 2007-03-02 21:50:13 +00:00
Glenn Maynard 69f4ff079a update 2007-03-02 21:02:54 +00:00
Glenn Maynard 1e4b7b1260 Reduce Combo to an AutoActor. Send Combo messages to the
whole Player, like Judgment messages.

This allows any Player actor to show the combo; Combo is
only special in how its positioning is handled, and for
draw order.
2007-03-02 20:53:03 +00:00
Glenn Maynard 13063bdb98 handle Player var the same way for judgment and combo
remove unused message
2007-03-02 20:35:59 +00:00
Glenn Maynard 5bcc46afc2 remove sprJudgmentFrame. Do this within Judgment. 2007-03-02 20:29:07 +00:00
Glenn Maynard 3784a0b82a fixup 2007-03-02 06:56:13 +00:00
Glenn Maynard 4c9b90a480 do judgements in Lua
remove bShowJudgment; use a different sType for dummies
and blank the elements if wanted
2007-03-02 06:52:20 +00:00
Glenn Maynard 7116b55eab judgements in lua 2007-03-02 06:44:45 +00:00