Commit Graph
100 Commits
Author SHA1 Message Date
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
Steve Checkoway dc9361a4ef Move class template's member function definitions out of the header, explicitly instantiate all_tracks_iterator and all_tracks_const_iterator.
Apart from cleaning up the header (the main goal), this should improve compile time by instantiating in a single place so the linker doesn't have to combine multiple definitions.
2006-08-16 11:37:38 +00:00
Steve Checkoway f10e5b34b3 Only guess at 6-panel if DetermineStepsType() decides on STEPS_TYPE_BEAT_SINGLE5. Before, this guess was being ignored. 2006-08-15 11:25:38 +00:00
Steve Checkoway 000e984c2c Do not bother copying this. 2006-08-15 11:16:45 +00:00
Steve Checkoway 4a3b05741e Handle hold notes in bms files (untested). 2006-08-15 11:11:21 +00:00
Steve Checkoway 98c23ac3da StringToFloat 2006-08-15 09:55:57 +00:00
Steve Checkoway 9d3538d89d Style cleanup. 2006-08-15 09:54:48 +00:00
Steve Checkoway 1a071728a6 Add missing files. 2006-08-15 08:17:13 +00:00
Steve Checkoway 9ee66decab Ahh, the time-honored practice of debugging via print statements. 2006-08-14 15:53:11 +00:00
Steve Checkoway 565932e8d5 Revert. 2006-08-14 15:44:26 +00:00
Steve Checkoway b64a3f866e Revert the path change. The correct way to handle this is with custom executables which are per-user. 2006-08-14 15:44:10 +00:00
Steve Checkoway c6936984b4 Allow launching through a symlink. It doesn't work quite like normal applications. Menus don't show up, it doesn't really seem to know where it is.
Still, most people just would use the Finder and never encounter this behavior.
2006-08-14 15:31:52 +00:00
Steve Checkoway 832212c526 Cleanup. 2006-08-14 13:15:47 +00:00
Steve Checkoway 2eebf1e377 Match style. 2006-08-14 13:12:40 +00:00
Steve Checkoway d9b63a0dae Simplify. 2006-08-14 13:10:52 +00:00
Steve Checkoway b39d68c8cf Initial TapNote::lift implementation. 2006-08-14 12:16:31 +00:00
Steve Checkoway c3a3fc58ff Cleanup. 2006-08-14 10:45:43 +00:00
Steve Checkoway 734f9760cc Remove unnecessary member. Just set iKeysoundIndex to -1 if it isn't valid. 2006-08-14 10:17:48 +00:00
Steve Checkoway 2f9bda2eea Push check down. 2006-08-14 09:57:18 +00:00
Steve Checkoway 45db2de31d Pass release to Step(). Doesn't do anything yet. 2006-08-14 09:09:24 +00:00
Steve Checkoway a839f8cfa6 Comments. 2006-08-14 07:58:03 +00:00
Steve Checkoway 53c3fdc1ba Don't crash if Format is empty. 2006-08-14 04:49:27 +00:00
Steve Checkoway b786222be5 Include the lua call stack when panicking. 2006-08-13 03:03:27 +00:00
Steve Checkoway 1568419a35 Cleanup. 2006-08-13 03:02:22 +00:00
Steve Checkoway eab503d3f2 Always do downcasts through dynamic_cast. 2006-08-12 23:50:47 +00:00
Steve Checkoway c0ca082353 Simplify. 2006-08-12 23:20:43 +00:00
Steve Checkoway 91b3735332 Missing button. 2006-08-12 23:16:15 +00:00
Steve Checkoway fb4f680947 Duplicated metrics. 2006-08-12 23:04:51 +00:00
Steve Checkoway 3a34bcad8a HOOKS is now set. 2006-08-12 22:08:00 +00:00
Steve Checkoway bf48f8343b Move to Init(). 2006-08-12 22:07:15 +00:00
Steve Checkoway 608261a152 Add optional Init(). This can be used so that HOOKS is set and accessible during the child crash handler by moving that code to Init(). 2006-08-12 22:06:19 +00:00
Steve Checkoway 152efe7d75 Move to .xcconfig 2006-08-11 06:34:28 +00:00
Steve Checkoway 47d5153ae3 Add missing metric. 2006-08-10 10:30:41 +00:00
Steve Checkoway 5143db7475 I have spent way too much time on this script. Due to popular demand, you can now pass it -v (pass -h to see all options) 2006-08-10 09:52:56 +00:00
Steve Checkoway 8ecb0c6c8d Fix compile. 2006-08-10 09:34:31 +00:00
Steve Checkoway 6c29529b39 Fix compile. 2006-08-10 08:54:47 +00:00
Steve Checkoway 09da1f6398 Cleanup. 2006-08-10 07:05:16 +00:00
Steve Checkoway f688fca2de Simplify. 2006-08-10 06:51:55 +00:00
Steve Checkoway 2f6be662e7 Fix compile. 2006-08-10 06:50:49 +00:00
Steve Checkoway a13b3083a0 Cleanup. 2006-08-10 06:43:39 +00:00
Steve Checkoway 547920b6cd Simplify. 2006-08-10 06:39:08 +00:00
Steve Checkoway ba9a3d51bf Fix warning about loss of precision. I could just declare it as lua_Number but then do you call truncf (which would likely result in a double to float conversion anyway) or trunc which might convert from float to double if LUA_NUMBER had been defined to be float. 2006-08-10 05:07:16 +00:00
Steve Checkoway 8e8aa6cfb6 Applied patch to handle vsync. I cannot test this. I get 1 fps windowed and it does not hit 1 in full screen. 2006-08-10 04:43:34 +00:00
Steve Checkoway f9b67d8f95 Rename. 2006-08-10 04:30:32 +00:00
Steve Checkoway ad3fcd9f0c Cleanup. 2006-08-09 22:11:35 +00:00
Steve Checkoway 129eda9df8 Be careful about buffer overflow. 2006-08-09 22:07:53 +00:00
Steve Checkoway 8bdf73ed2d missing metrics 2006-08-09 08:19:56 +00:00
Steve Checkoway d04971e156 Add version info. 2006-08-08 12:34:24 +00:00
Steve Checkoway dd2d6c3d29 Include the class along with the singletons in the xml. 2006-08-08 11:47:18 +00:00
Steve Checkoway b9216dcc97 Don't load songs with just dumping strings. 2006-08-08 10:54:33 +00:00
Steve Checkoway 2654587e16 --ExportLuaInformation. Add a stylesheet. (Not finished yet.) 2006-08-08 10:25:19 +00:00