Commit Graph
22363 Commits
Author SHA1 Message Date
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 0a76e7ff0a alignment fix 2007-03-16 03:15:24 +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
Steve Checkoway 2cd80d2048 Cleanup. The time critical stuff will never work like that on OS X. 2007-03-14 07:06:41 +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
Chris Danford 575ab5b616 checkpoint off of HoldResult.fLife, not HoldResult.bActive.
bActive is false any time songRow is >= the end row of the hold.  This was causing the last checkpoint to be missed whenever iFirstRowCrossed == iEndRow
2007-03-13 10:04:15 +00:00
Chris Danford e30a2bd2ed show hold explosion on fLife > 0 and bActive, not just bActive 2007-03-13 08:38:06 +00:00
Chris Danford a8690e25e8 hush logging 2007-03-13 08:36:05 +00:00
Chris Danford fcc5ec4eec add RequireStepOnHoldHeads 2007-03-13 07:58:27 +00:00
Glenn Maynard 65383a11b8 more consistent miss combo behavior 2007-03-13 07:28:42 +00:00
Chris Danford 24353f67ad add ImmediateHoldLetGo 2007-03-13 07:07:47 +00:00
Chris Danford 356d8d96f5 do explosions during checkpoint only if all rows held 2007-03-13 06:39:59 +00:00
Chris Danford 0ece6fbcfc checkpoint every 1/2 beat
do explosions on checkpoint
2007-03-13 06:39:06 +00:00
Chris Danford fb020ad8de checkpoint hold comments cleanup 2007-03-13 06:15:17 +00:00
Chris Danford af9b823b95 experimental: combo checkpoints for holds 2007-03-13 06:00:08 +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
Steve Checkoway 3c73e111fd Change set precedence api to return an error message. 2007-03-12 03:37:24 +00:00
Chris Danford 32586f28e1 add IsStepsPlayable, make IsStepsTypePlayable take the number of stages left into account 2007-03-12 01:47:03 +00:00
Glenn Maynard 544c445b49 expose params 2007-03-12 01:27:10 +00:00
Chris Danford d2e3c4b22c fix use of m_iColumnDrawOrder
in pump, draw inner-most first and outermost last
2007-03-11 23:26:49 +00:00
Vecais Dumais Laacis 8995426f84 bring back StepsType type to lua 2007-03-11 23:03:55 +00:00
Steve Checkoway 778172314f Add license notice. I believe I got the years correct. 2007-03-11 22:49:10 +00:00
Steve Checkoway 9a7bdd0fe1 I'm not sure why my name was on this. All of my code (save a few black lines and { }) was rewritten a while ago. 2007-03-11 22:43:04 +00:00
Vecais Dumais Laacis bc9e030722 really thin Lua wrapper for RageFile
maybe not the best way but so far thats only one i could find which works

usage:

local f = RageFileUtil.CreateRageFile();

if f:Open("test.txt", 2) then -- 2 means write, 1 - read (from RageFile.h) maybe those need some lua enum?
        f:PutLine("test text line");
        f:Close();
end;
f:destroy();
2007-03-11 21:24:50 +00:00
Chris Danford 276b4acf44 fix double Off command. Let SWME handle SM_MenuTimer 2007-03-11 20:49:47 +00:00