diff options
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r-- | apps/plugins/pacbox/pacbox.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index d7a0becdd0..8acc06ae1d 100644 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -147,42 +147,42 @@ static bool pacbox_menu(void) | |||
147 | bool need_restart = false; | 147 | bool need_restart = false; |
148 | 148 | ||
149 | static const struct opt_items noyes[2] = { | 149 | static const struct opt_items noyes[2] = { |
150 | { "No", 0 }, | 150 | { "No", -1 }, |
151 | { "Yes", 0 }, | 151 | { "Yes", -1 }, |
152 | }; | 152 | }; |
153 | 153 | ||
154 | static const struct opt_items difficulty_options[2] = { | 154 | static const struct opt_items difficulty_options[2] = { |
155 | { "Normal", 0 }, | 155 | { "Normal", -1 }, |
156 | { "Harder", 0 }, | 156 | { "Harder", -1 }, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | static const struct opt_items numlives_options[4] = { | 159 | static const struct opt_items numlives_options[4] = { |
160 | { "1", 0 }, | 160 | { "1", -1 }, |
161 | { "2", 0 }, | 161 | { "2", -1 }, |
162 | { "3", 0 }, | 162 | { "3", -1 }, |
163 | { "5", 0 }, | 163 | { "5", -1 }, |
164 | }; | 164 | }; |
165 | 165 | ||
166 | static const struct opt_items bonus_options[4] = { | 166 | static const struct opt_items bonus_options[4] = { |
167 | { "10000 points", 0 }, | 167 | { "10000 points", -1 }, |
168 | { "15000 points", 0 }, | 168 | { "15000 points", -1 }, |
169 | { "20000 points", 0 }, | 169 | { "20000 points", -1 }, |
170 | { "No bonus", 0 }, | 170 | { "No bonus", -1 }, |
171 | }; | 171 | }; |
172 | 172 | ||
173 | static const struct opt_items ghostname_options[2] = { | 173 | static const struct opt_items ghostname_options[2] = { |
174 | { "Normal", 0 }, | 174 | { "Normal", -1 }, |
175 | { "Alternate", 0 }, | 175 | { "Alternate", -1 }, |
176 | }; | 176 | }; |
177 | 177 | ||
178 | static const struct menu_item items[] = { | 178 | static const struct menu_item items[] = { |
179 | { "Difficulty", 0 }, | 179 | { "Difficulty", NULL }, |
180 | { "Pacmen Per Game", 0 }, | 180 | { "Pacmen Per Game", NULL }, |
181 | { "Bonus Life", 0 }, | 181 | { "Bonus Life", NULL }, |
182 | { "Ghost Names", 0 }, | 182 | { "Ghost Names", NULL }, |
183 | { "Display FPS", 0 }, | 183 | { "Display FPS", NULL }, |
184 | { "Restart", 0 }, | 184 | { "Restart", NULL }, |
185 | { "Quit", 0 }, | 185 | { "Quit", NULL }, |
186 | }; | 186 | }; |
187 | 187 | ||
188 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), | 188 | m = rb->menu_init(items, sizeof(items) / sizeof(*items), |