cod5-sdk/raw/ui/sp_top_bg.inc
2008-11-20 00:00:00 +00:00

57 lines
1 KiB
C++

//TOP LEVEL BACKGROUND FOR SINGLE PLAYER MENUS
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "animbg_blur_back"
visible 1
decoration
}
#undef FOG_SCROLL_TIME
#define FOG_SCROLL_TIME 60000 //30000
#undef THINFOG_SCROLL_TIME
#define THINFOG_SCROLL_TIME 50000 //50000
itemDef
{
style WINDOW_STYLE_SHADER
rect FULLSCREEN_WIDE
background "menu_background_sp"
visible 1
decoration
}
itemDef
{
style WINDOW_STYLE_SHADER
rect -107 0 1708 480
exp rect X((-961) + ((float(milliseconds() % THINFOG_SCROLL_TIME) / THINFOG_SCROLL_TIME) * (854)))
background "animbg_fogscrollthin"
visible 1
decoration
}
// top black border
itemDef
{
style WINDOW_STYLE_SHADER
rect -107 0 854 66
forecolor 1 1 1 1
background "menu_black_line"
visible 1
decoration
}
// bottom black border
itemDef
{
style WINDOW_STYLE_SHADER
rect -107 420 854 70
forecolor 1 1 1 1
background "menu_black_line"
visible 1
decoration
}
#include "ui/sepia.inc"