lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menu / normal.menu
1 // Property of Alientrap
2 //
3 // Normal main menu
4 Item Task_Job WelcomeSound
5 {
6         target  "announcer/male/welcome.ogg"
7         reinit  Nex_Action_PlaySoundOnce
8 }
9 Item Window Normal
10 {
11         key     Nex_Global_Key
12         size    '1024 768'
13
14         Derive Rect Modulate
15         {
16                 color           '0.6 0.6 0.7'
17                 drawFlag        [DrawFlagModulate]
18         }
19 Ignore
20 {
21         Derive Rect AddLevel
22         {
23                 color           '0.3 0.3 0.3'
24                 drawFlag        [DrawFlagAdditive]
25         }
26 }
27         Derive Picture NexuizLogo
28         {
29                 picture         "gfx/background"
30                 pos             '0 0'
31                 size            '1024 768'
32                 //alpha         0.5
33
34 Ignore
35 {
36                 Item Effect_Float AlphaPulse
37                 {
38                         targetFloat      alpha
39                         startFloat       0.8
40                         endFloat         0.4
41                         time             '2 2 -1'
42                         interpolForward  FX_SquareInterpolation
43                         interpolBackward FX_SquareInterpolation
44                 }
45                 Item Effect_Vector ColorPulse
46                 {
47                         targetVector    color
48                         startVector     "0 0 0"
49                         endVector       "0.1 0 0.05"
50                         time            '2 2 -1'
51                         interpolForward FX_SquareInterpolation
52                         interpolBackward FX_SquareInterpolation
53                 }
54 }
55         }
56
57         // Include the main menu as first sub window
58         #include "menu/main.menu"
59
60         Item Task_Job PanelReinit
61         {
62                 // this is a automation init function (dont change this to reinit!)
63                 init    Nex_Action_SetLinkOnReinit
64                 //target        "Panel::NexuizLogo"
65         }
66         Item Reference Panel
67         {
68                 pos     '62 110'
69                 size    '938 650'
70         }
71
72         //Derive TextButton
73         //{
74         //}
75
76 // global floating windows
77 #include "menu/credits.menu"
78 #include "menu/messagebox.menu"
79 #include "menu/quit.menu"
80 }