Commit Graph
202 Commits
Author SHA1 Message Date
MrThatKidandColby Klein e15e0e68be Add nITG's various path shape & other modifiers - V2 (#1435)
* Implemented nITG's Square modifiers

Modifiers added:
Square
SquareOffset
SquarePeriod
SquareZ
SquareZOffset
SquareZPeriod

* Implemented nITG's BumpyX Modifiers

Also fixes up some tiny bits pertaining to the square modifiers.
Modifiers Added:
BumpyX
BumpyXPeriod
BumpyXOffset

* Implemented nITG's TornadoZ Modifiers

Modifiers Added:
TornadoZ
TornadoZPeriod
TornadoZOffset

Another commit is needed to update fallback's metrics

* Update fallback's metrics to accommodate TornadoX

* Implemented nITG's Parabola Modifiers

Modifiers Added:
ParabolaX
ParabolaY
ParabolaZ

* Implemented nITG's Sawtooth Modifiers

Modifiers Added:
Sawtooth
SawtoothPeriod
SawtoothZ
SawtoothZPeriod

* Implemented nITG's Zigzag Modifiers

Modifiers Added:
Zigzag
ZigzagPeriod
ZigzagOffset
ZigzagZ
ZigzagZPeriod
ZigzagZOffset

* Implemented nITG's ModTimer modifiers

Modifiers Added:
ModTimer (Lua method name is ModTimerSetting (takes enums. Ex: 'ModTimerType_Song'). Can be activated with mod strings 'modtimer(song/beat/game/default)' )
ModTimerOffset
ModTimerMult

* Remove Log use from ArrowEffects::GetTime()

* Accidentally removed a CPY(m_BatteryLives)

* Implemented nITG's DrunkZ modifiers

Modifiers added:
drunkz
drunkzspeed
drunkzoffset
drunkzperiod

Another commit is needed to update fallback's metrics

* Update fallback's metrics to accommodate DrunkZ

* Implemented nITG's BeatY & BeatZ Modifers

Modifiers Added:
beaty
beatyoffset
beatyperiod
beatymult	
beatz
beatzoffset
beatzperiod
beatzmult

Another commit is needed to update fallback's metrics

* Updated fallback's metrics to accommodate ...

the new Beat modifiers.

* Implemented nITG's Digital Modifiers

Modifers Added:
digital
digitalsteps
digitalperiod
digitaloffset
digitalz
digitalzsteps
digitalzperiod
digitalzoffset

* Removed duplicate zbuffer check.

* Updated Luadocs with the new modifiers

* Removed accidental duplicate Mini from Luadocs

* Split up long modifier lines.

Hopefully, this makes it a bit easier to read.

* Remove accidental commit to root of repo.

* Split up long modifier lines

Hopefully, this makes it easier to read.

* Redid Square functions to not use FastSin

This implementation is based off of 5.2's square_wave function from ModValue.

* Redid zigzag functions to not use FastSin

This implementation is based off of 5.2's triangle_wave function from ModValue.

* Moved square & zigzag calculation to RageMath.

New RageMath functions:
RageSquare
RageTriangle

* Made Square & Digital have the same period...

as Zigzag and Sawtooth.

* Deduplicate tornado calculations.

* Fixed typo in UpdateTornado, and moved UpdateTornado logic to ArrowEffects::Init because it doesn't depend on anything that changes every frame.  Tornado metrics are also loaded in ArrowEffects::Init.

* Deduplicated Beat mod update logic.

The logic is now placed into a function called UpdateBeat.
The m_fBeatFactor members are now a 1D array, similar to m_MaxTornado and m_MinTornado.
2017-05-13 11:34:34 -07:00
MrThatKidandColby Klein 86dbab0100 Added nITG's various sub-modifiers (#1419)
* Added nITG's Bumpy sub-mods and ...

reorganized PlayerOptions::FromOneModString's Confusion checks
This is to help avoid the nesting level of 128 under Windows

* Added nITG's Tipsy sub-mods

Modifiers added:
TipsySpeed
TipsyOffset

* Add nITG's Drunk sub-mods

Modifiers added:
DrunkSpeed
DrunkOffset
DrunkPeriod

* Added nITG's Wave & Expand sub-mods

Modifiers added:
WavePeriod
ExpandPeriod

* Added nITG's Tornado sub-mods

Modifiers Added:
TornadoPeriod
TornadoOffset

* Added nITG's Beat sub-mods

Modifiers added:
BeatOffset
BeatPeriod
BeatMult

* Documented the new sub-mods
2017-03-14 03:27:18 -07:00
MrThatKidandColby Klein 1c9227db22 Add nITG's new Move modifiers (#1411)
* Implemented NITG's MoveX/Y/Z modifiers

Added modifiers:
MoveX1-n: Moves a column in the x direction, 100% = move left one arrow size. 
MoveY1-n: Moves a column in the y direction
MoveZ1-n: Moves a column in the z direction.
2017-02-25 15:48:03 -08:00
MrThatKidandColby Klein 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
Kyzentun Keeslala 2b6768aed9 Remove UndocumentedFeature lua function. It has no legitimate purpose and just crashes with a message. 2016-05-20 19:02:54 -06:00
Kyzentun Keeslala a4ecf15ce3 Added flag for making an actor use the effect delta for tweening. Updated changelog. 2016-03-17 19:37:27 -06:00
Kyzentun Keeslala 88227dd610 Added stats prefix feature to ProfileManager for managing scores that need to be separated. 2016-03-15 18:13:53 -06:00
Kyzentun Keeslala bd19b1b29a Added global lua function for fetching the list of available sound drivers. Moved WaveOut to the front of the list to make it the first driver to try on Windows. 2016-03-05 18:11:59 -07:00
Kyzentun Keeslala 55e161336a Added lua bindings for playing sounds in SCREENMAN. Added input redirection functions to SCREENMAN for disabling non-lua screen input processing. Added OF_FALSE, OV_EOF, and OV_HOLE to error string list in RageSound for more understandable messages. Made sure RageSound doesn't delete null pointers. Updated changelog. 2016-02-03 13:05:23 -07:00
Kyzentun Keeslala 0de66f6e1a Added pause menu to ScreenGameplay in default theme. Added SetPrevScreenName lua binding to Screen. Added begin_backing_out lua binding to ScreenGameplay. 2016-01-09 11:40:22 -07:00
Kyzentun Keeslala 4e0fa012c1 Added SetLife and ChangeLife lua functions to Player. Updated changelog. 2015-12-16 15:08:36 -07:00
Kyzentun Keeslala bd3da6a46d Added GetMainTitle to Song to bypass ShowNativeLanguage pref. 2015-10-26 13:38:23 -06:00
Kyzentun Keeslala 9f40c6d044 Added mult_attrs_with_diffuse to BitmapText. Added some convenience macros to LuaBinding for generic get/set functions. Updated changelog. 2015-10-18 14:09:08 -06:00
Kyzentun Keeslala a10c0c4f01 Added set_use_effect_clock_for_texcoords to Sprite. Updated changelog. 2015-09-21 20:42:56 -06:00
Kyzentun Keeslala 87d0687457 Added lua interface for using bezier curves. 2015-06-22 21:08:55 -06:00
Kyzentun Keeslala 5f50a8ea26 Added get_music_file_length and RageSound:get_length lua functions. Updated changelog. 2015-06-10 14:41:28 -06:00
Kyzentun Keeslala e6dc4307b5 Exposed update_centering lua function. Added ScreenOverscanConfig. Added case to RageDisplay_D3D so that BLEND_SUBTRACT doesn't crash. Updated changelog. 2015-06-05 08:48:58 -06:00
Kyzentun Keeslala 0a3a555cab Exposed RageFile Flush function to Lua. Updated changelog. 2015-06-03 16:41:10 -06:00
Kyzentun 520432cdff Added docs for xml converter. Added XmlToLua.h. Condition code in xml is now passed through the lua converter to handle renamed things. 2015-05-08 23:55:38 -06:00
Kyzentun 5eba25a495 Added hold at full to actor effect timing. Added the xml to lua converter. 2015-05-01 07:50:34 -06:00
Kyzentun 8aa2d42427 Added rec_print_children and rec_print_table to _fallback. Updated changelog. 2015-04-07 00:04:34 -06:00
Kyzentun d789ef7c6b Exposed commify function to lua and made it handle decimal numbers. 2015-04-02 13:36:41 -06:00
Kyzentun f4da2988d9 Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog. 2015-03-24 14:23:30 -06:00
Kyzentun d85ac9af85 Added GetTexturePath lua function to Sprite. 2015-03-15 00:34:21 -06:00
Kyzentun 0318f07d2d Implement preview music properly as a new optional tag in the ssc file. Changed ScreenManager to emit an error instead of asserting if a screen attempts to use SetNewScreen inside an InitCommand. Changed decorations layer to be a proper child instead of stripping away the ActorFrame. 2015-03-04 01:31:02 -07:00
Kyzentun 8ccf1d8a3e Added HAST to changelog and find_missing_strings_in_theme_translations to docs. 2015-02-05 12:09:52 -07:00
Kyzentun ad877b6dcb Changed BackgroundEffects files to apply the playback rate to videos. Added GetUpdateRate to ActorFrame and Get/SetDecodeMovie to Sprite. Hope nobody is caught off guard by checkerboard no longer playing videos back at 4x rate. 2015-02-05 00:37:08 -07:00
Kyzentun 72aa6c6164 Changelogged the unconflict. 2015-02-04 19:30:05 -07:00
Kyzentun c400794d50 Added ForceStateUpdate and SetDecodeMovie to AMV. Fixed SetStateProperties and SetQuadState off by one errors. Added size lua functions to RageTexture. Added GetBGChanges to Song. 2015-02-02 23:28:33 -07:00
Kyzentun 6570db599c AMV animation state system added. 2015-02-01 17:01:15 -07:00
Kyzentun 647b361284 Added wrapper states to actors. Wrapping an actor inside a frame when building a screen is now unnecessary. 2015-01-30 09:05:09 -07:00
Kyzentun 40b25e6220 Fixed conflicts to merge kickbox in. 2015-01-27 18:03:41 -07:00
Kyzentun b2ceb184fa Range check option row index from lua in ScreenOptions:GetOptionRow to fix seg fault. 2015-01-12 13:08:38 -07:00
Kyzentun 896dd7977e Maybe editing the changelog should only be done after merging a pull, to avoid conflicts. 2015-01-10 12:32:07 -07:00
Kyzentun 0a02dd2b7c Added SetStateProperties to Sprite. 2015-01-09 23:56:11 -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 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 65187a55c6 CubicSpline class created. Temp spline rendering stuff in AMV. 2014-12-27 21:41:55 -07:00
Kyzentun c905965aca Added Profile:GetTotalDancePoints. 2014-12-18 22:41:19 -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
Kyzentun c9a17dc48e Added metrics for setting the screens Edit Mode uses for setting mods. Added functions for apply ModsLevel_Preferred to the other levels. 2014-12-09 21:59:01 -07:00
Kyzentun 60e5e80541 Merged changelog. 2014-12-08 16:06:46 -07:00
Kyzentun 2dab32911b Merged changelog. 2014-12-08 16:00:59 -07:00
Kyzentun 8af06ae505 Added NoteField lua functions to allow the theme to control how the receptors and ghost arrows flash. 2014-11-30 23:17:12 -07:00
Kyzentun b43af6dce9 Added Guest and Test profile types, and profile priorities so the position of a profile in the list can be controlled. Fixes crash bug that occurs when a profile dir is renamed to a non-number and a new profile is made. 2014-11-28 21:56:25 -07:00
Kyzentun c96eec1ded Updated changelog and docs for new mod. 2014-11-22 20:19:47 -07:00
Kyzentun ca4eb65b61 Added lerp, lerp_color, approach, and multiapproach lua functions. 2014-10-23 00:13:13 -06:00
Kyzentun 2e7fabc7e7 Added StageStats:GetStepsSeconds lua function. 2014-10-20 22:17:20 -06:00
freem 60b66f7273 add TFG to repo, update date on bottom of Lua.xml 2014-09-27 17:16:44 -05:00
Kyzentun 4df1940633 Updated Changelog_sm5.txt to include every theme-visible change since 2014/02/08. 2014-09-15 00:48:32 -06:00