Merge pull request #23 from xDarkice/jukebox

Jukebox
This commit is contained in:
Alexander Eckart committed 2012-03-13 08:39:22 -07:00
commit ba5cdfccab
60 files changed
+2889 -562

No files matched your search

Binary file not shown.
+18
View File
@@ -2,10 +2,28 @@
<root> <root>
<Font1> <Font1>
<Name>Normal</Name> <Name>Normal</Name>
<Outline>0,00</Outline>
<OutlineColorR>0,00</OutlineColorR>
<OutlineColorG>0,00</OutlineColorG>
<OutlineColorB>0,00</OutlineColorB>
<OutlineColorA>1,00</OutlineColorA>
<Folder>FreeSans</Folder> <Folder>FreeSans</Folder>
<FileNormal>FreeSans.ttf</FileNormal> <FileNormal>FreeSans.ttf</FileNormal>
<FileBold>FreeSansBold.ttf</FileBold> <FileBold>FreeSansBold.ttf</FileBold>
<FileItalic>FreeSansOblique.ttf</FileItalic> <FileItalic>FreeSansOblique.ttf</FileItalic>
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic> <FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
</Font1> </Font1>
<Font2>
<Name>Outline</Name>
<Outline>0,10</Outline>
<OutlineColorR>0,00</OutlineColorR>
<OutlineColorG>0,00</OutlineColorG>
<OutlineColorB>0,00</OutlineColorB>
<OutlineColorA>1,00</OutlineColorA>
<Folder>FreeSans</Folder>
<FileNormal>FreeSans.ttf</FileNormal>
<FileBold>FreeSansBold.ttf</FileBold>
<FileItalic>FreeSansOblique.ttf</FileItalic>
<FileBoldItalic>FreeSansBoldOblique.ttf</FileBoldItalic>
</Font2>
</root> </root>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 65 KiB

+1
View File
@@ -180,5 +180,6 @@
<TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Video-Hintergründe</TR_SCREENOVIDEO_VIDEOBACKGROUNDS> <TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Video-Hintergründe</TR_SCREENOVIDEO_VIDEOBACKGROUNDS>
<TR_SCREENOVIDEO_VIDEOPREVIEW>Video-Vorschau</TR_SCREENOVIDEO_VIDEOPREVIEW> <TR_SCREENOVIDEO_VIDEOPREVIEW>Video-Vorschau</TR_SCREENOVIDEO_VIDEOPREVIEW>
<TR_SCREENOVIDEO_VIDEOINSONGS>Videos während des Singens</TR_SCREENOVIDEO_VIDEOINSONGS> <TR_SCREENOVIDEO_VIDEOINSONGS>Videos während des Singens</TR_SCREENOVIDEO_VIDEOINSONGS>
<TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>Videos der Hintergrundmusik</TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>
</Texts> </Texts>
</root> </root>
+1
View File
@@ -180,5 +180,6 @@
<TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Video Backgrounds</TR_SCREENOVIDEO_VIDEOBACKGROUNDS> <TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Video Backgrounds</TR_SCREENOVIDEO_VIDEOBACKGROUNDS>
<TR_SCREENOVIDEO_VIDEOPREVIEW>Video Preview</TR_SCREENOVIDEO_VIDEOPREVIEW> <TR_SCREENOVIDEO_VIDEOPREVIEW>Video Preview</TR_SCREENOVIDEO_VIDEOPREVIEW>
<TR_SCREENOVIDEO_VIDEOINSONGS>Videos while singing</TR_SCREENOVIDEO_VIDEOINSONGS> <TR_SCREENOVIDEO_VIDEOINSONGS>Videos while singing</TR_SCREENOVIDEO_VIDEOINSONGS>
<TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>Display current backgroundmusic video</TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>
</Texts> </Texts>
</root> </root>
+1
View File
@@ -180,5 +180,6 @@
<TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Vidéo en arrière plan</TR_SCREENOVIDEO_VIDEOBACKGROUNDS> <TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Vidéo en arrière plan</TR_SCREENOVIDEO_VIDEOBACKGROUNDS>
<TR_SCREENOVIDEO_VIDEOPREVIEW>Prévisualisation des Vidéos</TR_SCREENOVIDEO_VIDEOPREVIEW> <TR_SCREENOVIDEO_VIDEOPREVIEW>Prévisualisation des Vidéos</TR_SCREENOVIDEO_VIDEOPREVIEW>
<TR_SCREENOVIDEO_VIDEOINSONGS>Vidéos pendant que l'on chante</TR_SCREENOVIDEO_VIDEOINSONGS> <TR_SCREENOVIDEO_VIDEOINSONGS>Vidéos pendant que l'on chante</TR_SCREENOVIDEO_VIDEOINSONGS>
<TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>TODO: Display current backgroundmusic video</TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>
</Texts> </Texts>
</root> </root>
+2 -1
View File
@@ -55,7 +55,7 @@
<!--Config: Song-Menu-Style--> <!--Config: Song-Menu-Style-->
<TR_CONFIG_LIST>Lista</TR_CONFIG_LIST> <TR_CONFIG_LIST>Lista</TR_CONFIG_LIST>
<TR_CONFIG_DREIDEL>Dreidel</TR_CONFIG_DREIDEL> <TR_CONFIG_DREIDEL>Dreidel</TR_CONFIG_DREIDEL>
<TR_CONFIG_TILE_BOARD>TileBoard</TR_CONFIG_TILE_BOARD> <TR_CONFIG_TILE_BOARD>Cuadrícula</TR_CONFIG_TILE_BOARD>
<TR_CONFIG_BOOK>Libro</TR_CONFIG_BOOK> <TR_CONFIG_BOOK>Libro</TR_CONFIG_BOOK>
<!--Config: Cover-Loading--> <!--Config: Cover-Loading-->
<TR_CONFIG_COVERLOADING_ONDEMAND>Según Sean Necesarias</TR_CONFIG_COVERLOADING_ONDEMAND> <TR_CONFIG_COVERLOADING_ONDEMAND>Según Sean Necesarias</TR_CONFIG_COVERLOADING_ONDEMAND>
@@ -180,5 +180,6 @@
<TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Videos de Fondo</TR_SCREENOVIDEO_VIDEOBACKGROUNDS> <TR_SCREENOVIDEO_VIDEOBACKGROUNDS>Videos de Fondo</TR_SCREENOVIDEO_VIDEOBACKGROUNDS>
<TR_SCREENOVIDEO_VIDEOPREVIEW>Previsualización del Video</TR_SCREENOVIDEO_VIDEOPREVIEW> <TR_SCREENOVIDEO_VIDEOPREVIEW>Previsualización del Video</TR_SCREENOVIDEO_VIDEOPREVIEW>
<TR_SCREENOVIDEO_VIDEOINSONGS>Videos al Cantar</TR_SCREENOVIDEO_VIDEOINSONGS> <TR_SCREENOVIDEO_VIDEOINSONGS>Videos al Cantar</TR_SCREENOVIDEO_VIDEOINSONGS>
<TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>TODO: Display current backgroundmusic video</TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND>
</Texts> </Texts>
</root> </root>
+127
View File
@@ -0,0 +1,127 @@
Vocaluxe 0.1 README
----------------------------
=================================
= 1. About =
= 2. Release Notes =
= 3. Command-Line Parameters =
= 4. Controls =
= 5. Help & Support =
= 6. Source Code =
=================================
=================================
= 1. About =
=================================
Vocaluxe is a free and open source singing game. It allows up to three players (currently) to sing
along with music using microphones in order to score points, depending on the pitch of the voice
and the rhythm of singing.
Vocaluxe is an entirely new development in C#, inspired by the original UltraStar (developed by corvus5)
and the great Ultrastar Deluxe project.
Supported Operating Systems / Requirements:
- WinXP, Vista, Windows 7 with .NET 2.0
- 1 GHz CPU, 512 MB RAM, Graphics card with OpenGL 2.1 or DirectX 9.0 support
=================================
= 2. Release Notes =
=================================
- The program supports 32bit and 64bit (Vocaluxe_x64.exe) operating systems.
- The program uses OpenGL as the default renderer. If your graphics card driver does not or not
properly support OpenGL, you can try the Direct3D renderer by editing your Config.xml in the
application's main directory:
<Graphics>
<!--Renderer: TR_CONFIG_SOFTWARE, TR_CONFIG_OPENGL, TR_CONFIG_DIRECT3D-->
<Renderer>TR_CONFIG_DIRECT3D</Renderer>
- To add your existing song collection to Vocaluxe, put your songs into the 'Songs' subfolder.
Alternatively, you can add multiple song paths to Vocaluxe by editing your Config.xml:
<Game>
<!--SongFolder: SongFolder1, SongFolder2, SongFolder3, ...-->
<SongFolder1>C:\Vocaluxe\Songs</SongFolder1>
<SongFolder2>D:\EvenMore\Songs</SongFolder2>
- To use your highscore database from UltraStar deluxe 1.0.1, UltraStar deluxe CMD Mod or
UltraStar deluxe 1.1, simply copy your Ultrastar.db (rename if necessary) into the main
directory. Your highscore database will be imported into the HighscoreDB.sqlite file when
Vocaluxe is started. Upon successful import, the old database is deleted.
- To add your own player avatars, simply add some picture files to the 'Profiles' subfolder.
Supported file types: png, jpg (jpeg), bmp.
Images should have square proportions, e.g. 400x400 px.
=================================
= 3. Command-Line Parameters =
=================================
The following command-line parameters may be passed to the game when starting it through a shortcut
or from the console:
-ConfigFile [Path\File]: Use [Path\File] as configuration file instead of Config.xml in the main folder.
The path to the file has to exist and needs to be an absolute path.
If only a filename is specified, the file is assumed to be in the current directory.
Examples: Vocaluxe.exe -ConfigFile MyConfig.xml
Vocaluxe.exe -ConfigFile C:\Vocaluxe\Configs\MyConfig.xml
-ScoreFile [Path\File] : Use [File] as score database instead of HighscoreDB.sqlite in the application's
main folder. The path to the file has to exist and needs to be an absolute path.
If only a filename is specified, the file is assumed to be in the current directory.
Examples: Vocaluxe.exe -ScoreFile MyHighscoreDB.sqlite
Vocaluxe.exe -Scorefile C:\Vocaluxe\Highscores\MyHighscoreDB.sqlite
-SongFolder [Path] : Use [Path] as song folder. The path has to exist and needs to be an absolute path.
Note that any song folders set in the config file will be ignored.
This parameter may be used multiple times to use different song folders.
Examples: Vocaluxe.exe -SongFolder D:\MySongCollection
Vocaluxe.exe -SongFolder D:\MySongCollection -SongFolder E:\MoreSongs
-SongPath [Path] : Deprecated, see SongFolder [Path]. This alias is provided for convenience.
Complete example:
Vocaluxe.exe -ConfigFile MyConfig.xml -ScoreFile C:\Vocaluxe\Highscores\MyHighscoreDB.sqlite -SongFolder D:\MySongCollection
=================================
= 4. Controls =
=================================
[Mouse] to navigate through the screens: Left button: select/manipulate elements,
Right button: go to previous screen.
[Cursor] to navigate through the screens.
[Enter] to confirm
[Escape] or [Back] to go to the previous screen.
[ALT] + [P] to take a ScreenShot. Screenshots are saved in the directory "Screenshots".
[ALT] + [ENTER] to toggle full screen mode.
[SHIFT] + [F1] to toggle theme edit mode. The theme edit mode is experimental. It allows you
to change the size and position of the element on the screens. You can save
your changes with [S] before leaving the theme edit mode.
[TAB] to open the background music controls (not on all screens).
Songscreen
[R] to select a random song
[F3] or [CTRL]+[F] to open/close the song search menu
[A] to sing all songs from a category
=================================
= 5. Help & Suppport =
=================================
GitHub Wiki: https://github.com/Vocaluxe/Vocaluxe/wiki
Support Forum (German): http://www.ultra-star.de
Song-DataBase (USDB): http://usdb.animux.de/
=================================
= 6. Source Code =
=================================
Source Code (GitHub): https://github.com/Vocaluxe/Vocaluxe
SF.Net Page: http://sourceforge.net/projects/vocaluxe/
+2 -2
View File
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<ThemeSystemVersion>4</ThemeSystemVersion> <ThemeSystemVersion>5</ThemeSystemVersion>
<Info> <Info>
<Name>Ambient</Name> <Name>Ambient</Name>
<Author>bohning</Author> <Author>bohning</Author>
<SkinFolder>Ambient</SkinFolder> <SkinFolder>Ambient</SkinFolder>
<ThemeVersionMajor>0</ThemeVersionMajor> <ThemeVersionMajor>0</ThemeVersionMajor>
<ThemeVersionMinor>1</ThemeVersionMinor> <ThemeVersionMinor>2</ThemeVersionMinor>
</Info> </Info>
<Cursor> <Cursor>
<Skin>Cursor</Skin> <Skin>Cursor</Skin>
@@ -18,13 +18,29 @@
<!-- <Space>: Reflection Space--> <!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height--> <!-- <Height>: Reflection Height-->
</StaticBG> </StaticBG>
<StaticCover>
<!--<Skin>: Texture name-->
<Skin>CoverBackground</Skin>
<!--<X>, <Y>, <Z>, <W>, <H>: Static position, width and height-->
<X>50</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Static color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>Visible</Color>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
</StaticCover>
<ButtonPrevious> <ButtonPrevious>
<!--<Skin>: Texture name--> <!--<Skin>: Texture name-->
<Skin>PreviousIcon</Skin> <Skin>PreviousIcon</Skin>
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PreviousIcon</SkinSelected> <SkinSelected>PreviousIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>50</X> <X>125</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -71,7 +87,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PlayIcon</SkinSelected> <SkinSelected>PlayIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>125</X> <X>200</X>
<Y>5</Y> <Y>5</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>40</W> <W>40</W>
@@ -118,7 +134,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>PauseIcon</SkinSelected> <SkinSelected>PauseIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>125</X> <X>200</X>
<Y>5</Y> <Y>5</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>40</W> <W>40</W>
@@ -165,7 +181,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>NextIcon</SkinSelected> <SkinSelected>NextIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>190</X> <X>265</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -212,7 +228,7 @@
<!--<SkinSelected>: Texture name for selected button--> <!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>RepeatIcon</SkinSelected> <SkinSelected>RepeatIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height--> <!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>265</X> <X>330</X>
<Y>0</Y> <Y>0</Y>
<Z>0,00</Z> <Z>0,00</Z>
<W>50</W> <W>50</W>
@@ -225,7 +241,7 @@
<SColor>ButtonSColor</SColor> <SColor>ButtonSColor</SColor>
<Text> <Text>
<!--<X>, <Y>: Text position--> <!--<X>, <Y>: Text position-->
<X>265</X> <X>405</X>
<Y>25</Y> <Y>25</Y>
<!--<H>: Text height--> <!--<H>: Text height-->
<H>32</H> <H>32</H>
@@ -253,5 +269,174 @@
<!-- <Space>: Reflection Space of selected button--> <!-- <Space>: Reflection Space of selected button-->
<!-- <Height>: Reflection Height of selected button--> <!-- <Height>: Reflection Height of selected button-->
</ButtonRepeat> </ButtonRepeat>
<ButtonShowVideo>
<!--<Skin>: Texture name-->
<Skin>VideoIcon</Skin>
<!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>VideoIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>405</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Button color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonColor</Color>
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonSColor</SColor>
<Text>
<!--<X>, <Y>: Text position-->
<X>315</X>
<Y>0</Y>
<!--<H>: Text height-->
<H>32</H>
<!--<MaxW>: Maximum text width (if exists)-->
<MaxW>142</MaxW>
<!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonTextColor</Color>
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonTextSColor</SColor>
<!--<Align>: Text align: Left, Center, Right-->
<Align>Center</Align>
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style>
<!--<Font>: Text font name-->
<Font>Normal</Font>
<!--<Text>: Text or translation tag-->
<Text></Text>
</Text>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
<!--<SReflection> If exists:-->
<!-- <Space>: Reflection Space of selected button-->
<!-- <Height>: Reflection Height of selected button-->
</ButtonShowVideo>
<ButtonToBackgroundVideo>
<!--<Skin>: Texture name-->
<Skin>VideoIcon</Skin>
<!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>VideoIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>480</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Button color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonColor</Color>
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonSColor</SColor>
<Text>
<!--<X>, <Y>: Text position-->
<X>315</X>
<Y>0</Y>
<!--<H>: Text height-->
<H>32</H>
<!--<MaxW>: Maximum text width (if exists)-->
<MaxW>142</MaxW>
<!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonTextColor</Color>
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonTextSColor</SColor>
<!--<Align>: Text align: Left, Center, Right-->
<Align>Center</Align>
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style>
<!--<Font>: Text font name-->
<Font>Normal</Font>
<!--<Text>: Text or translation tag-->
<Text></Text>
</Text>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
<!--<SReflection> If exists:-->
<!-- <Space>: Reflection Space of selected button-->
<!-- <Height>: Reflection Height of selected button-->
</ButtonToBackgroundVideo>
<ButtonSing>
<!--<Skin>: Texture name-->
<Skin>DuetIcon</Skin>
<!--<SkinSelected>: Texture name for selected button-->
<SkinSelected>DuetIcon</SkinSelected>
<!--<X>, <Y>, <Z>, <W>, <H>: Button position, width and height-->
<X>555</X>
<Y>0</Y>
<Z>0,00</Z>
<W>50</W>
<H>50</H>
<!--<Color>: Button color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonColor</Color>
<!--<SColor>: Selected button color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonSColor</SColor>
<Text>
<!--<X>, <Y>: Text position-->
<X>380</X>
<Y>0</Y>
<!--<H>: Text height-->
<H>32</H>
<!--<MaxW>: Maximum text width (if exists)-->
<MaxW>142</MaxW>
<!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>ButtonTextColor</Color>
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>ButtonTextSColor</SColor>
<!--<Align>: Text align: Left, Center, Right-->
<Align>Center</Align>
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style>
<!--<Font>: Text font name-->
<Font>Normal</Font>
<!--<Text>: Text or translation tag-->
<Text></Text>
</Text>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
<!--<SReflection> If exists:-->
<!-- <Space>: Reflection Space of selected button-->
<!-- <Height>: Reflection Height of selected button-->
</ButtonSing>
<TextCurrentSong>
<!--<X>, <Y>: Text position-->
<X>630</X>
<Y>0</Y>
<!--<Z>: Text position-->
<Z>0,00</Z>
<!--<H>: Text height-->
<H>50</H>
<!--<MaxW>: Maximum text width (if exists)-->
<MaxW>650</MaxW>
<!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>StaticColor</Color>
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>TextSColor</SColor>
<!--<Align>: Text align: Left, Center, Right-->
<Align>Left</Align>
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style>
<!--<Font>: Text font name-->
<Font>Outline</Font>
<!--<Text>: Text or translation tag-->
<Text />
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
</TextCurrentSong>
</PopupScreenPlayerControl> </PopupScreenPlayerControl>
</root> </root>
@@ -65,7 +65,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENHIGHSCORE_HIGHSCORE</Text> <Text>TR_SCREENHIGHSCORE_HIGHSCORE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -92,7 +92,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -119,7 +119,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -146,7 +146,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -173,7 +173,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -200,7 +200,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -227,7 +227,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -254,7 +254,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -281,7 +281,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -308,7 +308,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -335,7 +335,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -362,7 +362,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -389,7 +389,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -416,7 +416,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -443,7 +443,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -470,7 +470,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -497,7 +497,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -524,7 +524,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -551,7 +551,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -578,7 +578,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -605,7 +605,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -632,7 +632,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -659,7 +659,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -686,7 +686,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -713,7 +713,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -740,7 +740,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -767,7 +767,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -794,7 +794,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -821,7 +821,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -848,7 +848,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -875,7 +875,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -902,7 +902,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -929,7 +929,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -956,7 +956,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -983,7 +983,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1010,7 +1010,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1037,7 +1037,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1064,7 +1064,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1091,7 +1091,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1118,7 +1118,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1145,7 +1145,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1172,7 +1172,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1199,7 +1199,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
+3 -3
View File
@@ -49,7 +49,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_PROGRAM_NAME</Text> <Text>TR_PROGRAM_NAME</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -76,7 +76,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENLOAD_LOADING</Text> <Text>TR_SCREENLOAD_LOADING</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -103,7 +103,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
+4 -4
View File
@@ -65,7 +65,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENMAIN_BUTTON_SING</Text> <Text>TR_SCREENMAIN_BUTTON_SING</Text>
</Text> </Text>
@@ -120,7 +120,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENMAIN_BUTTON_OPTIONS</Text> <Text>TR_SCREENMAIN_BUTTON_OPTIONS</Text>
</Text> </Text>
@@ -175,7 +175,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENMAIN_BUTTON_PROFILES</Text> <Text>TR_SCREENMAIN_BUTTON_PROFILES</Text>
</Text> </Text>
@@ -230,7 +230,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_EXIT</Text> <Text>TR_BUTTON_EXIT</Text>
</Text> </Text>
+10 -10
View File
@@ -65,7 +65,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENNAMES_MENU</Text> <Text>TR_SCREENNAMES_MENU</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -93,7 +93,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -136,7 +136,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -191,7 +191,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_START</Text> <Text>TR_BUTTON_START</Text>
</Text> </Text>
@@ -246,7 +246,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENNAMES_BUTTON_1PLAYER</Text> <Text>TR_SCREENNAMES_BUTTON_1PLAYER</Text>
</Text> </Text>
@@ -293,7 +293,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENNAMES_BUTTON_2PLAYER</Text> <Text>TR_SCREENNAMES_BUTTON_2PLAYER</Text>
</Text> </Text>
@@ -340,7 +340,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENNAMES_BUTTON_3PLAYER</Text> <Text>TR_SCREENNAMES_BUTTON_3PLAYER</Text>
</Text> </Text>
@@ -410,7 +410,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>186,00</TextMaxW> <TextMaxW>186,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -475,7 +475,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>186,00</TextMaxW> <TextMaxW>186,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -540,7 +540,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>186,00</TextMaxW> <TextMaxW>186,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -49,7 +49,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_OPTIONS</Text> <Text>TR_SCREENO_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -92,7 +92,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_BUTTON_GAME</Text> <Text>TR_SCREENO_BUTTON_GAME</Text>
</Text> </Text>
@@ -147,7 +147,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCRENNO_BUTTON_SOUND</Text> <Text>TR_SCRENNO_BUTTON_SOUND</Text>
</Text> </Text>
@@ -202,7 +202,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_BUTTON_RECORD</Text> <Text>TR_SCREENO_BUTTON_RECORD</Text>
</Text> </Text>
@@ -257,7 +257,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_BUTTON_VIDEO</Text> <Text>TR_SCREENO_BUTTON_VIDEO</Text>
</Text> </Text>
@@ -312,7 +312,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_BUTTON_THEME</Text> <Text>TR_SCREENO_BUTTON_THEME</Text>
</Text> </Text>
@@ -145,7 +145,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_OPTIONS</Text> <Text>TR_SCREENOGAME_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -172,7 +172,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_LANGUAGE</Text> <Text>TR_SCREENOGAME_LANGUAGE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -199,7 +199,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_DEBUGLEVEL</Text> <Text>TR_SCREENOGAME_DEBUGLEVEL</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -226,7 +226,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_SONGMENU</Text> <Text>TR_SCREENOGAME_SONGMENU</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -253,7 +253,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_SONGSORTING</Text> <Text>TR_SCREENOGAME_SONGSORTING</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -280,7 +280,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_TABS</Text> <Text>TR_SCREENOGAME_TABS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -307,7 +307,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOGAME_TIMERMODE</Text> <Text>TR_SCREENOGAME_TIMERMODE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -350,7 +350,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -428,7 +428,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -493,7 +493,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -558,7 +558,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -623,7 +623,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -688,7 +688,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>308,00</TextMaxW> <TextMaxW>308,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -753,7 +753,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -177,7 +177,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_OPTIONS</Text> <Text>TR_SCREENORECORD_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -204,7 +204,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_DEVICE</Text> <Text>TR_SCREENORECORD_DEVICE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -231,7 +231,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_INPUT</Text> <Text>TR_SCREENORECORD_INPUT</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -258,7 +258,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_CHANNEL_1</Text> <Text>TR_SCREENORECORD_CHANNEL_1</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -285,7 +285,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_CHANNEL_2</Text> <Text>TR_SCREENORECORD_CHANNEL_2</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -312,7 +312,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_MIC_DELAY</Text> <Text>TR_SCREENORECORD_MIC_DELAY</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -340,7 +340,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_MIC_WARNING</Text> <Text>TR_SCREENORECORD_MIC_WARNING</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -367,7 +367,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -394,7 +394,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -437,7 +437,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -492,7 +492,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENORECORD_BUTTON_DELAYTEST</Text> <Text>TR_SCREENORECORD_BUTTON_DELAYTEST</Text>
</Text> </Text>
@@ -570,7 +570,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>616,00</TextMaxW> <TextMaxW>616,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -635,7 +635,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>616,00</TextMaxW> <TextMaxW>616,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -700,7 +700,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>154,00</TextMaxW> <TextMaxW>154,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -765,7 +765,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>154,00</TextMaxW> <TextMaxW>154,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -830,7 +830,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>123,20</TextMaxW> <TextMaxW>123,20</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<ScreenOptionsSound> <ScreenOptionsSound>
<ScreenVersion>1</ScreenVersion> <ScreenVersion>2</ScreenVersion>
<Background1> <Background1>
<!--<Type>: Background type: None, Color, Texture, Video--> <!--<Type>: Background type: None, Color, Texture, Video-->
<Type>Video</Type> <Type>Video</Type>
@@ -55,7 +55,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOSOUND_OPTIONS</Text> <Text>TR_SCREENOSOUND_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -82,7 +82,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOSOUND_BACKGROUNDMUSIC</Text> <Text>TR_SCREENOSOUND_BACKGROUNDMUSIC</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -109,7 +109,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOSOUND_BACKGROUNDMUSICVOLUME</Text> <Text>TR_SCREENOSOUND_BACKGROUNDMUSICVOLUME</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -136,7 +136,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOSOUND_BACKGROUNDMUSICSOURCE</Text> <Text>TR_SCREENOSOUND_BACKGROUNDMUSICSOURCE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -179,7 +179,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -257,7 +257,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -322,7 +322,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -385,9 +385,9 @@
<!--<TextH>: Text height--> <!--<TextH>: Text height-->
<TextH>32,00</TextH> <TextH>32,00</TextH>
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>500</TextMaxW> <TextMaxW>500,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -161,7 +161,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_OPTIONS</Text> <Text>TR_SCREENOTHEME_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -188,7 +188,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_THEME</Text> <Text>TR_SCREENOTHEME_THEME</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -215,7 +215,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_SKIN</Text> <Text>TR_SCREENOTHEME_SKIN</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -242,7 +242,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_COVERTHEME</Text> <Text>TR_SCREENOTHEME_COVERTHEME</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -269,7 +269,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_NOTELINES</Text> <Text>TR_SCREENOTHEME_NOTELINES</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -296,7 +296,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_TONEHELPER</Text> <Text>TR_SCREENOTHEME_TONEHELPER</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -323,7 +323,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_TIMERLOOK</Text> <Text>TR_SCREENOTHEME_TIMERLOOK</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -350,7 +350,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOTHEME_COVERLOADING</Text> <Text>TR_SCREENOTHEME_COVERLOADING</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -393,7 +393,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -471,7 +471,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>616,00</TextMaxW> <TextMaxW>616,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -536,7 +536,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>616,00</TextMaxW> <TextMaxW>616,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -601,7 +601,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>308,00</TextMaxW> <TextMaxW>308,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -666,7 +666,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>308,00</TextMaxW> <TextMaxW>308,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -731,7 +731,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>308,00</TextMaxW> <TextMaxW>308,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -796,7 +796,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>308,00</TextMaxW> <TextMaxW>308,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -861,7 +861,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>616,00</TextMaxW> <TextMaxW>616,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<ScreenOptionsVideo> <ScreenOptionsVideo>
<ScreenVersion>1</ScreenVersion> <ScreenVersion>2</ScreenVersion>
<Background1> <Background1>
<!--<Type>: Background type: None, Color, Texture, Video--> <!--<Type>: Background type: None, Color, Texture, Video-->
<Type>Video</Type> <Type>Video</Type>
@@ -97,7 +97,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOVIDEO_OPTIONS</Text> <Text>TR_SCREENOVIDEO_OPTIONS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -124,7 +124,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOVIDEO_VIDEOBACKGROUNDS</Text> <Text>TR_SCREENOVIDEO_VIDEOBACKGROUNDS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -151,7 +151,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOVIDEO_VIDEOPREVIEW</Text> <Text>TR_SCREENOVIDEO_VIDEOPREVIEW</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -178,13 +178,40 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENOVIDEO_VIDEOINSONGS</Text> <Text>TR_SCREENOVIDEO_VIDEOINSONGS</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space--> <!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height--> <!-- <Height>: Reflection Height-->
</Text4> </Text4>
<Text5>
<!--<X>, <Y>: Text position-->
<X>75</X>
<Y>285</Y>
<!--<Z>: Text position-->
<Z>0,00</Z>
<!--<H>: Text height-->
<H>32</H>
<!--<MaxW>: Maximum text width (if exists)-->
<!--<Color>: Text color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>StaticColor</Color>
<!--<SColor>: Selected Text color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>TextSColor</SColor>
<!--<Align>: Text align: Left, Center, Right-->
<Align>Left</Align>
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style>
<!--<Font>: Text font name-->
<Font>Normal</Font>
<!--<Text>: Text or translation tag-->
<Text>TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND</Text>
<!--<Reflection> If exists:-->
<!-- <Space>: Reflection Space-->
<!-- <Height>: Reflection Height-->
</Text5>
<ButtonExit> <ButtonExit>
<!--<Skin>: Texture name--> <!--<Skin>: Texture name-->
<Skin>Button</Skin> <Skin>Button</Skin>
@@ -221,7 +248,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -299,7 +326,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -364,7 +391,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -429,11 +456,76 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW> <TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
<NumVisible>3</NumVisible> <NumVisible>3</NumVisible>
</SelectSlideVideosInSongs> </SelectSlideVideosInSongs>
<SelectSlideVideosToBackground>
<!--<Skin>: Texture name-->
<Skin>Invisible</Skin>
<!--<SkinArrowLeft>: Texture name of left arrow-->
<SkinArrowLeft>SelectSlideArrowLeft</SkinArrowLeft>
<!--<SkinArrowRight>: Texture name of right arrow-->
<SkinArrowRight>SelectSlideArrowRight</SkinArrowRight>
<!--<SkinSelected>: Texture name for selected SelectSlide-->
<SkinSelected>SelectSlide</SkinSelected>
<!--<SkinArrowLeftSelected>: Texture name of selected left arrow-->
<SkinArrowLeftSelected>SelectSlideArrowLeft</SkinArrowLeftSelected>
<!--<SkinArrowRightSelected>: Texture name of selected right arrow-->
<SkinArrowRightSelected>SelectSlideArrowRight</SkinArrowRightSelected>
<!--<SkinHighlighted>: Texture name for highlighted SelectSlide-->
<SkinHighlighted>SelectSlide</SkinHighlighted>
<!--<X>, <Y>, <Z>, <W>, <H>: SelectSlide position, width and height-->
<X>500</X>
<Y>280</Y>
<Z>0,00</Z>
<W>700</W>
<H>50</H>
<!--<ArrowLeftX>, <ArrowLeftY>, <ArrowLeftZ>, <ArrowLeftW>, <ArrowLeftH>: Left arrow position, width and height-->
<ArrowLeftX>505</ArrowLeftX>
<ArrowLeftY>225</ArrowLeftY>
<ArrowLeftZ>0,00</ArrowLeftZ>
<ArrowLeftW>40</ArrowLeftW>
<ArrowLeftH>40</ArrowLeftH>
<!--<ArrowRightX>, <ArrowRightY>, <ArrowRightZ>, <ArrowRightW>, <ArrowRightH>: Right arrow position, width and height-->
<ArrowRightX>1170</ArrowRightX>
<ArrowRightY>225</ArrowRightY>
<ArrowRightZ>0,00</ArrowRightZ>
<ArrowRightW>40</ArrowRightW>
<ArrowRightH>40</ArrowRightH>
<!--<Color>: SelectSlide color from ColorScheme (high priority)-->
<!--or <R>, <G>, <B>, <A> (lower priority)-->
<Color>SelectSlideColor</Color>
<!--<SColor>: Selected SelectSlide color from ColorScheme (high priority)-->
<!--or <SR>, <SG>, <SB>, <SA> (lower priority)-->
<SColor>SelectSlideSColor</SColor>
<!--<HColor>: Highlighted SelectSlide color from ColorScheme (high priority)-->
<!--or <HR>, <HG>, <HB>, <HA> (lower priority)-->
<HColor>SelectSlideHColor</HColor>
<!--<ArrowColor>: Arrow color from ColorScheme (high priority)-->
<!--or <ArrowR>, <ArrowG>, <ArrowB>, <ArrowA> (lower priority)-->
<ArrowColor>ArrowColor</ArrowColor>
<!--<ArrowSColor>: Selected arrow color from ColorScheme (high priority)-->
<!--or <ArrowSR>, <ArrowSG>, <ArrowSB>, <ArrowSA> (lower priority)-->
<ArrowSColor>ArrowSColor</ArrowSColor>
<!--<TextColor>: Text color from ColorScheme (high priority)-->
<!--or <TextR>, <TextG>, <TextB>, <TextA> (lower priority)-->
<TextColor>TextColor</TextColor>
<!--<TextSColor>: Selected text color from ColorScheme (high priority)-->
<!--or <TextSR>, <TextSG>, <TextSB>, <TextSA> (lower priority)-->
<TextSColor>TextSColor</TextSColor>
<!--<TextH>: Text height-->
<TextH>32,00</TextH>
<!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>205,33</TextMaxW>
<!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide-->
<NumVisible>3</NumVisible>
</SelectSlideVideosToBackground>
</ScreenOptionsVideo> </ScreenOptionsVideo>
</root> </root>
@@ -145,7 +145,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_PROFILES</Text> <Text>TR_SCREENPROFILES_PROFILES</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -172,7 +172,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_PLAYERNAME</Text> <Text>TR_SCREENPROFILES_PLAYERNAME</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -199,7 +199,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_GAMEDIFFICULTY</Text> <Text>TR_SCREENPROFILES_GAMEDIFFICULTY</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -226,7 +226,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_AVATAR</Text> <Text>TR_SCREENPROFILES_AVATAR</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -253,7 +253,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_GUESTPROFILE</Text> <Text>TR_SCREENPROFILES_GUESTPROFILE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -280,7 +280,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_ACTIVE</Text> <Text>TR_SCREENPROFILES_ACTIVE</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -323,7 +323,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
</Text> </Text>
@@ -370,7 +370,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_BACK</Text> <Text>TR_BUTTON_BACK</Text>
</Text> </Text>
@@ -425,7 +425,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_BUTTON_SAVE</Text> <Text>TR_BUTTON_SAVE</Text>
</Text> </Text>
@@ -480,7 +480,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_BUTTON_NEW</Text> <Text>TR_SCREENPROFILES_BUTTON_NEW</Text>
</Text> </Text>
@@ -535,7 +535,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENPROFILES_BUTTON_DELETE</Text> <Text>TR_SCREENPROFILES_BUTTON_DELETE</Text>
</Text> </Text>
@@ -613,7 +613,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>219,20</TextMaxW> <TextMaxW>219,20</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -678,7 +678,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>208,67</TextMaxW> <TextMaxW>208,67</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -743,7 +743,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>208,67</TextMaxW> <TextMaxW>208,67</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -808,7 +808,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>313,00</TextMaxW> <TextMaxW>313,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
@@ -873,7 +873,7 @@
<!--<TextMaxW>: Maximum text width (if exists)--> <!--<TextMaxW>: Maximum text width (if exists)-->
<TextMaxW>313,00</TextMaxW> <TextMaxW>313,00</TextMaxW>
<!--<TextFont>: Text font name--> <!--<TextFont>: Text font name-->
<TextFont>Normal</TextFont> <TextFont>Outline</TextFont>
<!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<TextStyle>: Text style: Normal, Italic, Bold, BoldItalic-->
<TextStyle>Bold</TextStyle> <TextStyle>Bold</TextStyle>
<!--<NumVisible>: Number of visible elements in the slide--> <!--<NumVisible>: Number of visible elements in the slide-->
+26 -26
View File
@@ -398,7 +398,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENSCORE_SCORES</Text> <Text>TR_SCREENSCORE_SCORES</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -425,7 +425,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -452,7 +452,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -479,7 +479,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -506,7 +506,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -533,7 +533,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -560,7 +560,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -587,7 +587,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -614,7 +614,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -641,7 +641,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -668,7 +668,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -695,7 +695,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -722,7 +722,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -749,7 +749,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -776,7 +776,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -803,7 +803,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -830,7 +830,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -857,7 +857,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -884,7 +884,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -911,7 +911,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -938,7 +938,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -965,7 +965,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -992,7 +992,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1019,7 +1019,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1046,7 +1046,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -1073,7 +1073,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
+2 -2
View File
@@ -611,7 +611,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENSING_BUTTON_CANCEL</Text> <Text>TR_SCREENSING_BUTTON_CANCEL</Text>
</Text> </Text>
@@ -666,7 +666,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENSING_BUTTON_CONTINUE</Text> <Text>TR_SCREENSING_BUTTON_CONTINUE</Text>
</Text> </Text>
+7 -7
View File
@@ -74,7 +74,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -106,7 +106,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -137,7 +137,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text>TR_SCREENSONG_SEARCH</Text> <Text>TR_SCREENSONG_SEARCH</Text>
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -164,7 +164,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -229,7 +229,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -257,7 +257,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -285,7 +285,7 @@
<!--<Style>: Text style: Normal, Italic, Bold, BoldItalic--> <!--<Style>: Text style: Normal, Italic, Bold, BoldItalic-->
<Style>Bold</Style> <Style>Bold</Style>
<!--<Font>: Text font name--> <!--<Font>: Text font name-->
<Font>Normal</Font> <Font>Outline</Font>
<!--<Text>: Text or translation tag--> <!--<Text>: Text or translation tag-->
<Text /> <Text />
<!--<Reflection> If exists:--> <!--<Reflection> If exists:-->
@@ -0,0 +1,18 @@
ScreenOptionsSound
++++++++++
Version 2:
Add:
<ButtonExit>
<SelectSlideBackgroundMusic>
<SelectSlideBackgroundMusicVolume>
<SelectSlideBackgroundMusicSource>
and some texts for description (Text2, Text3, Text4)
"TR_SCREENOSOUND_BACKGROUNDMUSIC"
"TR_SCREENOSOUND_BACKGROUNDMUSICVOLUME"
"TR_SCREENOSOUND_BACKGROUNDMUSICSOURCE"
++++++++++
@@ -0,0 +1,10 @@
ScreenOptionsTheme
++++++++++
Version 2:
Add:
<SelectSlideVideosToBackground>
and some texts and statics for description (Text5)
"TR_SCREENO_VIDEO_VIDEOSTOBACKGROUND"
++++++++++
@@ -1,5 +1,18 @@
Theme System Theme System
++++++++++
Version 5:
Added:
<Outline> outline thickness 0..1
<OutlineColorR> outline color red
<OutlineColorG> outline color green
<OutlineColorB> outline color blue
<OutlineColorA> outline color alpha
to Fonts
++++++++++ ++++++++++
Version 4: Version 4:
Binary file not shown.
+50
View File
@@ -0,0 +1,50 @@
__ __ _
\ \ / /__ ___ __ _| |_ ___ _____
\ \ / / _ \ / __/ _` | | | | \ \/ / _ \
\ V / (_) | (_| (_| | | |_| |> < __/
\_/ \___/ \___\__,_|_|\__,_/_/\_\___|
=================================
= 1. About =
= 2. Download =
= 3. Development Guidelines =
= 4. Help & Support =
=================================
=================================
= 1. About =
=================================
Vocaluxe is a free and open source singing game. It allows up to three players (currently) to sing along with music using microphones in order to score points, depending on the pitch of the voice and the rhythm of singing.
Vocaluxe is an entirely new development in C#, inspired by the original UltraStar (developed by corvus5) and the great Ultrastar Deluxe project.
Supported Operating Systems / Requirements:
- WinXP, Vista, Windows 7 with .NET 2.0
- 1 GHz CPU, 512 MB RAM, Graphics card with OpenGL 2.1 or DirectX 9.0 support
=================================
= 2. Download =
=================================
You can donwloadn precompiles Windows binaries at SourceForge:
Download: http://sourceforge.net/projects/vocaluxe/
=================================
= 3. Development Guidelines =
=================================
The development of Vocaluxe uses this git branching model:
http://nvie.com/posts/a-successful-git-branching-model/
=================================
= 4. Help & Suppport =
=================================
GitHub Wiki: https://github.com/Vocaluxe/Vocaluxe/wiki
GitGub Issues Tracker: https://github.com/Vocaluxe/Vocaluxe/issues
Support Forum (German): http://www.ultra-star.de
Song-DataBase (USDB): http://usdb.animux.de/
+360 -28
View File
@@ -6,6 +6,9 @@ using System.IO;
using Vocaluxe.Base; using Vocaluxe.Base;
using System.Diagnostics; using System.Diagnostics;
using Vocaluxe.Lib.Song; using Vocaluxe.Lib.Song;
using Vocaluxe.Lib.Draw;
using System.Drawing;
using Vocaluxe.Menu;
namespace Vocaluxe.Base namespace Vocaluxe.Base
{ {
@@ -14,26 +17,125 @@ namespace Vocaluxe.Base
private static CHelper Helper = new CHelper(); private static CHelper Helper = new CHelper();
private static int _CurrentMusicStream = -1; private static int _CurrentMusicStream = -1;
private static int _PreviousMusicIndex = 0; private static int _PreviousMusicIndex = 0;
private static string _CurrentMusicFilePath = String.Empty; private static PlaylistElement _CurrentPlaylistElement = new PlaylistElement();
private static List<string> _AllFileNames = new List<string>(); private static List<PlaylistElement> _AllFileNames = new List<PlaylistElement>();
private static List<string> _NotPlayedFileNames = new List<string>(); private static List<PlaylistElement> _NotPlayedFileNames = new List<PlaylistElement>();
private static List<string> _BGMusicFileNames = new List<string>(); private static List<PlaylistElement> _BGMusicFileNames = new List<PlaylistElement>();
private static List<string> _PreviousFileNames = new List<string>(); private static List<PlaylistElement> _PreviousFileNames = new List<PlaylistElement>();
private static int _Video = -1;
private static STexture _CurrentVideoTexture = new STexture(-1);
private static Stopwatch _FadeTimer = new Stopwatch();
private static bool _VideoEnabled;
private static bool _OwnMusicAdded; private static bool _OwnMusicAdded;
private static bool _BackgroundMusicAdded; private static bool _BackgroundMusicAdded;
private static bool _Playing; private static bool _Playing;
private static bool _Disabled;
public static bool VideoEnabled
{
get
{
return _VideoEnabled;
}
set
{
if (_VideoEnabled && value)
return;
if (!_VideoEnabled && !value)
return;
if(_VideoEnabled && !value)
ToggleVideo();
if (!_VideoEnabled && value)
ToggleVideo();
_VideoEnabled = value;
}
}
public static bool Disabled
{
get
{
return _Disabled;
}
set
{
_Disabled = value;
if (_Disabled)
Pause();
else
Play();
}
}
public static int SongID
{
get
{
return _CurrentPlaylistElement._SongID;
}
}
public static bool Duet
{
get
{
return _CurrentPlaylistElement.Duet;
}
}
public static bool SongHasVideo
{
get
{
return File.Exists(_CurrentPlaylistElement.VideoFilePath);
}
}
public static bool Playing
{
get
{
return CSound.IsPlaying(_CurrentMusicStream);
}
}
public static string ArtistAndTitle
{
get
{
return _CurrentPlaylistElement.Artist + " - " + _CurrentPlaylistElement.Title;
}
}
public static STexture Cover
{
get
{
return _CurrentPlaylistElement.Cover;
}
}
public static void Init() public static void Init()
{ {
_BGMusicFileNames.AddRange(Helper.ListFiles(CSettings.sFolderBackgroundMusic, "*.mp3", true, true)); List<string> templist = new List<string>();
_BGMusicFileNames.AddRange(Helper.ListFiles(CSettings.sFolderBackgroundMusic, "*.wav", true, true));
_BGMusicFileNames.AddRange(Helper.ListFiles(CSettings.sFolderBackgroundMusic, "*.ogg", true, true)); foreach(string ending in CSettings.MusicFileTypes)
_BGMusicFileNames.AddRange(Helper.ListFiles(CSettings.sFolderBackgroundMusic, "*.wma", true, true)); {
templist.AddRange(Helper.ListFiles(CSettings.sFolderBackgroundMusic, ending, true, true));
}
foreach (string path in templist)
{
_BGMusicFileNames.Add(new PlaylistElement(path));
}
if(CConfig.BackgroundMusicSource != EBackgroundMusicSource.TR_CONFIG_ONLY_OWN_MUSIC) if(CConfig.BackgroundMusicSource != EBackgroundMusicSource.TR_CONFIG_ONLY_OWN_MUSIC)
AddBackgroundMusic(); AddBackgroundMusic();
if (CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
_VideoEnabled = true;
_Playing = false; _Playing = false;
} }
@@ -48,6 +150,8 @@ namespace Vocaluxe.Base
{ {
CSound.Fade(_CurrentMusicStream, CConfig.BackgroundMusicVolume, CSettings.BackgroundMusicFadeTime); CSound.Fade(_CurrentMusicStream, CConfig.BackgroundMusicVolume, CSettings.BackgroundMusicFadeTime);
CSound.Play(_CurrentMusicStream); CSound.Play(_CurrentMusicStream);
if (_VideoEnabled && _Video != -1)
CVideo.VdResume(_Video);
_Playing = true; _Playing = true;
} }
else else
@@ -58,14 +162,25 @@ namespace Vocaluxe.Base
public static void Stop() public static void Stop()
{ {
if (_VideoEnabled && _Video != -1)
{
CVideo.VdClose(_Video);
CDraw.RemoveTexture(ref _CurrentVideoTexture);
_Video = -1;
}
CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime); CSound.FadeAndStop(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
_CurrentMusicFilePath = String.Empty; _CurrentPlaylistElement = new PlaylistElement();
_Playing = false; _Playing = false;
} }
public static void Pause() public static void Pause()
{ {
if (_VideoEnabled && _Video != -1)
{
CVideo.VdPause(_Video);
CVideo.VdSkip(_Video, CSound.GetPosition(_CurrentMusicStream) + CSettings.BackgroundMusicFadeTime, _CurrentPlaylistElement.VideoGap);
}
CSound.FadeAndPause(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime); CSound.FadeAndPause(_CurrentMusicStream, 0f, CSettings.BackgroundMusicFadeTime);
_Playing = false; _Playing = false;
} }
@@ -91,10 +206,10 @@ namespace Vocaluxe.Base
if (_NotPlayedFileNames.Count == 0) if (_NotPlayedFileNames.Count == 0)
_NotPlayedFileNames.AddRange(_AllFileNames); _NotPlayedFileNames.AddRange(_AllFileNames);
_CurrentMusicFilePath = _NotPlayedFileNames[CGame.Rand.Next(_NotPlayedFileNames.Count)]; _CurrentPlaylistElement = _NotPlayedFileNames[CGame.Rand.Next(_NotPlayedFileNames.Count)];
_NotPlayedFileNames.Remove(_CurrentMusicFilePath); _NotPlayedFileNames.Remove(_CurrentPlaylistElement);
_PreviousFileNames.Add(_CurrentMusicFilePath); _PreviousFileNames.Add(_CurrentPlaylistElement);
_PreviousMusicIndex = _PreviousFileNames.Count - 1; _PreviousMusicIndex = _PreviousFileNames.Count - 1;
} }
else if(_PreviousFileNames.Count > 0) //We are in the previous list else if(_PreviousFileNames.Count > 0) //We are in the previous list
@@ -102,10 +217,11 @@ namespace Vocaluxe.Base
Stop(); Stop();
_PreviousMusicIndex++; _PreviousMusicIndex++;
_CurrentMusicFilePath = _PreviousFileNames[_PreviousMusicIndex]; _CurrentPlaylistElement = _PreviousFileNames[_PreviousMusicIndex];
} }
_CurrentMusicStream = CSound.Load(_CurrentPlaylistElement.MusicFilePath);
_CurrentMusicStream = CSound.Load(_CurrentMusicFilePath); if (_VideoEnabled)
LoadVideo();
CSound.SetStreamVolume(_CurrentMusicStream, 0f); CSound.SetStreamVolume(_CurrentMusicStream, 0f);
Play(); Play();
} }
@@ -123,10 +239,11 @@ namespace Vocaluxe.Base
if (_PreviousMusicIndex < 0) if (_PreviousMusicIndex < 0)
_PreviousMusicIndex = 0; //No previous songs left, so play the first _PreviousMusicIndex = 0; //No previous songs left, so play the first
_CurrentMusicFilePath = _PreviousFileNames[_PreviousMusicIndex]; _CurrentPlaylistElement = _PreviousFileNames[_PreviousMusicIndex];
_CurrentMusicStream = CSound.Load(_CurrentPlaylistElement.MusicFilePath);
_CurrentMusicStream = CSound.Load(_CurrentMusicFilePath); if (_VideoEnabled)
LoadVideo();
CSound.SetStreamVolume(_CurrentMusicStream, 0f); CSound.SetStreamVolume(_CurrentMusicStream, 0f);
Play(); Play();
} }
@@ -137,6 +254,8 @@ namespace Vocaluxe.Base
if (_AllFileNames.Count > 0 && _CurrentMusicStream != -1) if (_AllFileNames.Count > 0 && _CurrentMusicStream != -1)
{ {
CSound.SetPosition(_CurrentMusicStream, 0); CSound.SetPosition(_CurrentMusicStream, 0);
if (_VideoEnabled && _Video != -1)
CVideo.VdSkip(_Video, 0f, _CurrentPlaylistElement.VideoGap);
} }
} }
@@ -151,8 +270,8 @@ namespace Vocaluxe.Base
{ {
foreach (CSong song in CSongs.AllSongs) foreach (CSong song in CSongs.AllSongs)
{ {
_AllFileNames.Add(song.GetMP3()); _AllFileNames.Add(new PlaylistElement(song));
_NotPlayedFileNames.Add(song.GetMP3()); _NotPlayedFileNames.Add(new PlaylistElement(song));
} }
} }
_OwnMusicAdded = true; _OwnMusicAdded = true;
@@ -169,7 +288,7 @@ namespace Vocaluxe.Base
_NotPlayedFileNames.AddRange(_BGMusicFileNames); _NotPlayedFileNames.AddRange(_BGMusicFileNames);
} }
if (IsPlaying() && !IsBackgroundFile(_CurrentMusicFilePath) || _AllFileNames.Count == 0) if (Playing && !IsBackgroundFile(_CurrentPlaylistElement) || _AllFileNames.Count == 0)
Next(); Next();
_OwnMusicAdded = false; _OwnMusicAdded = false;
@@ -194,7 +313,7 @@ namespace Vocaluxe.Base
AddOwnMusic(); AddOwnMusic();
_BackgroundMusicAdded = false; _BackgroundMusicAdded = false;
if (IsPlaying() && IsBackgroundFile(_CurrentMusicFilePath) || _AllFileNames.Count == 0) if (Playing && IsBackgroundFile(_CurrentPlaylistElement) || _AllFileNames.Count == 0)
Next(); Next();
} }
} }
@@ -248,19 +367,232 @@ namespace Vocaluxe.Base
CConfig.SaveConfig(); CConfig.SaveConfig();
} }
public static bool IsPlaying() public static void ToggleVideo()
{ {
return CSound.IsPlaying(_CurrentMusicStream); if (_Video != -1)
{
if (_VideoEnabled)
{
_VideoEnabled = false;
CVideo.VdClose(_Video);
_Video = -1;
CDraw.RemoveTexture(ref _CurrentVideoTexture);
return;
}
if (CVideo.VdFinished(_Video))
{
CVideo.VdClose(_Video);
CDraw.RemoveTexture(ref _CurrentVideoTexture);
_Video = -1;
return;
}
}
else
LoadVideo();
} }
private static bool IsBackgroundFile(string FilePath) public static STexture GetVideoTexture()
{ {
foreach (string file in _BGMusicFileNames) if (_Video != -1)
{ {
if (file == FilePath) float vtime = 0f;
CVideo.VdGetFrame(_Video, ref _CurrentVideoTexture, CSound.GetPosition(_CurrentMusicStream), ref vtime);
if (_FadeTimer.ElapsedMilliseconds <= 3000L)
{
_CurrentVideoTexture.color.A = (_FadeTimer.ElapsedMilliseconds / 3000f);
}
else
{
_CurrentVideoTexture.color.A = 1f;
_FadeTimer.Stop();
}
return _CurrentVideoTexture;
}
return new STexture(-1);
}
private static bool IsBackgroundFile(PlaylistElement element)
{
foreach (PlaylistElement elements in _BGMusicFileNames)
{
if (elements.MusicFilePath == element.MusicFilePath)
return true; return true;
} }
return false; return false;
} }
private static void LoadVideo()
{
if (_Video == -1)
{
_Video = CVideo.VdLoad(_CurrentPlaylistElement.VideoFilePath);
CVideo.VdSkip(_Video, 0f, _CurrentPlaylistElement.VideoGap);
_VideoEnabled = true;
_FadeTimer.Reset();
_FadeTimer.Start();
}
}
}
}
class PlaylistElement
{
public int _SongID;
private string _MusicFilePath;
public string MusicFilePath
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.GetMP3();
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return _MusicFilePath;
}
set
{
_MusicFilePath = value;
}
}
public string VideoFilePath
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.GetVideo();
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return string.Empty;
}
}
public string Title
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.Title;
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return "Unknown";
}
}
public string Artist
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.Artist;
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return "Unknown";
}
}
public STexture Cover
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.CoverTextureSmall;
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return CCover.NoCover;
}
}
public float VideoGap
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.VideoGap;
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return 0;
}
}
public bool Duet
{
get
{
if (_SongID >= 0)
{
CSong song = CSongs.GetSong(_SongID);
if (song != null)
return song.IsDuet;
else
{
_SongID = -1;
CLog.LogError("Song not found");
}
}
return false;
}
}
public PlaylistElement(CSong song)
{
MusicFilePath = string.Empty;
_SongID = song.ID;
}
public PlaylistElement(string FilePath)
{
MusicFilePath = FilePath;
_SongID = -1;
}
public PlaylistElement()
{
MusicFilePath = string.Empty;
_SongID = -1;
} }
} }
+35 -2
View File
@@ -66,6 +66,19 @@ namespace Vocaluxe.Base
TR_CONFIG_LEVEL_MAX //all debug infos TR_CONFIG_LEVEL_MAX //all debug infos
} }
public enum EBufferSize
{
b0 = 0,
b512 = 512,
b1024 = 1024,
b1536 = 1536,
b2048 = 2048,
b2560 = 2560,
b3072 = 3072,
b3584 = 3584,
b4096 = 4096
}
public enum EPlaybackLib public enum EPlaybackLib
{ {
PortAudio, PortAudio,
@@ -177,7 +190,8 @@ namespace Vocaluxe.Base
// Sound // Sound
public static EPlaybackLib PlayBackLib = EPlaybackLib.PortAudio; public static EPlaybackLib PlayBackLib = EPlaybackLib.PortAudio;
public static ERecordLib RecordLib = ERecordLib.PortAudio; public static ERecordLib RecordLib = ERecordLib.PortAudio;
public static uint PortAudioBufferSize = 1024; public static EBufferSize AudioBufferSize = EBufferSize.b2048;
public static int AudioLatency = 125;
public static int BackgroundMusicVolume = 50; public static int BackgroundMusicVolume = 50;
public static EOffOn BackgroundMusic = EOffOn.TR_CONFIG_ON; public static EOffOn BackgroundMusic = EOffOn.TR_CONFIG_ON;
public static EBackgroundMusicSource BackgroundMusicSource = EBackgroundMusicSource.TR_CONFIG_NO_OWN_MUSIC; public static EBackgroundMusicSource BackgroundMusicSource = EBackgroundMusicSource.TR_CONFIG_NO_OWN_MUSIC;
@@ -198,6 +212,7 @@ namespace Vocaluxe.Base
public static EOffOn VideoBackgrounds = EOffOn.TR_CONFIG_ON; public static EOffOn VideoBackgrounds = EOffOn.TR_CONFIG_ON;
public static EOffOn VideoPreview = EOffOn.TR_CONFIG_ON; public static EOffOn VideoPreview = EOffOn.TR_CONFIG_ON;
public static EOffOn VideosInSongs = EOffOn.TR_CONFIG_ON; public static EOffOn VideosInSongs = EOffOn.TR_CONFIG_ON;
public static EOffOn VideosToBackground = EOffOn.TR_CONFIG_OFF;
// Record // Record
public static SMicConfig[] MicConfig; public static SMicConfig[] MicConfig;
@@ -286,6 +301,14 @@ namespace Vocaluxe.Base
#region Sound #region Sound
CHelper.TryGetEnumValueFromXML<EPlaybackLib>("//root/Sound/PlayBackLib", navigator, ref PlayBackLib); CHelper.TryGetEnumValueFromXML<EPlaybackLib>("//root/Sound/PlayBackLib", navigator, ref PlayBackLib);
CHelper.TryGetEnumValueFromXML<ERecordLib>("//root/Sound/RecordLib", navigator, ref RecordLib); CHelper.TryGetEnumValueFromXML<ERecordLib>("//root/Sound/RecordLib", navigator, ref RecordLib);
CHelper.TryGetEnumValueFromXML<EBufferSize>("//root/Sound/AudioBufferSize", navigator, ref AudioBufferSize);
CHelper.TryGetIntValueFromXML("//root/Sound/AudioLatency", navigator, ref AudioLatency);
if (AudioLatency < -500)
AudioLatency = -500;
if (AudioLatency > 500)
AudioLatency = 500;
CHelper.TryGetEnumValueFromXML("//root/Sound/BackgroundMusic", navigator, ref BackgroundMusic); CHelper.TryGetEnumValueFromXML("//root/Sound/BackgroundMusic", navigator, ref BackgroundMusic);
CHelper.TryGetIntValueFromXML("//root/Sound/BackgroundMusicVolume", navigator, ref BackgroundMusicVolume); CHelper.TryGetIntValueFromXML("//root/Sound/BackgroundMusicVolume", navigator, ref BackgroundMusicVolume);
CHelper.TryGetEnumValueFromXML("//root/Sound/BackgroundMusicSource", navigator, ref BackgroundMusicSource); CHelper.TryGetEnumValueFromXML("//root/Sound/BackgroundMusicSource", navigator, ref BackgroundMusicSource);
@@ -349,6 +372,7 @@ namespace Vocaluxe.Base
CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideoBackgrounds", navigator, ref VideoBackgrounds); CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideoBackgrounds", navigator, ref VideoBackgrounds);
CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideoPreview", navigator, ref VideoPreview); CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideoPreview", navigator, ref VideoPreview);
CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideosInSongs", navigator, ref VideosInSongs); CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideosInSongs", navigator, ref VideosInSongs);
CHelper.TryGetEnumValueFromXML<EOffOn>("//root/Video/VideosToBackground", navigator, ref VideosToBackground);
#endregion Video #endregion Video
#region Record #region Record
@@ -480,8 +504,14 @@ namespace Vocaluxe.Base
writer.WriteComment("RecordLib: " + ListStrings(Enum.GetNames(typeof(ERecordLib)))); writer.WriteComment("RecordLib: " + ListStrings(Enum.GetNames(typeof(ERecordLib))));
writer.WriteElementString("RecordLib", Enum.GetName(typeof(ERecordLib), RecordLib)); writer.WriteElementString("RecordLib", Enum.GetName(typeof(ERecordLib), RecordLib));
writer.WriteComment("AudioBufferSize: " + ListStrings(Enum.GetNames(typeof(EBufferSize))));
writer.WriteElementString("AudioBufferSize", Enum.GetName(typeof(EBufferSize), AudioBufferSize));
writer.WriteComment("AudioLatency from -500 to 500 ms");
writer.WriteElementString("AudioLatency", AudioLatency.ToString());
writer.WriteComment("Background Music"); writer.WriteComment("Background Music");
writer.WriteElementString("BackgroundMusicEnabled", Enum.GetName(typeof(EOffOn), BackgroundMusic)); writer.WriteElementString("BackgroundMusic", Enum.GetName(typeof(EOffOn), BackgroundMusic));
writer.WriteComment("Background Music Volume from 0 to 100"); writer.WriteComment("Background Music Volume from 0 to 100");
writer.WriteElementString("BackgroundMusicVolume", BackgroundMusicVolume.ToString()); writer.WriteElementString("BackgroundMusicVolume", BackgroundMusicVolume.ToString());
@@ -558,6 +588,9 @@ namespace Vocaluxe.Base
writer.WriteComment("Show Videos while singing: " + ListStrings(Enum.GetNames(typeof(EOffOn)))); writer.WriteComment("Show Videos while singing: " + ListStrings(Enum.GetNames(typeof(EOffOn))));
writer.WriteElementString("VideosInSongs", Enum.GetName(typeof(EOffOn), VideosInSongs)); writer.WriteElementString("VideosInSongs", Enum.GetName(typeof(EOffOn), VideosInSongs));
writer.WriteComment("Show backgroundmusic videos as background: " + ListStrings(Enum.GetNames(typeof(EOffOn))));
writer.WriteElementString("VideosToBackground", Enum.GetName(typeof(EOffOn), VideosToBackground));
writer.WriteEndElement(); writer.WriteEndElement();
#endregion Video #endregion Video
+599 -79
View File
@@ -27,21 +27,59 @@ namespace Vocaluxe.Base
private static string _HighscoreFilePath; private static string _HighscoreFilePath;
private static string _CoverFilePath; private static string _CoverFilePath;
private static string _CreditsRessourcesFilePath;
public static void Init() public static void Init()
{ {
_HighscoreFilePath = Path.Combine(System.Environment.CurrentDirectory, CSettings.sFileHighscoreDB); _HighscoreFilePath = Path.Combine(System.Environment.CurrentDirectory, CSettings.sFileHighscoreDB);
_CoverFilePath = Path.Combine(System.Environment.CurrentDirectory, CSettings.sFileCoverDB); _CoverFilePath = Path.Combine(System.Environment.CurrentDirectory, CSettings.sFileCoverDB);
_CreditsRessourcesFilePath = Path.Combine(System.Environment.CurrentDirectory, CSettings.sFileCreditsRessourcesDB);
InitHighscoreDB(); InitHighscoreDB();
InitCoverDB(); InitCoverDB();
InitCreditsRessourcesDB();
} }
#region Highscores #region Highscores
public static int AddScore(string PlayerName, int Score, int LineNr, long Date, int Medley, int Duet, int Diff,
string Artist, string Title, int NumPlayed, string FilePath)
{
SPlayer player = new SPlayer();
player.Name = PlayerName;
player.Points = Score;
player.LineNr = LineNr;
player.DateTicks = Date;
player.Medley = (Medley == 1);
player.Duet = (Duet == 1);
player.Difficulty = (EGameDifficulty)Diff;
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return -1;
}
command = new SQLiteCommand(connection);
int DataBaseSongID = GetDataBaseSongID(Artist, Title, NumPlayed, command);
int result = AddScore(player, command, DataBaseSongID);
command.Dispose();
connection.Close();
connection.Dispose();
return result;
}
public static int AddScore(SPlayer player) public static int AddScore(SPlayer player)
{ {
int lastInsertID = -1;
SQLiteConnection connection = new SQLiteConnection(); SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _HighscoreFilePath; connection.ConnectionString = "Data Source=" + _HighscoreFilePath;
SQLiteCommand command; SQLiteCommand command;
@@ -58,6 +96,18 @@ namespace Vocaluxe.Base
command = new SQLiteCommand(connection); command = new SQLiteCommand(connection);
int DataBaseSongID = GetDataBaseSongID(player, command); int DataBaseSongID = GetDataBaseSongID(player, command);
int result = AddScore(player, command, DataBaseSongID);
connection.Close();
connection.Dispose();
return result;
}
private static int AddScore(SPlayer player, SQLiteCommand command, int DataBaseSongID)
{
int lastInsertID = -1;
if (DataBaseSongID >= 0) if (DataBaseSongID >= 0)
{ {
@@ -69,6 +119,37 @@ namespace Vocaluxe.Base
if (player.Duet) if (player.Duet)
Duet = 1; Duet = 1;
command.CommandText = "SELECT id FROM Scores WHERE SongID = @SongID AND PlayerName = @PlayerName AND Score = @Score AND " +
"LineNr = @LineNr AND Date = @Date AND Medley = @Medley AND Duet = @Duet AND Difficulty = @Difficulty";
command.Parameters.Add("@SongID", System.Data.DbType.Int32, 0).Value = DataBaseSongID;
command.Parameters.Add("@PlayerName", System.Data.DbType.String, 0).Value = player.Name;
command.Parameters.Add("@Score", System.Data.DbType.Int32, 0).Value = (int)Math.Round(player.Points);
command.Parameters.Add("@LineNr", System.Data.DbType.Int32, 0).Value = (int)player.LineNr;
command.Parameters.Add("@Date", System.Data.DbType.Int64, 0).Value = player.DateTicks;
command.Parameters.Add("@Medley", System.Data.DbType.Int32, 0).Value = Medley;
command.Parameters.Add("@Duet", System.Data.DbType.Int32, 0).Value = Duet;
command.Parameters.Add("@Difficulty", System.Data.DbType.Int32, 0).Value = (int)player.Difficulty;
SQLiteDataReader reader = null;
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
;
}
if (reader != null && reader.HasRows)
{
if (reader.Read())
return reader.GetInt32(0);
}
if (reader != null)
reader.Close();
command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) " + command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) " +
"VALUES (@SongID, @PlayerName, @Score, @LineNr, @Date, @Medley, @Duet, @Difficulty)"; "VALUES (@SongID, @PlayerName, @Score, @LineNr, @Date, @Medley, @Duet, @Difficulty)";
command.Parameters.Add("@SongID", System.Data.DbType.Int32, 0).Value = DataBaseSongID; command.Parameters.Add("@SongID", System.Data.DbType.Int32, 0).Value = DataBaseSongID;
@@ -84,7 +165,7 @@ namespace Vocaluxe.Base
//Read last insert line //Read last insert line
command.CommandText = "SELECT id FROM Scores ORDER BY Date DESC LIMIT 0, 1"; command.CommandText = "SELECT id FROM Scores ORDER BY Date DESC LIMIT 0, 1";
SQLiteDataReader reader = null; reader = null;
try try
{ {
reader = command.ExecuteReader(); reader = command.ExecuteReader();
@@ -106,10 +187,6 @@ namespace Vocaluxe.Base
} }
} }
command.Dispose();
connection.Close();
connection.Dispose();
return lastInsertID; return lastInsertID;
} }
@@ -194,9 +271,38 @@ namespace Vocaluxe.Base
if (song == null) if (song == null)
return -1; return -1;
return GetDataBaseSongID(song.Artist, song.Title, 0, command);
}
private static int GetDataBaseSongID(string Artist, string Title, string FilePath, int DefNumPlayed)
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return -1;
}
command = new SQLiteCommand(connection);
int id = GetDataBaseSongID(Artist, Title, DefNumPlayed, command);
command.Dispose();
connection.Close();
connection.Dispose();
return id;
}
private static int GetDataBaseSongID(string Artist, string Title, int DefNumPlayed, SQLiteCommand command)
{
command.CommandText = "SELECT id FROM Songs WHERE [Title] = @title AND [Artist] = @artist"; command.CommandText = "SELECT id FROM Songs WHERE [Title] = @title AND [Artist] = @artist";
command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = song.Title; command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = Title;
command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = song.Artist; command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = Artist;
SQLiteDataReader reader = null; SQLiteDataReader reader = null;
try try
@@ -222,14 +328,15 @@ namespace Vocaluxe.Base
reader.Close(); reader.Close();
command.CommandText = "INSERT INTO Songs (Title, Artist, NumPlayed) " + command.CommandText = "INSERT INTO Songs (Title, Artist, NumPlayed) " +
"VALUES (@title, @artist, 0)"; "VALUES (@title, @artist, @numplayed)";
command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = song.Title; command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = Title;
command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = song.Artist; command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = Artist;
command.Parameters.Add("@numplayed", System.Data.DbType.Int32, 0).Value = DefNumPlayed;
command.ExecuteNonQuery(); command.ExecuteNonQuery();
command.CommandText = "SELECT id FROM Songs WHERE [Title] = @title AND [Artist] = @artist"; command.CommandText = "SELECT id FROM Songs WHERE [Title] = @title AND [Artist] = @artist";
command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = song.Title; command.Parameters.Add("@title", System.Data.DbType.String, 0).Value = Title;
command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = song.Artist; command.Parameters.Add("@artist", System.Data.DbType.String, 0).Value = Artist;
reader = null; reader = null;
try try
@@ -260,10 +367,136 @@ namespace Vocaluxe.Base
return -1; return -1;
} }
private static bool InitHighscoreDB() private static bool GetDataBaseSongInfos(int SongID, out string Artist, out string Title, out int NumPlayed, string FilePath)
{
Artist = String.Empty;
Title = String.Empty;
NumPlayed = 0;
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return false;
}
command = new SQLiteCommand(connection);
command.CommandText = "SELECT Artist, Title, NumPlayed FROM Songs WHERE [id] = @id";
command.Parameters.Add("@id", System.Data.DbType.String, 0).Value = SongID;
SQLiteDataReader reader = null;
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
return false;
}
if (reader != null && reader.HasRows)
{
reader.Read();
Artist = reader.GetString(0);
Title = reader.GetString(1);
NumPlayed = reader.GetInt32(2);
reader.Close();
reader.Dispose();
command.Dispose();
connection.Close();
connection.Dispose();
return true;
}
else
{
if (reader != null)
reader.Close();
}
command.Dispose();
connection.Close();
connection.Dispose();
return false;
}
private static void InitHighscoreDB()
{
string OldDBFilePath = Path.Combine(Environment.CurrentDirectory, CSettings.sFileOldHighscoreDB);
if (File.Exists(OldDBFilePath))
{
if (File.Exists(_HighscoreFilePath))
{
CreateOrConvert(OldDBFilePath);
CreateOrConvert(_HighscoreFilePath);
ImportData(OldDBFilePath, _HighscoreFilePath);
File.Delete(OldDBFilePath);
}
else
{
File.Copy(OldDBFilePath, _HighscoreFilePath);
CreateOrConvert(_HighscoreFilePath);
File.Delete(OldDBFilePath);
}
}
else
CreateOrConvert(_HighscoreFilePath);
}
private static void CreateHighscoreDB(string FilePath)
{ {
SQLiteConnection connection = new SQLiteConnection(); SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _HighscoreFilePath; connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return;
}
command = new SQLiteCommand(connection);
command.CommandText = "CREATE TABLE IF NOT EXISTS Version ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, Value INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.CommandText = "INSERT INTO Version (id, Value) VALUES(NULL, " + CSettings.iDatabaseHighscoreVersion.ToString() + ")";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS Songs ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"Artist TEXT NOT NULL, Title TEXT NOT NULL, NumPlayed INTEGER);";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS Scores ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"SongID INTEGER NOT NULL, PlayerName TEXT NOT NULL, Score INTEGER NOT NULL, LineNr INTEGER NOT NULL, Date BIGINT NOT NULL, " +
"Medley INTEGER NOT NULL, Duet INTEGER NOT NULL, Difficulty INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.Dispose();
connection.Close();
connection.Dispose();
}
/// <summary>
/// Creates a new Vocaluxe Database if no file exists. Converts an existing old Ultrastar Deluxe highscore database into vocaluxe format.
/// </summary>
/// <param name="FilePath">Database file path</param>
/// <returns></returns>
private static bool CreateOrConvert(string FilePath)
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command; SQLiteCommand command;
try try
@@ -292,12 +525,12 @@ namespace Vocaluxe.Base
if (reader == null) if (reader == null)
{ {
// create new database/tables // create new database/tables
CreateHighscoreDB(); CreateHighscoreDB(FilePath);
} }
else if (reader.FieldCount == 0) else if (reader.FieldCount == 0)
{ {
// create new database/tables // create new database/tables
CreateHighscoreDB(); CreateHighscoreDB(FilePath);
} }
else else
{ {
@@ -335,10 +568,10 @@ namespace Vocaluxe.Base
//Check for USDX 1.1 DB //Check for USDX 1.1 DB
if (version == 1) if (version == 1)
ConvertFrom110(); ConvertFrom110(FilePath);
//Check for USDX 1.01 or CMD Mod DB //Check for USDX 1.01 or CMD Mod DB
else if (version == 0 && scoresTableExists) else if (version == 0 && scoresTableExists)
ConvertFrom101(); ConvertFrom101(FilePath);
command.Dispose(); command.Dispose();
@@ -348,61 +581,15 @@ namespace Vocaluxe.Base
return true; return true;
} }
private static void CreateHighscoreDB()
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _HighscoreFilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return;
}
command = new SQLiteCommand(connection);
command.CommandText = "CREATE TABLE IF NOT EXISTS Version ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, Value INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.CommandText = "INSERT INTO Version (id, Value) VALUES(NULL, " + CSettings.iDatabaseHighscoreVersion.ToString() + ")";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS Songs ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"Artist TEXT NOT NULL, Title TEXT NOT NULL, NumPlayed INTEGER);";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS Scores ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"SongID INTEGER NOT NULL, PlayerName TEXT NOT NULL, Score INTEGER NOT NULL, LineNr INTEGER NOT NULL, Date BIGINT NOT NULL, " +
"Medley INTEGER NOT NULL, Duet INTEGER NOT NULL, Difficulty INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.Dispose();
connection.Close();
connection.Dispose();
/*
// Auslesen des zuletzt eingefügten Datensatzes.
command.CommandText = "SELECT id, name FROM beispiel ORDER BY id DESC LIMIT 0, 1";
while (reader.Read())
{
Console.WriteLine("Dies ist der {0}. eingefügte Datensatz mit dem Wert: \"{1}\"", reader[0].ToString(), reader[1].ToString());
}
*/
}
/// <summary> /// <summary>
/// Converts a USDX 1.1 database into the Vocaluxe format /// Converts a USDX 1.1 database into the Vocaluxe format
/// </summary> /// </summary>
/// <param name="FilePath">Database file path</param>
/// <returns>True if succeeded</returns> /// <returns>True if succeeded</returns>
private static bool ConvertFrom110() private static bool ConvertFrom110(string FilePath)
{ {
SQLiteConnection connection = new SQLiteConnection(); SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _HighscoreFilePath; connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command; SQLiteCommand command;
try try
@@ -520,11 +707,12 @@ namespace Vocaluxe.Base
/// <summary> /// <summary>
/// Converts a USDX 1.01 or CMD 1.01 database to Vocaluxe format /// Converts a USDX 1.01 or CMD 1.01 database to Vocaluxe format
/// </summary> /// </summary>
/// <param name="FilePath">Database file path</param>
/// <returns>True if succeeded</returns> /// <returns>True if succeeded</returns>
private static bool ConvertFrom101() private static bool ConvertFrom101(string FilePath)
{ {
SQLiteConnection connection = new SQLiteConnection(); SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _HighscoreFilePath; connection.ConnectionString = "Data Source=" + FilePath;
SQLiteCommand command; SQLiteCommand command;
SQLiteDataReader reader = null; SQLiteDataReader reader = null;
@@ -563,7 +751,7 @@ namespace Vocaluxe.Base
reader.Close(); reader.Close();
//This is a USDX 1.01 DB //This is a USDX 1.01 DB
if(!dateExists) if (!dateExists)
command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) SELECT SongID, Player, Score, '0', '0', '0', '0', Difficulty from US_Scores"; command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) SELECT SongID, Player, Score, '0', '0', '0', '0', Difficulty from US_Scores";
else // This is a CMD 1.01 DB else // This is a CMD 1.01 DB
command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) SELECT SongID, Player, Score, '0', Date, '0', '0', Difficulty from US_Scores"; command.CommandText = "INSERT INTO Scores (SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty) SELECT SongID, Player, Score, '0', Date, '0', '0', Difficulty from US_Scores";
@@ -577,11 +765,11 @@ namespace Vocaluxe.Base
List<SData> songs = new List<SData>(); List<SData> songs = new List<SData>();
Sqlite3.sqlite3 OldDB; Sqlite3.sqlite3 OldDB;
int res = Sqlite3.sqlite3_open(_HighscoreFilePath, out OldDB); int res = Sqlite3.sqlite3_open(FilePath, out OldDB);
if (res != Sqlite3.SQLITE_OK) if (res != Sqlite3.SQLITE_OK)
{ {
CLog.LogError("Error opening Database: " + _HighscoreFilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")"); CLog.LogError("Error opening Database: " + FilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")");
} }
else else
{ {
@@ -590,11 +778,11 @@ namespace Vocaluxe.Base
if (res != Sqlite3.SQLITE_OK) if (res != Sqlite3.SQLITE_OK)
{ {
CLog.LogError("Error query Database: " + _HighscoreFilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")"); CLog.LogError("Error query Database: " + FilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")");
} }
else else
{ {
Sqlite3.sqlite3_step(Stmt); //Sqlite3.sqlite3_step(Stmt);
Encoding UTF8 = Encoding.UTF8; Encoding UTF8 = Encoding.UTF8;
Encoding CP1252 = Encoding.GetEncoding(1252); Encoding CP1252 = Encoding.GetEncoding(1252);
@@ -625,11 +813,11 @@ namespace Vocaluxe.Base
if (res != Sqlite3.SQLITE_OK) if (res != Sqlite3.SQLITE_OK)
{ {
CLog.LogError("Error query Database: " + _HighscoreFilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")"); CLog.LogError("Error query Database: " + FilePath + " (" + Sqlite3.sqlite3_errmsg(OldDB) + ")");
} }
else else
{ {
Sqlite3.sqlite3_step(Stmt); //Sqlite3.sqlite3_step(Stmt);
Encoding UTF8 = Encoding.UTF8; Encoding UTF8 = Encoding.UTF8;
Encoding CP1252 = Encoding.GetEncoding(1252); Encoding CP1252 = Encoding.GetEncoding(1252);
@@ -693,6 +881,71 @@ namespace Vocaluxe.Base
return true; return true;
} }
private static bool ImportData(string SourceDBPath, string DestinationDBPath)
{
#region open db
SQLiteConnection connSource = new SQLiteConnection();
connSource.ConnectionString = "Data Source=" + SourceDBPath;
try
{
connSource.Open();
}
catch (Exception e)
{
CLog.LogError("Error on import high score data. Can't open source database \"" + SourceDBPath + "\" (" + e.Message + ")");
return false;
}
#endregion open db
SQLiteCommand cmdSource = new SQLiteCommand(connSource);
SQLiteDataReader rSource;
#region import table scores
cmdSource.CommandText = "SELECT SongID, PlayerName, Score, LineNr, Date, Medley, Duet, Difficulty FROM Scores";
rSource = cmdSource.ExecuteReader();
if (rSource == null)
{
cmdSource.Dispose();
connSource.Close();
return false;
}
if (rSource.FieldCount == 0)
{
rSource.Close();
cmdSource.Dispose();
connSource.Close();
return true;
}
while (rSource.Read())
{
int songid = rSource.GetInt32(0);
string player = rSource.GetString(1);
int score = rSource.GetInt32(2);
int linenr = rSource.GetInt32(3);
long date = rSource.GetInt64(4);
int medley = rSource.GetInt32(5);
int duet = rSource.GetInt32(6);
int diff = rSource.GetInt32(7);
string artist, title;
int numplayed;
if (GetDataBaseSongInfos(songid, out artist, out title, out numplayed, SourceDBPath))
{
AddScore(player, score, linenr, date, medley, duet, diff, artist, title, numplayed, _HighscoreFilePath);
}
}
#endregion import table scores
rSource.Close();
cmdSource.Dispose();
connSource.Close();
return true;
}
#endregion Highscores #endregion Highscores
#region Cover #region Cover
@@ -801,7 +1054,7 @@ namespace Vocaluxe.Base
byte[] data = new byte[w * h * 4]; byte[] data = new byte[w * h * 4];
BitmapData bmp_data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb); BitmapData bmp_data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
Marshal.Copy(bmp_data.Scan0, data, 0, w*h*4); Marshal.Copy(bmp_data.Scan0, data, 0, w * h * 4);
bmp.UnlockBits(bmp_data); bmp.UnlockBits(bmp_data);
bmp.Dispose(); bmp.Dispose();
@@ -947,6 +1200,273 @@ namespace Vocaluxe.Base
} }
#endregion Cover #endregion Cover
#region CreditsRessources
public static bool GetCreditsRessource(string FileName, ref STexture tex)
{
bool result = false;
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _CreditsRessourcesFilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return false;
}
command = new SQLiteCommand(connection);
command.CommandText = "SELECT id, width, height FROM Images WHERE [Path] = @path";
command.Parameters.Add("@path", System.Data.DbType.String, 0).Value = FileName;
SQLiteDataReader reader = null;
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
throw;
}
if (reader != null && reader.HasRows)
{
reader.Read();
int id = reader.GetInt32(0);
int w = reader.GetInt32(1);
int h = reader.GetInt32(2);
reader.Close();
command.CommandText = "SELECT Data FROM ImageData WHERE ImageID = " + id.ToString();
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
throw;
}
if (reader.HasRows)
{
result = true;
reader.Read();
byte[] data = GetBytes(reader);
tex = CDraw.AddTexture(w, h, ref data);
}
}
if (reader != null)
{
reader.Close();
reader.Dispose();
}
command.Dispose();
connection.Close();
connection.Dispose();
return result;
}
//If you want to add an image to db, call this method!
private static bool AddImageToCreditsDB(String ImagePath)
{
bool result = false;
STexture tex;
if (File.Exists(ImagePath))
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _CreditsRessourcesFilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return false;
}
command = new SQLiteCommand(connection);
SQLiteDataReader reader = null;
if (reader != null)
reader.Close();
Bitmap origin;
try
{
origin = new Bitmap(ImagePath);
}
catch (Exception)
{
CLog.LogError("Error loading Texture: " + ImagePath);
tex = new STexture(-1);
if (reader != null)
{
reader.Close();
reader.Dispose();
}
command.Dispose();
connection.Close();
connection.Dispose();
return false;
}
int w = origin.Width;
int h = origin.Height;
Bitmap bmp = new Bitmap(w, h);
Graphics g = Graphics.FromImage(bmp);
g.DrawImage(origin, new Rectangle(0, 0, w, h));
g.Dispose();
tex = CDraw.AddTexture(bmp);
byte[] data = new byte[w * h * 4];
BitmapData bmp_data = bmp.LockBits(new Rectangle(0, 0, bmp.Width, bmp.Height), ImageLockMode.ReadOnly, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
Marshal.Copy(bmp_data.Scan0, data, 0, w * h * 4);
bmp.UnlockBits(bmp_data);
bmp.Dispose();
command.CommandText = "INSERT INTO Images (Path, width, height) " +
"VALUES (@path, " + w.ToString() + ", " + h.ToString() + ")";
command.Parameters.Add("@path", System.Data.DbType.String, 0).Value = Path.GetFileName(ImagePath);
command.ExecuteNonQuery();
command.CommandText = "SELECT id FROM Images WHERE [Path] = @path";
command.Parameters.Add("@path", System.Data.DbType.String, 0).Value = Path.GetFileName(ImagePath);
reader = null;
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
throw;
}
if (reader != null)
{
reader.Read();
int id = reader.GetInt32(0);
reader.Close();
command.CommandText = "INSERT INTO ImageData (ImageID, Data) " +
"VALUES ('" + id.ToString() + "', @data)";
command.Parameters.Add("@data", System.Data.DbType.Binary, 20).Value = data;
command.ExecuteReader();
result = true;
}
}
return result;
}
private static bool InitCreditsRessourcesDB()
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _CreditsRessourcesFilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return false;
}
command = new SQLiteCommand(connection);
command.CommandText = "SELECT Value FROM Version";
SQLiteDataReader reader = null;
try
{
reader = command.ExecuteReader();
}
catch (Exception)
{
;
}
if (reader == null)
{
// Log error
CLog.LogError("Can't find Credits-DB!");
}
else if (reader.FieldCount == 0)
{
// Log error
CLog.LogError("Can't find Credits-DB! Field-Count = 0");
}
else
{
reader.Read();
if (reader.GetInt32(0) < CSettings.iDatabaseHighscoreVersion)
{
// update database
}
}
if (reader != null)
{
reader.Close();
reader.Dispose();
}
command.Dispose();
connection.Close();
connection.Dispose();
return true;
}
private static void CreateCreditsRessourcesDB()
{
SQLiteConnection connection = new SQLiteConnection();
connection.ConnectionString = "Data Source=" + _CreditsRessourcesFilePath;
SQLiteCommand command;
try
{
connection.Open();
}
catch (Exception)
{
return;
}
command = new SQLiteCommand(connection);
command.CommandText = "CREATE TABLE IF NOT EXISTS Version ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, Value INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.CommandText = "INSERT INTO Version (id, Value) VALUES(NULL, " + CSettings.iDatabaseCreditsRessourcesVersion.ToString() + ")";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS Images ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"Path TEXT NOT NULL, width INTEGER NOT NULL, height INTEGER NOT NULL);";
command.ExecuteNonQuery();
command.CommandText = "CREATE TABLE IF NOT EXISTS ImageData ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, " +
"ImageID INTEGER NOT NULL, Data BLOB NOT NULL);";
command.ExecuteNonQuery();
command.Dispose();
connection.Close();
connection.Dispose();
}
#endregion CreditsRessources
private static byte[] GetBytes(SQLiteDataReader reader) private static byte[] GetBytes(SQLiteDataReader reader)
{ {
const int CHUNK_SIZE = 2 * 1024; const int CHUNK_SIZE = 2 * 1024;
+79 -5
View File
@@ -289,6 +289,19 @@ namespace Vocaluxe.Base
} }
} }
public static void DrawTexture(CStatic StaticBounds, STexture Texture, EAspect Aspect)
{
RectangleF bounds = new RectangleF(StaticBounds.Rect.X, StaticBounds.Rect.Y, StaticBounds.Rect.W, StaticBounds.Rect.H);
RectangleF rect = new RectangleF(0f, 0f, Texture.width, Texture.height);
if (rect.Height <= 0f)
return;
CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, Aspect);
DrawTexture(Texture, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, StaticBounds.Rect.Z),
Texture.color, new SRectF(bounds.X, bounds.Y, bounds.Width, bounds.Height, 0f), false);
}
public static void DrawTextureReflection(STexture Texture, SRectF rect, SColorF color, SRectF bounds, float space, float height) public static void DrawTextureReflection(STexture Texture, SRectF rect, SColorF color, SRectF bounds, float space, float height)
{ {
lock (mutex) lock (mutex)
@@ -319,6 +332,7 @@ namespace Vocaluxe.Base
{ {
#region private vars #region private vars
private string _TextureName; private string _TextureName;
private STexture _Texture;
private SRectF _Rect; private SRectF _Rect;
private float _Size; private float _Size;
private SColorF _Color; private SColorF _Color;
@@ -386,6 +400,7 @@ namespace Vocaluxe.Base
public CParticle(string textureName, SColorF color, float x, float y, float size, float maxage, float z, float vx, float vy, float vr, float vsize, EParticeType type) public CParticle(string textureName, SColorF color, float x, float y, float size, float maxage, float z, float vx, float vy, float vr, float vsize, EParticeType type)
{ {
_TextureName = textureName; _TextureName = textureName;
_Texture = new STexture(-1);
_Color = color; _Color = color;
_Rect = new SRectF(x, y, size, size, z); _Rect = new SRectF(x, y, size, size, z);
_Size = size; _Size = size;
@@ -403,6 +418,29 @@ namespace Vocaluxe.Base
_MaxAge = maxage; _MaxAge = maxage;
_Rotation = (float)(CGame.Rand.NextDouble() * 360.0); _Rotation = (float)(CGame.Rand.NextDouble() * 360.0);
} }
public CParticle(STexture texture, SColorF color, float x, float y, float size, float maxage, float z, float vx, float vy, float vr, float vsize, EParticeType type)
{
_TextureName = String.Empty;
_Texture = texture;
_Color = color;
_Rect = new SRectF(x, y, size, size, z);
_Size = size;
_Alpha = 1f;
_Angle = 0f;
_Vx = vx;
_Vy = vy;
_Vr = vr;
_Vsize = vsize;
_LastTime = 0f;
_Type = type;
_Timer = new Stopwatch();
_Age = 0f;
_MaxAge = maxage;
_Rotation = (float)(CGame.Rand.NextDouble() * 360.0);
}
#endregion Constructors #endregion Constructors
public void Update() public void Update()
@@ -553,7 +591,10 @@ namespace Vocaluxe.Base
public void Draw() public void Draw()
{ {
CDraw.DrawTexture(CTheme.GetSkinTexture(_TextureName), _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha)); if (_TextureName != String.Empty)
CDraw.DrawTexture(CTheme.GetSkinTexture(_TextureName), _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
else
CDraw.DrawTexture(_Texture, _Rect, new SColorF(_Color.R, _Color.G, _Color.B, _Color.A * Alpha2 * _Alpha));
} }
} }
@@ -561,6 +602,7 @@ namespace Vocaluxe.Base
{ {
private List<CParticle> _Stars; private List<CParticle> _Stars;
private string _TextureName; private string _TextureName;
private STexture _Texture;
private int _MaxNumber; private int _MaxNumber;
private SRectF _Area; private SRectF _Area;
private SColorF _Color; private SColorF _Color;
@@ -579,12 +621,33 @@ namespace Vocaluxe.Base
} }
} }
public SRectF Area
{
get { return _Area; }
set { _Area = value; }
}
public CParticleEffect(int MaxNumber, SColorF Color, SRectF Area, string TextureName, float Size, EParticeType Type) public CParticleEffect(int MaxNumber, SColorF Color, SRectF Area, string TextureName, float Size, EParticeType Type)
{ {
_Stars = new List<CParticle>(); _Stars = new List<CParticle>();
_Area = Area; _Area = Area;
_Color = Color; _Color = Color;
_TextureName = TextureName; _TextureName = TextureName;
_Texture = new STexture(-1);
_MaxNumber = MaxNumber;
_Size = Size;
_Type = Type;
_SpawnTimer = new Stopwatch();
_NextSpawnTime = 0f;
}
public CParticleEffect(int MaxNumber, SColorF Color, SRectF Area, STexture texture, float Size, EParticeType Type)
{
_Stars = new List<CParticle>();
_Area = Area;
_Color = Color;
_TextureName = String.Empty;
_Texture = texture;
_MaxNumber = MaxNumber; _MaxNumber = MaxNumber;
_Size = Size; _Size = Size;
_Type = Type; _Type = Type;
@@ -682,10 +745,21 @@ namespace Vocaluxe.Base
if (h < 0) if (h < 0)
h = 0; h = 0;
CParticle star = new CParticle(_TextureName, _Color, CParticle star;
CGame.Rand.Next(w) + _Area.X - size / 4f, if (_TextureName != String.Empty)
CGame.Rand.Next(h) + _Area.Y - size / 4f, {
size, lifetime, _Area.Z, vx, vy, vr, vsize, _Type); star = new CParticle(_TextureName, _Color,
CGame.Rand.Next(w) + _Area.X - size / 4f,
CGame.Rand.Next(h) + _Area.Y - size / 4f,
size, lifetime, _Area.Z, vx, vy, vr, vsize, _Type);
}
else
{
star = new CParticle(_Texture, _Color,
CGame.Rand.Next(w) + _Area.X - size / 4f,
CGame.Rand.Next(h) + _Area.Y - size / 4f,
size, lifetime, _Area.Z, vx, vy, vr, vsize, _Type);
}
_Stars.Add(star); _Stars.Add(star);
} }
+98 -7
View File
@@ -2,6 +2,7 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging; using System.Drawing.Imaging;
using System.Drawing.Text; using System.Drawing.Text;
using System.IO; using System.IO;
@@ -38,6 +39,7 @@ namespace Vocaluxe.Base
public CGlyph(char chr) public CGlyph(char chr)
{ {
float outline = CFonts.Outline;
TextFormatFlags flags = TextFormatFlags.NoPadding | TextFormatFlags.NoPrefix; TextFormatFlags flags = TextFormatFlags.NoPadding | TextFormatFlags.NoPrefix;
float factor = GetFactor(chr, flags); float factor = GetFactor(chr, flags);
@@ -53,19 +55,53 @@ namespace Vocaluxe.Base
g.Dispose(); g.Dispose();
bmp.Dispose(); bmp.Dispose();
bmp = new Bitmap((int)(sizeB.Width * 1.5f), sizeB.Height); bmp = new Bitmap((int)(sizeB.Width * 2f), sizeB.Height);
g = System.Drawing.Graphics.FromImage(bmp); g = System.Drawing.Graphics.FromImage(bmp);
g.Clear(System.Drawing.Color.Transparent); g.Clear(System.Drawing.Color.Transparent);
g.SmoothingMode = SmoothingMode.AntiAlias;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
CFonts.Height = SIZEh; CFonts.Height = SIZEh;
fo = CFonts.GetFont(); fo = CFonts.GetFont();
g.DrawString(chr.ToString(), fo, Brushes.White, new PointF((sizeB.Width - size.Width) / 2f, (sizeB.Height - size.Height - (size.Height + SIZEh/4f) * (1f - factor)) / 2f));
PointF point = new PointF(
outline * Math.Abs(sizeB.Width - size.Width) + (sizeB.Width - size.Width) / 2f + SIZEh / 5f,
(sizeB.Height - size.Height - (size.Height + SIZEh/4f) * (1f - factor)) / 2f);
GraphicsPath path = new GraphicsPath();
path.AddString(
chr.ToString(),
fo.FontFamily,
(int)fo.Style,
SIZEh,
point,
new StringFormat());
Pen pen = new Pen(
Color.FromArgb(
(int)CFonts.OutlineColor.A * 255,
(int)CFonts.OutlineColor.R * 255,
(int)CFonts.OutlineColor.G * 255,
(int)CFonts.OutlineColor.B * 255),
SIZEh * outline);
pen.LineJoin = LineJoin.Round;
g.DrawPath(pen, path);
g.FillPath(Brushes.White, path);
/*
g.DrawString(
chr.ToString(),
fo,
Brushes.White,
point);
* */
Texture = CDraw.AddTexture(bmp); Texture = CDraw.AddTexture(bmp);
//bmp.Save("test.png", ImageFormat.Png);
Chr = chr; Chr = chr;
width = (int)(sizeB.Width * Texture.width/factor / bmp.Width); width = (int)((1f + outline / 2f) * sizeB.Width * Texture.width/factor / bmp.Width);
bmp.Dispose(); bmp.Dispose();
g.Dispose(); g.Dispose();
@@ -146,7 +182,8 @@ namespace Vocaluxe.Base
CFonts.Height = h; CFonts.Height = h;
CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]]; CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]];
float factor = h / glyph.Texture.height; float factor = h / glyph.Texture.height;
CDraw.DrawTexture(glyph.Texture, new SRectF(x, y, glyph.Texture.width * factor, h, z), color); float d = glyph.SIZEh / 5f * factor;
CDraw.DrawTexture(glyph.Texture, new SRectF(x - d, y, glyph.Texture.width * factor, h, z), color);
} }
public void DrawGlyphReflection(char chr, float x, float y, float h, float z, SColorF color, float rspace, float rheight) public void DrawGlyphReflection(char chr, float x, float y, float h, float z, SColorF color, float rspace, float rheight)
@@ -156,7 +193,8 @@ namespace Vocaluxe.Base
CFonts.Height = h; CFonts.Height = h;
CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]]; CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]];
float factor = h / glyph.Texture.height; float factor = h / glyph.Texture.height;
SRectF rect = new SRectF(x, y, glyph.Texture.width * factor, h, z); float d = glyph.SIZEh / 5f * factor;
SRectF rect = new SRectF(x - d, y, glyph.Texture.width * factor, h, z);
CDraw.DrawTextureReflection(glyph.Texture, rect, color, rect, rspace, rheight); CDraw.DrawTextureReflection(glyph.Texture, rect, color, rect, rspace, rheight);
} }
@@ -168,8 +206,9 @@ namespace Vocaluxe.Base
CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]]; CGlyph glyph = _Glyphs[(int)_htGlyphs[chr]];
float factor = h / glyph.Texture.height; float factor = h / glyph.Texture.height;
float width = glyph.Texture.width * factor; float width = glyph.Texture.width * factor;
float d = glyph.SIZEh / 5f * factor;
CDraw.DrawTexture(glyph.Texture, new SRectF(x, y, width, h, z), color, begin, end); CDraw.DrawTexture(glyph.Texture, new SRectF(x - d, y, width, h, z), color, begin, end);
} }
public float GetWidth(char chr) public float GetWidth(char chr)
@@ -215,6 +254,9 @@ namespace Vocaluxe.Base
public string FileBold; public string FileBold;
public string FileBoldItalic; public string FileBoldItalic;
public float Outline; //0..1, 0=not outline 1=100% outline
public SColorF OutlineColor;
public CFont Normal; public CFont Normal;
public CFont Italic; public CFont Italic;
public CFont Bold; public CFont Bold;
@@ -252,6 +294,30 @@ namespace Vocaluxe.Base
} }
} }
public static float Outline
{
get { return _Fonts[_CurrentFont].Outline; }
set
{
SFont font = _Fonts[_CurrentFont];
font.Outline = value;
if (font.Outline < 0f)
font.Outline = 0f;
if (font.Outline > 1f)
font.Outline = 1f;
}
}
public static SColorF OutlineColor
{
get { return _Fonts[_CurrentFont].OutlineColor; }
set
{
SFont font = _Fonts[_CurrentFont];
font.OutlineColor = value;
}
}
public static void Init() public static void Init()
{ {
_settings.Indent = true; _settings.Indent = true;
@@ -610,6 +676,15 @@ namespace Vocaluxe.Base
f = new CFont(value); f = new CFont(value);
sf.BoldItalic = f; sf.BoldItalic = f;
sf.Outline = 0f;
CHelper.TryGetFloatValueFromXML("//root/Font" + i.ToString() + "/Outline", navigator, ref sf.Outline);
sf.OutlineColor = new SColorF(0f, 0f, 0f, 1f);
CHelper.TryGetFloatValueFromXML("//root/Font" + i.ToString() + "/OutlineColorR", navigator, ref sf.OutlineColor.R);
CHelper.TryGetFloatValueFromXML("//root/Font" + i.ToString() + "/OutlineColorG", navigator, ref sf.OutlineColor.G);
CHelper.TryGetFloatValueFromXML("//root/Font" + i.ToString() + "/OutlineColorB", navigator, ref sf.OutlineColor.B);
CHelper.TryGetFloatValueFromXML("//root/Font" + i.ToString() + "/OutlineColorA", navigator, ref sf.OutlineColor.A);
_Fonts.Add(sf); _Fonts.Add(sf);
i++; i++;
} }
@@ -662,6 +737,15 @@ namespace Vocaluxe.Base
f = new CFont(value); f = new CFont(value);
sf.BoldItalic = f; sf.BoldItalic = f;
sf.Outline = 0f;
ok &= CHelper.TryGetFloatValueFromXML("//root/Fonts/Font" + i.ToString() + "/Outline", navigator, ref sf.Outline);
sf.OutlineColor = new SColorF(0f, 0f, 0f, 1f);
ok &= CHelper.TryGetFloatValueFromXML("//root/Fonts/Font" + i.ToString() + "/OutlineColorR", navigator, ref sf.OutlineColor.R);
ok &= CHelper.TryGetFloatValueFromXML("//root/Fonts/Font" + i.ToString() + "/OutlineColorG", navigator, ref sf.OutlineColor.G);
ok &= CHelper.TryGetFloatValueFromXML("//root/Fonts/Font" + i.ToString() + "/OutlineColorB", navigator, ref sf.OutlineColor.B);
ok &= CHelper.TryGetFloatValueFromXML("//root/Fonts/Font" + i.ToString() + "/OutlineColorA", navigator, ref sf.OutlineColor.A);
if (ok) if (ok)
_Fonts.Add(sf); _Fonts.Add(sf);
else else
@@ -698,6 +782,13 @@ namespace Vocaluxe.Base
writer.WriteElementString("Name", _Fonts[Index].Name); writer.WriteElementString("Name", _Fonts[Index].Name);
writer.WriteElementString("Folder", _Fonts[Index].Folder); writer.WriteElementString("Folder", _Fonts[Index].Folder);
writer.WriteElementString("Outline", _Fonts[Index].Outline.ToString("#0.00"));
writer.WriteElementString("ColorR", _Fonts[Index].OutlineColor.R.ToString("#0.00"));
writer.WriteElementString("ColorG", _Fonts[Index].OutlineColor.G.ToString("#0.00"));
writer.WriteElementString("ColorB", _Fonts[Index].OutlineColor.B.ToString("#0.00"));
writer.WriteElementString("ColorA", _Fonts[Index].OutlineColor.A.ToString("#0.00"));
writer.WriteElementString("FileNormal", _Fonts[Index].FileNormal); writer.WriteElementString("FileNormal", _Fonts[Index].FileNormal);
writer.WriteElementString("FileBold", _Fonts[Index].FileBold); writer.WriteElementString("FileBold", _Fonts[Index].FileBold);
writer.WriteElementString("FileItalic", _Fonts[Index].FileItalic); writer.WriteElementString("FileItalic", _Fonts[Index].FileItalic);
+37 -49
View File
@@ -247,72 +247,60 @@ namespace Vocaluxe.Base
for (int p = 0; p < _NumPlayer; p++) for (int p = 0; p < _NumPlayer; p++)
{ {
CSound.AnalyzeBuffer(p);
if (CSound.RecordToneValid(p) || DEBUG_HIT) for (int beat = _OldBeatD + 1; beat <= _CurrentBeatD; beat++)
{ {
for (int beat = _OldBeatD + 1; beat <= _CurrentBeatD; beat++) CLine[] lines = song.Notes.GetLines(_Player[p].LineNr).Line;
{ int Line = -1;
CLine[] lines = song.Notes.GetLines(_Player[p].LineNr).Line;
int Line = -1;
for (int j = 0; j < lines.Length; j++) for (int j = 0; j < lines.Length; j++)
{
if (beat >= lines[j].StartBeat && beat <= lines[j].EndBeat)
{ {
if (beat >= lines[j].StartBeat && beat <= lines[j].EndBeat) Line = j;
break;
}
}
if (Line >= 0)
{
if (Line != _Player[p].CurrentLine)
_Player[p].CurrentNote = -1;
_Player[p].CurrentLine = Line;
while (_Player[p].SingLine.Count <= Line)
{
_Player[p].SingLine.Add(new CLine());
}
CNote[] notes = lines[Line].Notes;
int Note = -1;
for (int j = 0; j < notes.Length; j++)
{
if (beat >= notes[j].StartBeat && beat <= notes[j].EndBeat)
{ {
Line = j; Note = j;
break; break;
} }
} }
if (Line >= 0) if (Note >= 0)
{ {
if (Line != _Player[p].CurrentLine) _Player[p].CurrentNote = Note;
_Player[p].CurrentNote = -1;
_Player[p].CurrentLine = Line; if (Line == lines.Length - 1)
while (_Player[p].SingLine.Count <= Line)
{ {
_Player[p].SingLine.Add(new CLine()); if (Note == lines[Line].NoteCount - 1)
}
CNote[] notes = lines[Line].Notes;
int Note = -1;
for (int j = 0; j < notes.Length; j++)
{
if (beat >= notes[j].StartBeat && beat <= notes[j].EndBeat)
{ {
if (notes[j].PointsForBeat > 0) if (notes[Note].EndBeat == beat)
Note = j;
break;
}
}
if (Note >= 0)
{
if (Line == lines.Length - 1)
{
if (Note == lines[Line].NoteCount - 1)
{
_Player[p].SongFinished = true; _Player[p].SongFinished = true;
}
} }
} }
if (Note >= 0 && notes[Note].PointsForBeat > 0) CSound.AnalyzeBuffer(p);
if (notes[Note].PointsForBeat > 0 && (CSound.RecordToneValid(p) || DEBUG_HIT))
{ {
_Player[p].CurrentNote = Note;
if (Line == lines.Length - 1)
{
if (Note == lines[Line].NoteCount - 1)
{
if (notes[Note].EndBeat == beat)
_Player[p].SongFinished = true;
}
}
int Tone = notes[Note].Tone; int Tone = notes[Note].Tone;
int TonePlayer = CSound.RecordGetTone(p); int TonePlayer = CSound.RecordGetTone(p);
@@ -383,8 +371,8 @@ namespace Vocaluxe.Base
} }
} }
} }
} }
} }
} }
_OldBeatD = _CurrentBeatD; _OldBeatD = _CurrentBeatD;
+3
View File
@@ -77,6 +77,9 @@ namespace Vocaluxe.Base
public static string Translate(string KeyWord) public static string Translate(string KeyWord)
{ {
if (KeyWord == null)
return null;
if (KeyWord.Length < 3) if (KeyWord.Length < 3)
return KeyWord; return KeyWord;
+9 -1
View File
@@ -47,10 +47,11 @@ namespace Vocaluxe.Base
public const int iVersionSub = 0; // steps public const int iVersionSub = 0; // steps
public const ERevision VersionRevision = ERevision.Beta; public const ERevision VersionRevision = ERevision.Beta;
public const int iBuild = 53; // Increase on every published version! Never Reset! public const int iBuild = 54; // Increase on every published version! Never Reset!
public const int iDatabaseHighscoreVersion = 1; public const int iDatabaseHighscoreVersion = 1;
public const int iDatabaseCoverVersion = 1; public const int iDatabaseCoverVersion = 1;
public const int iDatabaseCreditsRessourcesVersion = 1;
public static int iRenderW = 1280; public static int iRenderW = 1280;
@@ -69,8 +70,10 @@ namespace Vocaluxe.Base
public const string sFileCover = "Cover.xml"; public const string sFileCover = "Cover.xml";
public const string sFileFonts = "Fonts.xml"; public const string sFileFonts = "Fonts.xml";
public const string sFileOldHighscoreDB = "Ultrastar.db";
public static string sFileHighscoreDB = "HighscoreDB.sqlite"; public static string sFileHighscoreDB = "HighscoreDB.sqlite";
public const string sFileCoverDB = "CoverDB.sqlite"; public const string sFileCoverDB = "CoverDB.sqlite";
public const string sFileCreditsRessourcesDB = "CreditsRessourcesDB.sqlite";
public const string sFilePerformanceLog = "Performance.log"; public const string sFilePerformanceLog = "Performance.log";
public const string sFileErrorLog = "Error.log"; public const string sFileErrorLog = "Error.log";
public const string sFileBenchmarkLog = "Benchmark.log"; public const string sFileBenchmarkLog = "Benchmark.log";
@@ -112,6 +115,11 @@ namespace Vocaluxe.Base
public const float BackgroundMusicFadeTime = 0.5f; public const float BackgroundMusicFadeTime = 0.5f;
public static List<string> MusicFileTypes = new List<string>()
{
"*.mp3","*.wma","*.ogg","*.wav"
};
public static string GetVersionText() public static string GetVersionText()
{ {
string sVersion = "v" + iVersionMajor.ToString() + "." + string sVersion = "v" + iVersionMajor.ToString() + "." +
+3 -3
View File
@@ -501,7 +501,7 @@ namespace Vocaluxe.Base
long ticks = _Timer.ElapsedTicks; long ticks = _Timer.ElapsedTicks;
float dt = _Timer.ElapsedMilliseconds / 1000f; float dt = _Timer.ElapsedMilliseconds / 1000f;
if (nanosecPerTick > 0L) if (Stopwatch.IsHighResolution)
dt = (float)(ticks * nanosecPerTick / 1000000000.0); dt = (float)(ticks * nanosecPerTick / 1000000000.0);
return _SetValue + dt; return _SetValue + dt;
@@ -581,7 +581,7 @@ namespace Vocaluxe.Base
long ticks = _STimer.ElapsedTicks; long ticks = _STimer.ElapsedTicks;
float dt = _STimer.ElapsedMilliseconds / 1000f; float dt = _STimer.ElapsedMilliseconds / 1000f;
if (nanosecPerTick > 0L) if (Stopwatch.IsHighResolution)
dt = (float)(ticks * nanosecPerTick / 1000000000.0); dt = (float)(ticks * nanosecPerTick / 1000000000.0);
return _CurrentTime + dt; return _CurrentTime + dt;
@@ -617,7 +617,7 @@ namespace Vocaluxe.Base
long ticks = _STimer.ElapsedTicks; long ticks = _STimer.ElapsedTicks;
float dt = _STimer.ElapsedMilliseconds / 1000f; float dt = _STimer.ElapsedMilliseconds / 1000f;
if (nanosecPerTick > 0L) if (Stopwatch.IsHighResolution)
dt = (float)(ticks * nanosecPerTick / 1000000000.0); dt = (float)(ticks * nanosecPerTick / 1000000000.0);
float Ts = 0f; float Ts = 0f;
+1 -1
View File
@@ -82,7 +82,7 @@ namespace Vocaluxe.Base
static class CTheme static class CTheme
{ {
// Version number for main theme and skin files. Increment it, if you've changed something on the theme files! // Version number for main theme and skin files. Increment it, if you've changed something on the theme files!
const int ThemeSystemVersion = 4; const int ThemeSystemVersion = 5;
const int SkinSystemVersion = 3; const int SkinSystemVersion = 3;
#region Vars #region Vars
+20 -33
View File
@@ -79,42 +79,29 @@
+ v0.2.0: + v0.2.0:
- Medley - Medley
- WiiMote Support - WiiMote Support
- Jukebox light - Jukebox light (bg music controls)
- Show Avatars and Player Name in Sing Screen (and perhaps some other screens)
+ v0.3.0: - New Lyric Effects
- Song Editor
- Help System
- Duet (full support)
- Mark newly added songs
- Playlist-Support
- Theme System Update (Theme Editor)
+ v0.4.0:
- Challenge Mode (with more than 2 player at once)
- More Player at once
+ v0.5.0:
- Party Mode: Team-Battle
- Party Mode: Tic, Tac, Toe
- Party Mode: 4 in a row
+ v0.6.0:
- Jukebox
+ v0.7.0:
- Tournament Mode
+ v0.8.0:
- Party Mode: Casting Show
+ v0.9.0:
- ?
+ v1.0.0:
- ?
----------------- -----------------
just some ideas: just some ideas:
- Installer
- More Song List Views
- Tile Board: Show title and artist under each tile
- OnScreen Keyboard? - OnScreen Keyboard?
- Kinect Support? - Kinect Support?
- Help System
- Party Mode: Casting Show
- More Player at once
- Mark newly added songs
- Playlist-Support
- Theme Editor
- Jukebox
- Tournament Mode
- Party Mode: Team-Battle
- Party Mode: Tic, Tac, Toe
- Party Mode: 4 in a row
- Challenge Mode (with more than 2 player at once)
- Song Editor
- Duet (full support, choose/toggle names)
+13
View File
@@ -118,6 +118,11 @@ namespace Vocaluxe.Lib.Song
return Path.Combine(Folder, MP3FileName); return Path.Combine(Folder, MP3FileName);
} }
public string GetVideo()
{
return Path.Combine(Folder, VideoFileName);
}
public bool ReadTXTSong(string FilePath) public bool ReadTXTSong(string FilePath)
{ {
if (!File.Exists(FilePath)) if (!File.Exists(FilePath))
@@ -237,6 +242,11 @@ namespace Vocaluxe.Lib.Song
this.MP3FileName = Value; this.MP3FileName = Value;
HeaderFlags |= EHeaderFlags.MP3; HeaderFlags |= EHeaderFlags.MP3;
} }
else
{
CLog.LogError("Can't find audio file: " + Path.Combine(this.Folder, Value));
return false;
}
break; break;
case "BPM": case "BPM":
if (CHelper.TryParse(Value, out this.BPM)) if (CHelper.TryParse(Value, out this.BPM))
@@ -283,6 +293,9 @@ namespace Vocaluxe.Lib.Song
case "VIDEO": case "VIDEO":
if (File.Exists(Path.Combine(this.Folder, Value))) if (File.Exists(Path.Combine(this.Folder, Value)))
this.VideoFileName = Value; this.VideoFileName = Value;
else
CLog.LogError("Can't find video file: " + Path.Combine(this.Folder, Value));
break; break;
case "VIDEOGAP": case "VIDEOGAP":
CHelper.TryParse(Value, out this.VideoGap); CHelper.TryParse(Value, out this.VideoGap);
+15 -19
View File
@@ -620,7 +620,7 @@ namespace Vocaluxe.Lib.Sound
IntPtr.Zero, IntPtr.Zero,
ref outputParams, ref outputParams,
format.SamplesPerSecond, format.SamplesPerSecond,
0,//CConfig.PortAudioBufferSize, (uint)CConfig.AudioBufferSize,
PortAudio.PaStreamFlags.paNoFlag, PortAudio.PaStreamFlags.paNoFlag,
_paStreamCallback, _paStreamCallback,
data)); data));
@@ -676,21 +676,6 @@ namespace Vocaluxe.Lib.Sound
while (!_terminated) while (!_terminated)
{ {
if (EventDecode.WaitOne(10)) if (EventDecode.WaitOne(10))
{
if (_skip)
{
DoSkip();
_skip = false;
}
if (!_waiting)
{
DoDecode();
Update();
}
}
if (!_terminated)
{ {
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
@@ -706,8 +691,19 @@ namespace Vocaluxe.Lib.Sound
_Start = _SetStart; _Start = _SetStart;
_Loop = _SetLoop; _Loop = _SetLoop;
} }
}
if (_skip)
{
DoSkip();
_skip = false;
}
if (!_waiting)
{
DoDecode();
Update();
}
}
} }
DoFree(); DoFree();
@@ -844,7 +840,7 @@ namespace Vocaluxe.Lib.Sound
else else
_waiting = true; _waiting = true;
float latency = buf.Length / _BytesPerSecond; float latency = buf.Length / _BytesPerSecond + CConfig.AudioLatency/1000f;
float time = _TimeCode - _data.BytesNotRead / _BytesPerSecond - latency; float time = _TimeCode - _data.BytesNotRead / _BytesPerSecond - latency;
_CurrentTime = _SyncTimer.Update(time); _CurrentTime = _SyncTimer.Update(time);
@@ -856,7 +852,7 @@ namespace Vocaluxe.Lib.Sound
} }
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine(e.ToString()); CLog.LogError("Error PortAudio.StreamCallback: " + e.Message);
} }
return PortAudio.PaStreamCallbackResult.paContinue; return PortAudio.PaStreamCallbackResult.paContinue;
+3
View File
@@ -245,6 +245,9 @@ namespace Vocaluxe.Lib.Sound
if (!_initialized) if (!_initialized)
return null; return null;
if (_Devices.Count == 0)
return null;
return _Devices.ToArray(); return _Devices.ToArray();
} }
+105 -98
View File
@@ -214,33 +214,34 @@ namespace Vocaluxe.Lib.Video
class Decoder class Decoder
{ {
private IntPtr _instance = IntPtr.Zero; private IntPtr _instance = IntPtr.Zero; // acinerella instance
private IntPtr _videodecoder = IntPtr.Zero; private IntPtr _videodecoder = IntPtr.Zero; // acinerella video decoder instance
private IntPtr _package = IntPtr.Zero;
private Stopwatch _Timer = new Stopwatch();
private CLOSEPROC _Closeproc;
private int _StreamID;
private string _FileName;
private FileStream _fs; private Stopwatch _LoopTimer = new Stopwatch();
private TAc_read_callback _rc; private CLOSEPROC _Closeproc; // delegate for stream closing
private TAc_seek_callback _sc; private int _StreamID; // stream ID for stream closing
private string _FileName; // current video file name
private FileStream _fs; // video file stream
private TAc_read_callback _rc; // read callback for acinerella
private TAc_seek_callback _sc; // seek callback for acinerella
private bool _FileOpened = false; private bool _FileOpened = false;
private float _VideoTimeBase = 0f; private float _VideoTimeBase = 0f; // frame time
private float _VideoTime = 0f; private float _VideoDecoderTime = 0f; // time of last decoded frame
private float _ActualVideoTime = 0f; private float _CurrentVideoTime = 0f; // current video position
private bool _waiting = false; private bool _BufferFull = false; // buffer is full, waiting for free frame slot
private bool _skip = false;
private bool _skip = false; // do skip
private float _Time = 0f; private float _Time = 0f;
private float _Gap = 0f; private float _Gap = 0f;
private float _Start = 0f; private float _Start = 0f;
private bool _Loop = false; private bool _Loop = false;
private float _Duration = 0f; private float _Duration = 0f;
private float _VideoSkipTime = 0f; private float _VideoSkipTime = 0f; // = VideoGap
private float _NegativeSkipTime = 0f; private float _SkipTime = 0f; // = Start + VideoGap
private float _SkipTime = 0f;
private bool _Paused = false; private bool _Paused = false;
private bool _NoMoreFrames = false; private bool _NoMoreFrames = false;
private bool _Finished = false; private bool _Finished = false;
@@ -260,7 +261,6 @@ namespace Vocaluxe.Lib.Video
AutoResetEvent EventDecode = new AutoResetEvent(false); AutoResetEvent EventDecode = new AutoResetEvent(false);
SFrameBuffer[] _FrameBuffer = new SFrameBuffer[5]; SFrameBuffer[] _FrameBuffer = new SFrameBuffer[5];
Object MutexFramebuffer = new Object(); Object MutexFramebuffer = new Object();
Object MutexFrame = new Object();
Object MutexSyncSignals = new Object(); Object MutexSyncSignals = new Object();
public Decoder() public Decoder()
@@ -293,15 +293,16 @@ namespace Vocaluxe.Lib.Video
get { return _Paused; } get { return _Paused; }
set set
{ {
_Paused = value;
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
_Paused = value;
if (_Paused) if (_Paused)
_Timer.Stop(); {
_LoopTimer.Stop();
}
else else
{ {
_Timer.Start(); _LoopTimer.Start();
EventDecode.Set();
} }
} }
} }
@@ -330,7 +331,7 @@ namespace Vocaluxe.Lib.Video
return false; return false;
_FileName = FileName; _FileName = FileName;
_thread.Priority = ThreadPriority.Highest; _thread.Priority = ThreadPriority.Normal;
_thread.Name = Path.GetFileName(FileName); _thread.Name = Path.GetFileName(FileName);
_thread.Start(); _thread.Start();
return true; return true;
@@ -348,12 +349,12 @@ namespace Vocaluxe.Lib.Video
{ {
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
_SetTime += _Timer.ElapsedMilliseconds / 1000f; _SetTime += _LoopTimer.ElapsedMilliseconds / 1000f;
VideoTime = _SetTime; VideoTime = _SetTime;
_Timer.Stop(); _LoopTimer.Stop();
_Timer.Reset(); _LoopTimer.Reset();
_Timer.Start(); _LoopTimer.Start();
} }
@@ -362,12 +363,12 @@ namespace Vocaluxe.Lib.Video
return true; return true;
} }
if (_Time - _SetTime >= 0 || _SetTime > Time) if (_SetTime != Time)
{ {
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
_SetTime = Time; _SetTime = Time;
VideoTime = _VideoTime; VideoTime = _CurrentVideoTime;
} }
UploadNewFrame(ref frame); UploadNewFrame(ref frame);
EventDecode.Set(); EventDecode.Set();
@@ -394,17 +395,15 @@ namespace Vocaluxe.Lib.Video
#region Threading #region Threading
private void DoSkip() private void DoSkip()
{ {
lock (MutexSyncSignals) string extension = Path.GetExtension(_FileName); //just a workaround for the mkv-search-bug in ffmpeg
{
_VideoSkipTime = _Gap;
_NegativeSkipTime = _Start + _Gap;
_SkipTime = _Start + _Gap;
_BeforeLoop = false;
}
if (_SkipTime > 0) _VideoSkipTime = _Gap;
_SkipTime = _Start + _Gap;
_BeforeLoop = false;
if (_SkipTime > 0 && extension != ".mkv")
{ {
_VideoTime = _SkipTime; _VideoDecoderTime = _SkipTime;
try try
{ {
CAcinerella.ac_seek(_videodecoder, -1, (Int64)(_SkipTime * 1000f)); CAcinerella.ac_seek(_videodecoder, -1, (Int64)(_SkipTime * 1000f));
@@ -417,10 +416,11 @@ namespace Vocaluxe.Lib.Video
} }
else else
{ {
_VideoTime = 0f; _VideoDecoderTime = 0f;
try try
{ {
CAcinerella.ac_seek(_videodecoder, -1, (Int64)0); if (extension != ".mkv")
CAcinerella.ac_seek(_videodecoder, -1, (Int64)0);
} }
catch (Exception e) catch (Exception e)
{ {
@@ -428,7 +428,10 @@ namespace Vocaluxe.Lib.Video
} }
} }
_ActualVideoTime = _VideoTime; lock (MutexSyncSignals)
{
_CurrentVideoTime = _VideoDecoderTime;
}
lock (MutexFramebuffer) lock (MutexFramebuffer)
{ {
@@ -439,32 +442,19 @@ namespace Vocaluxe.Lib.Video
} }
} }
_waiting = false; _BufferFull = false;
_skip = false;
EventDecode.Set();
} }
private void Execute() private void Execute()
{ {
DoOpen(); DoOpen();
EventDecode.Set();
while (!_terminated) while (!_terminated)
{ {
if (EventDecode.WaitOne(1) || !_waiting) if (EventDecode.WaitOne(10))
{
if (_skip)
{
DoSkip();
_skip = false;
}
if (!_waiting)
{
DoDecode();
}
if (_waiting)
Copy();
}
if (!_terminated)
{ {
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
@@ -477,8 +467,16 @@ namespace Vocaluxe.Lib.Video
_Start = _SetStart; _Start = _SetStart;
_Loop = _SetLoop; _Loop = _SetLoop;
} }
}
if (_skip)
DoSkip();
if (!_BufferFull)
DoDecode();
if (_BufferFull)
Copy();
}
} }
DoFree(); DoFree();
@@ -544,7 +542,7 @@ namespace Vocaluxe.Lib.Video
if (Videodecoder.stream_info.video_info.frames_per_second > 0) if (Videodecoder.stream_info.video_info.frames_per_second > 0)
_VideoTimeBase = 1f / (float)Videodecoder.stream_info.video_info.frames_per_second; _VideoTimeBase = 1f / (float)Videodecoder.stream_info.video_info.frames_per_second;
_VideoTime = 0f; _VideoDecoderTime = 0f;
_Time = 0f; _Time = 0f;
for (int i = 0; i < _FrameBuffer.Length; i++) for (int i = 0; i < _FrameBuffer.Length; i++)
@@ -563,14 +561,14 @@ namespace Vocaluxe.Lib.Video
if (!_FileOpened) if (!_FileOpened)
return; return;
if (_Paused || _NoMoreFrames) if (_Paused || _NoMoreFrames || _BufferFull)
return; return;
if ((_NegativeSkipTime < 0f) && (_Time + _NegativeSkipTime >= 0f)) if ((_SkipTime < 0f) && (_Time + _SkipTime >= 0f))
_NegativeSkipTime = 0f; _SkipTime = 0f;
float myTime = _Time + _VideoSkipTime; float myTime = _Time + _VideoSkipTime;
float TimeDifference = myTime - _VideoTime; float TimeDifference = myTime - _VideoDecoderTime;
bool DropFrame = false; bool DropFrame = false;
if (TimeDifference >= (FRAMEDROPCOUNT - 1) * _VideoTimeBase) if (TimeDifference >= (FRAMEDROPCOUNT - 1) * _VideoTimeBase)
@@ -595,17 +593,13 @@ namespace Vocaluxe.Lib.Video
if (!_BeforeLoop && (!DropFrame || FrameFinished != 0)) if (!_BeforeLoop && (!DropFrame || FrameFinished != 0))
{ {
lock (MutexFrame) try
{ {
try FrameFinished = CAcinerella.ac_get_frame(_instance, _videodecoder);
{ }
FrameFinished = CAcinerella.ac_get_frame(_instance, _videodecoder); catch (Exception)
} {
catch (Exception) CLog.LogError("Error AcGetFrame " + _FileName);
{
CLog.LogError("Error AcGetFrame " + _FileName);
}
} }
} }
@@ -637,7 +631,6 @@ namespace Vocaluxe.Lib.Video
lock (MutexSyncSignals) lock (MutexSyncSignals)
{ {
_ActualVideoTime = 0f;
_Start = 0f; _Start = 0f;
_Gap = 0f; _Gap = 0f;
_SetTime = 0f; _SetTime = 0f;
@@ -658,6 +651,7 @@ namespace Vocaluxe.Lib.Video
private void Copy() private void Copy()
{ {
int num = -1; int num = -1;
lock (MutexFramebuffer) lock (MutexFramebuffer)
{ {
for (int i = 0; i < _FrameBuffer.Length; i++) for (int i = 0; i < _FrameBuffer.Length; i++)
@@ -670,29 +664,37 @@ namespace Vocaluxe.Lib.Video
} }
if (num == -1) if (num == -1)
_waiting = true; {
_BufferFull = true;
}
else else
{ {
TAc_decoder Videodecoder = (TAc_decoder)Marshal.PtrToStructure(_videodecoder, typeof(TAc_decoder));
lock (MutexFrame) _VideoDecoderTime = (float)Videodecoder.timecode;
_FrameBuffer[num].time = _VideoDecoderTime;
if (Videodecoder.buffer != IntPtr.Zero)
{ {
TAc_decoder Videodecoder = (TAc_decoder)Marshal.PtrToStructure(_videodecoder, typeof(TAc_decoder)); Marshal.Copy(Videodecoder.buffer, _FrameBuffer[num].data, 0, _Width * _Height * 4);
_FrameBuffer[num].time = _VideoTime; _FrameBuffer[num].displayed = false;
_VideoTime = (float)Videodecoder.timecode;
if (Videodecoder.buffer != IntPtr.Zero)
{
Marshal.Copy(Videodecoder.buffer, _FrameBuffer[num].data, 0, _Width * _Height * 4);
_FrameBuffer[num].displayed = false;
}
} }
int numfull = 0;
for (int i = 0; i < _FrameBuffer.Length; i++)
{
if (!_FrameBuffer[i].displayed)
numfull++;
}
_waiting = false; if (numfull < _FrameBuffer.Length)
_BufferFull = false;
} }
} }
if (!_BufferFull)
EventDecode.Set();
} }
private void UploadNewFrame(ref STexture frame) private void UploadNewFrame(ref STexture frame)
@@ -715,8 +717,13 @@ namespace Vocaluxe.Lib.Video
{ {
CDraw.UpdateTexture(ref frame, ref _FrameBuffer[num].data); CDraw.UpdateTexture(ref frame, ref _FrameBuffer[num].data);
} }
_ActualVideoTime = _FrameBuffer[num].time;
lock (MutexSyncSignals)
{
_CurrentVideoTime = _FrameBuffer[num].time;
}
_Finished = false; _Finished = false;
EventDecode.Set();
} }
else else
{ {
@@ -724,7 +731,6 @@ namespace Vocaluxe.Lib.Video
_Finished = true; _Finished = true;
} }
} }
EventDecode.Set();
} }
private int FindFrame() private int FindFrame()
@@ -736,27 +742,28 @@ namespace Vocaluxe.Lib.Video
{ {
float td = _SetTime + _VideoSkipTime - _FrameBuffer[i].time; float td = _SetTime + _VideoSkipTime - _FrameBuffer[i].time;
if (td > _VideoTimeBase * 2)
{
_FrameBuffer[i].displayed = true;
}
if (!_FrameBuffer[i].displayed && (td < diff) && (td > _VideoTimeBase)) if (!_FrameBuffer[i].displayed && (td < diff) && (td > _VideoTimeBase))
{ {
diff = Math.Abs(_FrameBuffer[i].time - _SetTime - _VideoSkipTime); diff = Math.Abs(_FrameBuffer[i].time - _SetTime - _VideoSkipTime);
Result = i; Result = i;
} }
if (td > _VideoTimeBase * 2)
_FrameBuffer[i].displayed = true;
} }
if (Result != -1) if (Result != -1)
{
_FrameBuffer[Result].displayed = true; _FrameBuffer[Result].displayed = true;
}
return Result; return Result;
} }
private void DoFree() private void DoFree()
{ {
if (_package != IntPtr.Zero)
CAcinerella.ac_free_package(_package);
if (_videodecoder != IntPtr.Zero) if (_videodecoder != IntPtr.Zero)
CAcinerella.ac_free_decoder(_videodecoder); CAcinerella.ac_free_decoder(_videodecoder);
+24 -1
View File
@@ -137,8 +137,16 @@ namespace Vocaluxe.Menu
public bool Draw() public bool Draw()
{ {
bool ok = false; bool ok = false;
if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON) if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON && CConfig.VideosToBackground == EOffOn.TR_CONFIG_ON && CBackgroundMusic.Playing && CBackgroundMusic.SongHasVideo && CBackgroundMusic.VideoEnabled && !CBackgroundMusic.Disabled)
{
Pause();
ok = DrawBackgroundMusicVideo();
}
else if (_Theme.Type == EBackgroundTypes.Video && CConfig.VideoBackgrounds == EOffOn.TR_CONFIG_ON)
{
Resume();
ok = DrawVideo(); ok = DrawVideo();
}
if (_Theme.TextureName != String.Empty && if (_Theme.TextureName != String.Empty &&
(_Theme.Type == EBackgroundTypes.Texture || (_Theme.Type == EBackgroundTypes.Texture ||
@@ -206,6 +214,21 @@ namespace Vocaluxe.Menu
} }
return false; return false;
} }
private bool DrawBackgroundMusicVideo()
{
STexture VideoTexture = CBackgroundMusic.GetVideoTexture();
if (VideoTexture.height > 0)
{
RectangleF bounds = new RectangleF(0f, 0f, CSettings.iRenderW, CSettings.iRenderH);
RectangleF rect = new RectangleF(0f, 0f, VideoTexture.width, VideoTexture.height);
CHelper.SetRect(bounds, ref rect, rect.Width / rect.Height, EAspect.Crop);
CDraw.DrawTexture(VideoTexture, new SRectF(rect.X, rect.Y, rect.Width, rect.Height, CSettings.zFar / 4));
return true;
}
return false;
}
#endregion internal #endregion internal
#region ThemeEdit #region ThemeEdit
+3 -1
View File
@@ -41,6 +41,7 @@ namespace Vocaluxe.Menu
public float SReflectionHeight; public float SReflectionHeight;
private bool _Selected; private bool _Selected;
public bool Pressed;
public bool Selected public bool Selected
{ {
get { return _Selected; } get { return _Selected; }
@@ -234,7 +235,8 @@ namespace Vocaluxe.Menu
return; return;
STexture texture = new STexture(-1); STexture texture = new STexture(-1);
if (!Selected)
if (!Selected && !Pressed)
{ {
texture = CTheme.GetSkinTexture(_Theme.TextureName); texture = CTheme.GetSkinTexture(_Theme.TextureName);
CDraw.DrawTexture(texture, Rect, Color); CDraw.DrawTexture(texture, Rect, Color);
+23 -6
View File
@@ -31,6 +31,8 @@ namespace Vocaluxe.Menu
ScreenNames = 14, ScreenNames = 14,
ScreenCredits = 15,
ScreenNull = -1 ScreenNull = -1
} }
@@ -212,6 +214,7 @@ namespace Vocaluxe.Menu
{ {
// Add Screens, must be the same order as in EScreens! // Add Screens, must be the same order as in EScreens!
CLog.StartBenchmark(1, "Build Screen List"); CLog.StartBenchmark(1, "Build Screen List");
_Screens.Add(new CScreenTest()); _Screens.Add(new CScreenTest());
_Screens.Add(new CScreenLoad()); _Screens.Add(new CScreenLoad());
_Screens.Add(new CScreenMain()); _Screens.Add(new CScreenMain());
@@ -227,8 +230,10 @@ namespace Vocaluxe.Menu
_Screens.Add(new CScreenOptionsVideo()); _Screens.Add(new CScreenOptionsVideo());
_Screens.Add(new CScreenOptionsTheme()); _Screens.Add(new CScreenOptionsTheme());
_Screens.Add(new CScreenNames()); _Screens.Add(new CScreenNames());
_Screens.Add(new CScreenCredits());
_PopupScreens.Add(new CPopupScreenPlayerControl()); _PopupScreens.Add(new CPopupScreenPlayerControl());
CLog.StopBenchmark(1, "Build Screen List"); CLog.StopBenchmark(1, "Build Screen List");
_CurrentScreen = EScreens.ScreenLoad; _CurrentScreen = EScreens.ScreenLoad;
@@ -255,9 +260,12 @@ namespace Vocaluxe.Menu
for (int i = 0; i < _Screens.Count; i++) for (int i = 0; i < _Screens.Count; i++)
{ {
CLog.StartBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]); if (Enum.GetNames(typeof(EScreens))[i] != Enum.GetName(typeof(EScreens), (int)EScreens.ScreenCredits))
_Screens[i].LoadTheme(); {
CLog.StopBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]); CLog.StartBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
_Screens[i].LoadTheme();
CLog.StopBenchmark(1, "Load Theme " + Enum.GetNames(typeof(EScreens))[i]);
}
} }
for (int i = 0; i < _PopupScreens.Count; i++) for (int i = 0; i < _PopupScreens.Count; i++)
@@ -271,7 +279,10 @@ namespace Vocaluxe.Menu
ReloadCursor(); ReloadCursor();
for (int i = 0; i < _Screens.Count; i++) for (int i = 0; i < _Screens.Count; i++)
{ {
_Screens[i].ReloadTheme(); if (Enum.GetNames(typeof(EScreens))[i] != Enum.GetName(typeof(EScreens), (int)EScreens.ScreenCredits))
{
_Screens[i].ReloadTheme();
}
} }
for (int i = 0; i < _PopupScreens.Count; i++) for (int i = 0; i < _PopupScreens.Count; i++)
@@ -285,7 +296,10 @@ namespace Vocaluxe.Menu
ReloadCursor(); ReloadCursor();
for (int i = 0; i < _Screens.Count; i++) for (int i = 0; i < _Screens.Count; i++)
{ {
_Screens[i].ReloadTextures(); if (Enum.GetNames(typeof(EScreens))[i] != Enum.GetName(typeof(EScreens), (int)EScreens.ScreenCredits))
{
_Screens[i].ReloadTextures();
}
} }
for (int i = 0; i < _PopupScreens.Count; i++) for (int i = 0; i < _PopupScreens.Count; i++)
@@ -299,7 +313,10 @@ namespace Vocaluxe.Menu
CTheme.SaveTheme(); CTheme.SaveTheme();
for (int i = 0; i < _Screens.Count; i++) for (int i = 0; i < _Screens.Count; i++)
{ {
_Screens[i].SaveTheme(); if (Enum.GetNames(typeof(EScreens))[i] != Enum.GetName(typeof(EScreens), (int)EScreens.ScreenCredits))
{
_Screens[i].SaveTheme();
}
} }
for (int i = 0; i < _PopupScreens.Count; i++) for (int i = 0; i < _PopupScreens.Count; i++)
+195 -5
View File
@@ -15,7 +15,8 @@ namespace Vocaluxe.Menu
{ {
Fill, Fill,
Jump, Jump,
Slide Slide,
Zoom
} }
struct SNote struct SNote
@@ -23,6 +24,7 @@ namespace Vocaluxe.Menu
public string Text; public string Text;
public int StartBeat; public int StartBeat;
public int EndBeat; public int EndBeat;
public int Duration;
public ENoteType Type; public ENoteType Type;
} }
@@ -205,6 +207,7 @@ namespace Vocaluxe.Menu
n.Text = note.Text; n.Text = note.Text;
n.StartBeat = note.StartBeat; n.StartBeat = note.StartBeat;
n.EndBeat = note.EndBeat; n.EndBeat = note.EndBeat;
n.Duration = note.Duration;
n.Type = note.NoteType; n.Type = note.NoteType;
_Text.Text = note.Text; _Text.Text = note.Text;
@@ -229,6 +232,7 @@ namespace Vocaluxe.Menu
return _X - _width / 2; return _X - _width / 2;
} }
#region draw
public void Draw(float ActualBeat) public void Draw(float ActualBeat)
{ {
if (Visible || CSettings.GameState == EGameState.EditTheme) if (Visible || CSettings.GameState == EGameState.EditTheme)
@@ -236,12 +240,17 @@ namespace Vocaluxe.Menu
switch (_Style) switch (_Style)
{ {
case ELyricStyle.Fill: case ELyricStyle.Fill:
DrawFill(ActualBeat);
break; break;
case ELyricStyle.Jump: case ELyricStyle.Jump:
DrawJump(ActualBeat);
break; break;
case ELyricStyle.Slide: case ELyricStyle.Slide:
DrawSlide(ActualBeat); DrawSlide(ActualBeat);
break; break;
case ELyricStyle.Zoom:
DrawZoom(ActualBeat);
break;
default: default:
DrawSlide(ActualBeat); DrawSlide(ActualBeat);
break; break;
@@ -257,6 +266,8 @@ namespace Vocaluxe.Menu
{ {
_Text.X = x; _Text.X = x;
_Text.Style = EStyle.Bold; _Text.Style = EStyle.Bold;
_Text.Text = note.Text;
RectangleF rect = CDraw.GetTextBounds(_Text);
if (note.Type == ENoteType.Freestyle) if (note.Type == ENoteType.Freestyle)
_Text.Style = EStyle.BoldItalic; _Text.Style = EStyle.BoldItalic;
@@ -266,7 +277,7 @@ namespace Vocaluxe.Menu
if (CurrentBeat <= note.EndBeat) if (CurrentBeat <= note.EndBeat)
{ {
_Text.Color = ColorProcessed; _Text.Color = ColorProcessed;
_Text.Text = note.Text;
float diff = note.EndBeat - note.StartBeat; float diff = note.EndBeat - note.StartBeat;
if (diff == 0) if (diff == 0)
@@ -281,7 +292,6 @@ namespace Vocaluxe.Menu
else else
{ {
_Text.Color = ColorProcessed; _Text.Color = ColorProcessed;
_Text.Text = note.Text;
_Text.Draw(); _Text.Draw();
} }
@@ -289,14 +299,194 @@ namespace Vocaluxe.Menu
else else
{ {
_Text.Color = Color; _Text.Color = Color;
_Text.Text = note.Text;
_Text.Draw(); _Text.Draw();
} }
RectangleF rect = CDraw.GetTextBounds(_Text);
x += rect.Width; x += rect.Width;
} }
} }
private void DrawZoom(float CurrentBeat)
{
float x = _X - _width / 2; // most left position
//find last active note
int last_note = -1;
for (int i = 0; i < _Notes.Count; i++)
{
if (CurrentBeat >= _Notes[i].StartBeat)
last_note = i;
}
int zoom_note = -1;
float zoomx = 0f;
int current_note = -1;
foreach (SNote note in _Notes)
{
current_note++;
_Text.X = x;
_Text.Style = EStyle.Bold;
_Text.Text = note.Text;
RectangleF rect = CDraw.GetTextBounds(_Text);
if (note.Type == ENoteType.Freestyle)
_Text.Style = EStyle.BoldItalic;
if (CurrentBeat >= note.StartBeat)
{
if (CurrentBeat <= note.EndBeat)
{
zoom_note = current_note;
zoomx = _Text.X;
}
else
{
// already passed
if (current_note == last_note)
_Text.Color = ColorProcessed;
else
_Text.Color = Color;
_Text.Draw();
}
}
else
{
// not passed
_Text.Color = Color;
_Text.Draw();
}
x += rect.Width;
}
if (zoom_note > -1)
{
if (_Notes[zoom_note].Duration == 0)
return;
_Text.X = zoomx;
_Text.Text = _Notes[zoom_note].Text;
_Text.Color = ColorProcessed;
_Text.Style = EStyle.Bold;
if (_Notes[zoom_note].Type == ENoteType.Freestyle)
_Text.Style = EStyle.BoldItalic;
RectangleF rect = CDraw.GetTextBounds(_Text);
float diff = _Notes[zoom_note].EndBeat - _Notes[zoom_note].StartBeat;
float p = (CurrentBeat - _Notes[zoom_note].StartBeat) / _Notes[zoom_note].Duration;
if (p > 1f)
p = 1f;
p = 1f - p;
float ty = _Text.Y;
float tx = _Text.X;
float th = _Text.Height;
float tz = _Text.Z;
_Text.Height += _Text.Height * p * 0.4f;
RectangleF rectz = CDraw.GetTextBounds(_Text);
_Text.X -= (rectz.Width - rect.Width) / 2f;
_Text.Y -= (rectz.Height - rect.Height) / 2f;
_Text.Z -= 0.1f;
_Text.Draw();
_Text.Y = ty;
_Text.X = tx;
_Text.Height = th;
_Text.Z = tz;
}
}
private void DrawFill(float CurrentBeat)
{
float x = _X - _width / 2; // most left position
foreach (SNote note in _Notes)
{
_Text.X = x;
_Text.Style = EStyle.Bold;
_Text.Text = note.Text;
RectangleF rect = CDraw.GetTextBounds(_Text);
if (note.Type == ENoteType.Freestyle)
_Text.Style = EStyle.BoldItalic;
if (CurrentBeat >= note.StartBeat)
{
_Text.Color = ColorProcessed;
_Text.Draw();
}
else
{
// not passed
_Text.Color = Color;
_Text.Draw();
}
x += rect.Width;
}
}
private void DrawJump(float CurrentBeat)
{
float x = _X - _width / 2; // most left position
foreach (SNote note in _Notes)
{
_Text.X = x;
_Text.Style = EStyle.Bold;
_Text.Text = note.Text;
RectangleF rect = CDraw.GetTextBounds(_Text);
if (note.Type == ENoteType.Freestyle)
_Text.Style = EStyle.BoldItalic;
if (CurrentBeat >= note.StartBeat)
{
if (CurrentBeat <= note.EndBeat)
{
_Text.Color = ColorProcessed;
float diff = note.EndBeat - note.StartBeat;
if (diff == 0)
_Text.Draw();
else
{
float y = _Text.Y;
_Text.Y -= _Text.Height * 0.1f;
_Text.Draw();
_Text.Y = y;
}
}
else
{
// already passed
_Text.Color = Color;
_Text.Draw();
}
}
else
{
// not passed
_Text.Color = Color;
_Text.Draw();
}
x += rect.Width;
}
}
#endregion draw
public void UnloadTextures() public void UnloadTextures()
{ {
} }
+9
View File
@@ -423,6 +423,9 @@ namespace Vocaluxe.Menu
CurrentColor = new SColorF(SColor); CurrentColor = new SColorF(SColor);
SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha); SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha);
CFonts.SetFont(Fon);
CFonts.Style = Style;
CFonts.DrawText(CLanguage.Translate(Text), h, x, y, Z, color); CFonts.DrawText(CLanguage.Translate(Text), h, x, y, Z, color);
if (Reflection) if (Reflection)
@@ -461,6 +464,9 @@ namespace Vocaluxe.Menu
CurrentColor = new SColorF(SColor); CurrentColor = new SColorF(SColor);
SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha); SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha);
CFonts.SetFont(Fon);
CFonts.Style = Style;
CFonts.DrawText(Text, Height, x, Y, Z, color, begin, end); CFonts.DrawText(Text, Height, x, Y, Z, color, begin, end);
if (Reflection) if (Reflection)
@@ -520,6 +526,9 @@ namespace Vocaluxe.Menu
CurrentColor = new SColorF(SColor); CurrentColor = new SColorF(SColor);
SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha); SColorF color = new SColorF(CurrentColor.R, CurrentColor.G, CurrentColor.B, CurrentColor.A * Alpha);
CFonts.SetFont(Fon);
CFonts.Style = Style;
CFonts.DrawText(CLanguage.Translate(Text), h, x, y, Z, color); CFonts.DrawText(CLanguage.Translate(Text), h, x, y, Z, color);
if (reflection) if (reflection)
+1 -1
View File
@@ -394,7 +394,7 @@ namespace Vocaluxe.Menu.SongMenu
if (_streams.Count > 0 && _video != -1) if (_streams.Count > 0 && _video != -1)
{ {
if (CVideo.VdFinished(_video)) if (CVideo.VdFinished(_video) || CSound.IsFinished(_actsongstream))
{ {
CVideo.VdClose(_video); CVideo.VdClose(_video);
_video = -1; _video = -1;
+26 -9
View File
@@ -86,13 +86,6 @@ namespace Vocaluxe
Application.DoEvents(); Application.DoEvents();
// Init Background Music
CLog.StartBenchmark(0, "Init Background Music");
CBackgroundMusic.Init();
CLog.StopBenchmark(0, "Init Background Music");
Application.DoEvents();
// Init Profiles // Init Profiles
CLog.StartBenchmark(0, "Init Profiles"); CLog.StartBenchmark(0, "Init Profiles");
CProfiles.Init(); CProfiles.Init();
@@ -121,6 +114,13 @@ namespace Vocaluxe
Application.DoEvents(); Application.DoEvents();
// Init Background Music
CLog.StartBenchmark(0, "Init Background Music");
CBackgroundMusic.Init();
CLog.StopBenchmark(0, "Init Background Music");
Application.DoEvents();
// Theme System // Theme System
CLog.StartBenchmark(0, "Init Theme"); CLog.StartBenchmark(0, "Init Theme");
CTheme.InitTheme(); CTheme.InitTheme();
@@ -192,6 +192,8 @@ namespace Vocaluxe
class SplashScreen : Form class SplashScreen : Form
{ {
Bitmap logo;
public SplashScreen() public SplashScreen()
{ {
string path = Path.Combine(Environment.CurrentDirectory, Path.Combine(CSettings.sFolderGraphics, CSettings.sLogo)); string path = Path.Combine(Environment.CurrentDirectory, Path.Combine(CSettings.sFolderGraphics, CSettings.sLogo));
@@ -199,9 +201,8 @@ namespace Vocaluxe
{ {
try try
{ {
Bitmap logo = new Bitmap(path); logo = new Bitmap(path);
this.ClientSize = new Size(logo.Width, logo.Height); this.ClientSize = new Size(logo.Width, logo.Height);
this.BackgroundImage = logo;
} }
catch (Exception e) catch (Exception e)
{ {
@@ -227,10 +228,26 @@ namespace Vocaluxe
else else
CLog.LogError("Can't find " + path); CLog.LogError("Can't find " + path);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.BackColor = Color.Transparent;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Text = CSettings.sProgramName; this.Text = CSettings.sProgramName;
this.CenterToScreen(); this.CenterToScreen();
this.Show(); this.Show();
} }
protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
{
}
protected override void OnPaintBackground(System.Windows.Forms.PaintEventArgs e)
{
if (logo == null)
return;
Graphics g = e.Graphics;
g.DrawImage(logo, new Rectangle(0, 0, this.Width, this.Height));
}
} }
} }
+95 -7
View File
@@ -7,6 +7,7 @@ using System.Windows.Forms;
using Vocaluxe.Base; using Vocaluxe.Base;
using Vocaluxe.Lib.Draw; using Vocaluxe.Lib.Draw;
using Vocaluxe.Menu; using Vocaluxe.Menu;
using Vocaluxe.Lib.Song;
namespace Vocaluxe.Screens namespace Vocaluxe.Screens
{ {
@@ -16,13 +17,60 @@ namespace Vocaluxe.Screens
const int ScreenVersion = 1; const int ScreenVersion = 1;
private const string StaticBG = "StaticBG"; private const string StaticBG = "StaticBG";
private const string Cover = "Cover"; private const string StaticCover = "StaticCover";
private const string ButtonPrevious = "ButtonPrevious"; private const string ButtonPrevious = "ButtonPrevious";
private const string ButtonPlay = "ButtonPlay"; private const string ButtonPlay = "ButtonPlay";
private const string ButtonPause = "ButtonPause"; private const string ButtonPause = "ButtonPause";
private const string ButtonNext = "ButtonNext"; private const string ButtonNext = "ButtonNext";
private const string ButtonRepeat = "ButtonRepeat"; private const string ButtonRepeat = "ButtonRepeat";
private const string ButtonShowVideo = "ButtonShowVideo";
private const string ButtonSing = "ButtonSing";
private const string ButtonToBackgroundVideo = "ButtonToBackgroundVideo";
private const string TextCurrentSong = "TextCurrentSong";
private bool _VideoPreview = false;
private bool VideoPreview
{
get
{
return _VideoPreview;
}
set
{
_VideoPreview = value;
if (!_VideoPreview && !VideoBackground)
CBackgroundMusic.VideoEnabled = false;
else
CBackgroundMusic.VideoEnabled = true;
}
}
private bool VideoBackground
{
get
{
return CConfig.VideosToBackground == EOffOn.TR_CONFIG_ON;
}
set
{
if (!value)
{
if (CConfig.VideosToBackground == EOffOn.TR_CONFIG_ON)
{
CConfig.VideosToBackground = EOffOn.TR_CONFIG_OFF;
if (!_VideoPreview)
CBackgroundMusic.VideoEnabled = false;
}
}
else
{
CConfig.VideosToBackground = EOffOn.TR_CONFIG_ON;
CBackgroundMusic.VideoEnabled = true;
}
CConfig.SaveConfig();
}
}
public CPopupScreenPlayerControl() public CPopupScreenPlayerControl()
{ {
@@ -36,7 +84,8 @@ namespace Vocaluxe.Screens
_ThemeName = "PopupScreenPlayerControl"; _ThemeName = "PopupScreenPlayerControl";
_ScreenVersion = ScreenVersion; _ScreenVersion = ScreenVersion;
_ThemeStatics = new string[] { StaticBG, Cover }; _ThemeStatics = new string[] { StaticBG, StaticCover };
_ThemeTexts = new string[] { TextCurrentSong };
List<string> buttons = new List<string>(); List<string> buttons = new List<string>();
buttons.Add(ButtonPlay); buttons.Add(ButtonPlay);
@@ -44,6 +93,9 @@ namespace Vocaluxe.Screens
buttons.Add(ButtonPrevious); buttons.Add(ButtonPrevious);
buttons.Add(ButtonNext); buttons.Add(ButtonNext);
buttons.Add(ButtonRepeat); buttons.Add(ButtonRepeat);
buttons.Add(ButtonShowVideo);
buttons.Add(ButtonSing);
buttons.Add(ButtonToBackgroundVideo);
_ThemeButtons = buttons.ToArray(); _ThemeButtons = buttons.ToArray();
} }
@@ -81,6 +133,12 @@ namespace Vocaluxe.Screens
CBackgroundMusic.Pause(); CBackgroundMusic.Pause();
if (Buttons[htButtons(ButtonRepeat)].Selected) if (Buttons[htButtons(ButtonRepeat)].Selected)
CBackgroundMusic.Repeat(); CBackgroundMusic.Repeat();
if (Buttons[htButtons(ButtonShowVideo)].Selected)
VideoPreview = !VideoPreview;
if (Buttons[htButtons(ButtonSing)].Selected)
StartSong(CBackgroundMusic.SongID, CBackgroundMusic.Duet);
if (Buttons[htButtons(ButtonToBackgroundVideo)].Selected)
VideoBackground = !VideoBackground;
break; break;
} }
} }
@@ -103,13 +161,19 @@ namespace Vocaluxe.Screens
CBackgroundMusic.Pause(); CBackgroundMusic.Pause();
if (Buttons[htButtons(ButtonRepeat)].Selected) if (Buttons[htButtons(ButtonRepeat)].Selected)
CBackgroundMusic.Repeat(); CBackgroundMusic.Repeat();
if (Buttons[htButtons(ButtonShowVideo)].Selected)
VideoPreview = !VideoPreview;
if (Buttons[htButtons(ButtonSing)].Selected)
StartSong(CBackgroundMusic.SongID, CBackgroundMusic.Duet);
if (Buttons[htButtons(ButtonToBackgroundVideo)].Selected)
VideoBackground = !VideoBackground;
} else if (MouseEvent.LB) } else if (MouseEvent.LB)
{ {
CGraphics.HidePopup(EPopupScreens.PopupPlayerControl); //CGraphics.HidePopup(EPopupScreens.PopupPlayerControl);
return false; return false;
} else if (MouseEvent.RB) } else if (MouseEvent.RB)
{ {
CGraphics.HidePopup(EPopupScreens.PopupPlayerControl); //CGraphics.HidePopup(EPopupScreens.PopupPlayerControl);
return false; return false;
} }
return true; return true;
@@ -117,23 +181,47 @@ namespace Vocaluxe.Screens
public override bool UpdateGame() public override bool UpdateGame()
{ {
Buttons[htButtons(ButtonPause)].Visible = CBackgroundMusic.IsPlaying();
Buttons[htButtons(ButtonPlay)].Visible = !CBackgroundMusic.IsPlaying(); Statics[htStatics(StaticCover)].Visible = !_VideoPreview || !CBackgroundMusic.SongHasVideo;
Buttons[htButtons(ButtonToBackgroundVideo)].Pressed = VideoBackground;
Buttons[htButtons(ButtonShowVideo)].Pressed = _VideoPreview;
return true; return true;
} }
public override void OnShow() public override void OnShow()
{ {
base.OnShow(); base.OnShow();
} }
public override bool Draw() public override bool Draw()
{ {
if (!_Active) if (!_Active)
return false; return false;
Statics[htStatics(StaticCover)].Texture = CBackgroundMusic.Cover;
if (CBackgroundMusic.VideoEnabled && VideoPreview && CBackgroundMusic.SongHasVideo)
CDraw.DrawTexture(Statics[htStatics(StaticCover)], CBackgroundMusic.GetVideoTexture(), EAspect.Crop);
Buttons[htButtons(ButtonPause)].Visible = CBackgroundMusic.Playing;
Buttons[htButtons(ButtonPlay)].Visible = !CBackgroundMusic.Playing;
Texts[htTexts(TextCurrentSong)].Text = CBackgroundMusic.ArtistAndTitle;
return base.Draw(); return base.Draw();
} }
private void StartSong(int SongNr, bool Duet)
{
if (SongNr >= 0 && CSongs.SongsLoaded)
{
if (Duet)
CGame.SetGameMode(GameModes.EGameMode.Duet);
else
CGame.SetGameMode(GameModes.EGameMode.Normal);
CGame.Reset();
CGame.ClearSongs();
CGame.AddSong(SongNr);
CGraphics.FadeTo(EScreens.ScreenNames);
}
}
} }
} }
+367
View File
@@ -0,0 +1,367 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Windows.Forms;
using Vocaluxe.Base;
using Vocaluxe.Lib.Draw;
using Vocaluxe.Menu;
enum EDirection
{
Left,
Right,
Up
}
class CCreditName
{
public CStatic image;
public CParticleEffect particle;
public SRectF particleRect;
public EDirection direction;
public float StartTimeUp;
public bool active;
}
namespace Vocaluxe.Screens
{
class CScreenCredits :CMenu
{
// Version number for theme files. Increment it, if you've changed something on the theme files!
const int ScreenVersion = 1;
private CStatic logo;
private CParticleEffect starsRed;
private CParticleEffect starsBlue;
private List<CCreditName> _CreditNames;
private Stopwatch LogoTimer;
private Stopwatch CreditsTimer;
public CScreenCredits()
{
Init();
}
protected override void Init()
{
base.Init();
_ThemeName = "ScreenCredits";
_ScreenVersion = ScreenVersion;
LogoTimer = new Stopwatch();
CreditsTimer = new Stopwatch();
}
public override bool HandleInput(KeyEvent KeyEvent)
{
if (KeyEvent.KeyPressed && !Char.IsControl(KeyEvent.Unicode))
{
}
else
{
switch (KeyEvent.Key)
{
case Keys.Escape:
case Keys.Back:
CGraphics.FadeTo(EScreens.ScreenMain);
break;
case Keys.Enter:
CGraphics.FadeTo(EScreens.ScreenMain);
break;
}
}
return true;
}
public override bool HandleMouse(MouseEvent MouseEvent)
{
if (MouseEvent.LB && IsMouseOver(MouseEvent))
{
}
if (MouseEvent.LB)
{
CGraphics.FadeTo(EScreens.ScreenMain);
}
if (MouseEvent.RB)
{
CGraphics.FadeTo(EScreens.ScreenMain);
}
return true;
}
public override bool UpdateGame()
{
if (!animation())
{
CGraphics.FadeTo(EScreens.ScreenMain);
}
return true;
}
public override void OnShow()
{
STexture tex = new STexture();
STexture particleTex = new STexture();
//Vocaluxe-Logo
CDataBase.GetCreditsRessource("Logo_voc.png", ref tex);
logo = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF((CSettings.iRenderW - tex.width)/2, -270 , tex.width, tex.height, -2));
//Little stars for logo
CDataBase.GetCreditsRessource("PerfectNoteStar.png", ref particleTex);
int numstars = (int)(logo.Rect.W * 0.25f /2f);
starsRed = new CParticleEffect(numstars, new SColorF(1, 0, 0, 1), new SRectF(logo.Rect.X, logo.Rect.Y, logo.Rect.W, logo.Rect.H, -1), particleTex, 35, EParticeType.Star);
starsBlue = new CParticleEffect(numstars, new SColorF(0.149f, 0.415f, 0.819f, 1), new SRectF(logo.Rect.X, logo.Rect.Y, logo.Rect.W, logo.Rect.H, -1), particleTex, 35, EParticeType.Star);
//Credit names
_CreditNames = new List<CCreditName>();
CCreditName CreditEntry = new CCreditName();
//brunzel
CDataBase.GetCreditsRessource("brunzel.png", ref tex);
CCreditName CreditEntryBrunzel = new CCreditName();
CreditEntryBrunzel.image = new CStatic(tex, new SColorF(1,1,1,1), new SRectF(-450, 580, 400, 120, -4));
CreditEntryBrunzel.particleRect = new SRectF(CreditEntryBrunzel.image.Rect.X + 342, CreditEntryBrunzel.image.Rect.Y + 4, 30, 30, -5);
CreditEntryBrunzel.particle = new CParticleEffect(8, new SColorF(1, 0, 0, 1), CreditEntryBrunzel.particleRect, particleTex, 35, EParticeType.Star);
CreditEntryBrunzel.active = true;
CreditEntryBrunzel.direction = EDirection.Left;
_CreditNames.Add(CreditEntryBrunzel);
//Darkice
CDataBase.GetCreditsRessource("Darkice.png", ref tex);
CCreditName CreditEntryDarkice = new CCreditName();
CreditEntryDarkice.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(CSettings.iRenderW, 580, 400, 120, -4));
CreditEntryDarkice.particleRect = new SRectF(CreditEntryDarkice.image.Rect.X + 242, CreditEntryDarkice.image.Rect.Y + 23, 30, 30, -5);
CreditEntryDarkice.particle = new CParticleEffect(8, new SColorF(0.149f, 0.415f ,0.819f, 1), CreditEntryDarkice.particleRect, particleTex, 35, EParticeType.Star);
CreditEntryDarkice.active = true;
CreditEntryDarkice.direction = EDirection.Right;
_CreditNames.Add(CreditEntryDarkice);
//flokuep
CDataBase.GetCreditsRessource("flokuep.png", ref tex);
CCreditName CreditEntryFlokuep = new CCreditName();
CreditEntryFlokuep.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(-450, 580, 400, 120, -4));
CreditEntryFlokuep.particleRect = new SRectF(CreditEntryFlokuep.image.Rect.X + 141, CreditEntryFlokuep.image.Rect.Y-2, 30, 30, -5);
CreditEntryFlokuep.particle = new CParticleEffect(8, new SColorF(1, 0, 0, 1), CreditEntryFlokuep.particleRect, particleTex, 35, EParticeType.Star);
CreditEntryFlokuep.active = true;
CreditEntryFlokuep.direction = EDirection.Left;
_CreditNames.Add(CreditEntryFlokuep);
//bohning
CDataBase.GetCreditsRessource("bohning.png", ref tex);
CCreditName CreditEntryBohning = new CCreditName();
CreditEntryBohning.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(CSettings.iRenderW, 580, 350, 110, -4));
CreditEntryBohning.particleRect = new SRectF(CreditEntryBohning.image.Rect.X + 172, CreditEntryBohning.image.Rect.Y + 16, 10, 10, -5);
CreditEntryBohning.particle = new CParticleEffect(4, new SColorF(0.149f, 0.415f ,0.819f, 1), CreditEntryBohning.particleRect, particleTex, 25, EParticeType.Star);
CreditEntryBohning.active = true;
CreditEntryBohning.direction = EDirection.Right;
_CreditNames.Add(CreditEntryBohning);
//mesand
CDataBase.GetCreditsRessource("mesand.png", ref tex);
CCreditName CreditEntryMesand = new CCreditName();
CreditEntryMesand.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(-450, 580, 350, 110, -4));
CreditEntryMesand.particleRect = new SRectF(CreditEntryMesand.image.Rect.X + 240, CreditEntryMesand.image.Rect.Y - 2, 10, 10, -5);
CreditEntryMesand.particle = new CParticleEffect(4, new SColorF(1, 0, 0, 1), CreditEntryMesand.particleRect, particleTex, 25, EParticeType.Star);
CreditEntryMesand.active = true;
CreditEntryMesand.direction = EDirection.Left;
_CreditNames.Add(CreditEntryMesand);
//babene03
CDataBase.GetCreditsRessource("babene03.png", ref tex);
CCreditName CreditEntryBabene03 = new CCreditName();
CreditEntryBabene03.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(CSettings.iRenderW, 580, 350, 110, -4));
CreditEntryBabene03.particleRect = new SRectF(CreditEntryBabene03.image.Rect.X + 7, CreditEntryBabene03.image.Rect.Y + 4, 10, 10, -5);
CreditEntryBabene03.particle = new CParticleEffect(4, new SColorF(0.149f, 0.415f ,0.819f, 1), CreditEntryBabene03.particleRect, particleTex, 25, EParticeType.Star);
CreditEntryBabene03.active = true;
CreditEntryBabene03.direction = EDirection.Right;
_CreditNames.Add(CreditEntryBabene03);
//pantero
CDataBase.GetCreditsRessource("pantero.png", ref tex);
CCreditName CreditEntrypantero = new CCreditName();
CreditEntrypantero.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(-450, 580, 350, 110, -4));
CreditEntrypantero.particleRect = new SRectF(CreditEntrypantero.image.Rect.X + 140, CreditEntrypantero.image.Rect.Y + 15, 10, 10, -5);
CreditEntrypantero.particle = new CParticleEffect(4, new SColorF(1, 0, 0, 1), CreditEntrypantero.particleRect, particleTex, 25, EParticeType.Star);
CreditEntrypantero.active = true;
CreditEntrypantero.direction = EDirection.Left;
_CreditNames.Add(CreditEntrypantero);
//Pinky007
CDataBase.GetCreditsRessource("Pinky007.png", ref tex);
CCreditName CreditEntryPinky007 = new CCreditName();
CreditEntryPinky007.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(CSettings.iRenderW, 580, 350, 110, -4));
CreditEntryPinky007.particleRect = new SRectF(CreditEntryPinky007.image.Rect.X + 42, CreditEntryPinky007.image.Rect.Y + 15, 10, 10, -5);
CreditEntryPinky007.particle = new CParticleEffect(4, new SColorF(0.149f, 0.415f ,0.819f, 1), CreditEntryPinky007.particleRect, particleTex, 25, EParticeType.Star);
CreditEntryPinky007.active = true;
CreditEntryPinky007.direction = EDirection.Right;
_CreditNames.Add(CreditEntryPinky007);
//CreditEntry.image = new CStatic(tex, new SColorF(1, 1, 1, 1), new SRectF(0, 0, 350, 110, -4));
}
public override void OnShowFinish()
{
base.OnShowFinish();
LogoTimer.Start();
}
public override bool Draw()
{
base.Draw();
//Draw background
CDraw.DrawColor(new SColorF(0, 0.18f, 0.474f, 1), new SRectF(0, 0, CSettings.iRenderW, CSettings.iRenderH, 0));
//Draw stars
starsBlue.Update();
starsBlue.Draw();
starsRed.Update();
starsRed.Draw();
logo.Draw();
//Draw credit-entries
for (int i = 0; i < _CreditNames.Count; i++)
{
if (_CreditNames[i].active)
{
_CreditNames[i].image.Draw();
_CreditNames[i].particle.Update();
_CreditNames[i].particle.Draw();
}
}
return true;
}
private bool animation()
{
bool active = false;
if (LogoTimer.IsRunning)
{
active = true;
logo.Rect.Y = -270 + (270f / 3000f) * LogoTimer.ElapsedMilliseconds;
SRectF rect = new SRectF(logo.Rect.X, logo.Rect.Y, logo.Rect.W, logo.Rect.H, -1);
starsRed.Area = rect;
starsBlue.Area = rect;
if (LogoTimer.ElapsedMilliseconds >= 2000 && !CreditsTimer.IsRunning)
{
CreditsTimer.Start();
}
if (LogoTimer.ElapsedMilliseconds >= 3000)
{
LogoTimer.Stop();
LogoTimer.Reset();
}
}
if (CreditsTimer.IsRunning)
{
active = true;
for (int i = 0; i < _CreditNames.Count; i++)
{
if (_CreditNames[i].active)
{
switch (_CreditNames[i].direction)
{
case EDirection.Left:
if (i * 4000f <= CreditsTimer.ElapsedMilliseconds)
{
float xOld = _CreditNames[i].image.Rect.X;
_CreditNames[i].image.Rect.X = -450 + (((CSettings.iRenderW - _CreditNames[i].image.Rect.W) / 2)/3000f) * (CreditsTimer.ElapsedMilliseconds-(i*4000f));
_CreditNames[i].particleRect.X += (_CreditNames[i].image.Rect.X - xOld);
_CreditNames[i].particle.Area = _CreditNames[i].particleRect;
//Check if name is in middle of screen and should go up
if (_CreditNames[i].image.Rect.X >= (CSettings.iRenderW - _CreditNames[i].image.Rect.W) / 2)
{
_CreditNames[i].direction = EDirection.Up;
_CreditNames[i].StartTimeUp = CreditsTimer.ElapsedMilliseconds;
}
}
break;
case EDirection.Right:
if (i * 4000f <= CreditsTimer.ElapsedMilliseconds)
{
float xOld = _CreditNames[i].image.Rect.X;
_CreditNames[i].image.Rect.X = CSettings.iRenderW - (((CSettings.iRenderW - _CreditNames[i].image.Rect.W) / 2) / 3000f) * (CreditsTimer.ElapsedMilliseconds - (i * 4000f));
_CreditNames[i].particleRect.X -= (xOld - _CreditNames[i].image.Rect.X);
_CreditNames[i].particle.Area = _CreditNames[i].particleRect;
//Check if name is in middle of screen and should go up
if (_CreditNames[i].image.Rect.X <= (CSettings.iRenderW - _CreditNames[i].image.Rect.W) / 2 )
{
_CreditNames[i].direction = EDirection.Up;
_CreditNames[i].StartTimeUp = CreditsTimer.ElapsedMilliseconds;
}
}
break;
case EDirection.Up:
float yOld = _CreditNames[i].image.Rect.Y;
_CreditNames[i].image.Rect.Y = 580 - (430f / 3000f) * (CreditsTimer.ElapsedMilliseconds - _CreditNames[i].StartTimeUp);
_CreditNames[i].particleRect.Y -= (yOld - _CreditNames[i].image.Rect.Y);
_CreditNames[i].particle.Area = _CreditNames[i].particleRect;
//Fade names out
if (_CreditNames[i].image.Rect.Y <= 350f)
{
//Catch some bad alpha-values
float alpha = ((250 - _CreditNames[i].image.Rect.Y) / 20);
if(alpha > 1)
{
alpha = 1;
}
else if(alpha < 0)
{
alpha = 0;
}
_CreditNames[i].image.Alpha = 1 - alpha;
}
//Set name inactive
if (_CreditNames[i].image.Rect.Y <= 150f)
{
_CreditNames[i].active = false;
//Check, if last name is set to false
if (i == _CreditNames.Count - 1)
{
//Will later fade to Main-Screen
active = false;
//Stop and reset timer for next time
CreditsTimer.Stop();
CreditsTimer.Reset();
}
}
break;
}
}
}
}
return active;
}
}
}
+2 -2
View File
@@ -138,7 +138,7 @@ namespace Vocaluxe.Screens
_SongLoaderThread.Start(); _SongLoaderThread.Start();
_timer.Start(); _timer.Start();
if (!CBackgroundMusic.IsPlaying()) if (!CBackgroundMusic.Playing)
CBackgroundMusic.Next(); CBackgroundMusic.Next();
} }
@@ -177,7 +177,7 @@ namespace Vocaluxe.Screens
{ {
CBackgroundMusic.AddOwnMusic(); CBackgroundMusic.AddOwnMusic();
if (!CBackgroundMusic.IsPlaying()) if (!CBackgroundMusic.Playing)
CBackgroundMusic.Next(); CBackgroundMusic.Next();
} }
+4
View File
@@ -65,6 +65,10 @@ namespace Vocaluxe.Screens
CGraphics.FadeTo(EScreens.ScreenSong); CGraphics.FadeTo(EScreens.ScreenSong);
break; break;
case Keys.C:
CGraphics.FadeTo(EScreens.ScreenCredits);
break;
case Keys.Enter: case Keys.Enter:
if (Buttons[htButtons(ButtonSing)].Selected) if (Buttons[htButtons(ButtonSing)].Selected)
CGraphics.FadeTo(EScreens.ScreenSong); CGraphics.FadeTo(EScreens.ScreenSong);
+1 -1
View File
@@ -12,7 +12,7 @@ namespace Vocaluxe.Screens
class CScreenOptionsSound : CMenu class CScreenOptionsSound : CMenu
{ {
// Version number for theme files. Increment it, if you've changed something on the theme files! // Version number for theme files. Increment it, if you've changed something on the theme files!
const int ScreenVersion = 1; const int ScreenVersion = 2;
private const string SelectSlideBackgroundMusic = "SelectSlideBackgroundMusic"; private const string SelectSlideBackgroundMusic = "SelectSlideBackgroundMusic";
private const string SelectSlideBackgroundMusicVolume = "SelectSlideBackgroundMusicVolume"; private const string SelectSlideBackgroundMusicVolume = "SelectSlideBackgroundMusicVolume";
+7 -2
View File
@@ -12,11 +12,12 @@ namespace Vocaluxe.Screens
class CScreenOptionsVideo : CMenu class CScreenOptionsVideo : CMenu
{ {
// Version number for theme files. Increment it, if you've changed something on the theme files! // Version number for theme files. Increment it, if you've changed something on the theme files!
const int ScreenVersion = 1; const int ScreenVersion = 2;
private const string SelectSlideVideoBackgrounds = "SelectSlideVideoBackgrounds"; private const string SelectSlideVideoBackgrounds = "SelectSlideVideoBackgrounds";
private const string SelectSlideVideoPreview = "SelectSlideVideoPreview"; private const string SelectSlideVideoPreview = "SelectSlideVideoPreview";
private const string SelectSlideVideosInSongs = "SelectSlideVideosInSongs"; private const string SelectSlideVideosInSongs = "SelectSlideVideosInSongs";
private const string SelectSlideVideosToBackground = "SelectSlideVideosToBackground";
private const string ButtonExit = "ButtonExit"; private const string ButtonExit = "ButtonExit";
@@ -33,7 +34,7 @@ namespace Vocaluxe.Screens
_ScreenVersion = ScreenVersion; _ScreenVersion = ScreenVersion;
_ThemeButtons = new string[] { ButtonExit }; _ThemeButtons = new string[] { ButtonExit };
_ThemeSelectSlides = new string[] { SelectSlideVideoBackgrounds, SelectSlideVideoPreview, SelectSlideVideosInSongs }; _ThemeSelectSlides = new string[] { SelectSlideVideoBackgrounds, SelectSlideVideoPreview, SelectSlideVideosInSongs, SelectSlideVideosToBackground };
} }
public override void LoadTheme() public override void LoadTheme()
@@ -43,6 +44,7 @@ namespace Vocaluxe.Screens
SelectSlides[htSelectSlides(SelectSlideVideoBackgrounds)].SetValues<EOffOn>((int)CConfig.VideoBackgrounds); SelectSlides[htSelectSlides(SelectSlideVideoBackgrounds)].SetValues<EOffOn>((int)CConfig.VideoBackgrounds);
SelectSlides[htSelectSlides(SelectSlideVideoPreview)].SetValues<EOffOn>((int)CConfig.VideoPreview); SelectSlides[htSelectSlides(SelectSlideVideoPreview)].SetValues<EOffOn>((int)CConfig.VideoPreview);
SelectSlides[htSelectSlides(SelectSlideVideosInSongs)].SetValues<EOffOn>((int)CConfig.VideosInSongs); SelectSlides[htSelectSlides(SelectSlideVideosInSongs)].SetValues<EOffOn>((int)CConfig.VideosInSongs);
SelectSlides[htSelectSlides(SelectSlideVideosToBackground)].SetValues<EOffOn>((int)CConfig.VideosToBackground);
} }
public override bool HandleInput(KeyEvent KeyEvent) public override bool HandleInput(KeyEvent KeyEvent)
@@ -110,6 +112,7 @@ namespace Vocaluxe.Screens
public override bool UpdateGame() public override bool UpdateGame()
{ {
SelectSlides[htSelectSlides(SelectSlideVideosToBackground)].Selection = (int)CConfig.VideosToBackground;
return true; return true;
} }
@@ -124,6 +127,8 @@ namespace Vocaluxe.Screens
CConfig.VideoBackgrounds = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideoBackgrounds)].Selection; CConfig.VideoBackgrounds = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideoBackgrounds)].Selection;
CConfig.VideoPreview = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideoPreview)].Selection; CConfig.VideoPreview = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideoPreview)].Selection;
CConfig.VideosInSongs = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideosInSongs)].Selection; CConfig.VideosInSongs = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideosInSongs)].Selection;
CConfig.VideosToBackground = (EOffOn)SelectSlides[htSelectSlides(SelectSlideVideosToBackground)].Selection;
CBackgroundMusic.VideoEnabled = true;
CConfig.SaveConfig(); CConfig.SaveConfig();
} }
+40 -9
View File
@@ -326,7 +326,7 @@ namespace Vocaluxe.Screens
} }
SetVisuability(); SetVisuability();
CBackgroundMusic.Pause(); CBackgroundMusic.Disabled = true;
} }
public override void OnShowFinish() public override void OnShowFinish()
@@ -335,7 +335,7 @@ namespace Vocaluxe.Screens
CGame.Start(); CGame.Start();
LoadNextSong(); LoadNextSong();
CBackgroundMusic.Pause(); CBackgroundMusic.Disabled = true;
} }
public override bool Draw() public override bool Draw()
@@ -383,15 +383,15 @@ namespace Vocaluxe.Screens
break; break;
} }
Lyrics[htLyrics(LyricMain)].Draw(CGame.Beat);
Lyrics[htLyrics(LyricSub)].Draw(-100); Lyrics[htLyrics(LyricSub)].Draw(-100);
Lyrics[htLyrics(LyricMain)].Draw(CGame.Beat);
Lyrics[htLyrics(LyricMainDuet)].Draw(CGame.Beat);
Lyrics[htLyrics(LyricSubDuet)].Draw(-100); Lyrics[htLyrics(LyricSubDuet)].Draw(-100);
Lyrics[htLyrics(LyricMainDuet)].Draw(CGame.Beat);
Lyrics[htLyrics(LyricMainTop)].Draw(CGame.Beat);
Lyrics[htLyrics(LyricSubTop)].Draw(-100); Lyrics[htLyrics(LyricSubTop)].Draw(-100);
Lyrics[htLyrics(LyricMainTop)].Draw(CGame.Beat);
for (int i = 0; i < CGame.NumPlayer; i++) for (int i = 0; i < CGame.NumPlayer; i++)
{ {
@@ -418,6 +418,7 @@ namespace Vocaluxe.Screens
public override void OnClose() public override void OnClose()
{ {
base.OnClose(); base.OnClose();
CBackgroundMusic.Disabled = false;
CloseSong(); CloseSong();
} }
@@ -582,6 +583,7 @@ namespace Vocaluxe.Screens
lines[i] = song.Notes.GetLines(i); lines[i] = song.Notes.GetLines(i);
CLine[] line = lines[i].Line; CLine[] line = lines[i].Line;
// find current line (it must be the same as in CalcFadingAlpha)
int nr = -1; int nr = -1;
for (int j = 0; j < line.Length; j++) for (int j = 0; j < line.Length; j++)
{ {
@@ -850,6 +852,20 @@ namespace Vocaluxe.Screens
lines[i] = Song.Notes.GetLines(i); lines[i] = Song.Notes.GetLines(i);
CLine[] line = lines[i].Line; CLine[] line = lines[i].Line;
// find current line for lyric sub fading (it must be the same as in UpdateLyrics)
int CurrentLineSub = 0;
for (int j = 0; j < line.Length; j++)
{
if (line[j].StartBeat <= _CurrentBeat)
{
if (CGame.GetTimeFromBeats(line[j].FirstBeat, Song.BPM) <= _CurrentTime - Song.Gap + 10f)
{
CurrentLineSub = j;
}
}
}
// find current line for lyric main fading
int CurrentLine = 0; int CurrentLine = 0;
for (int j = 0; j < line.Length; j++) for (int j = 0; j < line.Length; j++)
{ {
@@ -863,9 +879,11 @@ namespace Vocaluxe.Screens
Alpha[i * 2] = 1f; Alpha[i * 2] = 1f;
Alpha[i * 2 + 1] = 1f; Alpha[i * 2 + 1] = 1f;
// main // main line alpha
if (CurrentLine == 0 && CurrentTime < CGame.GetTimeFromBeats(line[CurrentLine].FirstBeat, Song.BPM)) if (CurrentLine == 0 && CurrentTime < CGame.GetTimeFromBeats(line[CurrentLine].FirstBeat, Song.BPM))
{ {
// first main line and fist note is not reached
// => fade in
float diff = CGame.GetTimeFromBeats(line[CurrentLine].FirstBeat, Song.BPM) - CurrentTime; float diff = CGame.GetTimeFromBeats(line[CurrentLine].FirstBeat, Song.BPM) - CurrentTime;
if (diff > dt) if (diff > dt)
{ {
@@ -875,20 +893,29 @@ namespace Vocaluxe.Screens
else if (CurrentLine < line.Length - 1 && CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM) < CurrentTime && else if (CurrentLine < line.Length - 1 && CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM) < CurrentTime &&
CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) > CurrentTime) CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) > CurrentTime)
{ {
// current position is between two lines
// time between the to lines
float diff = CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) - float diff = CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) -
CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM); CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM);
// fade only if there is enough time for fading
if (diff > 3.3f * dt) if (diff > 3.3f * dt)
{ {
// time elapsed since last line
float last = CurrentTime - CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM); float last = CurrentTime - CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM);
// time to next line
float next = CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) - CurrentTime; float next = CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) - CurrentTime;
if (last < next) if (last < next)
{ {
// fade out
Alpha[i * 2] = 1f - last / rt; Alpha[i * 2] = 1f - last / rt;
} }
else else
{ {
// fade in if it is time for
if (next > dt) if (next > dt)
Alpha[i * 2] = 1f - (next - dt) / rt; Alpha[i * 2] = 1f - (next - dt) / rt;
} }
@@ -896,14 +923,18 @@ namespace Vocaluxe.Screens
} }
else if (CurrentLine == line.Length - 1 && CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM) < CurrentTime) else if (CurrentLine == line.Length - 1 && CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM) < CurrentTime)
{ {
// last main line and last note was reached
// => fade out
float diff = CurrentTime - CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM); float diff = CurrentTime - CGame.GetTimeFromBeats(line[CurrentLine].LastBeat, Song.BPM);
Alpha[i * 2] = 1f - diff / rt; Alpha[i * 2] = 1f - diff / rt;
} }
// sub // sub
if (CurrentLine < line.Length - 2) if (CurrentLineSub < line.Length - 2)
{ {
float diff = CGame.GetTimeFromBeats(line[CurrentLine + 1].FirstBeat, Song.BPM) - CurrentTime; float diff = 0f;
diff = CGame.GetTimeFromBeats(line[CurrentLineSub + 1].FirstBeat, Song.BPM) - CurrentTime;
if (diff > dt) if (diff > dt)
{ {
Alpha[i * 2 + 1] = 1f - (diff - dt) / rt; Alpha[i * 2 + 1] = 1f - (diff - dt) / rt;
+3 -2
View File
@@ -173,12 +173,12 @@ namespace Vocaluxe.Screens
if ((CSongs.Category >= 0) && (song >= 0) && song < CSongs.VisibleSongs.Length) if ((CSongs.Category >= 0) && (song >= 0) && song < CSongs.VisibleSongs.Length)
{ {
Texts[htTexts(TextSelection)].Text = CSongs.VisibleSongs[song].Artist + " - " + CSongs.VisibleSongs[song].Title; Texts[htTexts(TextSelection)].Text = CSongs.VisibleSongs[song].Artist + " - " + CSongs.VisibleSongs[song].Title;
CBackgroundMusic.Pause(); CBackgroundMusic.Disabled = true;
} }
else if ((CSongs.Category == -1) && (song >= 0) && song < CSongs.Categories.Length) else if ((CSongs.Category == -1) && (song >= 0) && song < CSongs.Categories.Length)
{ {
Texts[htTexts(TextSelection)].Text = CSongs.Categories[song].Name; Texts[htTexts(TextSelection)].Text = CSongs.Categories[song].Name;
CBackgroundMusic.Play(); CBackgroundMusic.Disabled = false;
} }
else else
Texts[htTexts(TextSelection)].Text = String.Empty; Texts[htTexts(TextSelection)].Text = String.Empty;
@@ -213,6 +213,7 @@ namespace Vocaluxe.Screens
public override void OnClose() public override void OnClose()
{ {
base.OnClose(); base.OnClose();
CBackgroundMusic.Disabled = false;
SongMenus[htSongMenus(SongMenu)].OnHide(); SongMenus[htSongMenus(SongMenu)].OnHide();
} }
+1
View File
@@ -188,6 +188,7 @@
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="Screens\CPopupScreenPlayerControl.cs" /> <Compile Include="Screens\CPopupScreenPlayerControl.cs" />
<Compile Include="Screens\CScreenCredits.cs" />
<Compile Include="Screens\CScreenHighscore.cs" /> <Compile Include="Screens\CScreenHighscore.cs" />
<Compile Include="Screens\CScreenLoad.cs" /> <Compile Include="Screens\CScreenLoad.cs" />
<Compile Include="Screens\CScreenMain.cs" /> <Compile Include="Screens\CScreenMain.cs" />