]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/normal.menu
-Added some #define constants and a template for Item_List.
[divverent/nexuiz.git] / scmenu / normal.menu
1 // Property of Alientrap
2 //
3 // Normal main menu
4 Item Window Normal
5 {
6         key     Nex_Global_Key
7         size    '1024 768'
8         Derive Rect Modulate
9         {
10                 color           '0.6 0.6 0.7'
11                 drawFlag        [DrawFlagModulate]
12         }
13         Derive Rect AddLevel
14         {
15                 color           '0.3 0.3 0.3'
16                 drawFlag        [DrawFlagAdditive]
17         }
18         Derive Picture NexuizLogo
19         {
20                 picture         "gfx/m_background"
21                 pos             '0 0'
22                 size            '1024 768'
23                 alpha           0.5
24
25 Ignore
26 {
27                 Item Effect_Float AlphaPulse
28                 {
29                         targetFloat      alpha
30                         startFloat       0.8
31                         endFloat         0.4
32                         time             '2 2 -1'
33                         interpolForward  FX_SquareInterpolation
34                         interpolBackward FX_SquareInterpolation
35                 }
36                 Item Effect_Vector ColorPulse
37                 {
38                         targetVector    color
39                         startVector     "0 0 0"
40                         endVector       "0.1 0 0.05"
41                         time            '2 2 -1'
42                         interpolForward FX_SquareInterpolation
43                         interpolBackward FX_SquareInterpolation
44                 }
45 }
46         }
47
48         // Include the main menu as first sub window
49         #include "menu/main.menu"
50
51         Item Task_Job PanelReinit
52         {
53                 // this is a automation init function (dont change this to reinit!)
54                 init    Nex_Action_SetLinkOnReinit
55                 target  "Panel::NexuizLogo"
56         }
57         Item Reference Panel
58         {
59                 pos     '62 127'
60                 size    '900 650'
61
62                 // The first thing you should see is our cool logo!
63                 Derive Picture NexuizLogo
64                 {
65                         picture "gfx/m_strength"
66                         pos     '100 30'
67                         size    '700 600'
68                 }
69         }
70
71         #include "menu/credits.menu"
72         #include "menu/quit.menu"
73 }
74
75