Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway af20d30581 Unused. 2006-09-14 09:33:06 +00:00
Steve Checkoway b5f57abc4e longchar -> wchar_t 2006-09-14 09:32:04 +00:00
Steve Checkoway 5083893317 Use UCKeyTranslate if the 'uchr' resource exists. If not, fall back on the 'KCHR' resource. 2006-09-14 09:13:46 +00:00
Steve Checkoway 6e8d262f8f Simplify and optimize by building a reverse lookup table the first time it is called. 2006-09-14 07:21:44 +00:00
Steve Checkoway dd0e3ce082 Cleanup. 2006-09-14 07:20:05 +00:00
Steve Checkoway 4dd57b99bd Don't hard code joystick and pump numbers. 2006-09-14 06:06:53 +00:00
Steve Checkoway b30cc9d9d1 IsPump(). 2006-09-14 06:06:04 +00:00
Steve Checkoway abe6090775 Simplify. 2006-09-14 05:53:13 +00:00
Steve Checkoway 51ab7b551f Initialize pn. 2006-09-13 10:57:58 +00:00
Steve Checkoway 5e203c6dcb Match other thread names, e.g. Decode thread. 2006-09-13 10:29:54 +00:00
Steve Checkoway 8612011f08 Add license. 2006-09-13 10:22:37 +00:00
Steve Checkoway af2bd3b70a Launching via the Finder includes a single argument that looks like: -psn_0_3801089. there's some mapping between this number and pids but I don't know what off hand (or why it's even used at all). Don't pass it along to our main(). 2006-09-13 10:20:25 +00:00
Steve Checkoway 0194675b29 Remove StyleInput.h 2006-09-13 10:18:05 +00:00
Steve Checkoway 4f83f9b9ae Cleanup. 2006-09-13 09:57:14 +00:00
Steve Checkoway 8f676b30d5 Remove old LUA functions.txt. Add the xsl style sheet and gifs (taken from stepmania.com) used for http://stepmania.sf.net/Lua.xml. 2006-09-13 09:21:28 +00:00
Steve Checkoway 12ce8fe6a5 Add date generated. 2006-09-13 09:20:21 +00:00
Steve Checkoway 01cbd5a0e3 Move to ActorsInMenus. 2006-09-13 08:54:54 +00:00
Steve Checkoway fa7ff235bc Cleanup. Does anyone even know what this does any more? It hasn't been touched in 3 years. SSMode doesn't even use it. It's only used by one screen which hasn't had any real work beyond compile fixes in 3 years. Also, why is "Frieza's" real name not on this? 2006-09-13 08:53:31 +00:00
Steve Checkoway dd5e6290be Unused. 2006-09-13 08:42:22 +00:00
Steve Checkoway 1dec26279a These have no state and only static methods. Make them namespaces. 2006-09-13 08:35:50 +00:00
Steve Checkoway 78d266cf6e Simplify. 2006-09-13 08:17:56 +00:00
Steve Checkoway 48a329597c Fix comment stripping. Fixes editor bug. 2006-09-12 04:28:11 +00:00
Steve Checkoway 1f1e574baf Spacing. 2006-09-12 04:27:48 +00:00
Steve Checkoway 4a0718c4e8 Flush the directory cache so that --temp-- is removed. Is there a reason to do this rather than access(2)? (Obviously, this would need to be done in the FileManager itself.) 2006-09-12 03:24:58 +00:00
Steve Checkoway e7f2cc2d50 Spacing. 2006-09-12 03:23:28 +00:00
Steve Checkoway f147eef491 Sort. 2006-09-08 06:26:43 +00:00
Steve Checkoway 2a0692f4ed Cleanup. 2006-09-08 06:26:31 +00:00
Steve Checkoway e9651a568f Undef. 2006-09-08 05:40:39 +00:00
Steve Checkoway c06c8470a3 Fix prototype. 2006-09-08 05:36:29 +00:00
Steve Checkoway 90336496bc Cleanup. 2006-09-08 05:06:02 +00:00
Steve Checkoway f89680bf06 Simplify. 2006-09-08 05:05:42 +00:00
Steve Checkoway d9e7fc0ecd No, I wanted to both reset and flush the queue. 2006-09-08 05:05:09 +00:00
Steve Checkoway 00be7b5462 Reset(). 2006-09-08 04:49:48 +00:00
Steve Checkoway eff97a098e Revert. I should be calling Reset() instead. 2006-09-08 04:49:40 +00:00
Steve Checkoway 0506ca384b Flush all input events after the dialog box closes. Without this, pressing return to close the dialog box sends an event (usually menu start or equivalent). 2006-09-08 04:12:22 +00:00
Steve Checkoway 8c3f4cebba Allow flushing of queued input events. 2006-09-08 04:10:47 +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
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 d95d230875 Remove unused files. 2006-09-03 03:03:27 +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 96804e2db5 Last beat hint and floating point validation text. 2006-09-02 23:31:44 +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 4f52b37aec Singleton. 2006-09-02 19:35:52 +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 818626a270 Add a patch to compile with altivec correctly. (Patch is up at http://stepmania.sf.net/ffmpeg-0.4.9-pre1-altivec.patch .) 2006-09-02 09:49:54 +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
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 aa77643b3e Use dwarf instead of stabs. (I'm not sure this actually does anything, maybe if building a debug build using gcc 4.) 2006-09-01 08:15:29 +00:00
Steve Checkoway 176eb8aa5a Group and persist option screens but do not preload any of them. 2006-09-01 08:14:10 +00:00
Steve Checkoway 37dc530c0a Don't rebuild the vector of human players for each row. 2006-09-01 07:46:37 +00:00
Steve Checkoway 763738cafa Const. 2006-09-01 07:46:08 +00:00
Steve Checkoway deacf2cffc Newline. 2006-09-01 03:06:22 +00:00
Steve Checkoway 076205f683 Bind. 2006-09-01 03:05:47 +00:00
Steve Checkoway 0099258f5f Cleanup. 2006-09-01 02:09:49 +00:00
Steve Checkoway e3ee179531 Missing header. 2006-09-01 02:09:43 +00:00
Steve Checkoway c9850c2eb3 Cleanup. 2006-08-23 23:34:53 +00:00
Steve Checkoway 468b44805b Comment. 2006-08-23 22:44:32 +00:00
Steve Checkoway e319f9205e Header guard. 2006-08-23 22:39:43 +00:00
Steve Checkoway 8cffb9666f Simplify. 2006-08-23 22:33:08 +00:00
Steve Checkoway 5cfab46c84 Simplify. 2006-08-23 22:05:35 +00:00
Steve Checkoway ecc45eb6e7 If this Steps was autogenned, there's no need to copy the description, difficulty, meter, or radar values from the parent because they will be overwritten anyway. 2006-08-23 21:16:46 +00:00
Steve Checkoway dd7871b0c6 u -> i. 2006-08-23 20:45:30 +00:00
Steve Checkoway 540965cb40 Don't compute the compressed string or the hash unless it is required. 2006-08-23 20:42:26 +00:00
Steve Checkoway 63491418f4 Simplify. 2006-08-22 14:10:25 +00:00
Steve Checkoway acde26b76a Cleanup. 2006-08-22 14:06:24 +00:00
Steve Checkoway b80b3910ef Cleanup. 2006-08-22 13:52:34 +00:00
Steve Checkoway 061e3fb07a When Steps have changed in memory but not on disk, calling Compress() could lose all changes in memory. Clear the file name to ensure this doesn't happen and reset it when the Song has been written to cache once more. 2006-08-22 13:45:36 +00:00
Steve Checkoway ed2331b839 Cleanup. 2006-08-22 13:40:12 +00:00
Steve Checkoway c6573648ca Don't spend time decompressing and compressing when setting the note data. 2006-08-21 15:16:35 +00:00
Steve Checkoway 9b415eb365 Simplify. 2006-08-21 13:11:45 +00:00
Steve Checkoway f4d1b8aaa2 Bump. 2006-08-21 13:06:35 +00:00
Steve Checkoway 10845eebec Don't use leading underscores in file names either. 2006-08-21 13:06:21 +00:00
Steve Checkoway 0448234e68 Dump mount points in debug builds. 2006-08-21 13:05:21 +00:00
Steve Checkoway 86880827c3 Use constant. 2006-08-21 11:34:59 +00:00