Commit Graph
1282 Commits
Author SHA1 Message Date
Martin Natano f79830e7af Fix typo in IniFile.WriteFile() error handling 2022-02-06 15:31:31 +01:00
teejusb a105e3bd60 Verify that PrefsTable[name] exists before indexing the pref. 2021-09-24 14:57:49 -07:00
Renan GuilhermeandGitHub 1b12bd32b7 _fallback: INI sections must start with brackets (#2127)
Previously, IniFile.ReadFile created sections by checking for brackets
anywhere in the line, causing issues if a value had brackets. This
commit changes the section matching regex, so that only lines that
begin with a bracket can become sections.
2021-07-16 02:31:27 -07:00
vytekingandGitHub e3174517fe Added Korean translation 2021-04-29 00:03:28 +09:00
Jose Riha de76b95ab2 Add Slovak translation 2020-12-18 14:07:54 +01:00
quietly-turning 21eed3f235 add 21:9 and 9:16 to ConfAspectRatio in _fallback
This adds choices for 21:9 (Ultrawide) and 9:16 (widescreen display in
portrait mode) to the _fallback theme.  Previously, users would have to
manually edit Preferences.ini to achieve either of these.

Since "21:9" is the common marketing term for what is actually 64:27,
I've slightly extended GenChoices() in ConfAspectRatio() to use a "name"
string from the winFracs table is one is provided. If not, the original
behavior of generating user-facing choices from the raw values is
preserved.

See: https://wikipedia.org/wiki/21:9_aspect_ratio

I updated the global AspectRatios table in _fallback/02 Utilities.lua to
match.
2020-04-28 22:47:54 -04:00
Prcuvu de4dc62846 Split Chinese language into Simplified script and Traditional script
ArchHooks function modified for Windows.
2020-02-08 15:46:00 +08:00
Dan Guzek 9666bb0ae2 change a few global Lua variables to be local
Running StepMania with the command line argument of --ExportLuaInformation while the current 5.1's default theme (Lambda) was selected added some seemingly stray Lua variables to the Constants table in ./Docs/Luadoc/Lua.xml.

I spotted them here: http://dguzek.github.io/Lua-For-SM5/LuaAPI#Constants

I'm assuming num, bPreference, and bCategory don't need global scope, so I added the local keyword where appropriate.
2019-12-09 19:45:57 -05:00
Martin NatanoandColby Klein 6a4551f958 Detect 8:3 as widescreen (#1929)
The IsUsingWideScreen() function only checked 16:10 and 16:9, now we just
check that the ratio is greater than 16:10. (Coincidentally that's also
what the documentation states about this function.)
2019-11-03 12:10:05 -08:00
RhythmLunatic 61041b8941 metrics 2019-04-19 10:26:04 -05:00
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
ListenerJubatus b984b7fd30 Why has this one font stroke file not had a doubleres hint? 2018-09-17 16:01:06 -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
Flameshadowxeroshin 52dbc11b5f Make getenv() and setenv() actually get and set the current env 2018-02-09 11:03:26 -06:00
Kyzentun Keeslala e233ea291c Change ThemePrefs to use the Theme preference instead of GetThemeDisplayName or themeInfo because GetThemeDisplayName does not work when a theme falls back on another theme. 2018-02-02 11:15:34 -07:00
KyzentunandMrThatKid 55562324e2 Fix relative paths in simfiles. (#1512) 2017-10-20 18:45:47 -07:00
Alexander GriffinandMrThatKid c0981c42ec Changing BannerCache into ImageCache to support more imagetypes (#1532) 2017-09-19 14:49:42 -07:00
ListenerJubatus df8e270916 Fix a mismatch between award text and judgement
Fantastic vs. Flawless
2017-08-09 21:56:12 -06:00
ListenerJubatus f2f707cbae More minor tweaks to theme 2017-08-08 12:42:04 -06: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 d27fae7ed5 Entry in the debug menu that reloads preferences. There may be some preferences that are only checked at startup that are unaffected by the reload. (#1471) 2017-06-06 09:36:24 -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
KyzentunandColby Klein dd9fa68fef Sprite:Load lua function can set additional texture hints by having a second argument. Also, rec_count_children slipped in Utilities somehow. (#1426) 2017-04-04 17:24:14 -07:00
Kyzentun Keeslala 3d98fc7a60 Add oitg_zoom_mode_actor. Turn off minimaid lights when exiting. 2016-08-29 12:43:04 -06: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 ca9fd7c707 Fixed bug that allowed pausing by pressing two different pause buttons instead of double tapping one. Moved pause logic to script in _fallback to make it easier for other themese to use. 2016-06-28 16:12:45 -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 1c2bac36a8 Moved actors for ScreenSyncOverlay from the engine to a lua file in the theme to make the overlay themable.
Renamed some strings used by ScreenSyncOverlay to have actual names.  They were using their untranslated text as names.
Removed ScreenSyncOverlay section from de.ini because none of the strings were actually translated.
Removed most of ScreenSyncOverlay section from fr.ini because the strings were not actually translated.
2016-06-12 14:51:27 -06:00
ddrtimeandColby Klein 4c48e962e4 Add Traditional Chinese language (#1136) 2016-06-06 02:04:44 -07:00
Kyzentun eb431aa52d Merge pull request #974 from sillybear/patch-6
Changes to fallback theme's sync music song offset
2016-05-13 06:54:07 -06:00
Jason Felds 9ba2baf8d6 Properly translate # songs played.
No line ending shenanigans this time.
2016-03-27 16:55:17 -04:00
NeobeatIKK 0ad8cfc8e3 Update es.ini 2016-03-26 12:56:10 -03:00
Kyzentun Keeslala 62ccc9dae1 Updated changelog. Reencoded small sounds to avoid the small sound crash bug on linux. 2016-03-14 16:57:56 -06:00
Kyzentun Keeslala 060f0999c2 Updated changelog. Added joelwindows7 to translator credits. 2016-03-05 19:05:31 -07:00
Kyzentun Keeslala ae5ff0724a Added Clear timing in region option to timing menu in edit mode. Disabled pasting clipboard timing if it's not safe to fix crash. 2016-01-18 11:48:50 -07:00
hanubeki 14caac26ca Little change for previous commit 2015-12-29 17:54:55 +09:00
hanubeki 375f644b5d Update Japanese language for _fallback 2015-12-29 17:48:34 +09:00
sillybear 72cb62dfe4 Update ScreenGameplaySyncMachine music.ssc 2015-12-27 14:28:43 +08:00
sillybear d8c7915943 Changes to song offset for fallback theme's sync music 2015-12-27 14:03:05 +08:00
Dan Guzek 1940e690e5 fix _fallback's DefaultFailType help text
The help text and the available options didn't match up.  The option text has been "Immediate Continue" for a while now, although the help text still referenced "30 Misses," presumably a holdover from ITG.
2015-12-25 21:10:35 -05:00
Kyzentun Keeslala 108b29733f Put French in credits instead of français to match other entries. 2015-10-30 00:55:52 -06:00
Kyzentun Keeslala a9372d97e7 Added Arvaneth and Prcuvu to the credits. Updated changelog. 2015-10-30 00:43:40 -06:00
Arvaneth 48225b3566 fr.ini
oven baked translations
2015-10-30 02:32:12 -04:00
Arvaneth fbe88a9c19 Merge branch 'master' of https://github.com/stepmania/stepmania 2015-10-30 02:24:30 -04:00