Jason Felds
8916f58dae
Allow numbers <= 0 to cancel Warp segments.
2011-03-28 15:08:09 -04:00
AJ Kelly
b50d6a04c7
Texture Font Generator changes to make it compile in VS2008
2011-03-27 20:17:09 -05:00
Colby Klein
301247d952
Fix compile in GCC
2011-03-27 17:28:44 -07:00
AJ Kelly
316e19fc69
sm-ssc v1.2.4
2011-03-27 19:26:30 -05:00
AJ Kelly
f4a9a3acc4
actually use strtol as intended, checking for invalid inputs
2011-03-27 19:19:31 -05:00
AJ Kelly
cab7c1f077
use unsigned short instead of unsigned int for port; also use strtol instead of atoi
2011-03-27 19:06:15 -05:00
AJ Kelly
ddd2999374
add comment about editor noteskin
2011-03-27 18:25:30 -05:00
AJ Kelly
cd768cbb8c
changed port number from a short to an unsigned int
2011-03-27 17:49:18 -05:00
AJ Kelly
72014422ab
editing for upcoming v1.2.4 (not released yet)
2011-03-27 15:51:52 -05:00
Thai Pangsakulyanont
c0acb4e336
fix: stops in warps are judged, but not delays
2011-03-27 15:56:40 +07:00
AJ Kelly
d5a4694ce6
fix width of font box on texture font generator
2011-03-27 02:22:51 -05:00
AJ Kelly
b9d6d432f9
go back to three digits for .sm files; remove commented out warps code since warps should not be written to .sm files
2011-03-27 02:22:22 -05:00
Jason Felds
64619f9819
[warps] Add more flexible constructors.
2011-03-26 14:27:06 -04:00
AJ Kelly
c1f2cc2400
[br:warps] Fix compile by easing scope
2011-03-26 11:59:48 -05:00
Jason Felds
d44f42968d
[warps] Use the value from SM4's recent betas.
2011-03-26 11:14:55 -04:00
Thai Pangsakulyanont
ac336215bd
[warps] allow stops inside warps and convert high bpm to warps
...
+ sometimes there are delays/stops in high BPM sections,
they have to be handled inside a warp to be able to convert
it easily.
+ on the stopped / delayed rows with warps, judging become
enabled for that row.
Issues:
+ the bpm threshould is hardcoded (right now it's 400000.0).
someone change it please.
+ slight off-sync from conversion. haven't figured out how to
work around it yet.
2011-03-26 22:07:24 +07:00
Thai Pangsakulyanont
bfd7e9c914
[warps] merge
2011-03-26 14:53:27 +07:00
Thai Pangsakulyanont
ff739605ec
[warps] Some simfiles change BPM after the warp, so should keep the positive BPM changes. Example simfile: Tsusurvivorgamush.
2011-03-26 14:51:30 +07:00
Jason Felds
fa945eab5a
[warps] Thanks for the assistance there Thai.
2011-03-26 03:38:00 -04:00
Jason Felds
337fa2f801
[warps] Negative Stops turn to Warps now.
2011-03-26 03:37:37 -04:00
Thai Pangsakulyanont
eed0be6fe0
[warps] ScaleRegion, InsertRows, DeleteRows to make it point warps to the right place.
2011-03-26 14:21:06 +07:00
Thai Pangsakulyanont
15fd68a7f0
merge
2011-03-26 13:43:53 +07:00
Thai Pangsakulyanont
e66b0cbf39
[warps] judgement fix
...
+ iStepSearchRows is now seconds-based.
+ GetClosestNonEmptyRowDirectional and GetClosestNoteDirectional no longer return row in warps.
2011-03-26 13:42:41 +07:00
Jason Felds
7477cf7642
[warps] Negative BPMs converted to Warps.
2011-03-26 02:36:44 -04:00
AJ Kelly
aac5710fb4
[br:warps] my changes to NotesLoaderSM for Negative Stops -> Warps. (still not working, sadly)
2011-03-26 01:08:05 -05:00
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