Commit Graph
100 Commits
Author SHA1 Message Date
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
Jason Felds 5c83d529ab Remove faulty shortcut code for hand calcs.
Unfortunately, to maintain accuracy, this
will invalidate the ca-- *beaten to the floor
with the nya cat*
2011-06-06 23:00:07 -04:00
Jason Felds 09305639ae Let AutoSetStyle select all charts in the game. 2011-06-06 21:41:24 -04:00
Jason Felds 7d81680bb3 Readability. 2011-06-06 20:47:21 -04:00
Jason Felds 0a7b9ce170 Some respect for OOP. (MasterPlayerNumber) 2011-06-06 20:40:11 -04:00
Jason Felds 963cc9d4f1 Fix a Player 2 assist tick / clap bug. 2011-06-06 20:23:23 -04:00
Jason Felds cb38eae9ba Removing the ScoreDisplay mods.
Lua has since replaced it.
2011-06-06 18:55:49 -04:00
Jason Felds ecc75b60f9 Let's try to make the FN key recognized!
I'm <s>DeceasedCrab</s>Wolfman2000, huzzah!
2011-06-05 10:45:50 -04:00
Jason Felds e641a88daf Let's make sure libmad isn't used up too. 2011-06-05 10:20:31 -04:00
Jason Felds 4117ec89a1 Allow double/triple scores for longs/marathons.
This only targets the Extreme scoring system for now.
2011-06-05 03:03:16 -04:00
Jason Felds be65dfb0ee Hey, it's AJ's favorite activity! (NOT) 2011-06-05 02:39:07 -04:00
Jason Felds 87a86b63e7 Consistent > vs >= on long songs. 2011-06-05 02:38:39 -04:00
Jason Felds 40c1cff888 May want to use this name all over. 2011-06-05 02:25:11 -04:00
Jason Felds 97a1375586 Congrats Thai: you've been promoted. 2011-06-05 02:13:38 -04:00
Jason Felds 26c5fa4e15 Fix parsing of beats vs seconds on speeds. 2011-06-04 23:44:26 -04:00
Jason Felds 0e834467ba Fix UserPrefAutoSetStyle.
Also took care of some other lua issues with
NotePosition and ComboUnderField.
2011-06-04 21:43:00 -04:00
Jason Felds e1649784b0 Make sure it's USER, not Game. 2011-06-04 19:53:35 -04:00
Jason Felds fe18578319 On our way to fixing AutoSetStyle. 2011-06-04 19:45:54 -04:00
Jason Felds 3bb7890d5b Load SMA files first over SM. 2011-06-04 19:42:06 -04:00
Jason Felds f0eefa8698 So how badly will this break?
Allow pump to have routine as a compatible mode.

No telling what we're missing, but we should prepare for it.
2011-06-04 19:36:32 -04:00
Jason Felds 0b67f6bc64 Temporarily stop lua error if no background.
Caveat: if no song background, nothing shows on
song load and the background jarringly comes in.

Feel free to revert if this is a bad idea.
2011-06-04 19:20:41 -04:00
Jason Felds a311d79678 Add comment.
Hmm...shouldn't Thai be moved up to the sm-ssc part now?
2011-06-04 14:13:35 -04:00
Jason Felds 8aa473d0a3 Find the dates of these later. 2011-06-03 23:07:42 -04:00
Jason Felds 26539af1a4 Sorry freem, but this needs reverting for this. 2011-06-03 21:51:34 -04:00
Jason Felds ec333ac765 If I missed anything else, get it in quickly. 2011-06-03 21:50:14 -04:00
Jason Felds 45e21b3f07 Ah, here it is. 2011-06-03 21:48:06 -04:00
Jason Felds 0d4d091e87 What's the other place that updates this? 2011-06-03 21:47:21 -04:00
Jason Felds c54d4542ff I am an idiot. That is all. 2011-06-03 21:36:09 -04:00
Jason Felds 079492e6ac Revert: this was put in the wrong branch.
Darnit Henke, say what branch you commit in
if you aren't in the default!
2011-06-03 18:05:08 -04:00
Jason Felds 1d90437843 Don't forget VS2008. 2011-06-03 17:59:17 -04:00
Jason Felds d01ca062d2 Fix lua error. Doesn't fix content.
...at least, doesn't look like it.
2011-06-03 17:11:18 -04:00
Jason Felds d442512ade [wheel cache -> default] Bring Henke's code in. 2011-06-03 16:25:47 -04:00
Jason Felds ba6400573a Minor adjustments. 2011-06-02 15:50:12 -04:00
Jason Felds 9d0dbe8401 Switch R and T keys for debug mode. 2011-06-02 15:49:32 -04:00
Jason Felds 087f77584a pcre is its own target.
That should do it for targets for now.
2011-06-02 15:16:38 -04:00
Jason Felds 6ad076e67d Glew is its own target. 2011-06-02 15:08:46 -04:00
Jason Felds 320b409817 PNG has its own target. 2011-06-02 14:58:21 -04:00
Jason Felds 911fdbee61 Process each file once, not twice. 2011-06-02 13:32:38 -04:00
Jason Felds 1ef97f5db5 Allow song timing to be used when playing.
Admitedly, this may not be the best implementation.
As usual, if you can do better, go for it.
2011-06-01 15:27:14 -04:00
Jason Felds 7b869533da Make sure default values are used all over. 2011-06-01 14:47:02 -04:00
Jason Felds 90ab6dfca8 Add hack to stop random crashes on editor leave.
I'm sure there is a better way, but this works right now.
2011-06-01 14:32:59 -04:00
Jason Felds 7d7e424c8b <Jax>GOTCHA!</Jax>
Holds and rolls can be made right in Song Timing.

Hmm...still another bug or two to find and fix I think.
2011-06-01 14:20:41 -04:00
Jason Felds 63ba56d0be More flexible song timing.
Still not finding the bug I'm after though.
2011-06-01 14:01:35 -04:00
Jason Felds c249f0eaf5 Paste works under both timings. 2011-06-01 13:50:42 -04:00
Jason Felds c57d0eeed5 Add function to get appropriate SongPosition.
This restore highlighting areas in Song Timing.
This does NOT readjust the highlighted area when
timing modes are switched.
2011-06-01 13:41:49 -04:00
Jason Felds 6faaa92891 Cut comment cruft. 2011-06-01 13:34:04 -04:00
Jason Felds 172ecb8455 Trying different ordering here. 2011-06-01 12:15:13 -04:00
Jason Felds 6c9bb57ddb Disable the Score Display mod for now.
Since scoring is now lua based, these mods
may no longer have a place here.
2011-06-01 11:06:43 -04:00
Jason Felds b36f172462 Added the HasScrollChanges lua binding. 2011-06-01 10:12:10 -04:00
Jason Felds e0f36181be More accurate for CMod checking. 2011-06-01 10:08:40 -04:00
Jason Felds df6a00b53e Stops (and Delays) now templated.
This is all of them at this present time.

At some point in the future, we should make
DelaySegments separate from StopSegments.
2011-06-01 09:50:34 -04:00
Jason Felds 50e93045cc Scroll Segments Satisfied.
Just the Stops and Delays...in one segment.
Yeah, maybe those should be split up at some point.
2011-06-01 08:44:09 -04:00
Jason Felds d50eb4830d The others are just other. Stay consistent. 2011-06-01 07:48:59 -04:00
Jason Felds d0ff9413e7 Trying this once again...
We need to prevent Segments from being
the variable type sent into TimingSegment<WhateverSegment>.
Just have it be ints or floats I think.
2011-06-01 01:08:53 -04:00
Jason Felds 3b2f9510cd Right, how'd I forget global.h in here?!? 2011-05-31 22:25:53 -04:00
Jason Felds 69c03da032 Bad file, but need a record of key comment.
I think this is the key issue.
gcc is doing some magic for us.
VS20** is forcing us to do it right.

Yes AJ, that means Windows is better on something.

Revert this file if needed: the record is now made.
2011-05-31 19:22:51 -04:00
Jason Felds aa9ba8a31b May as well add these to .ignore too. 2011-05-31 18:39:52 -04:00
Jason Felds 5d496c41a7 I was told I needed a copy ctor here.
May as well see if this builds on Mac OS X.
2011-05-31 18:37:19 -04:00
Jason Felds f9eb6fb387 Speed Segments Satisfied. 2011-05-31 15:27:27 -04:00
Jason Felds 30dc1d4e92 Right, ignored my windows side. 2011-05-31 15:01:37 -04:00
Jason Felds 2084237b6d Try this one. 2011-05-31 15:01:20 -04:00
Jason Felds 604bf364e5 Forgot to remove the counterpart. 2011-05-31 14:45:17 -04:00
Jason Felds b1eab10594 Time Signatures, the other big one. :D 2011-05-31 14:27:55 -04:00
Jason Felds 642ec5ac81 Minor cleanup before I dive back into segments. 2011-05-31 14:04:35 -04:00
Jason Felds 714427f154 ComboSegments brought in.
Five to go I believe.
2011-05-31 11:45:25 -04:00