diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2023-09-22 09:57:48 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-09-22 10:00:46 -0400 |
commit | 8cc3266b2a172a51dc12d05e8e1a06485b895e48 (patch) | |
tree | f45e7c9e273037d2f4ea0c72b740c4241458eeb2 /apps/plugins/pacbox/pacbox.c | |
parent | cb3a6877fcbb001a8ee9afd3e4a25579ac40f805 (diff) | |
download | rockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.tar.gz rockbox-8cc3266b2a172a51dc12d05e8e1a06485b895e48.zip |
Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL
....Because INT and BOOL are already defined in mingw32.
Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
Diffstat (limited to 'apps/plugins/pacbox/pacbox.c')
-rwxr-xr-x | apps/plugins/pacbox/pacbox.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index 9434aed743..b306503862 100755 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -266,7 +266,7 @@ static bool pacbox_menu(void) | |||
266 | { | 266 | { |
267 | case PBMI_DIFFICULTY: | 267 | case PBMI_DIFFICULTY: |
268 | new_setting=settings.difficulty; | 268 | new_setting=settings.difficulty; |
269 | rb->set_option("Difficulty", &new_setting, INT, | 269 | rb->set_option("Difficulty", &new_setting, RB_INT, |
270 | difficulty_options , 2, NULL); | 270 | difficulty_options , 2, NULL); |
271 | if (new_setting != settings.difficulty) { | 271 | if (new_setting != settings.difficulty) { |
272 | settings.difficulty=new_setting; | 272 | settings.difficulty=new_setting; |
@@ -275,7 +275,7 @@ static bool pacbox_menu(void) | |||
275 | break; | 275 | break; |
276 | case PBMI_PACMEN_PER_GAME: | 276 | case PBMI_PACMEN_PER_GAME: |
277 | new_setting=settings.numlives; | 277 | new_setting=settings.numlives; |
278 | rb->set_option("Pacmen Per Game", &new_setting, INT, | 278 | rb->set_option("Pacmen Per Game", &new_setting, RB_INT, |
279 | numlives_options , 4, NULL); | 279 | numlives_options , 4, NULL); |
280 | if (new_setting != settings.numlives) { | 280 | if (new_setting != settings.numlives) { |
281 | settings.numlives=new_setting; | 281 | settings.numlives=new_setting; |
@@ -284,7 +284,7 @@ static bool pacbox_menu(void) | |||
284 | break; | 284 | break; |
285 | case PBMI_BONUS_LIFE: | 285 | case PBMI_BONUS_LIFE: |
286 | new_setting=settings.bonus; | 286 | new_setting=settings.bonus; |
287 | rb->set_option("Bonus Life", &new_setting, INT, | 287 | rb->set_option("Bonus Life", &new_setting, RB_INT, |
288 | bonus_options , 4, NULL); | 288 | bonus_options , 4, NULL); |
289 | if (new_setting != settings.bonus) { | 289 | if (new_setting != settings.bonus) { |
290 | settings.bonus=new_setting; | 290 | settings.bonus=new_setting; |
@@ -293,7 +293,7 @@ static bool pacbox_menu(void) | |||
293 | break; | 293 | break; |
294 | case PBMI_GHOST_NAMES: | 294 | case PBMI_GHOST_NAMES: |
295 | new_setting=settings.ghostnames; | 295 | new_setting=settings.ghostnames; |
296 | rb->set_option("Ghost Names", &new_setting, INT, | 296 | rb->set_option("Ghost Names", &new_setting, RB_INT, |
297 | ghostname_options , 2, NULL); | 297 | ghostname_options , 2, NULL); |
298 | if (new_setting != settings.ghostnames) { | 298 | if (new_setting != settings.ghostnames) { |
299 | settings.ghostnames=new_setting; | 299 | settings.ghostnames=new_setting; |
@@ -301,16 +301,16 @@ static bool pacbox_menu(void) | |||
301 | } | 301 | } |
302 | break; | 302 | break; |
303 | case PBMI_DISPLAY_FPS: | 303 | case PBMI_DISPLAY_FPS: |
304 | rb->set_option("Display FPS",&settings.showfps,INT, | 304 | rb->set_option("Display FPS",&settings.showfps, RB_INT, |
305 | noyes, 2, NULL); | 305 | noyes, 2, NULL); |
306 | break; | 306 | break; |
307 | case PBMI_SOUND: | 307 | case PBMI_SOUND: |
308 | rb->set_option("Sound",&settings.sound, INT, | 308 | rb->set_option("Sound",&settings.sound, RB_INT, |
309 | noyes, 2, NULL); | 309 | noyes, 2, NULL); |
310 | break; | 310 | break; |
311 | #ifdef AI | 311 | #ifdef AI |
312 | case PBMI_AI: | 312 | case PBMI_AI: |
313 | rb->set_option("AI",&settings.ai, INT, | 313 | rb->set_option("AI",&settings.ai, RB_INT, |
314 | noyes, 2, NULL); | 314 | noyes, 2, NULL); |
315 | break; | 315 | break; |
316 | #endif | 316 | #endif |