Martin Natano
4c0aef69dd
Remove legacy network code
2022-04-11 14:50:00 -07:00
Drew Barbarello
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
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
Dan Guzek
1ca660f034
clean up ActorDef.txt
...
This should resolve issue #781 .
2016-07-08 02:55:07 -04:00
Kyzentun Keeslala
2f39442ccd
Added Docs/Themerdocs/pause_menu.md to explain pause menu logic. Updated changelog.
2016-06-28 21:00:17 -06:00
Kyzentun
1389e68bb3
Changed .travis.yml to use cmake. Updated changelog. Updated version number in CMakeLists.txt.
2015-05-09 08:37:08 -06:00
Jason Felds
e5bc990c52
Merge pull request #588 from kyzentun/xml_conv
...
XML to Lua converter
2015-05-09 09:53:32 -04: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
0d9897aed3
Added toasty example.
2015-05-08 11:19:14 -06:00
sigatrev
c5451c98d5
Update AFT examples
...
Added a note to example 3 specifying that it was demonstrating the
"float" property.
Added information about functionality I only just realized existed: the
ability to draw outside of the screen's draw cycle.
2015-03-19 19:20:39 -05:00
sigatrev
3af895b1bf
AFT examples
...
because it seem like I'm the only one who knows what these things do.
2015-03-17 21:46:22 -05:00
Kyzentun
1de3cce1cd
Fixed quotes and spelling in new actor examples. Fixed RollingNumbers to do nothing instead of crashing if it's rendered before it loads its metrics.
2015-02-05 18:56:56 -07:00
YungDaVinci
fa560d755c
Create RollingNumbers.lua
2015-02-05 19:34:00 -05:00
YungDaVinci
be89efe77a
Create Quad.lua
2015-02-05 19:33:23 -05:00
YungDaVinci
b8157ee1f0
Create BitmapText.lua
2015-02-05 19:32:10 -05:00
Kyzentun
75fdf7c650
Doc listing all announcer files added.
2014-11-19 12:00:40 -07:00
Kyzentun
4d703b8870
Minor docs change for effect colors.
2014-10-29 20:29:56 -06:00
Kyzentun
db1147abac
Added ScreenHeartEntry example.
2014-09-30 19:16:21 -06:00
freem
64cd9f898d
Various changes to things in the Docs folder:
...
* remove unused WindowsNotes.txt
* various sm-ssc -> StepMania (and similar) changes
* Rewrote a bit of recommended_practices.txt
* Fix a copy/paste typo in anatomy_of_an_actor.lua
* many other things I can't remember; namely newlines at the end of files
2014-09-14 19:17:17 -05:00
Kyzentun
13066518fe
Renamed Header elements to ListHeader. Removed hungarian notation from ScreenMapControllers.
2014-09-04 17:03:11 -06:00
Kyzentun
a41d9c0467
Changed GetAttrPath to not warn on optional paths.
2014-08-25 03:38:22 -06:00
freem
4ac7e2ad2d
draft 2 of ActorScroller example; still needs work
...
* removed QuantizePixels because it's unused
* make note that the "BitmapText requires ActorFrame for coloring" bug has existed for a while
* mention what offset actually is in TransformFunction
2014-08-12 13:23:53 -05:00
freem
90b388c586
add first draft of ActorScroller example
2014-08-12 12:43:50 -05:00
Kyzentun
a3e6cdbfa2
Added One_Screen_Example_Theme as a minimal example.
2014-08-10 16:17:03 -06:00
freem
04c49a2fd8
add TextEntrySettings documentation to ScreenTextEntry
2014-08-08 20:33:29 -05:00
Kyzentun
ef955bc4d4
A couple actor docs.
2014-08-04 20:27:49 -06:00
Kyzentun
9244b0f1d8
Updated actordef.txt.
2014-08-04 10:59:38 -06:00
Kyzentun
32e5d7e90c
Improved three-key support. Default theme should be completely usable with three-key cabinets if ThreeKeyNavigation pref is true. Added ThreeKeyNavigation pref. ScreenOptions:NavigationMode metric now uses that pref to decide between normal and toggle modes. Added GoToFirstOnStart to OptionRowHandlerLua so an option row can control that behavior. Rewrote input for default's ScreenSelectProfile to use an input callback to take advantage of menu button mapping. Fixed inconsistent indentation in ORHL documentation.
2014-07-25 14:33:15 -06:00
Kyzentun
69b5f1ae61
Fixed two typos.
2014-07-19 16:05:16 -06:00
Kyzentun
a2e6d186e3
Created Def.LogDisplay for displaying messages in a log. Changed error reporting layer to use Def.LogDisplay. Changed engine error reporting to not clip errors to a single line.
2014-07-18 16:29:46 -06:00
Kyzentun
6cf23c4dc3
Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
2014-07-14 15:41:04 -06:00
Kyzentun
fb1a251b7a
Changed many places that used RageException to use ReportScriptError instead. Wrote ScreenOptionsExample.ini as documentation example for the OptionRow system. Rewrote gamecommands.txt to include all GameCommands. Fixed Commands::GetOriginalCommandString to insert the semicolons that separated the original commands. Changed nonsensical boolean |= true statements in GameCommand.cpp to just use =. Added protection to ReportScriptError to keep it from recursing through itself when an error occurs in error reporting. Added UseAbort option to ReportScriptError for places that want to use an AbortRetryIgnore dialog to query the user. Added ScriptErrorMessage for places that need to handle the warning/dialog part separately. Added logging flag to MESSAGEMAN so that all messages broadcast can be logged when desired. Changed OptionRowHandler::LoadInternal to return a boolean success value as part of error handling.
2014-07-12 14:59:10 -06:00
Kyzentun
9a9da05cfb
Added doc explaining what a theme needs to support heart rate calorie calculation.
2014-07-01 02:21:24 -06:00
Kyzentun
dcf819d297
Moved all sanity checking for OptionRowHandlerLua to a separate function so that a malformed row does not crash StepMania, and instead prints an error to the log file, and creates a row that does nothing. Added AllowAnything arg to CheckEnum.
2014-06-25 12:08:57 -06:00
Kyzentun
c02a17f393
Revised documentation example for OptionRowHandlerLua to make it slightly more clear.
2014-06-19 21:02:35 -06:00
Kyzentun
045e9edcdd
Added ArbSpeedMods function for a better way of setting speed modifiers. Added NotifyHandlerOfSelection to OptionRowHandler to support this. Changed exceptions thrown by OptionRowHandlerLua into log warnings because crashing out is not helpful to themers. Fixed SetEnabledForPlayers in OptionRowHandlerLua to correctly read the PlayerNumber enum. Removed silly git add Docs/Themerdocs/Examples/OptionRowHandlerLua.lua and second check for ExportOnChange.
2014-06-19 06:41:18 -06:00
Kyzentun
ec3e76277c
Added interface for controlling the behavior of the hasts system. Added support for negative haste. Moves haste rate calculations to UpdateHasteRate. GetHasteRate now just returns the calculated value. Added FLOAT_NO_SPEED_INTERFACE and FLOAT_TABLE_INTERFACE macros to OptionsBinding.h
2014-05-05 14:16:08 -06:00
Kyzentun
b6b840187d
Made PlayerState:GetCurrentPlayerOptions safe to use. Added Docs/Themerdocs/modslevel.txt to explain what ModsLevel should be used by a theme using the new PlayerOptions interface.
2014-05-02 21:25:59 -06:00
sigatrev
2f9b8cda12
added AMV themer docs
2014-04-14 22:06:02 -05:00
AJ Kelly
b697bd9d4f
guitar mode was removed
2012-07-10 19:31:27 -05:00
Jason Felds
a085d0d1da
Line endings...be normalized!
2011-03-17 01:47:30 -04:00
Jason Felds
7c4044a2fc
Force consistent line endings.
...
I'd suggest enabling the EolExtension:
this way we won't go back and forth here.
2011-03-16 15:51:54 -04:00
AJ Kelly
8133c06754
update noteskin elements reference
2011-02-09 01:21:37 -06:00
AJ Kelly
05bf14b55f
ScreenTextEntry docs update
2011-01-12 13:30:53 -06:00
Mark Cannon
5d3ecc6400
Added documentation for ThemePrefs and ThemePrefsRows, updated some code
...
and added sanity checks into ThemePrefsRows, added localization support for
error messages in ThemePrefs and ThemePrefsRows.
2010-12-28 05:15:47 -05:00
AJ Kelly
4bbf9b5b3a
documentation updates
2010-06-02 22:34:22 -05:00
AJ Kelly
9408cdea45
update themerdocs
2010-04-26 11:19:13 -05:00
AJ Kelly
d494ba5696
documentation update
2010-04-18 00:17:25 -05:00
AJ Kelly
7fd68582c4
Add a new document listing all the possible things you can Def.* in a theme.
2010-04-11 03:58:34 -05:00
AJ Kelly
bfa8f30d4e
documentation updates
2010-03-24 21:40:55 -05:00