Commit Graph
554 Commits
Author SHA1 Message Date
Rhythm LunaticandColby Klein dcb2f74c8d Add More OptionsList functionality (#1810)
* Add More OptionsList functionality

* Remove Size parameter because it's broken

* Make OptionsList inputs remappable

* Change Next/Prev OptionsList to CodeDetector
2019-03-28 14:49:46 -07:00
Colby Klein 3eb03feadd add the toasty sound back
i missed it a lot
2019-03-20 11:58:19 -07:00
Flameshadowxeroshin 338becc5d7 Fix distance fields not in the center of the screen being completely screwed up 2018-11-08 09:14:44 -06:00
Jose_VarelaandGitHub 1107bb74b4 Add more explanations to the commands. 2018-07-29 16:09:59 -05:00
Jose_VarelaandGitHub d13204fd81 Add commands from the Src modification 2018-07-29 16:02:56 -05:00
Alexander GriffinandMrThatKid c0981c42ec Changing BannerCache into ImageCache to support more imagetypes (#1532) 2017-09-19 14:49:42 -07:00
Drew BarbarelloandColby Klein 557be7cf1b 5 1 new backport x11 fs rework (#1485)
* Use XRandR 1.2 to set fullscreen resolution for single output

Squash of roothorick's PR #497
(also includes Kyzentun's CMake changes from PR #716)

* Cherry-pick json c++1x stuff (b9e3d7174e)

* Cherry-pick c++11 support from 5bba5c0038 and 9f8b045309

* rework Linux (X11) fullscreen, improve display-related Graphics Options

Implement option to select between monitors for exclusive fullscreen mode
on X11 (using XRandR 1.2), or use a fullscreen borderless window.

Reimplement resolution/refresh rate/display mode-related option rows
using Lua, update choices dynamically so only known-good groupings of
resolution/refresh rate/aspect ratio can be selected.

Minimally update Windows/MacOS LowLevelWindow implementations to support
changes made for Linux side. Fullscreen Borderless Window/multi monitor
support from X11 not implemented for those in this commit.

* allow forcibly disabling xinerama use on Linux

When libXinerama is available, SM tries to use it to find the proper
monitor indexes to use to set _NET_WM_FULLSCREEN_MONITORS (on borderless
fullscreen). xfwm4 seems to assume that monitors are numbered in increasing
order from left to right (rather than using the Xinerama-assigned numbers),
so _NET_WM_FULLSCREEN_MONITORS misbehaves on Xfce.

This commit bypasses use of libXinerama, and instead forces SM to induce fullscreen
on the desired monitor in the backup, hacky way: remove all window hints, move window
to desired monitor, then add _NET_WM_STATE_FULLSCREEN hint. This works on
mutter and Xfce.

* Remove multiple warnings on redundant define.

This used to be hard-coded due to pthread related items, but now it's dynamically determined.

* fix _fallback menu behavior for unrecognized aspect ratios

* Fix error recreating existing FS texture

* Bump deployment target to 10.7 to use libc++ on XCode 8

* Add explicit casts to please clang

* Update changelog
2017-06-18 08:55:16 -07:00
MrThatKidandGitHub a3eab2e7ab Added nITG's various column specific & other misc modifiers (#1468)
* Added stealth control, ZBuffer & DizzyHolds mod

Modifiers added:
StealthPastReceptors
DizzyHolds
StealthType
ZBuffer

* Removed theme metrics that are now mods.

Removed metrics:
DrawHiddenNotesAfterReceptor
DizzyHoldHeads

* Implemented nITG's Shrink modifiers

Modifiers Added:
ShrinkLinear
ShrinkMult

* Implemented nITG's Attenuate mods.

Modifiers added:
AttenuateX
AttenuateY
AttenuateZ

* Implemented nITG's pulse modifiers

Modifiers added:
PulseInner
PulseOuter
PulsePeriod
PulseOffset

* Implemented nITG's DrawSize and Bounce modifiers.

Modifiers Added:
Bounce
BouncePeriod
BounceOffset
BounceZ
BounceZPeriod
BounceZOffset
DrawSize
DrawSizeBack

* Added nITG's column specific Dark & Stealth mods

Modifiers added:
Stealth<1-n>
Dark<1-n>

* Finish adding nITG's column specific mods

Modifiers added:
ConfusionXOffset<1-n>
ConfusionYOffset<1-n>
ConfusionzOffset<1-n>
Reverse<1-n>
Tiny<1-n>
Bumpy<1-n>

* Documented new modififers

* Changelog housekeeping

Fixed a typo and added this branch's PR into the changelog.

* Last bit of clean up. (#3)

* Fixed up one line of the changelog

* Add MrThatKid to credits.
2017-06-09 21:10:17 -07:00
Tyler BrekkeandColby Klein 9b5746f505 PercentageDisplay: Fix ShowDancePointsNotPercentage() (#1474)
Remove legacy setting DancePointsForOni

Fixes: #1473
2017-06-07 06:20:48 -07:00
KyzentunandColby Klein 2aee27a276 Backport custom song support. Prefs are CustomSongsEnable, CustomSongsMaxCount, CustomSongsLoadTimeout, CustomSongsMaxSeconds, CustomSongsMaxMegabytes. Metrics are NumProfileSongGroupColors and the colors with it. Profile custom load function is passed PlayerNumber now. Stepmania must run as root to save USB profile scores. (#1470) 2017-06-06 05:30:06 -07:00
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
Kyzentun Keeslala ccc26c305a UsePauseMenuInsteadOfGiveUp wasn't necessary for making start not give up on a song. Changed png load back to use setjmp/longjmp. 2016-07-12 21:00:54 -06:00
Kyzentun Keeslala 7bd64c32af Added AllowHoldForOptions preference.
Back button now only backs out of a screen on a press.
Updated changelog.
2016-06-24 16:55:01 -06:00
Kyzentun Keeslala 189cf77cab Changed PlayCommandNoRecurse to check whether the command is nil before running it, so that a command metric set to a nil function isn't an error. Removed TextBannerHighScores::AfterSetCommand metric from _fallback because it pointed to a function that does not exist. 2015-10-22 12:24:04 -06:00
Kyzentun Keeslala add09bef07 Added metrics for ScreenMiniMenuTimingDataChangeInformation that dbk2 found were missing. Changed ASSERT in AddNewScreenTop to ASSERT_M. 2015-10-22 00:04:13 -06:00
Wolfy b37834ab25 Change RandomBGEndsAtLastBeat metric to true by default
Setting the variable to true maintains behavior consistent with stable releases.
2015-08-19 19:55:49 -05:00
Kyzentun Keeslala a8e22c3e81 RandomBGEndsAtLastBeat metric. 2015-07-03 19:02:44 -06:00
Kyzentun Keeslala 70abcb8377 Didn't mean to make the default RandomBGChangeMeasures be 1. 2015-07-02 11:58:33 -06:00
Kyzentun Keeslala f1f1bd5ca6 Added theme metrics for controlling random bg behavior. 2015-07-02 11:51:59 -06:00
krakpot 139463b7a5 Fixed input function on ScreenOverscanConfig
Now you can exit OverscanConfig safely.
2015-06-23 04:01:00 +09:00
Kyzentun Keeslala c78950aaeb Changed timing and life difficulty text to position value after label. Changed all AllowRepeatingInput metrics in _fallback to true. 2015-06-14 08:55:42 -06:00
Kyzentun Keeslala 1dca128f79 Added logic to prevent crashing on an invalid initial screen. Added HARDCODED error screen in _fallback for displaying and explaining the error when a theme has an invalid initial screen. 2015-06-06 20:43:39 -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
Joe 459c74c3bf Music wheel preview fadeout time is now adjustable by the metric [ScreenSelectMusic] SampleMusicFadeOutSeconds. 2015-05-11 15:44:24 +01:00
Fighter19 ca3902373f Merge branch 'master' of https://github.com/Fighter19/stepmania 2015-05-06 10:06:12 +02:00
Fighter19 73ee19b7cf Adds option for an Axis Fix for some (PS2) adapters which map the D-Pad to Axis 2015-05-06 10:04:55 +02:00
Kyzentun 17533e7b95 Holding select in gameplay now skips the current song in course or endless mode. Updated changelog. 2015-05-05 13:17:15 -06:00
Kyzentun e3101e4574 When a string is not closed, it creates unresolved tension that stays with you for the rest of the day. 2015-04-28 00:45:37 -06:00
Kyzentun 8e187da210 Merge pull request #565 from kyzentun/toast_in_mouth
Multiple toasties per song.
2015-04-24 19:07:35 -06:00
tuxdude143 720b0732a2 Moved arcade options on request. 2015-04-21 11:53:59 +12:00
tuxdude143 aa196c9919 Catagory options menu v.2.0
Version 2 of the new options menu.
2015-04-20 08:59:23 +12:00
tuxdude143 19ae05b8fc Fixed linenames in metrics.ini
Lol I'm silly I forgot to fix up the linenames for _fallback so the
options menu displays correctly. Fixed that up.
2015-04-19 12:57:03 +12:00
tuxdude143 2f7827aa15 Fixed files for new options menu.
Revised everything and have now setup the new options menu for the
default theme in english mode ONLY (as of now). Use of the new options
menu requires theme modification
2015-04-19 12:23:09 +12:00
Kyzentun 9314555e6d Added preference for showing multiple toasties in one song. Added IsWaiting to Transition. 2015-04-18 08:52:57 -06:00
tuxdude143 3c12959f72 Fix 2015-04-18 21:19:29 +12:00
tuxdude143 01039d048b Files for a catagorised options menu 2015-04-18 21:08:15 +12:00
Kyzentun 862eba8f7d Changed logic to allog ToastyTriggersAt to be a function that returns the next increment. Added ToastyMinTNS metric for controlling the TNS for a toasty. 2015-04-17 23:24:49 -06:00
Kyzentun 2bb0ff1bc5 Merge pull request #548 from Wallacoloo/master
'Exit' option in 'select game' menu returns user to main options menu unless the game mode was changed
2015-04-06 23:34:14 -06:00
Colin Wallace 6bccc97c3a 'Exit' option in 'select game' menu returns user to main options menu unless the game mode was changed (#525) 2015-04-06 07:01:48 +00:00
Kyzentun 9e5081476f Added timing menu options to Edit Mode that allow shifting and copying timing segments of a chosen type in the selected region or everywhere below the cursor. 2015-04-04 09:10:00 -06:00
Colin Wallace 473974e52f Add ability to delete songs from disk at the song selection screen (Ctrl+Backspace) 2015-03-27 05:22:55 +00:00
Kyzentun 9353840583 Added HarshHotLifePenalty preference. 2015-03-08 23:44:18 -06:00
Kyzentun d3367d6a16 Add prompt for clearing an area in Edit Mode. Updated changelog. 2015-03-08 00:56:29 -07:00
Kyzentun 519ad8d243 Added stoptweening to ExplanationTogether OnCommands because it was possible to trigger a tween overflow by holding escape in edit mode. 2015-03-02 20:51:47 -07:00
Kyzentun cb379505d5 Changed edit mode to allow configuring RECORD_HOLD_SECONDS. 2015-02-08 18:39:45 -07:00
Devin J. Pohly 603b9d95fc Allow OnlyShowActiveSection wheel to include current section title
IIDX hides inactive sections, but unlike the current behavior of our
OnlyShowActiveSection metric (based on certain Pumps according to
DaisukeMaster's comment), it retains the section title so that the
section can be closed normally.

New metric: MusicWheel.HideActiveSectionTitle, defaulting to true in
_fallback.  A bit unfortunate, but keeps backward compatibility with the
existing behavior of OnlyShowActiveSection.

If neither metric is true, wheel displays all titles plus the contents
of the active section (if any).

If OSAS is true but HAST is false, wheel displays the active section
title plus its contents, or all titles if no section is active.

If both are true, wheel displays only the active section's contents, or
all titles if no section is active.
2015-02-01 10:09:59 -05:00
Kyzentun c7ffbb3453 Lead in time before recording starts in edit mode is now a preference. 2015-01-31 14:03:30 -07:00
Kyzentun 40b25e6220 Fixed conflicts to merge kickbox in. 2015-01-27 18:03:41 -07:00
Kyzentun d28c8a8ab1 #420 fixed by centering menu. #371 fixed by setting max height of text. #374 fixed by changing ItemsEndX 2015-01-21 10:13:56 -07:00
Kyzentun aeaead95c9 Changed default ScreenSelecStyle to use functions for choice names and positions instead of metrics. _fallback SSS remains the same for compatibility. Fixed style stomping bug in SetCompatibleStylesForPlayers. 2015-01-20 18:40:59 -07:00