AJ Kelly
784dcb5f60
[br:warps] just come cleanups
2011-03-26 00:25:56 -05:00
AJ Kelly
417848ce4e
[br:warps] better variable name for FreezeSeconds/SecondsPerBeat
2011-03-26 00:19:30 -05:00
AJ Kelly
53421eea4f
[br:warps] more work on NotesLoaderSM, re: warps from Negative Stops
2011-03-26 00:17:42 -05:00
AJ Kelly
97e9e63d5c
revert unneeded code
2011-03-25 23:07:13 -05:00
AJ Kelly
3447567a61
[br:warps] ignore mines if they are within a warp section; untested but should work in theory
2011-03-25 23:04:41 -05:00
AJ Kelly
fff2c5948e
[br:warps] still doesn't do anything, but latest work on negstops (does not make WarpSegments yet)
2011-03-25 22:46:45 -05:00
Jason Felds
7e59c60944
[warps] Ignore all mines during a warp.
2011-03-25 21:31:47 -04:00
Jason Felds
0692da91c6
[warps] Be consistent, include Row and Beat.
2011-03-25 21:31:33 -04:00
Jason Felds
9af2e96204
[warps] Already added.
2011-03-25 21:14:24 -04:00
AJ Kelly
dd868637d2
[br:Warps] swap condition/code on Negative Stops; gonna hopefully work on this some more
2011-03-25 19:11:34 -05:00
Jason Felds
5126e21377
[warps] do validation in SetWarpAtRow, not here.
2011-03-25 17:48:05 -04:00
Jason Felds
c8a6f4c41d
[warps] Allow for editing warps.
...
TODO: Ensure warps get erased if they go backwards.
2011-03-25 17:40:56 -04:00
AJ Kelly
e27c58cd07
[br:warps] bring in changes from default branch
2011-03-25 16:05:11 -05:00
Jason Felds
b94ff7785f
[warps] Add comment for thing to fix.
2011-03-25 16:33:57 -04:00
Thai Pangsakulyanont
f4ecfd08f9
[warps] Fix IsWarpAtRow.
2011-03-25 23:40:03 +07:00
Thai Pangsakulyanont
4316579e89
[warps] my attempt at making warps work. see commit message.
...
+ TimingData: rewrote GetBeatAndBPSFromElapsedTimeNoOffset and GetBeatFromElapsedTimeNoOffset
to make it simpler and compute times correctly, by going through 3 arrays at the same time.
+ TimingData: added TimingData::IsWarpAtRow(int) just in case.
+ The skipping part is now handled by TimingData.
Current issues:
+ the rewritten function does not check if the vectors are sorted.
+ if you press the notes after the skip before the skip is reached, the notes in the warp
range got hit instead because m_iWarpBeginRow was not set before the warp is reached.
+ the notes after the skipped part are not judged if hit before the warp is reached and
the warp is big enough.
2011-03-25 23:19:31 +07:00
Thai Pangsakulyanont
da20a87814
delete m_pTextSectionCount in destructor.
2011-03-25 13:22:49 +07:00
Jason Felds
92e3ab338d
[warps] More consistent naming.
...
Now to make changes...
2011-03-25 01:52:14 -04:00
Jason Felds
db429e11cc
[warps] View the list.
...
1) Add functions similar to the other Segments.
2) Use a better named member variable.
3) TimingData cleanup.
2011-03-25 00:54:33 -04:00
Jason Felds
621dfa050e
[warps] Prepare text code.
2011-03-24 20:41:35 -04:00
Jason Felds
e592be406b
[warps] More prep work, add lua binding.
2011-03-24 20:21:43 -04:00
Jason Felds
35a880f2ee
[warps] Restore this function for consistency.
2011-03-24 20:09:20 -04:00
Jason Felds
9d456125a1
[warps] Load the warps.
...
Now, the fun part...implementation.
2011-03-24 19:58:36 -04:00
Jason Felds
42d73895ab
[warps] Prepare the writer.
2011-03-24 19:51:46 -04:00
Jason Felds
c11c5ee313
[warps] More setting up.
2011-03-24 19:47:04 -04:00
Jason Felds
f6acec176e
[warps] Warnings are getting in my way...
2011-03-24 19:44:47 -04:00
Jason Felds
5287e73081
[warps] ...yeah, whoops.
2011-03-24 19:36:43 -04:00
Jason Felds
36f728d88e
Start of a new branch "warps".
...
Ensure that all warps are forward facing for now.
2011-03-24 19:22:11 -04:00
Thai Pangsakulyanont
6f504f6317
merge with "[ " stripping code
2011-03-23 12:06:04 +07:00
Thai Pangsakulyanont
aab30fbfa1
Remove trailing " [" from common substring when loading BMS files.
2011-03-23 09:59:39 +07:00
Jason Felds
35fb11c764
More effective-to-some fixes.
2011-03-22 22:39:40 -04:00
Jason Felds
1e63b898f2
Fix a memory leak.
2011-03-22 22:18:25 -04:00
Jason Felds
04300bb48c
Try to respect hungarian notation better.
2011-03-21 02:10:10 -04:00
Jason Felds
25ed1ef8ea
Finish the job here before leak testing.
...
Now...how to remove the leak...?
2011-03-21 01:40:39 -04:00
Jason Felds
220e4e168d
Re-revert, implement right.
...
Pay attention to your compiler warnings everyone.
(And also don't test exclusively in the editor.)
2011-03-21 00:58:56 -04:00
Jason Felds
22c3027133
Reverting recent initialization list attempt.
...
The old code was behaving better...by that I mean not crashing on me.
Steve is right: time to use different tools to improve our code.
2011-03-21 00:42:30 -04:00
Flameshadowxeroshin
226cb92aac
prevent possible WAV read hang (thanks to Steve Checkoway)
2011-03-20 21:42:57 -05:00
AJ Kelly
7d8e2c33bc
[PlayerOptions] Tons of new Lua bindings. See the Lua documentation for all of them, there's too many to print here.
2011-03-20 21:25:49 -05:00
AJ Kelly
d854a99317
change how GetNoteSkin binding works
2011-03-20 20:52:56 -05:00
AJ Kelly
a576269730
small cleanup/comment
2011-03-20 20:50:58 -05:00
AJ Kelly
7f66664d26
remove a tiny bit of whitespace
2011-03-20 20:50:35 -05:00
Thai Pangsakulyanont
a044bf149e
Merge with PMS loading code. Though the notes load now, the samples are in Microsoft ADPCM which can't be loaded correctly at this time.
2011-03-21 01:51:04 +07:00
AJ Kelly
c7873d9199
[PlayerOptions] Added SetNoteSkin(string) Lua binding.
2011-03-20 13:03:16 -05:00
Jason Felds
6962196795
From Dr. Checkoway's school of Copy().
2011-03-19 22:38:05 -04:00
Thai Pangsakulyanont
255b3444aa
Add the Pop'n #PLAYER 3 cases to BmsLoader too.
2011-03-20 09:25:45 +07:00
Thai Pangsakulyanont
fb56c8762d
some PMS files have #PLAYER set to 3
2011-03-20 09:24:47 +07:00
Jason Felds
9b2e18ab24
Celebrate the death of the xbox. Merge.
2011-03-19 20:41:28 -04:00
Jason Felds
12872f0a50
More effective fixes. Still no issues.
...
Note: you will most likely end up recompiling the whole thing.
2011-03-19 20:40:35 -04:00
AJ Kelly
cf81f8cc3b
remove xbox support; it doesn't work, and it'd take too much effort to get it working again
2011-03-19 19:28:57 -05:00
Jason Felds
22b7b34897
More effective fixes.
...
Course playing still results in it playing fine.
2011-03-19 18:26:55 -04:00