cod4-sdk/raw/ui/blurredbg.inc
2008-01-19 00:00:00 +00:00

62 lines
No EOL
1.3 KiB
SourcePawn

#undef FOG_SCROLL_TIME
#define FOG_SCROLL_TIME 60000 //30000
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "animbg_blur_back"
visible when( dvarString( fs_game ) == "" );
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect -107 0 1708 480
exp rect X((-107) - ((float(milliseconds() % FOG_SCROLL_TIME) / FOG_SCROLL_TIME) * (854)))
background "animbg_blur_fogscroll"
visible when( dvarString( fs_game ) == "" );
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "animbg_blur_front"
visible when( dvarString( fs_game ) == "" );
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "animbg_blur_back"
forecolor 0.8 0.8 1 1
visible when( dvarString( fs_game ) != "" );
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect -107 0 1708 480
exp rect X((-107) - ((float(milliseconds() % FOG_SCROLL_TIME) / FOG_SCROLL_TIME) * (854)))
background "animbg_blur_fogscroll"
forecolor 0.8 0.8 1 1
visible when( dvarString( fs_game ) != "" );
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "animbg_blur_front"
forecolor 0.8 0.8 1 1
visible when( dvarString( fs_game ) != "" );
decoration
}