Jason Felds
489a9312fc
Forced a merge. Should be good.
2013-04-18 22:58:30 -04:00
Devin J. Pohly
bd0e2074ad
replace ASSERT(0) with useful fail messages
2012-12-27 16:59:35 -05:00
Jason Felds
1fc16698ba
War on -Werror, part 12: explicit bool usage.
...
It may save a few cycles, but it's best to be
explicit on boolean operations, especially with
ASSERT.
2012-12-27 11:38:53 -05:00
AJ Kelly
3eb317522c
[PlayerOptions] Fixes to Get/Set[C, M, X]Mod Lua bindings. [hanubeki]
...
Source: http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=97761b5dc87b8c8a1b296985a09814337578c745
2012-05-31 12:19:00 -05:00
Jason Felds
6782efb80f
Fix setting some mods that always used drunk.
...
Thanks to TaroNuke for the assist.
2012-04-03 00:07:04 -04:00
AJ Kelly
bd3d71540f
[PlayerOptions] Don't display x-mods when using m-mods. Sourced from hanubeki-modified-sm-ssc rev. bd08a58dd7cf and OpenITG.
2012-03-09 14:25:39 -06:00
AJ Kelly
33372bf05e
fix the crash I was getting when leaving the options. turns out approach for the m-mods was commented for a reason...
2012-01-16 00:31:18 -06:00
AJ Kelly
3fdfc1c4d4
[PlayerOptions] Fix a problem with m-mods where you would get m200 as the default speed modifier.
2012-01-15 23:39:53 -06:00
AJ Kelly
a49044501e
[PlayerOptions] Added IsEasierForSongAndSteps(Song,Steps,PlayerNumber) and IsEasierForCourseAndTrail(Course, Trail) Lua bindings.
2011-11-30 00:35:06 -06:00
AJ Kelly
6919da8e5a
[PlayerOptions] Pretty large changes here, namely a bunch of new bindings. Fixed the logic for GetReversePercentForColumn; It will now return nil for invalid columns. Also fixed the logic for UsingReverse (now checks for 1.0f) and SetPassmark (no longer allows values < 0.00f and > 1.0f).
2011-11-27 05:02:39 -06:00
Jason Felds
9e486bec32
[backwards] Add option, Lua call GetBackwards().
2011-10-16 15:41:26 -04:00
AJ Kelly
7fba9a3917
[PlayerOptions] Add GetMMod() Lua binding.
2011-08-20 01:45:06 -05:00
AJ Kelly
6a16952161
FUCK THIS PIECE OF BULLSHIT
2011-07-03 17:52:03 -05:00
Colby Klein
07a2bd6da7
Port OpenITG's M-Mods. Example: m600 to set target BPM of 600, on a 200BPM song this means 3x. Works with custom speed mods. Note: the block in Player.cpp needs to be fixed for these to be usable, do this before releasing PR2.
2011-07-03 00:08:56 -07:00
Jason Felds
4ab534de75
Use NoAttacks vs StepAttacks.
2011-06-26 23:58:24 -04:00
Jason Felds
fcf9e335e6
Use StepAttacks instead.
...
This deprecates the GetSongAttacks lua function.
Next up: make it so that no text is displayed if
Step Attacks are on, but display "No Attacks" if
attacks are turned off.
2011-06-24 12:12:27 -04:00
Jason Felds
6e1d5cf10b
DQ if attacks are there, but disabled.
2011-06-24 10:55:39 -04:00
Jason Felds
b470188ca4
Make Song Attacks on by default.
...
No, metrics wasn't enough.
Now to get #ATTACKS working on Split Timing.
2011-06-24 10:49:42 -04:00
Jason Felds
c3c8753620
More prototype warning stuff.
...
I know these should be in the .h files,
but we can cover that later.
2011-06-12 19:20:43 -04:00
Jason Felds
cb38eae9ba
Removing the ScoreDisplay mods.
...
Lua has since replaced it.
2011-06-06 18:55:49 -04:00
AJ Kelly
d0cca36f2a
more small comment stuff
2011-06-03 19:52:20 -05:00
Jason Felds
84b5cf192e
Don't ignore those warnings!
2011-05-27 10:53:30 -04:00
Jason Felds
283afa4687
Log if a mod isn't loaded for some reason.
2011-05-27 10:42:47 -04:00
Jason Felds
6b4703d2ed
Not a fan of plain ASSERTs.
2011-05-27 10:26:43 -04:00
Jason Felds
640f8fe9fc
[splittiming] PlayerOptions -> HasTimingChanges.
...
Steps gained most of the functionality and lua doc.
Leaving song version in: may still have a use
thanks to #DISPLAYBPM.
2011-05-15 14:05:02 -04:00
Jason Felds
da51e26d07
Standardize conversion processes.
...
Too many arguments for or against the many methods:
stick to one inside a common function.
This commit will force recompilation of many files.
2011-05-11 15:58:31 -04:00
AJ Kelly
445f9a5e32
* [PlayerOptions] Added UsingReverse() Lua binding (automatically tests GetReverse() == 1)
...
* [PlayerState] Added GetCurrentPlayerOptions() Lua binding
2011-04-16 21:10:44 -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
c7873d9199
[PlayerOptions] Added SetNoteSkin(string) Lua binding.
2011-03-20 13:03:16 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
628a74a792
Effective C++ Violations down by over 5000.
...
I think that was the biggest batch.
2011-03-14 16:25:53 -04:00
Jason Felds
ccf92c7c1c
Add No Lifts and No Fakes transform mods.
2011-02-28 10:02:23 -05:00
AJ Kelly
18f7dea5f9
[PlayerState] The old GetPlayerOptions() binding is now GetPlayerOptionsString(). There is a new GetPlayerOptions() binding that gets the PlayerOptions object, which has a GetNoteSkin() binding (and hopefully more in the future).
2011-02-27 18:36:05 -06:00
Jason Felds
30341de96e
Add metrics for random modifier choosing.
2011-02-12 00:18:01 -05:00
AJ Kelly
dc394b8569
add twirl and roll mods from OpenITG [original code by vyhd]
2010-08-21 14:17:52 -05:00
AJ Kelly
b28c1a3556
f8f3a87: don't override user scroll in courses [Chris Danford]
2010-07-02 10:47:54 -05:00
AJ Kelly
bff6eb0469
Add Pump it Up's X Mode (thanks to StepNXA); this version should work with all gametypes and stepstypes.
2010-05-02 10:15:02 -05:00
AJ Kelly
642f4b107c
the various changes that I forgot to commit (cleanup and so forth) into hg,
...
culminating in syncing with sm-ssc v1.0 public beta 2
2010-03-31 17:37:09 -05:00
AJ Kelly
3e51544930
Initial commit.
2010-01-26 21:00:30 -06:00
Devin J. Pohly
80057f53cd
smsvn -> ssc-hg glue: rearrange directory structure
2013-06-10 15:38:43 -04:00