1
0
forked from 0ad/0ad

First crack at loading screen (though need to figure out a way to move session loading to next frame to get it to actually stay on the screen). Some preliminary work on sub-windows.

This was SVN commit r1489.
This commit is contained in:
Acumen 2004-12-12 19:34:38 +00:00
parent aa1442e8f8
commit 24abb51b59
28 changed files with 2609 additions and 1727 deletions

View File

@ -163,6 +163,9 @@ hotkey.flipgui.toggle = "Alt+G" ; Toggle GUI to top or bottom of screen.
; (TEMPORARY)
hotkey.alwayson.toggle = "Shift+X" ; Toggle always ons (Exit Button, End Game Button).
; > SUBMENU KEYS
hotkey.menu.game = "F10" ; Toggle in-game menu.
; > HOTKEYS ONLY
hotkey.onlinehelp = "F1" ; Enable/disable online manual entry for current selection.
hotkey.endgame = "Alt+X" ; End current game session and return to main menu.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
64 64
96
12
32 0 0 0 0 0 0 3
33 27 64 1 7 0 7 2
34 12 46 3 3 0 8 4
35 33 7 7 7 0 7 7
36 28 9 5 9 0 7 6
37 1 7 9 7 0 7 10
38 41 7 7 7 0 7 7
39 40 3 1 3 0 8 2
40 24 64 3 10 0 8 4
41 28 64 3 10 0 8 4
42 29 23 5 5 0 8 6
43 21 31 5 5 1 6 7
44 50 36 2 4 0 2 3
45 61 48 3 1 0 4 4
46 48 58 1 2 1 2 3
47 40 64 4 9 0 8 4
48 58 64 4 7 0 7 5
49 40 54 3 7 1 7 5
50 58 56 4 7 0 7 5
51 0 54 4 7 0 7 5
52 40 23 5 7 0 7 5
53 4 54 4 7 0 7 5
54 8 54 4 7 0 7 5
55 12 54 4 7 0 7 5
56 24 54 4 7 0 7 5
57 28 54 4 7 0 7 5
58 0 5 1 5 1 5 4
59 16 33 2 7 0 5 4
60 1 37 5 5 1 5 7
61 52 52 6 3 0 5 7
62 7 37 5 5 1 5 7
63 32 54 4 7 0 7 5
64 0 64 8 9 0 7 9
65 58 15 6 7 0 7 7
66 46 23 5 7 0 7 6
67 16 17 6 7 0 7 7
68 22 17 6 7 0 7 7
69 52 23 5 7 0 7 6
70 58 23 5 7 0 7 6
71 28 17 6 7 0 7 7
72 0 23 6 7 0 7 7
73 44 54 3 7 0 7 4
74 48 52 3 7 0 7 4
75 12 25 5 7 0 7 6
76 36 54 4 7 0 7 5
77 49 7 7 7 0 7 8
78 6 23 6 7 0 7 7
79 57 7 7 7 0 7 8
80 18 25 5 7 0 7 6
81 8 64 7 9 0 7 8
82 24 25 5 7 0 7 6
83 0 31 5 7 0 7 6
84 6 31 5 7 0 7 6
85 34 23 6 7 0 7 7
86 1 15 7 7 -1 7 6
87 10 7 9 7 0 7 10
88 30 31 5 7 0 7 6
89 36 31 5 7 0 7 6
90 42 31 5 7 0 7 6
91 32 64 3 10 0 8 4
92 44 64 4 9 0 8 4
93 36 64 3 10 0 8 4
94 16 50 6 3 0 7 7
95 7 46 5 1 0 -1 5
96 16 10 2 2 1 8 5
97 26 31 4 5 0 5 5
98 34 16 5 8 0 8 6
99 38 37 4 5 0 5 5
100 40 16 5 8 0 8 6
101 42 37 4 5 0 5 5
102 12 34 3 8 0 8 3
103 48 31 5 7 0 5 6
104 46 16 5 8 0 8 6
105 62 64 1 7 0 7 2
106 56 64 2 9 0 7 3
107 52 16 5 8 0 8 6
108 19 8 1 8 0 8 2
109 49 58 7 5 0 5 8
110 20 37 5 5 0 5 6
111 26 37 5 5 0 5 6
112 53 31 5 7 0 5 6
113 59 31 5 7 0 5 6
114 58 48 3 5 0 5 4
115 0 46 3 5 0 5 4
116 18 33 2 7 0 7 3
117 32 37 5 5 0 5 6
118 16 56 7 5 -1 5 6
119 48 64 8 5 -1 5 8
120 46 37 4 5 0 5 5
121 9 15 7 7 -1 5 6
122 4 46 3 5 0 5 4
123 20 10 4 10 0 8 5
124 15 64 1 10 1 8 4
125 24 10 4 10 0 8 5
126 52 48 6 3 0 5 7
65533 16 64 8 8 1 8 10

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
64 64
96
13
32 0 0 0 0 0 0 3
33 63 8 1 8 1 8 4
34 44 40 3 3 0 9 4
35 33 8 7 8 0 8 8
36 29 64 5 11 0 9 6
37 0 8 10 8 0 8 11
38 40 8 7 8 0 8 7
39 24 14 1 3 0 9 2
40 34 64 3 11 0 9 4
41 37 64 3 11 0 9 4
42 30 35 5 5 0 9 6
43 46 15 7 7 0 7 8
44 22 15 2 4 0 3 4
45 25 47 3 1 0 4 4
46 28 55 1 2 1 2 4
47 40 64 3 11 0 9 4
48 53 16 5 8 0 8 6
49 6 47 3 8 1 8 6
50 7 18 5 8 0 8 6
51 12 18 5 8 0 8 6
52 58 18 5 8 0 8 6
53 17 19 5 8 0 8 6
54 46 23 5 8 0 8 6
55 0 24 5 8 0 8 6
56 22 24 5 8 0 8 6
57 27 24 5 8 0 8 6
58 42 22 1 6 1 6 4
59 9 47 3 8 0 6 4
60 46 53 6 7 1 8 8
61 12 30 7 3 0 5 8
62 0 47 6 7 1 8 8
63 37 32 4 8 0 8 5
64 11 64 9 9 0 8 10
65 25 8 8 8 -1 8 7
66 32 24 5 8 0 8 6
67 10 55 6 8 0 8 7
68 16 55 6 8 0 8 7
69 37 24 5 8 0 8 6
70 51 24 5 8 0 8 6
71 22 55 6 8 0 8 7
72 53 55 6 8 0 8 7
73 12 47 3 8 0 8 4
74 54 34 4 8 0 8 5
75 5 26 5 8 0 8 6
76 58 34 4 8 0 8 5
77 47 8 7 8 0 8 8
78 28 53 6 8 0 8 7
79 54 8 7 8 0 8 8
80 10 26 5 8 0 8 6
81 10 10 7 10 0 8 8
82 34 53 6 8 0 8 7
83 56 26 5 8 0 8 6
84 15 27 5 8 0 8 6
85 40 53 6 8 0 8 7
86 0 16 7 8 -1 8 6
87 0 64 11 8 -1 8 10
88 25 16 7 8 -1 8 6
89 32 16 7 8 -1 8 6
90 42 31 5 8 0 8 6
91 43 64 3 11 0 9 4
92 46 64 3 11 0 9 4
93 49 64 3 11 0 9 4
94 18 47 7 4 0 8 8
95 0 40 6 1 0 -1 6
96 7 10 2 2 1 9 6
97 52 47 5 6 0 6 6
98 53 64 5 9 0 9 6
99 40 45 4 6 0 6 5
100 58 64 5 9 0 9 6
101 46 46 5 6 0 6 6
102 59 55 3 9 0 9 4
103 0 32 5 8 0 6 6
104 0 56 5 9 0 9 6
105 63 16 1 8 0 8 2
106 61 10 2 10 0 8 3
107 5 56 5 9 0 9 5
108 63 64 1 9 0 9 2
109 30 30 7 6 0 6 8
110 57 46 5 6 0 6 6
111 25 45 5 6 0 6 6
112 20 32 5 8 0 6 6
113 25 32 5 8 0 6 6
114 22 43 3 6 0 6 4
115 18 43 4 6 0 6 5
116 15 47 3 8 0 8 4
117 30 45 5 6 0 6 6
118 47 30 7 6 -1 6 6
119 5 32 7 6 0 6 8
120 35 45 5 6 0 6 6
121 39 16 7 8 -1 6 6
122 51 41 4 6 0 6 5
123 17 11 4 11 0 9 5
124 52 64 1 11 1 9 4
125 21 11 4 11 0 9 5
126 12 33 7 3 0 5 8
65533 20 64 9 9 1 9 11

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
128 64
96
14
32 0 64 0 0 0 0 4
33 126 64 2 9 1 9 4
34 8 52 4 4 0 9 5
35 62 54 7 9 1 9 9
36 36 64 6 12 0 9 7
37 12 64 11 9 0 9 12
38 54 64 9 9 0 9 8
39 126 54 2 4 0 9 3
40 21 12 5 12 0 9 5
41 26 12 4 12 0 9 5
42 119 12 7 6 0 9 7
43 41 42 7 7 1 7 9
44 88 12 3 4 0 1 4
45 8 48 3 1 1 4 5
46 10 12 2 2 0 2 3
47 94 64 6 11 -1 9 5
48 24 44 6 9 0 9 6
49 106 9 4 9 1 9 6
50 120 44 5 9 1 9 7
51 30 44 6 9 0 9 7
52 70 54 7 9 -1 9 6
53 52 44 6 9 0 9 7
54 78 54 7 9 0 9 7
55 58 44 6 9 1 9 7
56 64 44 6 9 0 9 6
57 86 54 7 9 0 9 7
58 50 15 2 7 1 7 4
59 91 10 3 10 1 7 4
60 94 8 6 8 1 8 8
61 72 34 6 4 1 6 8
62 100 8 6 8 1 8 8
63 0 42 5 9 0 9 5
64 10 10 10 10 0 9 11
65 64 64 9 9 -1 9 7
66 102 54 7 9 0 9 7
67 102 64 8 9 0 9 8
68 110 64 8 9 0 9 8
69 110 54 7 9 0 9 7
70 70 44 6 9 0 9 6
71 118 64 8 9 0 9 9
72 118 54 7 9 0 9 8
73 48 42 3 9 1 9 5
74 36 42 5 9 -1 9 5
75 12 54 8 9 0 9 7
76 76 44 6 9 0 9 6
77 20 54 8 9 0 9 9
78 0 52 7 9 0 9 8
79 74 64 9 9 0 9 9
80 82 44 6 9 0 9 6
81 1 12 9 12 0 9 9
82 28 54 8 9 0 9 7
83 36 52 7 9 0 9 7
84 44 52 7 9 0 9 7
85 94 52 7 9 0 9 8
86 84 64 9 9 -1 9 7
87 24 64 11 9 0 9 11
88 8 44 7 9 0 9 7
89 54 54 8 9 -1 9 7
90 88 44 6 9 0 9 6
91 30 12 4 12 0 9 5
92 52 11 5 11 0 9 5
93 34 12 4 12 0 9 5
94 118 5 8 5 0 9 9
95 95 9 7 1 0 -1 7
96 103 10 3 2 1 10 7
97 12 34 6 7 -1 7 6
98 102 44 6 9 0 9 6
99 18 34 6 7 -1 7 5
100 108 44 6 9 -1 9 6
101 95 42 7 7 -1 7 6
102 110 9 4 9 0 9 4
103 58 10 6 10 -1 7 6
104 114 44 6 9 0 9 7
105 126 9 2 9 0 9 3
106 38 12 4 12 -1 9 4
107 16 44 7 9 0 9 6
108 42 17 2 9 0 9 3
109 42 7 10 7 0 7 11
110 24 34 6 7 0 7 7
111 5 34 7 7 -1 7 6
112 64 10 6 10 0 7 6
113 70 10 6 10 -1 7 6
114 45 15 5 7 0 7 4
115 30 34 6 7 0 7 6
116 114 9 4 9 0 9 4
117 42 34 6 7 0 7 7
118 52 34 6 7 0 7 6
119 82 7 9 7 0 7 9
120 58 34 6 7 0 7 6
121 76 10 6 10 0 7 6
122 83 15 5 7 0 7 5
123 42 64 6 12 0 9 6
124 100 64 2 12 1 9 5
125 48 64 6 12 0 9 6
126 64 34 8 3 0 5 9
65533 1 64 11 11 0 10 11

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
128 64
96
17
32 0 64 0 0 0 0 4
33 8 42 3 10 1 10 5
34 110 44 6 4 0 11 6
35 10 32 8 10 1 10 10
36 26 14 8 14 0 11 8
37 0 10 14 10 0 10 14
38 64 10 10 10 0 10 9
39 93 56 3 4 0 11 3
40 53 64 5 14 0 11 5
41 34 14 6 14 0 11 6
42 72 38 7 6 1 11 9
43 18 50 8 8 1 8 10
44 58 19 4 5 0 2 4
45 34 54 4 2 1 5 6
46 8 12 3 2 1 2 4
47 52 13 6 13 -1 11 5
48 58 32 8 10 0 10 8
49 120 40 5 10 2 10 8
50 106 64 7 10 1 10 8
51 114 64 7 10 1 10 8
52 66 32 8 10 0 10 8
53 78 56 7 10 0 10 7
54 74 32 8 10 0 10 8
55 122 64 6 10 1 10 8
56 82 32 8 10 0 10 8
57 90 32 8 10 0 10 8
58 101 44 3 8 1 8 5
59 124 11 4 11 0 8 5
60 93 52 7 9 1 9 9
61 56 37 8 5 1 7 10
62 11 50 7 9 1 9 9
63 86 56 7 10 0 10 6
64 1 64 13 12 0 10 13
65 74 10 10 10 -1 10 8
66 104 20 9 10 0 10 8
67 114 20 9 10 0 10 9
68 84 10 10 10 0 10 10
69 18 34 8 10 0 10 8
70 26 54 7 10 0 10 7
71 94 10 10 10 0 10 10
72 8 22 9 10 0 10 9
73 34 34 4 10 1 10 6
74 122 54 6 10 -1 10 5
75 18 24 9 10 0 10 8
76 106 54 7 10 0 10 7
77 104 10 10 10 0 10 10
78 28 24 9 10 0 10 9
79 41 10 11 10 0 10 11
80 26 34 8 10 0 10 7
81 14 64 11 13 0 10 11
82 48 24 9 10 0 10 8
83 104 30 9 10 0 10 8
84 48 34 8 10 0 10 8
85 114 30 9 10 0 10 9
86 114 10 10 10 -1 10 8
87 25 64 13 10 0 10 13
88 0 32 9 10 0 10 8
89 38 32 9 10 0 10 8
90 114 54 7 10 0 10 7
91 58 64 5 14 0 11 5
92 58 13 6 13 0 11 5
93 64 64 5 14 0 11 5
94 110 36 10 6 0 10 10
95 18 14 8 2 0 -1 8
96 48 13 4 3 1 12 8
97 34 50 8 8 0 8 8
98 0 21 8 11 0 11 7
99 76 46 7 8 0 8 7
100 40 21 8 11 0 11 8
101 42 50 8 8 0 8 7
102 98 33 5 11 0 11 5
103 64 21 8 11 0 8 8
104 72 21 8 11 0 11 8
105 38 42 3 10 0 10 3
106 72 64 5 13 -1 10 4
107 80 21 8 11 0 11 7
108 123 23 3 11 0 11 3
109 77 64 11 8 0 8 11
110 50 50 8 8 0 8 8
111 1 52 9 8 0 8 8
112 88 21 8 11 0 8 7
113 96 21 8 11 0 8 8
114 66 44 5 8 0 8 5
115 84 46 7 8 0 8 6
116 104 41 5 11 0 11 5
117 58 50 8 8 0 8 8
118 0 44 7 8 0 8 7
119 88 64 11 8 0 8 10
120 26 44 7 8 0 8 7
121 99 64 7 11 0 8 7
122 100 52 6 8 0 8 6
123 38 64 7 14 0 11 7
124 69 64 3 14 1 11 5
125 46 64 7 14 0 11 6
126 66 50 10 5 0 7 10
65533 14 12 12 12 1 11 14

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
128 128
96
19
32 0 0 0 0 0 0 5
33 30 12 2 12 2 12 5
34 32 33 5 5 1 12 7
35 70 12 10 12 1 12 12
36 33 15 7 15 1 12 9
37 16 12 14 12 1 12 16
38 40 128 11 12 1 12 11
39 80 128 2 5 1 12 4
40 75 128 5 15 1 12 7
41 83 128 5 15 1 12 6
42 11 88 9 7 0 12 9
43 0 33 9 9 1 10 11
44 36 112 4 5 0 2 5
45 80 23 4 3 1 7 6
46 66 116 2 3 1 3 4
47 41 15 7 15 -1 12 6
48 120 128 8 12 1 12 9
49 94 100 6 12 2 12 9
50 24 24 7 12 1 12 9
51 72 24 7 12 1 12 9
52 43 116 9 12 -1 12 8
53 96 24 7 12 1 12 8
54 120 116 8 12 1 12 9
55 104 24 7 12 1 12 9
56 112 112 8 12 1 12 9
57 36 104 8 12 1 12 9
58 0 128 2 9 2 9 5
59 116 100 4 12 1 9 5
60 108 100 8 10 2 10 12
61 20 88 9 6 1 8 12
62 32 92 8 10 2 10 12
63 112 24 7 12 1 12 8
64 3 128 13 15 1 12 15
65 52 128 11 12 -1 12 10
66 44 104 8 12 1 12 9
67 55 116 9 12 1 12 10
68 3 112 9 12 1 12 11
69 52 104 8 12 1 12 9
70 120 24 7 12 1 12 8
71 82 12 10 12 1 12 11
72 15 112 9 12 1 12 11
73 47 28 5 12 1 12 7
74 102 100 6 12 0 12 7
75 27 112 9 12 1 12 9
76 32 28 7 12 1 12 8
77 94 12 10 12 1 12 12
78 67 112 9 12 1 12 11
79 106 12 10 12 1 12 12
80 120 104 8 12 1 12 9
81 30 128 10 15 1 12 12
82 79 112 9 12 1 12 9
83 0 100 8 12 1 12 9
84 91 112 9 12 0 12 9
85 103 112 9 12 1 12 11
86 64 128 11 12 -1 12 10
87 1 12 15 12 0 12 14
88 118 12 10 12 0 12 9
89 2 24 10 12 0 12 9
90 8 100 8 12 0 12 9
91 91 128 5 15 1 12 6
92 49 15 7 15 0 12 6
93 99 128 5 15 0 12 6
94 12 30 10 6 1 12 12
95 119 27 9 3 0 0 9
96 79 19 5 3 1 13 9
97 25 33 7 9 0 9 8
98 16 100 8 12 1 12 9
99 81 33 7 9 0 9 7
100 112 128 8 13 0 12 9
101 40 92 8 9 0 9 8
102 55 28 5 12 0 12 4
103 24 100 8 12 0 9 9
104 40 28 7 12 1 12 9
105 62 12 2 12 1 12 4
106 107 128 5 15 -1 12 5
107 60 100 8 12 1 12 8
108 70 24 2 12 1 12 4
109 12 21 12 9 1 9 14
110 89 33 7 9 1 9 9
111 48 92 8 9 0 9 8
112 68 100 8 12 1 9 9
113 76 100 8 12 0 9 9
114 59 88 5 9 1 9 6
115 97 33 7 9 1 9 8
116 63 28 5 12 0 12 5
117 105 33 7 9 1 9 9
118 120 92 8 9 0 9 8
119 84 21 12 9 0 9 12
120 0 88 8 9 0 9 8
121 84 100 8 12 0 9 8
122 112 33 6 9 0 9 6
123 56 15 6 15 0 12 7
124 80 15 2 15 2 12 6
125 64 15 6 15 1 12 7
126 68 30 10 6 1 8 12
65533 16 128 14 13 1 12 16

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
128 128
96
22
32 0 128 0 0 0 0 6
33 110 112 2 13 2 13 6
34 112 69 5 5 1 14 7
35 80 29 10 13 1 13 12
36 48 128 8 17 1 14 10
37 16 128 16 13 1 13 18
38 80 13 12 13 1 13 12
39 126 5 2 5 1 14 4
40 32 18 5 18 1 14 7
41 42 18 6 18 1 14 8
42 112 80 9 8 0 14 9
43 54 96 10 10 1 11 12
44 48 80 5 6 0 2 5
45 11 96 5 3 1 7 7
46 0 3 2 3 2 3 5
47 56 16 8 16 -1 14 7
48 64 45 8 13 1 13 10
49 48 96 6 13 2 13 9
50 80 45 8 13 1 13 10
51 96 45 8 13 1 13 10
52 32 112 9 13 0 13 9
53 112 45 8 13 1 13 10
54 0 61 8 13 1 13 10
55 16 61 8 13 1 13 10
56 32 61 8 13 1 13 10
57 48 61 8 13 1 13 10
58 110 10 2 10 2 10 6
59 27 14 5 14 0 10 6
60 16 75 9 11 2 11 13
61 70 96 10 7 2 9 14
62 32 75 9 11 2 11 13
63 64 61 8 13 0 13 8
64 2 16 14 16 1 13 16
65 96 13 12 13 -1 13 11
66 80 112 9 13 1 13 10
67 96 29 10 13 1 13 11
68 112 29 10 13 1 13 12
69 80 61 8 13 1 13 10
70 96 61 8 13 1 13 9
71 0 45 10 13 1 13 12
72 96 112 9 13 1 13 11
73 96 96 5 13 1 13 7
74 64 96 6 13 0 13 7
75 16 45 10 13 1 13 10
76 112 61 8 13 1 13 8
77 69 13 11 13 1 13 13
78 112 112 9 13 1 13 11
79 53 29 11 13 1 13 13
80 0 77 8 13 1 13 9
81 16 17 11 17 1 13 13
82 32 45 10 13 1 13 11
83 0 96 9 13 1 13 10
84 48 45 10 13 0 13 10
85 16 96 9 13 1 13 11
86 112 13 12 13 -1 13 11
87 32 128 16 13 0 13 16
88 69 29 11 13 0 13 10
89 0 29 12 13 -1 13 10
90 32 96 9 13 1 13 11
91 48 18 5 18 1 14 6
92 105 128 7 16 0 14 7
93 64 18 5 18 1 14 7
94 117 71 11 7 1 13 13
95 86 96 10 3 0 0 10
96 0 80 4 3 2 14 10
97 112 96 8 10 0 10 9
98 72 46 8 14 1 14 10
99 41 58 7 10 1 10 8
100 88 46 8 14 1 14 10
101 48 74 9 10 1 10 10
102 42 112 6 14 0 14 5
103 104 46 8 14 1 10 10
104 120 46 8 14 1 14 10
105 126 112 2 13 1 13 4
106 64 128 5 17 -1 13 5
107 80 128 9 14 1 14 9
108 94 14 2 14 1 14 4
109 115 128 13 10 1 10 14
110 16 32 8 10 1 10 10
111 64 74 9 10 0 10 9
112 8 62 8 14 1 10 10
113 24 62 8 14 1 10 10
114 0 106 6 10 1 10 6
115 57 58 7 10 1 10 8
116 80 96 6 13 0 13 6
117 32 32 8 10 1 10 10
118 80 74 9 10 0 10 9
119 19 112 13 10 0 10 13
120 96 74 9 10 0 10 9
121 96 128 9 14 0 10 9
122 73 58 7 10 0 10 7
123 57 128 7 18 1 14 9
124 94 128 2 18 3 14 7
125 73 128 7 18 1 14 9
126 112 86 11 6 1 9 13
65533 0 128 16 17 1 16 18

Binary file not shown.

View File

@ -0,0 +1,100 @@
100
64 64
96
11
32 0 64 0 0 0 0 3
33 48 64 1 7 0 7 2
34 48 48 3 3 0 8 4
35 49 64 7 7 0 7 7
36 27 9 5 9 0 7 6
37 7 64 9 7 0 7 10
38 48 7 6 7 0 7 6
39 47 48 1 3 0 8 2
40 21 64 3 10 0 8 3
41 29 64 3 10 -1 8 3
42 32 5 5 5 0 9 6
43 40 5 5 5 1 6 7
44 32 27 2 3 0 2 3
45 40 32 2 1 0 3 3
46 48 42 1 2 1 2 3
47 37 9 3 9 0 8 3
48 56 48 4 7 0 7 5
49 5 31 3 7 1 7 5
50 0 40 4 7 0 7 5
51 8 40 4 7 0 7 5
52 32 64 5 7 0 7 5
53 16 40 4 7 0 7 5
54 24 40 4 7 0 7 5
55 32 40 4 7 0 7 5
56 40 40 4 7 0 7 5
57 48 40 4 7 0 7 5
58 39 48 1 5 1 5 3
59 22 48 2 6 0 5 3
60 32 13 5 5 1 5 7
61 24 32 6 3 0 4 7
62 40 13 5 5 1 5 7
63 56 40 4 7 0 7 4
64 0 64 7 8 0 7 8
65 8 7 8 7 -1 7 7
66 40 64 5 7 0 7 6
67 56 7 6 7 0 7 7
68 8 15 6 7 0 7 7
69 32 56 5 7 0 7 6
70 40 56 5 7 0 7 6
71 16 15 6 7 0 7 7
72 48 15 6 7 0 7 7
73 13 31 3 7 0 7 4
74 21 31 3 7 0 7 4
75 0 48 5 7 0 7 6
76 0 32 4 7 0 7 4
77 57 64 7 7 0 7 8
78 56 15 6 7 0 7 7
79 1 56 7 7 0 7 8
80 8 48 5 7 0 7 6
81 1 9 7 9 0 7 8
82 16 48 5 7 0 7 6
83 24 48 5 7 0 7 6
84 32 48 5 7 0 7 6
85 0 23 6 7 0 7 7
86 16 7 8 7 -1 7 7
87 9 56 7 7 0 7 8
88 8 23 6 7 -1 7 5
89 40 48 5 7 0 7 6
90 8 32 4 7 0 7 5
91 16 64 2 10 0 8 3
92 45 9 3 9 0 8 3
93 24 64 2 10 0 8 3
94 32 32 5 3 0 7 7
95 43 25 5 1 0 -1 5
96 54 2 2 2 1 7 5
97 16 21 4 5 0 5 5
98 20 24 4 8 0 8 5
99 24 13 3 5 0 5 4
100 28 24 4 8 0 8 5
101 24 21 4 5 0 5 5
102 61 24 3 8 0 8 3
103 16 32 4 7 0 5 5
104 36 24 4 8 0 8 5
105 15 48 1 7 0 7 2
106 6 48 2 9 0 7 3
107 44 24 4 8 0 8 5
108 24 8 1 8 0 8 2
109 48 21 7 5 0 5 8
110 32 21 4 5 0 5 5
111 40 21 4 5 0 5 5
112 60 48 4 7 0 5 5
113 12 40 4 7 0 5 5
114 24 29 3 5 0 5 3
115 40 29 3 5 0 5 4
116 30 48 2 6 0 6 3
117 56 21 4 5 0 5 5
118 27 29 5 5 0 5 6
119 56 56 8 5 -1 5 8
120 48 29 3 5 0 5 4
121 51 48 5 7 0 5 6
122 56 29 3 5 0 5 4
123 37 64 3 10 0 8 4
124 0 10 1 10 1 8 4
125 45 64 3 10 0 8 4
126 34 26 6 2 0 4 7
65533 49 56 7 7 1 7 9

Binary file not shown.

View File

@ -21,15 +21,9 @@
<object type="button" name="pregame-mainmenu-sp-button" sprite-over="pregame-mainmenu-spbt" size="52.9296875% 23.95833333% 67.578125% 42.317708333%" z="101" hidden="false">
<action on="Press"><![CDATA[
startGame();
GUIObjectUnhide("session_gui");
GUIObjectUnhide("End_Game_Button");
GUIObjectHide("pregame_gui");
FlipGUI(GUIType);
// Select session peace track.
curr_session_playlist_1 = newRandomSound("music", "peace");
// Fade out main theme and fade in session theme.
CrossFade(curr_music, curr_session_playlist_1, 0.0001);
GUIObjectUnhide("loading_screen");
setTimeout( loadSession(), 0 );
]]></action>
<action on="MouseEnter"><![CDATA[
tooltipObject = getGUIObjectByName("pregame-mainmenu-tooltip");
@ -69,6 +63,26 @@
<object type="text" name="pregame-mainmenu-tooltip" sprite="tooltip-background" size="69% 6.3802% 97.0703125% 28.125%" font="prospero16" textcolor="255 255 255" z="104" hidden="true" ghost="true">tooltipText</object>
<object type="button" name="exit_button" sprite="exit_sprite" sprite-over="exit_sprite-over" size="100%-18 2 100%-2 18" z="1000" hidden="false">
<action on="Press"><![CDATA[
btCaptions = new Array("Yes, let me out!", "Nooooo!");
btCode = new Array("exit();", "");
messageBox(400, 200, "Do you really want to quit [icon=0ad_icon] A.D.? This will cause a sudden return to reality.", "Confirmation", 0, btCaptions, btCode);
]]></action>
<!-- START temporary code
This code only applies to the main menu, I don't know how it'll behave ingame. It is temporary and should be removed as soon as we got proper tooltip support implemented. -->
<action on="MouseEnter"><![CDATA[
tooltipObject = getGUIObjectByName("pregame-mainmenu-tooltip");
tooltipObject.caption = "Tired of 0 A.D. ? Click here to leave and reenter the real world.";
GUIObjectUnhide("pregame-mainmenu-tooltip");
]]></action>
<action on="MouseLeave"><![CDATA[
GUIObjectHide("pregame-mainmenu-tooltip");
]]></action>
<!-- END temporary code -->
</object>
</object>
</objects>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- LOADING SCREEN DEFINITION -
==========================================
-->
<objects>
<object type="empty" name="loading_screen" size="0 0 100% 100%" z="1" ghost="true" hidden="true">
<!-- background -->
<object type="image" name="loading_screen_background_black" sprite="black_bkg" size="0 0 100% 10" z="99" hidden="false" />
<object type="image" name="loading_screen_background_image" sprite="message_box-gen-background" size="0 10 100% 100%" z="100" hidden="false" />
<!-- top -->
<object type="image" name="loading_screen_border-corner-lt" size="0 10 15 25" sprite="message_box-corner" absolute="false" z="161" hidden="false"/>
<object type="image" name="loading_screen_border-top" size="15 10 100%-15 42" sprite="message_box-border-top" absolute="false" z="161" hidden="false"/>
<object type="image" name="loading_screen_border-corner-rt" size="100%-15 10 100% 25" sprite="message_box-corner" absolute="false" z="161" hidden="false"/>
<!-- left/right -->
<object type="image" name="loading_screen_border-left" size="0 25 20 100%-15" sprite="message_box-border-left" absolute="false" z="162" hidden="false"/>
<object type="image" name="loading_screen_border-right" size="100%-32 25 100% 100%-15" sprite="message_box-border-right" absolute="false" z="161" hidden="false"/>
<!-- bottom -->
<object type="image" name="loading_screen_border-corner-lb" size="0 100%-15 15 100%" sprite="message_box-corner" absolute="false" z="161" hidden="false"/>
<object type="image" name="loading_screen_border-bottom" size="15 100%-32 100%-15 100%" sprite="message_box-border-bottom" absolute="false" z="162" hidden="false"/>
<object type="image" name="loading_screen_border-corner-rb" size="100%-15 100%-15 100% 100%" sprite="message_box-corner" absolute="false" z="161" hidden="false"/>
<!-- titlebar -->
<object type="image" name="loading_screen_titlebar-left" size="15% 0 15%+64 32" sprite="message_box-titlebar-left" absolute="false" z="164" hidden="false"/>
<object type="image" name="loading_screen_titlebar-middle" size="15%+64 0 85%-64 32" sprite="message_box-titlebar-middle" absolute="false" z="164" hidden="false"/>
<object type="image" name="loading_screen_titlebar-right" size="85%-64 0 85% 32" sprite="message_box-titlebar-right" absolute="false" z="164" hidden="false"/>
<object type="button" name="loading_screen_titlebar-text" size="15%+54 4 85%-54 32" absolute="false" font="prospero18" z="165" text-align="center" text-valign="center" hidden="false">
<action on="Load"><![CDATA[
this.caption = "Loading Scenario ..."
]]></action>
</object>
<!-- progress bar -->
<object type="button" name="loading_screen_progress_bar_text" size="0%+32 100%-205 100%-32 100%-185" font="tahoma14" textcolor="0 0 0" text-align="center" text-valign="center" z="165" hidden="false">
<action on="Load"><![CDATA[
this.caption = "... Reticulating splines ...";
]]></action>
</object>
<object type="progressbar" name="loading_screen_progress_bar" style="blue_bar_outlined" size="0%+32 100%-185 100%-32 100%-160" z="165" hidden="false">
<action on="Load"><![CDATA[
this.caption = 80;
]]></action>
</object>
<!-- text -->
<object type="text" name="loading_screen_text" size="32 40 100%-32 100%-100" absolute="false" font="prospero18" z="165" hidden="false">
<action on="Load"><![CDATA[
this.caption = "LOADING ...\nPlease wait ...\n(Yes, we know the progress bar doesn't do diddly squat right now)\nJust keep waiting ...\nIt'll get there ...\nAlmost done ...\nTrust me!"
]]></action>
</object>
<object type="button" name="loading_screen_tip" sprite="only-white-border" size="32 100%-150 100%-32 100%-32" font="tahoma18" text-valign="center" textcolor="0 0 0" z="165" hidden="false">
<action on="Load"><![CDATA[
this.caption = "Wise man once say ...\nHe who thinks slow, he act in haste, be rash and quick and foolish. But he that thinks too much, acts too slowly. The stupid always win, Commandersan. Remember that. You are tiny grasshopper."
]]></action>
</object>
</object>
</objects>

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +1,49 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- ONLINE MANUAL DEFINITION -
==========================================
-->
<objects>
<object type="empty" name="manual_gui" size="0 0 100% 100%" z="1" hotkey="onlinehelp" hidden="true">
<action on="Press"><![CDATA[
// Toggle manual if something selected.
if (selection.length)
{
ManualGUI = getGUIObjectByName("manual_gui");
ManualGUI.hidden = !ManualGUI.hidden;
}
]]></action>
<object type="text" name="manual_bkg" sprite="tooltip-background" size="50%-200 0%+50 50%+200 100%-50" font="prospero16" textcolor="255 255 255" z="100" hidden="false" ghost="true">
<action on="Tick"><![CDATA[
if (selection.length && !( getGUIObjectByName( "manual_gui" ).hidden ))
{
manualDisplay();
}
]]></action>
</object>
<object type="button" name="manual_portrait" style="portrait" size="50%-192 0%+80 50%-128 0%+144" z="100" ghost="true"/>
<object type="text" name="manual_name" sprite="tooltip-background" size="50%-195 0%+149 50%+195 100%-205" font="prospero14" textcolor="255 255 255" z="100" ghost="true"/>
<!-- Gee needs to implement text clipping, so long text doesn't get clipped to these scroll windows yet. Scroll bars also don't block world input yet. -->
<object type="text" name="manual_rollover" scrollbar="true" scrollbar-style="manual_scrollbar" sprite="tooltip-background" size="50%-126 0%+80 50%+195 0%+144" font="prospero16" textcolor="255 255 255" z="100" ghost="false"/>
<object type="text" name="manual_history" scrollbar="true" scrollbar-style="manual_scrollbar" sprite="tooltip-background" size="50%-195 100%-200 50%+195 100%-55" font="prospero16" textcolor="255 255 255" z="100" ghost="false"/>
<object type="button" name="manual_exit_button" sprite="exit_sprite" sprite-over="exit_sprite-over" size="50%+184 0%+50 50%+200 0%+66" ghost="false" z="100" hidden="false">
<action on="Press"><![CDATA[
// Close manual.
ManualGUI = getGUIObjectByName("manual_gui");
ManualGUI.hidden = true;
]]></action>
</object>
</object>
</objects>
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- ONLINE MANUAL DEFINITION -
==========================================
-->
<objects>
<object type="empty" name="manual_gui" size="0 0 100% 100%" z="1" hotkey="onlinehelp" hidden="true">
<action on="Press"><![CDATA[
// Toggle manual if something selected.
if (selection.length)
{
ManualGUI = getGUIObjectByName("manual_gui");
ManualGUI.hidden = !ManualGUI.hidden;
}
]]></action>
<object type="text" name="manual_bkg" sprite="tooltip-background" size="50%-200 0%+50 50%+200 100%-50" font="prospero16" textcolor="255 255 255" z="100" hidden="false" ghost="true">
<action on="Tick"><![CDATA[
if (selection.length && !( getGUIObjectByName( "manual_gui" ).hidden ))
{
manualDisplay();
}
]]></action>
</object>
<object type="button" name="manual_portrait" style="portrait" size="50%-192 0%+80 50%-128 0%+144" z="100" ghost="true"/>
<object type="text" name="manual_name" sprite="tooltip-background" size="50%-195 0%+149 50%+195 100%-205" font="prospero14" textcolor="255 255 255" z="100" ghost="true"/>
<!-- Gee needs to implement text clipping, so long text doesn't get clipped to these scroll windows yet. Scroll bars also don't block world input yet. -->
<object type="text" name="manual_rollover" scrollbar="true" scrollbar-style="manual_scrollbar" sprite="tooltip-background" size="50%-126 0%+80 50%+195 0%+144" font="prospero16" textcolor="255 255 255" z="100" ghost="false"/>
<object type="text" name="manual_history" scrollbar="true" scrollbar-style="manual_scrollbar" sprite="tooltip-background" size="50%-195 100%-200 50%+195 100%-55" font="prospero16" textcolor="255 255 255" z="100" ghost="false"/>
<object type="button" name="manual_exit_button" sprite="exit_sprite" sprite-over="exit_sprite-over" size="50%+184 0%+50 50%+200 0%+66" ghost="false" z="100" hidden="false">
<action on="Press"><![CDATA[
// Close manual.
ManualGUI = getGUIObjectByName("manual_gui");
ManualGUI.hidden = true;
]]></action>
</object>
</object>
</objects>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- SESSION GUI SUB-WINDOW DEFINITIONS -
==========================================
-->
<objects>
</objects>

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- ATLAS SCENARIO EDITOR DEFINITION -
==========================================
-->
<objects>
</objects>
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- ATLAS SCENARIO EDITOR DEFINITION -
==========================================
-->
<objects>
</objects>

View File

@ -1,125 +1,93 @@
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<objects>
<!--
==========================================
- GLOBAL OBJECTS -
==========================================
-->
<object type="empty" name="always_on" hotkey="alwayson.toggle" size="0 0 100% 100%" z="1" hidden="false">
<action on="Press"><![CDATA[
GUIObjectToggle("always_on");
]]></action>
<object type="button" name="exit_button" sprite="exit_sprite" sprite-over="exit_sprite-over" size="100%-18 2 100%-2 18" z="1000" hidden="false">
<action on="Press"><![CDATA[
btCaptions = new Array("Yes, let me out!", "Nooooo!");
btCode = new Array("exit();", "");
messageBox(400, 200, "Do you really want to quit [icon=0ad_icon] A.D.? This will cause a sudden return to reality.", "Confirmation", 0, btCaptions, btCode);
]]></action>
<!-- START temporary code
This code only applies to the main menu, I don't know how it'll behave ingame. It is temporary and should be removed as soon as we got proper tooltip support implemented. -->
<action on="MouseEnter"><![CDATA[
tooltipObject = getGUIObjectByName("pregame-mainmenu-tooltip");
tooltipObject.caption = "Tired of 0 A.D. ? Click here to leave and reenter the real world.";
GUIObjectUnhide("pregame-mainmenu-tooltip");
]]></action>
<action on="MouseLeave"><![CDATA[
GUIObjectHide("pregame-mainmenu-tooltip");
]]></action>
<!-- END temporary code -->
</object>
<object type="button" name="audio_toggle" hotkey="audio.toggle" hidden="true">
<action on="Press"><![CDATA[
if (snd_disabled == true)
snd_disable(false);
else
snd_disable(true);
]]></action>
</object>
<!-- TEMPORARY END GAME BUTTON; REMOVE WHEN GAME MENU IMPLEMENTED; BUTTON IS OUTSIDE OF pregame_gui IN ORDER TO BE VISIBLE DURING GAME -->
<object type="button" name="End_Game_Button" sprite="message_box-button-normal" sprite-over="message_box-button-over" hotkey="endgame" text-align="center" text-valign="center" size="100%-200 2 100%-100 36" z="105" hidden="true">
<action on="Press"><![CDATA[
btCaptions = new Array("Yep, work's done!", "No, more slaughter!");
//btCode = new Array("endGame();", "GUIObjectHide('mb_main');");
btCode = new Array("endGame();\ncurr_music = newRandomSound('music', 'theme');\nCrossFade(curr_session_playlist_1, curr_music, 0.0001);\nGUIObjectHide('session_gui');\nGUIObjectUnhide('pregame_gui');\nGUIObjectHide('End_Game_Button');", "");
messageBox(600, 200, "Do you want to leave the current game? There might be more dudes to slaughter.", "Confirmation", 0, btCaptions, btCode);
]]></action>
End Game
</object>
<!--
==========================================
- MESSAGE BOX -
==========================================
-->
<object type="image" size="50%-400 50%-200 50%+400 50%+200" name="mb_main" z="149" hidden="true">
<!-- control for blocking access to other controls in background -->
<object type="image" size="0 0 100% 100%" name="mb_blocker" hidden="false" />
<!-- background -->
<object type="image" size="0 10 100% 100%" name="mb_background" sprite="message_box-gen-background" absolute="false" z="160" />
<!-- top -->
<object type="image" name="mb_border-corner-lt" size="0 10 15 25" sprite="message_box-corner" absolute="false" z="161" />
<object type="image" name="mb_border-top" size="15 10 100%-15 42" sprite="message_box-border-top" absolute="false" z="161" />
<object type="image" name="mb_border-corner-rt" size="100%-15 10 100% 25" sprite="message_box-corner" absolute="false" z="161" />
<!-- left/right -->
<object type="image" name="mb_border-left" size="0 25 20 100%-15" sprite="message_box-border-left" absolute="false" z="162" />
<object type="image" name="mb_border-right" size="100%-32 25 100% 100%-15" sprite="message_box-border-right" absolute="false" z="161" />
<!-- bottom -->
<object type="image" name="mb_border-corner-lb" size="0 100%-15 15 100%" sprite="message_box-corner" absolute="false" z="161" />
<object type="image" name="mb_border-bottom" size="15 100%-32 100%-15 100%" sprite="message_box-border-bottom" absolute="false" z="162" />
<object type="image" name="mb_border-corner-rb" size="100%-15 100%-15 100% 100%" sprite="message_box-corner" absolute="false" z="161" />
<!-- titlebar -->
<object type="image" name="mb_titlebar-left" size="15% 0 15%+64 32" sprite="message_box-titlebar-left" absolute="false" z="164" />
<object type="image" name="mb_titlebar-middle" size="15%+64 0 85%-64 32" sprite="message_box-titlebar-middle" absolute="false" z="164" />
<object type="image" name="mb_titlebar-right" size="85%-64 0 85% 32" sprite="message_box-titlebar-right" absolute="false" z="164" />
<object type="button" name="mb_titlebar-text" size="15%+54 4 85%-54 32" absolute="false" font="prospero18" z="165" text-align="center" text-valign="center">mbTitle</object>
<!-- text -->
<object type="text" name="mb_text" size="32 40 100%-32 100%-100" absolute="false" font="prospero18" z="165" ghost="true">
mbMessage
</object>
<!-- buttons -->
<object type="button" name="mb_button1" size="40 100%-80 33%-30 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton1Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton1Code);
GUIObjectHide('mb_main');
]]></action>
</object>
<object type="button" name="mb_button2" size="33%+30 100%-80 66%-40 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton2Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton2Code);
GUIObjectHide('mb_main');
]]></action>
</object>
<object type="button" name="mb_button3" size="66%+30 100%-80 100%-40 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton3Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton2Code);
GUIObjectHide('mb_main');
]]></action>
</object>
</object>
</object>
</objects>
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<objects>
<!--
==========================================
- GLOBAL OBJECTS -
==========================================
-->
<object type="empty" name="always_on" hotkey="alwayson.toggle" size="0 0 100% 100%" z="1" hidden="false">
<action on="Press"><![CDATA[
GUIObjectToggle("always_on");
]]></action>
<object type="button" name="audio_toggle" hotkey="audio.toggle" hidden="true">
<action on="Press"><![CDATA[
if (snd_disabled == true)
snd_disable(false);
else
snd_disable(true);
]]></action>
</object>
<!--
==========================================
- MESSAGE BOX -
==========================================
-->
<object type="image" size="50%-400 50%-200 50%+400 50%+200" name="mb_main" z="149" hidden="true">
<!-- control for blocking access to other controls in background -->
<object type="image" size="0 0 100% 100%" name="mb_blocker" hidden="false" />
<!-- background -->
<object type="image" size="0 10 100% 100%" name="mb_background" sprite="message_box-gen-background" absolute="false" z="160" />
<!-- top -->
<object type="image" name="mb_border-corner-lt" size="0 10 15 25" sprite="message_box-corner" absolute="false" z="161" />
<object type="image" name="mb_border-top" size="15 10 100%-15 42" sprite="message_box-border-top" absolute="false" z="161" />
<object type="image" name="mb_border-corner-rt" size="100%-15 10 100% 25" sprite="message_box-corner" absolute="false" z="161" />
<!-- left/right -->
<object type="image" name="mb_border-left" size="0 25 20 100%-15" sprite="message_box-border-left" absolute="false" z="162" />
<object type="image" name="mb_border-right" size="100%-32 25 100% 100%-15" sprite="message_box-border-right" absolute="false" z="161" />
<!-- bottom -->
<object type="image" name="mb_border-corner-lb" size="0 100%-15 15 100%" sprite="message_box-corner" absolute="false" z="161" />
<object type="image" name="mb_border-bottom" size="15 100%-32 100%-15 100%" sprite="message_box-border-bottom" absolute="false" z="162" />
<object type="image" name="mb_border-corner-rb" size="100%-15 100%-15 100% 100%" sprite="message_box-corner" absolute="false" z="161" />
<!-- titlebar -->
<object type="image" name="mb_titlebar-left" size="15% 0 15%+64 32" sprite="message_box-titlebar-left" absolute="false" z="164" />
<object type="image" name="mb_titlebar-middle" size="15%+64 0 85%-64 32" sprite="message_box-titlebar-middle" absolute="false" z="164" />
<object type="image" name="mb_titlebar-right" size="85%-64 0 85% 32" sprite="message_box-titlebar-right" absolute="false" z="164" />
<object type="button" name="mb_titlebar-text" size="15%+54 4 85%-54 32" absolute="false" font="prospero18" z="165" text-align="center" text-valign="center">mbTitle</object>
<!-- text -->
<object type="text" name="mb_text" size="32 40 100%-32 100%-100" absolute="false" font="prospero18" z="165" ghost="true">
mbMessage
</object>
<!-- buttons -->
<object type="button" name="mb_button1" size="40 100%-80 33%-30 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton1Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton1Code);
GUIObjectHide('mb_main');
]]></action>
</object>
<object type="button" name="mb_button2" size="33%+30 100%-80 66%-40 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton2Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton2Code);
GUIObjectHide('mb_main');
]]></action>
</object>
<object type="button" name="mb_button3" size="66%+30 100%-80 100%-40 100%-50" absolute="false" sprite="message_box-button-normal" sprite-over="message_box-button-over" font="prospero18" z="165" text-align="center" text-valign="center">
mbButton3Caption
<action on="Press"><![CDATA[
eval(getGUIGlobal().mbButton2Code);
GUIObjectHide('mb_main');
]]></action>
</object>
</object>
</object>
</objects>

View File

@ -10,6 +10,21 @@ function initSession()
// ====================================================================
function loadSession()
{
console.write("Loading Scenario ...");
startGame();
GUIObjectHide("loading_screen");
GUIObjectUnhide("session_gui");
FlipGUI(GUIType);
// Select session peace track.
curr_session_playlist_1 = newRandomSound("music", "peace");
// Fade out main theme and fade in session theme.
CrossFade(curr_music, curr_session_playlist_1, 0.0001);
}
// ====================================================================
function setPortrait(objectName, portraitString)
{
// Use this function as a shortcut to change a portrait object to a different portrait image.

View File

@ -120,6 +120,24 @@
<image backcolor="255 255 0" size="0 0 100% 100%" />
</sprite>
<sprite name="blue-bar">
<image backcolor="255 255 255" size="0 1 1 100%-1" />
<image backcolor="255 255 255" size="0 0 100%-1 1" />
<image backcolor="64 64 64" size="100%-1 0 100% 100%" />
<image backcolor="64 64 64" size="0 100%-1 100%-1 100%" />
<image backcolor="128 128 128" size="100%-2 1 100%-1 100%-1" />
<image backcolor="128 128 128" size="1 100%-2 100%-1 100%-1" />
<image backcolor="0 0 255" size="0 0 100% 100%" />
</sprite>
<sprite name="blue-bar-outlined">
<image backcolor="0 0 0" size="-1 -1 100%+1 0" />
<image backcolor="0 0 0" size="-1 100% 100%+1 100%+1" />
<image backcolor="0 0 0" size="-1 0 0 100%" />
<image backcolor="0 0 0" size="100% 0 100%+1 100%" />
<image backcolor="0 0 255" size="0 0 100% 100%" />
</sprite>
<sprite name="back-bar">
<image backcolor="200 200 200" size="0 1 1 100%-1" />
<image backcolor="200 200 200" size="0 0 100%-1 1" />
@ -134,6 +152,13 @@
<image backcolor="255 255 255" size="100% 0 100%+1 100%" />
</sprite>
<sprite name="only-black-border">
<image backcolor="0 0 0" size="-1 -1 100%+1 0" />
<image backcolor="0 0 0" size="-1 100% 100%+1 100%+1" />
<image backcolor="0 0 0" size="-1 0 0 100%" />
<image backcolor="0 0 0" size="100% 0 100%+1 100%" />
</sprite>
<!--
==========================================
PREGAME GUI
@ -160,6 +185,16 @@
<image texture="black_16x16.png" texture-size="0 0 16 16" size="0 0 100% 100%" />
</sprite>
<!--
==========================================
LOADING GUI
==========================================
-->
<sprite name="black_bkg">
<image texture="black_bkg_16x16.png" texture-size="0 0 16 16" size="0 0 100% 100%" />
</sprite>
<!--
==========================================
MAP ORB

View File

@ -55,4 +55,18 @@
tooltip-style="session-tooltip"
ghost="true"
/>
<style name="blue_bar"
sprite-background=""
sprite-bar="blue-bar"
tooltip-style="session-tooltip"
ghost="true"
/>
<style name="blue_bar_outlined"
sprite-background="only-black-border"
sprite-bar="blue-bar-outlined"
tooltip-style="session-tooltip"
ghost="true"
/>
</styles>

View File

@ -793,19 +793,23 @@ static void InitPs()
{TIMER(ps_gui_2)
g_GUI.LoadXMLFile("gui/test/2_mainmenu.xml");}
{TIMER(ps_gui_3)
g_GUI.LoadXMLFile("gui/test/3_session.xml");}
g_GUI.LoadXMLFile("gui/test/3_loading.xml");}
{TIMER(ps_gui_4)
g_GUI.LoadXMLFile("gui/test/4_manual.xml");}
g_GUI.LoadXMLFile("gui/test/4_session.xml");}
{TIMER(ps_gui_5)
g_GUI.LoadXMLFile("gui/test/5_atlas.xml");}
g_GUI.LoadXMLFile("gui/test/5_manual.xml");}
{TIMER(ps_gui_6)
g_GUI.LoadXMLFile("gui/test/6_global.xml");}
g_GUI.LoadXMLFile("gui/test/6_subwindows.xml");}
{TIMER(ps_gui_7)
g_GUI.LoadXMLFile("gui/test/7_atlas.xml");}
{TIMER(ps_gui_9)
g_GUI.LoadXMLFile("gui/test/9_global.xml");}
}
{
TIMER(ps_gui_hello_xml)
g_GUI.LoadXMLFile("gui/test/hello.xml");
}
// {
// TIMER(ps_gui_hello_xml)
// g_GUI.LoadXMLFile("gui/test/hello.xml");
// }
#endif
}