aboutsummaryrefslogtreecommitdiffstats
path: root/Lua/src/screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-23 14:08:58 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-23 14:08:58 +0000
commit1bcf5d3ab366002e8000656b566340c3efd756af (patch)
tree8ed312dd7c2c5860f723825aa7283474d456a481 /Lua/src/screens
parentc32c264f7ed302d40a84aa56028256b583c678b2 (diff)
downloadusdx-1bcf5d3ab366002e8000656b566340c3efd756af.tar.gz
usdx-1bcf5d3ab366002e8000656b566340c3efd756af.tar.xz
usdx-1bcf5d3ab366002e8000656b566340c3efd756af.zip
new ULuaUtils procedure: lua_PushBinInt
new functions in ScreenSing lua module ScreenSing.GetSettings ScreenSing.SetSettings 3 new settings in UScreenSing that needs to be implemented LyrcsVisible, NotesVisible and PlayerEnabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1769 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Lua/src/screens')
-rw-r--r--Lua/src/screens/UScreenSing.pas10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lua/src/screens/UScreenSing.pas b/Lua/src/screens/UScreenSing.pas
index bbdd1ecd..375ec3e3 100644
--- a/Lua/src/screens/UScreenSing.pas
+++ b/Lua/src/screens/UScreenSing.pas
@@ -105,9 +105,13 @@ type
settings: record
Finish: Boolean; //< if true, screen will finish on next draw
+ LyricsVisible: Boolean; //< shows or hides lyrics
+ NotesVisible: Integer; //< if bit[playernum] is set the notes for the specified player are visible. By default all players notes are visible
+ PlayerEnabled: Integer; //< defines whether a player can score atm
end;
procedure ClearSettings;
+ procedure ApplySettings; //< applies changes of settings record
procedure EndSong;
constructor Create; override;
@@ -640,6 +644,12 @@ begin
Settings.Finish := False;
end;
+{ applies changes of settings record }
+procedure TScreenSing.ApplySettings;
+begin
+ //
+end;
+
procedure TScreenSing.EndSong;
begin
Settings.Finish := True;