Commit Graph

110 Commits

Author SHA1 Message Date
Devin J. Pohly 135d9025bc Hopefully fix error with vector iterators.
That's what I get for pretending I know how to use C++.
2013-05-21 08:53:56 -07:00
Devin J. Pohly f13af2c96f Fix conversion of negative BPMs and stops.
There are still issues with loading the changed files from cache for some
reason.  However, the initial conversion is now identical to OpenITG behavior
except in some very strange edge cases.
2013-05-20 19:12:40 -07:00
Devin J. Pohly ed9fbd2c31 Filter out zero BPMs and zero-length stops in first pass
It turns out to be much cleaner to do this here than to do it later.
2013-05-19 21:42:54 -07:00
Devin J. Pohly dcb62dec88 Sort BPMs and stops before processing 2013-05-19 19:50:56 -04:00
Devin J. Pohly c04553846a "Combine" processing for BPMs and stops.
Prep for replacing with new negative-converting algorithm.
2013-05-17 16:43:53 -04:00
Devin J. Pohly 785cff2abc Remove unneeded return value from ProcessBPMs 2013-05-17 05:43:25 -04:00
Devin J. Pohly b1d2f68737 Finish moving ProcessBPMs and ProcessStops together 2013-05-17 05:34:14 -04:00
Devin J. Pohly 6fadd3a727 Start moving ProcessBPMs and ProcessStops next to each other 2013-05-15 19:57:57 -04:00
Devin J. Pohly 8eb76829fb Don't allow edits with no valid #NOTES 2013-05-09 17:45:25 -04:00
Devin J. Pohly adb0d5d4a1 Separate functions for BPM/stop parsing and processing 2013-05-09 00:00:14 -04:00
Devin J. Pohly 536768c91b Split parsing from processing for BPMs/stops 2013-05-08 23:46:54 -04:00
Devin J. Pohly e16104058b fix some neg-bpm -> warp problems 2013-05-02 20:55:05 -04:00
Jason Felds fdd3728ab6 Better var name, phrasing. 2011-11-11 14:21:29 -05:00
AJ Kelly 16dab959bf [NotesLoaderSM] If the difficulty for a Steps is not set, set it to 1. Should fix issue 571, hopefully. 2011-10-07 12:43:08 -05:00
Jason Felds e1ccf9be94 How long must we support this "hack"? 2011-09-24 15:25:17 -04:00
Jason Felds 83c3899c00 Fix loading of steps from .sm files.
Some files were using non standard difficulty names
that weren't being caught properly.
2011-09-23 22:06:43 -04:00
Mark Cannon 8099e25dcc stage 3 of TimingData changes: changed external interface, enforce encapsulation more strictly 2011-09-15 03:28:58 +00:00
Mark Cannon df9c4d8142 segment renovation stage 2: redefine TimingSegments as simple structs, standardize names and functions, use only rows for constructors (we'll limit allocation through TimingData::AddSegment in the near future) 2011-09-11 17:13:10 +00:00
Mark Cannon 0d4e43f9e3 stage 1 of TimingSegment cleanup: consolidate genericizable code in TimingData, use a proper variable name 2011-09-10 03:08:59 +00:00
AJ Kelly 0c5f9c2b66 moved format hacks from GameManager to NotesLoaderSM 2011-08-03 23:11:05 -05:00
Jason Felds 7c75347e40 Revert "Remove #INSTRUMENTTRACK. It's guitar only."
This reverts commit 176b6f55ea.

Glad I learned this command.
2011-07-30 15:56:30 -04:00
Jason Felds 176b6f55ea Remove #INSTRUMENTTRACK. It's guitar only. 2011-07-30 15:33:00 -04:00
Jason Felds b6fe8a0de0 [timing] Notes* mostly covered. 2011-07-27 22:33:50 -04:00
Jason Felds acbf2e9aa7 Another syntax bug, another cache force.
...alright, even I'm getting annoyed with this.
2011-07-17 23:42:38 -04:00
Jason Felds 48226f2027 No longer store #NOTES in cache.
Use the #STEPFILENAME tag to access the files
as appropriate.

To the betting pool fans: file cache version is 192.
2011-07-17 16:06:40 -04:00
Jason Felds 6f5ab98dec [timing] More respect of pointers.
Again going to trust virtual functions to do the right thing.
2011-07-14 23:15:48 -04:00
Jason Felds 7399f19865 [timing] Convert the others to use AddSegment.
I was given enough confirmation to continue on.
2011-07-14 19:23:29 -04:00
Jason Felds da291c2097 Temp branch [timing] for conversion process.
May need some help with Notes*Json.
2011-07-14 12:31:42 -04:00
Jason Felds 4f91b5ddbe Remove unused attribute. 2011-07-14 11:09:49 -04:00
Jason Felds f16fec8438 Well EXCUUUUUUUUUUUUUUUUUUUUUUUUUSE ME, Princess! 2011-07-07 13:55:46 -04:00
Jason Felds 5940bdeddb More abstraction. 2011-06-30 02:10:58 -04:00
Jason Felds 8bc2c38142 Replace #BEAT tags with #SECOND tags.
Split Timing has made this necessary.

Yes, this means another recache.
2011-06-30 01:11:38 -04:00
Jason Felds 5bd5f2ea99 Simplify. 2011-06-27 20:15:30 -04:00
Jason Felds e2cb8d1794 Better safe than sorry here. 2011-06-26 16:07:36 -07:00
Jason Felds b51eec691d Step Attacks will be written.
The cache won't be incremented until this is
given some testing.
2011-06-24 11:27:20 -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 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 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 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 1e296ed0bf [notesloader] More virtuals. 2011-06-09 21:27:47 -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
Thai Pangsakulyanont 687affa1e5 merge.
I seem to get an EXC_BAD_ACCESS error about libpng on app starting, so I don't know if the merge succeeded at all :<
2011-06-04 19:18:55 +07:00
Thai Pangsakulyanont a1681faa06 skip recalculating radar values and last beat when loading from cache. loading songs from the cache is now 5x faster.
fyi: it took 1:40 minutes to load my library, now it's only 20 seconds.
2011-06-04 17:28:20 +07:00