Commit Graph
100 Commits
Author SHA1 Message Date
Jason Felds 70f1a05c6f Have Glew be compiled on its own.
This is designed to be compatible with VS2008.

It has not been tested yet for VS2010.
2011-12-19 20:13:00 -05:00
Jason Felds 9bf47cbebd Remove deprecated switch, disable warnings. 2011-12-19 19:56:37 -05:00
Jason Felds 77e226bf4d Force saving when editing an attack. 2011-12-18 11:31:49 -05:00
Jason Felds 058f03e495 Allow versus oni graceful failure. 2011-12-12 21:27:32 -05:00
Jason Felds 1376a46b01 Add the GAMESTATE:InStepEditor LUA binding. 2011-12-12 18:49:10 -05:00
Jason Felds bfed4c94dd ...did I do this merge right? 2011-12-11 19:31:19 -05:00
Jason Felds 84f07b8503 Restore segment cycling in the editor. 2011-12-11 19:30:37 -05:00
Jason Felds a52ccc33c8 Respect optimization opportunity.
Considering how often this can be called,
it's probably worth the code duplication.
2011-12-10 01:41:01 -05:00
Jason Felds 6d1517c9ce Reuse already established variable.
It won't change in this position.

Wonder if it should just be forced const then.
2011-12-09 21:15:29 -05:00
Jason Felds 1234afec1f Gotta stay caught up. 2011-11-30 00:32:46 -05:00
Jason Felds fd40fea9cb Remove PMSLoader.
The BPMSLoader now handles PMS files considering their
similarities.
2011-11-30 00:32:17 -05:00
Jason Felds 2d3c3628a1 Add the SurvivalModOverride metric. 2011-11-28 19:13:15 -05:00
Jason Felds 5d26c474d9 Well, that was a doozy.
Allow inserting and removing of beats and timing changes
in increments other than 4th notes.
2011-11-27 18:33:34 -05:00
Jason Felds d8cfd1155b ...forgot the prototype.
Sorry all, you get to recompile.
2011-11-27 18:28:01 -05:00
Jason Felds c4e5cc16f8 Whoops: forgot _M. 2011-11-27 18:24:58 -05:00
Jason Felds 952297703a Add companion NoteTypeToRow function.
Time to try to get a use for this.
2011-11-27 18:14:37 -05:00
Jason Felds c566686aff Be direct. 2011-11-27 18:06:50 -05:00
Jason Felds 524bdfec81 And merge fun. 2011-11-27 17:27:23 -05:00
Jason Felds fb857fdc75 Welcome to committing Jousway. Now welcome hgeol. 2011-11-27 17:26:19 -05:00
Jason Felds fcbb15e79f The missing semicolon was annoying. 2011-11-27 17:25:52 -05:00
Jason Felds 22487df03c New editor feature: Shift + F9/F10 for delays.
Works the same as stops really.
2011-11-26 13:56:27 -05:00
Jason Felds 5a53bde988 Minor syntax adjustment. 2011-11-26 13:45:29 -05:00
Jason Felds f4ad43e2c9 Minor convenience issue that I wanted done with. 2011-11-26 13:40:14 -05:00
Jason Felds d0c3083251 It feels good to merge once more. 2011-11-26 13:33:42 -05:00
Jason Felds 40965d3c8d Restore F9/F10 for stops in the editor. 2011-11-26 13:33:21 -05:00
Jason Felds 16a7d5bab7 I am an IDIOT. 2011-11-25 22:10:13 -05:00
Jason Felds 596ada95f4 Slightly more efficient kludge.
I am once again reminded that I need to de-couple
GAMESTATE from NoteData.
2011-11-19 19:58:10 -05:00
Jason Felds aa470b4def Add the ExtraStageFreshBar metric. 2011-11-15 21:30:29 -05:00
Jason Felds 83fb2980c3 Restore JPEG functionality on Mac.
Just a matter of using the built-in dylib.
2011-11-14 00:38:48 -05:00
Jason Felds fdd3728ab6 Better var name, phrasing. 2011-11-11 14:21:29 -05:00
Jason Felds 620e377539 Minor addition. 2011-11-08 23:41:51 -05:00
Jason Felds d513d73bd2 Possible fix for bug 584:
Don't compress note data in the editor.

I need confirmation that this works as intended before
it goes into the changelog and whatnot.
2011-11-07 14:59:50 -05:00
Jason Felds 61000a1776 Better warning. This may help with debugging. 2011-11-07 02:04:25 -05:00
Jason Felds 4171a40d9d Been awhile since we had a conflict. 2011-11-06 10:37:03 -05:00
Jason Felds 34f3ff2c31 Add RefreshNoteSkinData lua binding.
If anyone recalls the other ways of getting
arbitrary games, a similar binding could be
added to NoteSkinManager.
2011-11-06 10:36:08 -05:00
Jason Felds f059797f51 Properly add GetArchName() lua binding. 2011-11-02 02:28:47 -04:00
Jason Felds 50f4f583a1 Thanks for the assist.
Adding Lua to new stuff is harder than you think.
2011-11-02 01:50:00 -04:00
Jason Felds 9de80fc607 This should be the last of the lua stuff. 2011-11-02 00:55:40 -04:00
Jason Felds ea5e8111f4 ...right, forgot to register the class. WHOOPS. 2011-11-02 00:42:51 -04:00
Jason Felds ebdffc8cf6 Add experimental lua binding GetArchName.
If this gets the requested results, it will stay and be documented.

Otherwise, it will be reverted or otherwise fixed later.
2011-11-02 00:10:08 -04:00
Jason Felds 81fc6bc24d Add the AppHasFocus lua binding. 2011-11-01 23:49:50 -04:00
Jason Felds 1e82f5ea78 Fix potential error if uncommented.
Thanks to Saturn for the heads up.
2011-11-01 22:28:39 -04:00
Jason Felds d55fa26567 Fix warning, ifdef another LOG->Trace. 2011-11-01 22:24:44 -04:00
Jason Felds f3704db519 Singular or plural? 2011-11-01 15:29:25 -04:00
Jason Felds 4fee57442c In during commit. ;) 2011-11-01 15:25:05 -04:00
Jason Felds 98195f7082 WOOT! WOOT! 2011-11-01 15:20:35 -04:00
Jason Felds 1c28a06bb6 Fix Expand, possibly other mods, for 2nd player. 2011-11-01 15:20:20 -04:00
Jason Felds 8821b41127 Revert the revert.
Yeah, I know jpeg is messed up on Mac side.

I need someone else to test though...someone NOT on Lion.
2011-10-30 15:13:11 -04:00
Jason Felds bbec5842f6 Add the ResetPlayerOptions lua binding. 2011-10-29 11:43:49 -04:00
Jason Felds 2cf8b46373 SCORE! 2011-10-27 23:21:57 -04:00
Jason Felds 71e33d7094 Revert of df937f7: it compiles now.
Behavior is still off though.
2011-10-27 23:21:40 -04:00
Jason Felds bbb829e4b0 More merging. 2011-10-20 23:49:41 -04:00
Jason Felds 4791141809 Temp test: remove game check on Noteskin refresh.
If this causes too many problems, this can be reverted.
2011-10-20 23:48:57 -04:00
Jason Felds d65b4ba714 Minor optimization: don't calc if not needed. 2011-10-17 22:58:04 -04:00
Jason Felds 48687e8df5 Temp commit: add descriptions.
Trying to understand issue 584.
2011-10-17 21:48:34 -04:00
Jason Felds b86a82fb42 Fix issue 585: editor crash w/o saving.
This does not feel like a proper cure, but it does
stop the crashing.
2011-10-17 21:37:30 -04:00
Jason Felds 95c3bcb39a [backwards -> default] Bring in backwards. 2011-10-16 16:49:56 -04:00
Jason Felds feb9ba320c Slightly better comment. 2011-10-16 16:48:47 -04:00
Jason Felds 56b68ed502 The usual changelog entry. 2011-10-16 16:46:24 -04:00
Jason Felds 1f024cd739 [backwards] Switches in switches: need a break. 2011-10-16 16:43:20 -04:00
Jason Felds 68061b13c5 [backwards] Add appropriate comment for devs. 2011-10-16 16:33:33 -04:00
Jason Felds 6511e5fc0a [backwards] Activate Mirror on the theme. 2011-10-16 15:52:16 -04:00
Jason Felds 142a62aa6e [backwards] Have Backwards fallback to Mirror.
Not all gametypes require Backwards: they will fall
through to Mirror. Otherwise, catch it here.
2011-10-16 15:50:13 -04:00
Jason Felds 23832ac653 [backwards] Compile fix: two "backwards" here. 2011-10-16 15:48:50 -04:00
Jason Felds e98ba68f2f [backwards] CodeDetector access.
By default, there is no code for Backwards.

Let the themers decide this one.
2011-10-16 15:44:44 -04:00
Jason Felds 9e486bec32 [backwards] Add option, Lua call GetBackwards(). 2011-10-16 15:41:26 -04:00
Jason Felds 0181d46225 [backwards] ScreenEdit can go Backwards.
Interestingly, en.ini already has this entry.
2011-10-16 15:37:28 -04:00
Jason Felds e8f95dd28e [backwards] Prepare PlayerOptions version. 2011-10-16 15:34:29 -04:00
Jason Felds 4e47b24597 New branch: [backwards]
Goal: implement a proper backwards mod to allow for
both actions on games where backwards != mirror.
2011-10-16 13:22:26 -04:00
Jason Felds d17643e907 Display the chartname instead of the description. 2011-10-09 13:02:24 -04:00
Jason Felds b996d512a4 Welcome ZipFile. 2011-10-08 19:44:51 -04:00
Jason Felds ad5d29b205 Add Fade[In/Out]Preview metrics for ScreenEdit.
Let the themer dictate how much fade in and fade out
there is for the preview music in the editor.
2011-10-08 19:01:06 -04:00
Jason Felds b478152e8c Whoops: missed this one. 2011-10-08 11:41:35 -04:00
Jason Felds 9f3993b4ab Add the PlayMusicPart lua binding.
Required params are musicPath, musicStart, and musicLength.
Optional params are fadeIn and fadeOut in that order.
2011-10-08 11:41:05 -04:00
Jason Felds 6a393dc6f6 Add new RageDisplay bindings:
GetFPS()
GetVPF()
GetCumFPS()
2011-10-07 21:14:39 -04:00
Jason Felds b69521c3c6 More accurate left, right, and mirror pump mods.
BIG thanks to Hudson Felker and Bill Shillito.
2011-10-04 00:53:33 -04:00
Jason Felds 6c9a53a607 Any reason why the class was listed twice? 2011-10-03 21:48:48 -04:00
Jason Felds f9d12e1afe I hope Windows likes "/" versus "\". 2011-10-02 00:09:40 -04:00
Jason Felds d2226891cd Restore stuff that changed from private testing. 2011-09-30 23:55:06 -04:00
Jason Felds b5dc1ef369 Update docs: this requires a StepsType. 2011-09-30 23:53:58 -04:00
Jason Felds 602aed8d97 Fix unlocking of steps via previous difficulty.
Thanks to Sta and Kevin for the fix.
2011-09-29 23:51:23 -04:00
Jason Felds 91999148d8 Add GameState::EditAllowedForExtra metric. 2011-09-29 22:09:52 -04:00
Jason Felds 91dc1deeef Forgot about botchamania or however it's spelt. 2011-09-29 22:01:28 -04:00
Jason Felds 4f2e40874c I don't like plain asserts. Add a message. 2011-09-29 22:00:57 -04:00
Jason Felds bd28efc790 We're aiming for October. 2011-09-29 00:17:55 -04:00
Jason Felds d51606f639 Fix lua order of operations.
Thanks to vyhd for the hg bisect tip.
2011-09-29 00:12:54 -04:00
Jason Felds 645843c93e Revert OK/NG graphic behavior.
This should re-enable showing OK and NG in the default theme.

This should eventually be made so that if in Pump mode, it doesn't show.
2011-09-26 19:03:50 -04:00
Jason Felds cea77e32f3 Merge fun. 2011-09-24 15:26:09 -04:00
Jason Felds e1ccf9be94 How long must we support this "hack"? 2011-09-24 15:25:17 -04:00
Jason Felds cdcb917e76 Stop some beat 0 crash bugs in the editor.
I suspect that the removal of shifting timing changes at beat 0
will stay in regardless. It is the removal of converting measures
to stops/delays that may be fought against. That is fine.

The bugs attached to these issues, 415 and 525, will only be
resolved when enough devs agree this is a fair fix.
2011-09-24 02:01:46 -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 3bd53a5cb4 Hopefully linux is caught up. 2011-09-23 19:43:05 -04:00
Jason Felds 79aefde204 These windows builds...well, hopefully are good. 2011-09-23 19:41:54 -04:00
Jason Felds b04438a546 These Windows builds should be good. 2011-09-23 19:41:46 -04:00
Jason Felds b3add3fa06 Restore Xcode 3 compilation. 2011-09-23 19:34:58 -04:00
Jason Felds 9243c78fce Thanks vyhd. 2011-09-18 14:41:44 -04:00
Jason Felds a67ee09abf Added two new Lua bindings to Song.
GetSampleStart()
  GetSampleLength()
2011-09-18 14:41:28 -04:00
Jason Felds 75d1c672c8 Added IsSongLocked() Lua binding.
To be honest, I'm wondering if this should be in SongManager
instead of or as well as UnlockManager.
2011-09-16 23:08:50 -04:00