Commit Graph
100 Commits
Author SHA1 Message Date
Jason Felds 16d58dc0a4 Fix editor crash if you don't save a new chart. 2011-06-24 01:09:37 -04:00
Jason Felds 0190ac0eca Allow converting delays to beats.
Just find a better song than Uprock to use this on.
2011-06-24 00:50:32 -04:00
Jason Felds c67e4d2349 Add unlocking one step per steps type.
This is different from just unlocking one step for all step types.
2011-06-24 00:28:57 -04:00
Jason Felds 32ee68dcf9 Don't have AutoKeysounds count for radar values.
Since this affects the loading of files, it's
time for another cache reload. *groan*
2011-06-20 19:13:46 -04:00
Jason Felds 4b32d9ecac Spelling. 2011-06-20 19:03:29 -04:00
Jason Felds 7d79762076 Better error message on failure. 2011-06-20 19:02:44 -04:00
Jason Felds 0498ad5f70 Ensure all BM* files have a BGM track. 2011-06-20 19:00:22 -04:00
Jason Felds c4b0fb555e Better assertion message and added comment.
Yes, some BMS files crash in the default branch.

I wonder if this is related to the sqlite BMS
crashes I'm getting...
2011-06-20 14:25:57 -04:00
Jason Felds 376f17213e Only clean if there is a song to clean. 2011-06-20 13:44:20 -04:00
Jason Felds 3e8441062d Right, forgot this. 2011-06-20 00:52:46 -04:00
Jason Felds 3b2f6989a6 Restore foot limiter for Extreme scoring.
Needs to be tested by someone more accurate than me
for any rounding errors and whatnot.
2011-06-20 00:51:28 -04:00
Jason Felds b0b87501eb More scrolling friendliness.
Fair warning: mass recompile of many files.
2011-06-19 20:19:09 -04:00
Jason Felds ef3ea96f34 Doxygen and spacing.
I don't care if we don't respect 80 chars.

I just want to avoid horizontal scrolling if possible.

...maybe we should just astyle our main branch.
2011-06-19 19:04:48 -04:00
Jason Felds 97abd25e3e Fix Practice Songs crash with AdditionalSongs. 2011-06-19 16:51:51 -04:00
Jason Felds bd336c9a76 Bring better(?) assertion to default. 2011-06-17 00:32:30 -04:00
Jason Felds bfe6e0076d Port ResolvePath from OpenITG.
Also, forgot to [sqlite] this earlier.
2011-06-15 22:36:58 -04:00
Jason Felds 49ac1c362d Add many TimingData bindings. See changelog. 2011-06-15 16:56:01 -04:00
Jason Felds 6a4dd911a8 Forgot to SAFE_DELETE a pointer. 2011-06-15 02:36:53 -04:00
Jason Felds b424659fcd Prepare for dynamic notedata loading.
I wonder if this should include radar calculations.
2011-06-14 21:47:22 -04:00
Jason Felds 8978ebffdf Take Thai's advice: use LTC_NO_ROLC on debug.
Release doesn't need it.

I think we can soon get Xcode 4 working. :)
2011-06-14 21:05:49 -04:00
Jason Felds 6be27bcb48 Prevent library conflicts for the future.
Mac users, you will have to recompile.
2011-06-14 19:54:01 -04:00
Jason Felds 254019b615 Less stubby. 2011-06-14 14:28:52 -04:00
Jason Felds 27bd1ff1f2 Starting stub for hopeful cache reduction.
Now, let's see if we can pull this off.
2011-06-14 14:19:40 -04:00
Jason Felds 0bc2c20268 More attempts at warning-free code. 2011-06-14 13:51:26 -04:00
Jason Felds 3b1260bb79 Start detecting which files have errors.
Guess we needed this as a class/struct after all.
2011-06-14 13:35:59 -04:00
Jason Felds 23e71e1574 Prototype warning. 2011-06-14 13:15:54 -04:00
Jason Felds 0f435d2c4d Fix music wheel bug thanks to...CLANG?!?
When compilers are the source of bugs,
you know we have to worry.

Especially since Clang 1.5 isn't on Xcode 4
and Clang 2.0 isn't working on Xcode 4.
2011-06-14 02:04:45 -04:00
Jason Felds dbecbacc72 We're merging a lot today, aren't we? 2011-06-13 16:08:53 -04:00
Jason Felds fed3c9bf2c NumLock becomes Hyphen. P2 gains Back Button.
This should alleviate some issues.
2011-06-13 16:08:28 -04:00
Jason Felds a72241666d Ensure AutoPlay doesn't cause ANY combo increase.
AutoPlayCPU can, however.
2011-06-13 15:00:21 -04:00
Jason Felds 6d8df2ffc2 Lots of updates today. Nice. 2011-06-13 14:49:06 -04:00
Jason Felds 7a16ba9c0f Add two new noteskin metrics.
This properly resolves bug tracker issue 190.
2011-06-13 14:48:15 -04:00
Jason Felds bd9c58b37e Right, late night merge. 2011-06-13 03:43:54 -04:00
Jason Felds 0488193b6e *shrugs* May as well try this. 2011-06-13 03:43:20 -04:00
Jason Felds e55270cade Missed a GCC 4.2 spot.
Still thinking we could go to LLVM 1.5 here.
2011-06-12 20:45:47 -04:00
Jason Felds 88f844787f Minor doxygen. 2011-06-12 20:45:30 -04:00
Jason Felds fc68776e3f Anyone on linux want to test this?
I think this may work for an indeterminate bar.
2011-06-12 20:45:21 -04:00
Jason Felds acdc45042a Put old behavior back by default.
Use the Control key for the time signature scrolling behavior.
2011-06-12 20:34:23 -04:00
Jason Felds 3d155c9970 NOW I start moving prototypes to headers?
I need to be more consistent...gah, hungry.
2011-06-12 19:35:24 -04:00
Jason Felds c3c8753620 More prototype warning stuff.
I know these should be in the .h files,
but we can cover that later.
2011-06-12 19:20:43 -04:00
Jason Felds 4036ee89c2 Last bit of warnings for tonight. 2011-06-12 03:55:48 -04:00
Jason Felds fe9dfa26c4 Consistency. 2011-06-12 03:47:38 -04:00
Jason Felds 7acbe91683 More prototypes. 2011-06-12 03:47:22 -04:00
Jason Felds 986fbd6468 Beat me to it Daisu. 2011-06-12 03:43:59 -04:00
Jason Felds 7f3b8577b3 Prototypes. 2011-06-12 03:42:15 -04:00
Jason Felds b7ffecd3d0 This pointer was considered pointless. 2011-06-12 03:40:26 -04:00
Jason Felds 2ab5a4ddb8 Mostly 64 - 32 float warning fixes. 2011-06-12 03:37:10 -04:00
Jason Felds 4bb0b28fc8 Good old warning fixes...how I missed thee. 2011-06-12 03:30:57 -04:00
Jason Felds 720675637e The last of the LOG warnings I think. 2011-06-12 03:12:44 -04:00
Jason Felds fa599184e9 Right, right, merge this first. 2011-06-12 03:09:11 -04:00
Jason Felds 4fb2379746 I think we can look into XCode 4 now sharksoda. 2011-06-12 03:08:44 -04:00
Jason Felds 6c32ca085e Make sure these use split timing. 2011-06-11 22:40:14 -04:00
Jason Felds 5a7ceecb89 We're on libpng 1.5.1 now.
Guess we have more to update here.
2011-06-11 21:26:05 -04:00
Jason Felds 1d8e7286cc Use the appropriate timing.
Restores Page Up/Page Down/;/' properly.
2011-06-11 17:05:03 -04:00
Jason Felds 05a7a24d88 Make the GetPlayerTimingData() binding official.
Hmm...did we never document the Player class
in LuaDocumentation.xml?
2011-06-11 16:24:38 -04:00
Jason Felds cff72f7dab Minor cleanup. 2011-06-11 16:15:18 -04:00
Jason Felds 87d151687f Allow 15 edits per profile. 2011-06-11 15:24:16 -04:00
Jason Felds d90c8cfe07 Add GetPlayerTimingData lua binding...for now.
This may be removed if it fails its purpose.
2011-06-11 15:17:48 -04:00
Jason Felds f900b53f1d Edits can have 255 chars in the description now. 2011-06-11 15:10:27 -04:00
Jason Felds aeb07190d8 Allow setting Preview Music via Alter Menu.
Now math calculations are no longer needed.
2011-06-11 11:15:58 -04:00
Jason Felds 50cb0f9b78 More warning fixes. 2011-06-11 09:48:16 -04:00
Jason Felds 788d7005dc Remove commented code, add comment.
Need a warning expert on this one.
2011-06-11 09:44:51 -04:00
Jason Felds 5ef549d80d Warning fixes. 2011-06-11 09:36:17 -04:00
Jason Felds c06763db85 Make linux compile the loading window code.
NOTE: The actual loading window code is stubbed.
I do not know GTK window code yet, so hopefully
this won't crash yet.
2011-06-11 09:30:49 -04:00
Jason Felds 1b5853c5ea Make sure the music file exists.
Well, better this than a bad access error.
2011-06-11 00:17:47 -04:00
Jason Felds b78c5350e3 Only load the background if it exists.
Took us awhile to find it.
2011-06-10 21:40:56 -04:00
Jason Felds 3123bbaea0 Revert 0b67f6b.
Perhaps there is a better implementation.
2011-06-10 21:20:26 -04:00
Jason Felds 465ed345db May as well put this in the changelog. 2011-06-10 17:05:57 -04:00
Jason Felds 7768134149 Alright pumpervinil, you got your Delay wish.
I hope that's enough for you.
2011-06-10 17:03:53 -04:00
Jason Felds 9a258e7042 Add "Convert Selection to Fake Segment" option.
Once again, do things math free.
2011-06-10 16:52:23 -04:00
Jason Felds 0db9f87b74 Add "Convert Selection to Warp Segment" option.
Also, preemptively fix another bug with the menu moving.
2011-06-10 16:43:38 -04:00
Jason Felds 866d72e660 Add a Clear Clipboard function to the editor. 2011-06-10 16:10:43 -04:00
Jason Felds 493a49f55e Missed a fix spot. Checkpoints... 2011-06-10 15:18:08 -04:00
Jason Felds 1486b72e23 AutoPlay shouldn't hit unjudgable notes. 2011-06-10 11:02:02 -04:00
Jason Felds 61d935ba70 Split the Editor's Area menu into two menus.
Use the "Enter" key for the old menu,
and the "A" key for the Alter menu
(requires having selected an area of notes).
2011-06-10 03:04:47 -04:00
Jason Felds 61880f7688 [notesloader -> default] Mission accomplished. 2011-06-09 22:20:57 -04:00
Jason Felds 4830ecc730 [notesreader] Ready to test again. 2011-06-09 22:00:10 -04:00
Jason Felds bb642827a8 [notesloader] More abstracting. 2011-06-09 21:41:56 -04:00
Jason Felds 1ec548442d [notesloader] Take advantage of const members. 2011-06-09 21:34:04 -04:00
Jason Felds 1e296ed0bf [notesloader] More virtuals. 2011-06-09 21:27:47 -04:00
Jason Felds 11dfc1dd8b Deprecate Lua's HasNegativeBPMs().
Use HasWarps() instead.

Hmm...is there a way to mark the XML with a deprecated tag?
2011-06-09 18:16:23 -04:00
Jason Felds 21ca14d589 Fix F11/F12 split timing sync adjuster. 2011-06-09 18:12:38 -04:00
Jason Felds 68fd21fdc8 [notesloader] More cleanup.
Need to test something in gameplay before continuing.
2011-06-09 15:14:47 -04:00
Jason Felds dec615a2e7 [notesloader] Handle fakes on their own. 2011-06-09 14:53:58 -04:00
Jason Felds 48eefc7700 [notesloader] Have common ground. 2011-06-09 14:45:30 -04:00
Jason Felds e37fe84d6a [notesloader] Simplify. 2011-06-09 14:32:14 -04:00
Jason Felds d2be04719d [notesloader] More refactoring. 2011-06-09 14:19:12 -04:00
Jason Felds e00b7f3616 [notesloader] Some refactoring done. 2011-06-09 14:01:55 -04:00
Jason Felds b6bf776716 New branch: [notesloader]
Time to better unify our files and refactor properly.
2011-06-09 13:46:30 -04:00
Jason Felds 0fa0d42549 Minor updates.
The extra padded space is for planning.
Going to try to take care of another Pump thing.
2011-06-08 23:05:28 -04:00
Jason Felds 42f39c7ab9 Restrict course editor to playable songs.
This does not yet deal with songs with charts
in multiple game types.

...at least, as far as I know.
2011-06-08 21:58:45 -04:00
Jason Felds 2f896c3807 Missed a spot. 2011-06-08 18:20:37 -04:00
Jason Felds 8019654956 shakesoda was right. 2011-06-08 18:14:50 -04:00
Jason Felds decdcb71c7 Bring in updated scoring formulas too. 2011-06-08 16:14:32 -04:00
Jason Felds fc9f07158a 99% fix scoring with warps and fakes.
Now all charts can seek 100%.

This does force yet another cache reload.

Hopefully it won't slow first loads too much.
2011-06-08 16:14:11 -04:00
Jason Felds 06efa5c726 Simple solutions are smart. 2011-06-08 15:33:40 -04:00
Jason Felds fec932e153 More prep work for better radar calculations. 2011-06-08 15:02:54 -04:00
Jason Felds 9ac07e1e2e Prepare for a place to process timing data.
Hopefully what I'm thinking of won't cause too much slowdown.
2011-06-08 14:43:59 -04:00
Jason Felds 5216d6be45 Simplify checks for unjudgable rows.
This way, we can add more segments later
and now have to change the logic in many places.
2011-06-08 13:03:07 -04:00
Jason Felds 4b11968abc Make it more obvious about the T key.
Guess not everyone reads changelogs or F1.
2011-06-07 23:43:07 -04:00