Commit Graph

151 Commits

Author SHA1 Message Date
Jason Felds c6ec5a4390 Forced to invalidate the cache due to the commits.
Cue the hate!
2013-05-20 18:07:28 -04:00
Jason Felds 20d94d4b7e Cat is back in the bag. Revert commits.
A-mods need to be tested more.

...and this is what happens when you forget to
stash changes before a merge. Lesson learned.
2013-04-19 21:49:55 -04:00
Jason Felds 489a9312fc Forced a merge. Should be good. 2013-04-18 22:58:30 -04:00
Devin J. Pohly 900d04e624 replace gotos with if blocks where appropriate 2013-01-25 17:57:03 -05:00
Devin J. Pohly ce507b9800 use empty TimingData in Steps to signify fallback on Song timing.
This required using the new Steps::GetTimingData function and the allowEmpty
parameter to TimingData::TidyUpData when appropriate, as well as clearing the
TimingData to remove step timing rather than coping the song timing over it.

Fixes some odd editor behavior when changing song timing, and is overall a
slightly less hacky way of doing things.
2013-01-23 14:51:18 -05:00
Devin J. Pohly 0ae7b0da85 TimingData: add allowEmpty parameter to TidyUpData. always false for now... 2013-01-23 14:38:57 -05:00
Devin J. Pohly afaa382b84 Steps: set Song pointer to associated song when constructing 2013-01-20 19:23:28 -05:00
Jason Felds 4f07a0ea8b war on -Werror, part 7: start informal params.
I'm preserving our numbering Pohly. ;)
2012-12-26 23:23:59 -05:00
AJ Kelly 451a56b0c6 fix case; fixes linux build 2012-07-01 15:27:50 -05:00
AJ Kelly 3afd1b930b no, really. fix it this time. and stop telling me about createzip, local st command 2012-07-01 12:39:10 -05:00
AJ Kelly 2806f86699 do it right this time. 2012-07-01 12:30:14 -05:00
AJ Kelly 64e7b85a9e add SaveToJsonFile() function from SM4 betas. 2012-07-01 12:24:39 -05:00
Thai Pangsakulyanont 2b6670c2df optimize adding background changes
I have a song with 5841 background changes and it took 3 seconds to load that song.
2012-05-21 14:27:17 +07:00
Jason Felds 26f5e8d78c Replace Steps:UseSplitTiming.
Instead, use Song:IsStepsUsingDifferentTiming.
2012-04-08 23:56:28 -04:00
Marcio Barrientos 11a02660be Change #PREVIEWBG to #PREVIEWVID and update the changelog 2012-01-11 14:21:55 -06:00
Marcio Barrientos da84ef04ad Added tags #PREVIEW for .sma and #PREVIEWBG for .ssc
Added HasPreviewBG() and GetPreviewBGPath() lua bindings
2012-01-11 13:53:30 -06:00
Jason Felds 6249177647 Guess this hack isn't needed now. 2012-01-09 15:11:59 -05:00
AJ Kelly 46524e1b20 another spaces->tabs thing but idk who did this so *shrug* 2012-01-09 12:51:56 -06:00
AJ Kelly ac49164f7e please use tabs 2012-01-09 12:48:00 -06:00
Thai Pangsakulyanont cb25966cf5 merge 2012-01-09 22:13:22 +07:00
Thai Pangsakulyanont dd51b200a9 if( !duringCache ) should be if( !fromCache ). My bad. :( 2012-01-09 22:09:11 +07:00
Jason Felds c1c63611ef Guess I was it. 2012-01-08 19:27:18 -05:00
Jason Felds 4a6bf9282f DWI files can't get the speedy goodness.
Upgrade your files people!
2012-01-08 16:37:08 -05:00
Thai Pangsakulyanont cf3916cd89 don't adjust duplicate steps when loading from cache: another optimization. 2012-01-08 18:58:45 +07:00
Thai Pangsakulyanont 6eed983329 wrap the probing part with if( !duringCache ), speeds up loading from cache.
From my benchmark with around 1600 songs, it goes from 30 seconds to less than 10 seconds.
2012-01-08 13:23:38 +07:00
AJ Kelly 842810c0dd [Song] Fixed a bug where a sample start of 0 wouldn't work. 2011-12-23 02:54:51 -06:00
AJ Kelly c7fab6014f [Various] Allow loading of *.jpeg in addition to *.jpg. 2011-12-17 03:21:12 -06:00
AJ Kelly f91e85c53e some small changes to background/disc graphic finding logic. 2011-10-06 14:58:00 -05:00
Jason Felds 4f2e40874c I don't like plain asserts. Add a message. 2011-09-29 22:00:57 -04:00
Jason Felds 041d59f315 Anyone recall WHY I had this code?
Remove forced timing data copying if only one Step.
2011-09-23 22:51:06 -04:00
Jason Felds c6fff60998 Finish the 3 decimal write out.
Observation: we have two ways of writing out timing tags in
NotesWriterSSC. Perhaps these should be unified soon.
2011-09-23 22:33:46 -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
Jason Felds a67ee09abf Added two new Lua bindings to Song.
GetSampleStart()
  GetSampleLength()
2011-09-18 14:41:28 -04:00
Jason Felds 51725c188a Fix label segments not loading right. 2011-09-12 22:28:07 -04:00
Jason Felds 047bc7a5dc Allow all timing tags regardless of timing. 2011-09-12 19:43:41 -04:00
Jason Felds 48ca50940a Update the cache due to previous commit. 2011-09-12 00:12:55 -04:00
AJ Kelly 01c6c1679e [Song] Added Jacket, CD image (a la early DDR), and Disc (PIU-style) support. Added GetJacketPath(), GetCDImagePath(), GetDiscPath(), HasJacket(), HasDisc(), and HasCDImage() Lua bindings. 2011-08-21 19:03:19 -05:00
Jason Felds acaaf1bfba Fix reading pre-split timing ssc files.
Welcome to the first cache of the next series.
Start placing your bets again on what the final
cache value will be for SM5 final.

As a reminder, we are on cache version 202 now.
2011-08-21 01:19:50 -04:00
AJ Kelly dc456b0e07 [Song] Add ShowInDemonstrationAndRanking() Lua binding. 2011-08-19 15:01:21 -05:00
Jason Felds f5f4268b19 Delays are significant timing changes.
Yes, I'm committing while I'm on vacation.
Deal with it: I'm in an area with not much to do.
2011-08-07 15:12:44 -04:00
Jason Felds 114a5de8ad Only write step timing/attack tags when needed. 2011-08-02 22:30:54 -04:00
Jason Felds e854b79b84 Trying to reduce tags for non split timing.
Need assistance to finish the task.

Please bump SSC version to 0.78 when completed.
2011-07-31 23:44:48 -04:00
Jason Felds bb6263c76b Be sure guitar caches are rocked out. 2011-07-31 00:17:08 -04: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 1cff1bc973 Radar fix, cache update. 2011-07-29 23:09:54 -04:00
Jason Felds 3d58d76fcb Radar values fixed for KSF files.
Yes, this causes a cache update. No, I don't care.
2011-07-25 04:35:51 -04:00
Jason Felds f4f38ad12a Minor improvements with KSF loader.
Cache version up to 196.
2011-07-20 00:18:14 -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 92bab49a16 Hurp-a-durp.
...never let me say that again. Cache increased.
2011-07-17 22:21:16 -04:00