Commit Graph
19782 Commits
Author SHA1 Message Date
Glenn Maynard ec3b9382d2 InputMapper::IsButtonDown -> IsBeingPressed, to match InputFilter::IsBeingPressed 2006-09-08 02:12:30 +00:00
Steve Checkoway 18b047fd94 Accept input from P2 if it is expected. 2006-09-08 02:07:19 +00:00
Steve Checkoway 1636443da5 Don't overwrite LCTRL. 2006-09-08 01:50:59 +00:00
Glenn Maynard 29ba3d052b use m_LastInputTime in GetSecsHeld 2006-09-08 01:41:06 +00:00
Glenn Maynard 618d0ced95 m_BeingHeldTime is the timestamp of the last input change,
not the time corresponding to the current input state.  (If
debouncing delays reporting an input, m_BeingHeldTime
refers to the time of the delayed input.)  Add m_LastInputTime,
which remembers the timestamp of the last reported input.
2006-09-08 01:39:32 +00:00
Glenn Maynard 90f15660b8 InputFilter::ReportButtonChange 2006-09-08 01:11:57 +00:00
Glenn Maynard dc531b59e4 don't derive InputEvent from DeviceInput 2006-09-08 01:11:18 +00:00
Jason Felds d397a60108 Add ScreenSelectLanguage.* for committing. 2006-09-08 00:30:11 +00:00
Glenn Maynard 2fa3dd658a don't bother typedefing this 2006-09-07 23:58:46 +00:00
Glenn Maynard fb99227ff1 don't bother typedefing this
no static
2006-09-07 23:57:24 +00:00
Glenn Maynard 969efc7f0f fix GetTotalSeconds 2006-09-07 22:11:54 +00:00
Glenn Maynard 45e5f76af0 when there's a sensible error handling path, prefer to use it instead of asserting 2006-09-07 04:26:59 +00:00
Glenn Maynard 57e544385d remove comment about code that's not there anymore 2006-09-07 03:52:10 +00:00
Josh Allen af1412c3d8 Ability to get the scale factor between the theme's aspect ratio and screen's aspect ratio. Useful for placing actors in the same screen location regardless of aspect ratio. 2006-09-06 19:06:41 +00:00
Chris Danford 143c693a87 add ScreenSelectLanguage.* 2006-09-05 03:14:36 +00:00
Steve Checkoway faf32603f1 Consistent user warnings. 2006-09-04 08:09:27 +00:00
Steve Checkoway dae47979ea Change the UserLog() to output a more consistent message. 2006-09-04 08:09:05 +00:00
Steve Checkoway 1ebea3ccf5 Cleanup. 2006-09-04 05:26:34 +00:00
Steve Checkoway b791ce0c4c Safe casts. 2006-09-03 05:53:53 +00:00
Steve Checkoway 72aa78003c Fix memory leak. See stepmania-devs. 2006-09-03 05:43:36 +00:00
Steve Checkoway 808c8019d6 Simplify. 2006-09-03 05:24:24 +00:00
Steve Checkoway 9954228e17 Cleanup. 2006-09-03 05:19:46 +00:00
Steve Checkoway 4606d68fdf Move warnings meant for the user to userlog.txt. These are as inconsistent in format as before but at least they're all in one place. 2006-09-03 05:16:09 +00:00
Steve Checkoway c6eb78a3cf Add a file for user warnings, userlog.txt. Until now, these types of warnings have either been cluttering info.txt or buried in log.txt where no sane user would want to look. 2006-09-03 05:14:18 +00:00
Steve Checkoway fe7a3e8127 Do not remove these files. It is not even always the same location that they'd be written. 2006-09-03 03:48:56 +00:00
Steve Checkoway d47dd07956 Cleanup. HOOKS isn't used. 2006-09-03 03:45:05 +00:00
Steve Checkoway c2fc8b1fc1 Add two debugging asserts. http://sourceforge.net/tracker/index.php?func=detail&aid=1550127&group_id=37892&atid=421366 2006-09-03 02:29:11 +00:00
Steve Checkoway 0df9785a79 Fix input strangeness. I don't understand the rational for setting mp when GAMESTATE->m_bMultiplayer is false, but this preserves that changing Game, Style, and Menu inputs when it is false. 2006-09-03 02:01:43 +00:00
Steve Checkoway 5af590ccba Allow setting the last beat hint in the editor. 2006-09-02 23:27:46 +00:00
Steve Checkoway dd71daeee4 Validation function for floating point values.
1
2.3
-4.5
-8.2e-10
are all valid.
2006-09-02 23:27:27 +00:00
Steve Checkoway dc98ba4190 StringToFloat overload. Returns true if the entire string is a valid, finite float. 2006-09-02 23:26:07 +00:00
Steve Checkoway b939bdec8e Add a last beat hint. The real last beat will be at least as long as the hint. 2006-09-02 22:22:57 +00:00
Steve Checkoway 9613079a92 static 2006-09-02 21:19:32 +00:00
Steve Checkoway 7f3f7b4d6f Add the dance pad and the character as children so they tween fade along with the screen. 2006-09-02 20:59:06 +00:00
Steve Checkoway 74ad63769f fromString -> FromString
toString -> ToString const
2006-09-02 20:24:39 +00:00
Steve Checkoway cff13747a6 Cleanup. 2006-09-02 20:17:17 +00:00
Steve Checkoway 136915b798 Simplify. 2006-09-02 19:50:59 +00:00
Steve Checkoway 6b1aa1514b Simple optimization, avoids allocating memory unnecessarily. 2006-09-02 19:49:46 +00:00
Steve Checkoway 4300663c5e Simplify. DeviceInputs are equal if their InputDevice and DeviceButton are equal. 2006-09-02 19:34:54 +00:00
Steve Checkoway a379ad2c29 Const. 2006-09-02 19:33:49 +00:00
Steve Checkoway 6fc2fbbc88 Bump. 2006-09-02 06:12:45 +00:00
Steve Checkoway a2975d3e4f Write award#. 2006-09-02 06:12:14 +00:00
Steve Checkoway 1d28ee0e42 Allow per song life gain. Conform to the DWI syntax, even though it is ugly. 2006-09-02 06:06:15 +00:00
Steve Checkoway 4239a8cf7c Cleanup. 2006-09-02 06:05:17 +00:00
Jason Felds 0cd3ab7575 DWI Wave -> Expand.
This is, admittedly, exploiting behavior from the DWI program, but it will allow courses to work in both programs.
2006-09-02 01:54:18 +00:00
Glenn Maynard 9f1cd1e458 fix operator= 2006-09-02 00:24:40 +00:00
Glenn Maynard 6d829011a3 bind 2006-09-01 23:21:19 +00:00
Steve Checkoway ee1d3212af Revert. Screens should not maintain state across BeginScreen(). 2006-09-01 08:32:28 +00:00
Steve Checkoway cc7e78d058 Only restart the options the first time BeginScreen is called. If you want the options restarted, call it explicitly. This combined with grouping of options screens allows for a much more intuitive options interface. Hunting for the one option you need is already hard enough, being forced to keep scrolling down every time you back out of one of the option screens is beyond annoying. 2006-09-01 08:19:44 +00:00
Steve Checkoway 37dc530c0a Don't rebuild the vector of human players for each row. 2006-09-01 07:46:37 +00:00