Commit Graph

54 Commits

Author SHA1 Message Date
MrThatKid 388d4ac8ea Add nITG's new Confusion modifiers (#1395)
* Implemented nITG's Confusion modifiers.

Modifiers added:
ConfusionOffset
ConfusionX
ConfusionXOffset
ConfusionY
ConfusionYOffset

* Documented new Confusion modifiers.

* Make ConfusionX mods apply to hold heads
2017-02-08 05:44:33 -08:00
Jason Felds edabf4605b Clean up three sets of warnings:
* Ensure all switches have a default when working with enums.
* Match defined new[] calls with delete[] calls.
* Respect variable initialization order.
2016-03-24 18:30:29 -04:00
Flameshadowxeroshin d329c80ad3 remove guitar cruft
There was a bunch of code for handling guitar-specific input such as hammer-ons/pull-offs and strumming. Given that guitar was removed, and as far as I understand, will not be added back into SM5, it makes sense to remove code that had no other use.
2015-12-05 11:12:17 -06:00
A.C 3d838a81a2 Merge remote-tracking branch 'origin/fix_hold/0609' into fix_hold/0609
Conflicts:
	src/NoteDisplay.cpp
2015-09-10 01:23:53 +09:00
A.C 1d61989ccb fix draw hold body inactive texture bug
If hold body, draw texture to the outside screen.
2015-09-10 01:17:54 +09:00
A.C 4d13ab304b fix draw hold body inactive texture bug
If hold body, draw texture to the outside screen.
2015-09-10 00:06:19 +09:00
hanubeki b6dc5e43b9 Fix hold bottomcap when NoteDisplay is zoomed out. 2015-08-02 22:17:25 +09:00
Jason Felds 3bd182b523 Potential holy war, but use UTF-8 always. 2015-06-10 18:09:27 -04:00
Kyzentun Keeslala ed109a6006 Added hanubeki's translation of waiei's comment. 2015-06-10 08:46:39 -06:00
A.C 0d7aed6414 fix 2d noteskin's long note draw bug 2015-06-10 22:18:58 +09:00
A.C 6fc2bc19a7 ロングノートのつなぎ目がきれいになるよう修整中 2015-06-10 21:15:49 +09:00
Kyzentun Keeslala 771e24d1ca Added kludge to shift tex coords for bottom cap by one pixel to get rid of seam. power_of_two rewritten to use math instead of a while loop. 2015-06-07 18:27:35 -06:00
Kyzentun e591c559c6 Fixed hold cap rendering when Tiny modifier is used. Still has the 1px seam though. Added sanity checking groups progress to SongManager loading. 2015-05-06 15:48:23 -06:00
Kyzentun a8f4278a54 Added SetCurrentOptions to NoteField::DrawPrimitives so the correct options are actually set during drawing when there are two players. Fixed stealth by disabling the glow color from the column actor, so glow effects on the column won't work. Added note explaining how long GetBrightness has been disabled. 2015-05-02 18:53:00 -06:00
Kyzentun 2656123464 RageTextureManager now keeps a map of textures by pointer for quicker lookup when deleting.
RageTextureManager now keeps a map of textures that need updating, which is none of them because I couldn't find a class that inherits from RageTexture that doesn't have an empty Update function.
ArrowEffects now requires setting the current PlayerOptions before calling any functions.  This might make moving to per-column mods easier, and reduces the direct usage of PlayerState.
Tipsy calculations for each column are done in ArrowEffects::Update instead of GetYPos and GetYOffset.
DrawHold changed to only call DrawHoldBody once.  DrawHoldBody now does the normal and glow passes together instead of needing to be called twice.
DrawHoldPart changed to take most of its args in a struct.
Giant copy paste mess that NoteField was using to draw timing segment text replaced with a couple functions and a macro.
Selection glow for notefield is only calculated if a section is selected.
Added RageVector3 functions to CubicSplineN for NoteDisplay to use.
Actor effect period is cached now.  Sprites and Models cache their animation length now.
ReceptorArrowRow no longer calls ArrowEffects::Update in gameplay.
2015-04-24 15:55:54 -06:00
Kyzentun 88f295d295 Added diffuse and glow to column renderers to make diffuse and effects affect notes the way they would affect actors inside a frame. 2015-04-20 16:05:43 -06:00
Kyzentun 40b25e6220 Fixed conflicts to merge kickbox in. 2015-01-27 18:03:41 -07:00
Kyzentun f4a718a824 SetCompatibleStylesForPlayers and ForceSharedSidesMatch added to GameState for SSM to use to fix style mismatch problems.
StyleInputToGameInput changed to take a vector to return values in to handle multiple inputs mapped to a single column.  Associated adjustments to everything that uses it.
Player no longer drops holds in columns that have multiple inputs mapped to them if the wrong one is held.
Running out of stage tokens changed from assert to error.
2015-01-17 21:15:15 -07:00
Kyzentun 5e2dc76fc9 Fixed backwards cross product used when calculated hold part verts. 2015-01-16 17:37:57 -07:00
Kyzentun d3bbf9cbd3 Added SetVertsFromSplines to AMV. Moved const to the left side. Documentation for all new functions. 2015-01-06 20:14:59 -07:00
Kyzentun 703b423dd4 Moved note column splines into tween state. Renamed size/dimension spline lua functions to get/set convention. Added make_camel_aliases to 01 alias.lua to make the CamelCase aliases required by shakesoda for consistency. 2015-01-04 06:10:21 -07:00
Kyzentun 84e758c6c7 Added rotation and zoom splines to note columns, with the help of a couple new classes. Reorganized args to NoteDisplay functions into helper structures. Made splines have 3 modes controlling their behavior. Hold twisting is now handled by an AA rotation and hold drawing in general is now more complex. 2015-01-01 04:36:20 -07:00
Kyzentun 0cb08dc8bd Added offset mode spline to NoteColumnRenderer. 2014-12-30 13:59:06 -07:00
Kyzentun 64d384410c Created NoteColumnRenderer to handle column rendering. Added m_FakeParent to Actor to solve part of the problem. 2014-12-26 01:54:34 -07:00
Kyzentun 07fb61a291 Moved tap and hold rendering logic out of NoteField and into NoteDisplay. 2014-12-25 05:02:28 -07:00
Kyzentun 3fb36af157 Separate styles for players. Notefields positioned between margins. Edit mode works for kickbox. 2014-12-09 22:27:00 -07:00
hanubeki e9c5549896 formatting operator<() 2014-10-14 16:13:06 +09:00
hanubeki 5a69929f60 Modify NoteDisplay to work with Var "Player" and Var "Controller" in non-receptor arrow. 2014-10-14 14:30:23 +09:00
hanubeki 4c40ca9b76 Add {PartName}NoteColorType and {PartName}NoteColorCount NoteSkin metric. 2014-10-12 00:40:46 +09:00
sigatrev 82cb4a198d Enums for TapNoteType, TapNoteSubType, and TapNoteSource
I intend to make additional useful information available on judgments,
such as TapNoteType and TapNoteSubType( for hold judgments ).

I am submitting this part as a separate pull request because it is more
generally applicable to anything TapNote related.
2014-08-02 00:38:48 -07: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
Jason Felds e86aeb66a8 war on -Werror, part 10: more informals. 2012-12-27 11:01:51 -05:00
AJ Kelly 967237d881 Add Var "Player" and Var "Controller" for NoteSkin. [hanubeki]
Sourced from http://code.google.com/r/hanubeki-modified-sm-ssc/source/detail?r=824cff29912d1c29a667046ba463d195e81c524a
2012-05-03 14:27:51 -05:00
Jason Felds fb7bc1edcb [editorKeysounds] Don't show AKs in gameplay.
We still need a better editor noteskin for
the auto keysounds though.
2012-02-11 02:07:57 -05:00
Jonathan Payne 978e916557 [br:Defualt] do not show incompletename entry;
add comment for addition notetype
2011-10-19 21:51:54 -07:00
Jason Felds 2fab5a1fd8 ...and yet we have a metric for Dizzy hold heads.
Maybe we need a Roll Hold Heads metric too.
2011-07-13 21:13:52 -04:00
AJ Kelly 2702c17127 "hold heads should only ever twirl, not use dizzy or roll" -fix from vyhd 2011-07-13 20:07:02 -05:00
Jason Felds 7a16ba9c0f Add two new noteskin metrics.
This properly resolves bug tracker issue 190.
2011-06-13 14:48:15 -04:00
Thai Pangsakulyanont ab8b76b3b8 [splittiming] NoteDisplay, NoteField, Player, PlayerState (182) 2011-05-10 20:27:12 +07:00
AJ Kelly 9eb9f182a6 small cleanup 2011-04-02 00:49:08 -05:00
Jason Felds a085d0d1da Line endings...be normalized! 2011-03-17 01:47:30 -04:00
AJ Kelly 4e0dd3dce4 change comment style 2011-03-07 15:28:45 -06:00
AJ Kelly 1aff384afe Revert "src\NoteDisplay.cpp"
This reverts commit d750f2a1e8.
2011-03-02 16:40:48 -06:00
AJ Kelly d750f2a1e8 src\NoteDisplay.cpp 2011-03-02 16:37:20 -06:00
Jason Felds 6f276da825 Document all FOREACH loops. 2011-02-18 21:16:11 -05:00
AJ Kelly 5c21458ba6 slightly better assert message 2011-02-13 21:10:56 -06:00
Alberto Ramos 4aa25b6ad7 I don't feel like testing this... 2010-09-13 00:06:34 -06:00
AJ Kelly de93972352 use scaled frame width instead of frame width 2010-08-22 17:02:12 -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 53a8a435ef remove unfinished karaoke mode 2010-08-19 21:24:35 -05:00