From beccaf9c93dcbab557d4b2fe6845a424f4f47e32 Mon Sep 17 00:00:00 2001 From: f1fth_freed0m Date: Mon, 17 Mar 2008 09:26:32 +0000 Subject: Staves now can be turned of in Options git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@961 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UIni.pas | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Game/Code/Classes/UIni.pas') diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas index 5330f45f..292a485a 100644 --- a/Game/Code/Classes/UIni.pas +++ b/Game/Code/Classes/UIni.pas @@ -76,6 +76,7 @@ type LyricsFont: integer; LyricsEffect: integer; Solmization: integer; + NoteLines: integer; // Themes Theme: integer; @@ -165,6 +166,7 @@ const ILyricsFont: array[0..2] of string = ('Plain', 'OLine1', 'OLine2'); ILyricsEffect: array[0..4] of string = ('Simple', 'Zoom', 'Slide', 'Ball', 'Shift'); ISolmization: array[0..3] of string = ('Off', 'Euro', 'Jap', 'American'); + INoteLines: array[0..1] of string = ('Off', 'On'); IColor: array[0..8] of string = ('Blue', 'Green', 'Pink', 'Red', 'Violet', 'Orange', 'Yellow', 'Brown', 'Black'); @@ -598,7 +600,10 @@ begin // Solmization Solmization := GetArrayIndex(ISolmization, IniFile.ReadString('Lyrics', 'Solmization', ISolmization[0])); - + + // NoteLines + NoteLines := GetArrayIndex(INoteLines, IniFile.ReadString('Lyrics', 'NoteLines', INoteLines[1])); + // Theme SetLength(ITheme, 0); Log.LogStatus('Searching for Theme : ' + ThemePath + '*.ini', 'Theme'); @@ -768,6 +773,9 @@ begin // Solmization IniFile.WriteString('Lyrics', 'Solmization', ISolmization[Solmization]); + // NoteLines + IniFile.WriteString('Lyrics', 'NoteLines', INoteLines[NoteLines]); + // Theme IniFile.WriteString('Themes', 'Theme', ITheme[Theme]); -- cgit v1.2.3