Commit Graph
100 Commits
Author SHA1 Message Date
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
Steve Checkoway b527d4226a Not true. Song only allocates the Steps in Autogen. 2006-08-20 23:51:21 +00:00
Steve Checkoway dfb0963870 Unused. 2006-08-20 23:43:57 +00:00
Steve Checkoway 91d0401496 Make this clear. 2006-08-20 23:26:10 +00:00
Steve Checkoway dfee68b1d3 I'm tired of having ranlib run every time which modifies the library header which means that cvs thinks it is modified. Instead, run a script to copy libfoo.a to libfoo_link.a and link with libfoo_link.a. Have that script only run when the modification date of libfoo.a is newer than that of libfoo_link.a. 2006-08-20 05:29:45 +00:00
Steve Checkoway 5d779d7dbf Remove DifficultyDisplay. 2006-08-20 04:51:55 +00:00
Steve Checkoway 214873da10 Header cleanup. 2006-08-19 23:35:31 +00:00
Steve Checkoway 1559fae1bd Fix survival. 2006-08-19 22:08:33 +00:00
Steve Checkoway 0592a4b911 Fix indent. 2006-08-19 22:01:40 +00:00
Steve Checkoway 24ebef5e78 Comment. 2006-08-19 21:54:16 +00:00
Steve Checkoway 1095b06e57 Key bindings. 2006-08-19 21:17:58 +00:00
Steve Checkoway ba1a57b15d Bindings. 2006-08-19 20:49:16 +00:00
Steve Checkoway df9d1f13b1 Allow calculation of a better estimator (still not quite unbiased) for the population standard deviation from a sample. The result will be slightly too low still, but not by very much. 2006-08-19 20:43:43 +00:00
Steve Checkoway 5182356808 Time to get a new keyboard? 2006-08-19 20:06:31 +00:00
Steve Checkoway a491752dba The shift key is an important one. 2006-08-19 20:05:43 +00:00
Steve Checkoway 03c0f2f5e4 Handle lift. 2006-08-19 19:59:56 +00:00
Steve Checkoway 0de6c71e96 Simplify. 2006-08-19 19:58:48 +00:00
Steve Checkoway 330d9ef714 Fix crash. 2006-08-19 19:55:05 +00:00
Steve Checkoway 65b2022445 No options menu for oni. 2006-08-19 09:07:37 +00:00
Steve Checkoway 76a36090db Update the Begin command. 2006-08-19 09:02:41 +00:00
Steve Checkoway 8439977cfb Remove debugging. 2006-08-19 09:01:37 +00:00
Steve Checkoway 510a2162fb Add stage mods for oni. 2006-08-19 09:01:17 +00:00
Steve Checkoway c6270183c2 Read the metric before it is used. 2006-08-19 09:00:25 +00:00
Steve Checkoway 2d69aa95e6 Binding. Is there a reason that DEFINE_METHOD does not seem to be used much? 2006-08-19 08:59:43 +00:00
Steve Checkoway eb4b5597bf Include the note skin. 2006-08-19 08:57:50 +00:00
Steve Checkoway 08c6c242d7 Cleanup. 2006-08-18 01:35:34 +00:00
Steve Checkoway fa0bc95823 Stage mods. 2006-08-18 01:27:14 +00:00
Steve Checkoway be1e448cb2 Extra stage isn't the only thing that might want to force stage mods. 2006-08-18 01:26:50 +00:00
Steve Checkoway 86c55da959 Put this in ScreenBeginCommand. 2006-08-18 01:26:22 +00:00
Steve Checkoway 30063f1ade Move file. 2006-08-18 00:42:00 +00:00
Steve Checkoway c60bfd436f Bad Xcode. Bad. 2006-08-18 00:38:58 +00:00
Steve Checkoway 461b2c3a4f Bah. 2006-08-18 00:38:30 +00:00
Steve Checkoway 547d979061 Set up stage mods. 2006-08-18 00:13:29 +00:00
Steve Checkoway 1f77fa20dc Set up stage mods in Lua. This can be more than just extra stage mods. 2006-08-18 00:12:58 +00:00
Steve Checkoway 0ab5be64af Lua bindings. 2006-08-18 00:11:30 +00:00
Steve Checkoway 8c6575ecbb PlayerOption po1; // Initialize it.
PlayerOption po2;

po2.FromString( po1.GetString() );
po2 does not necessarily equal po1 because the note skin might be omitted so po2's note skin will be blank. Passing true to GetString() will include the note skin so po2.FromString( po1.GetString(true) ) will cause po2 to equal po1.
2006-08-18 00:09:09 +00:00
Steve Checkoway 17c16210d1 Cleanup. 2006-08-18 00:05:50 +00:00
Steve Checkoway 530fba773b Add Lua constants. 2006-08-18 00:05:28 +00:00
Steve Checkoway 16dc51dbcb Includes. 2006-08-18 00:04:45 +00:00
Steve Checkoway a7487918b1 Helper for simple lua function calls. 2006-08-18 00:04:08 +00:00
Steve Checkoway 33881b9b1f Cleanup. 2006-08-17 20:33:56 +00:00
Steve Checkoway 199f953679 Missing metric. 2006-08-17 20:32:49 +00:00
Steve Checkoway a59a432ff6 Possible fix for nil value. 2006-08-17 20:31:16 +00:00
Steve Checkoway 886f368be2 Cleanup. 2006-08-17 20:18:19 +00:00
Steve Checkoway e4a8bb782f Header cleanup. 2006-08-17 19:05:29 +00:00
Steve Checkoway 35c48c3671 Header cleanup. 2006-08-17 18:52:46 +00:00
Steve Checkoway 6e734a13d0 Header guard. 2006-08-17 18:47:39 +00:00
Steve Checkoway 4746a7585f Header cleanup. 2006-08-17 18:46:20 +00:00
Steve Checkoway f6a31ac68f Fix stupid VC warning. class foo is the same as struct foo. 2006-08-17 18:27:44 +00:00
Steve Checkoway b18a740914 Header cleanup. 2006-08-17 18:27:00 +00:00
Steve Checkoway ffed4036c9 Spacing cleanup. 2006-08-17 18:22:30 +00:00
Steve Checkoway 63b3bc4cb7 Header cleanup. 2006-08-17 18:14:24 +00:00
Steve Checkoway 5ccbffebfc Simplify IsAtEnd logic. (I forgot to mention that these iterators have a one time O(log n) cost to construct.) 2006-08-17 18:05:42 +00:00
Steve Checkoway f57bc1ef78 Use NoteData::iterator instead of a track-row pair. With n nonempty rows in the NoteData and m nonempty rows in the range, iterating over the whole range took O(m log n). Now, it takes O(m). (Saves the map look ups which are amortized log-time.) 2006-08-17 17:58:45 +00:00
Steve Checkoway 955a8a99ae Remove files. 2006-08-17 17:19:14 +00:00
Steve Checkoway 99341d71b4 Make this easier to read. A crash reason of "7" throws me off. 2006-08-16 13:28:48 +00:00
Steve Checkoway 22b1817586 Missed commit. 2006-08-16 13:27:59 +00:00
Steve Checkoway 44615a7224 Fix comments. 2006-08-16 12:08:27 +00:00
Steve Checkoway 993fe3832e Add const versions. 2006-08-16 12:06:35 +00:00
Steve Checkoway 6bfccc7f4c Remove IteratorCondition, use NULL to signify what was previously IteratorCondition::All. 2006-08-16 11:57:24 +00:00