+ if(use_joystick)
+ options_menu->additem(MN_GOTO,_("Setup Joystick"),0,options_joystick_menu);
+
+ options_menu->additem(MN_HL,"",0,0);
+ options_menu->additem(MN_BACK,_("Back"),0,0);
+
+ options_keys_menu->additem(MN_LABEL,_("Keyboard Setup"),0,0);
+ options_keys_menu->additem(MN_HL,"",0,0);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Left move"), 0,0, 0,&keymap.left);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Right move"), 0,0, 0,&keymap.right);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Jump"), 0,0, 0,&keymap.jump);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Duck"), 0,0, 0,&keymap.duck);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Activate"), 0, 0, 0,
+ &keymap.activate);
+ options_keys_menu->additem(MN_CONTROLFIELD_KB,_("Power/Run"), 0,0, 0,&keymap.fire);
+ options_keys_menu->additem(MN_HL,"",0,0);
+ options_keys_menu->additem(MN_BACK,_("Back"),0,0);
+
+ if(use_joystick)
+ {
+ options_joystick_menu->additem(MN_LABEL,_("Joystick Setup"),0,0);
+ options_joystick_menu->additem(MN_HL,"",0,0);
+ //options_joystick_menu->additem(MN_CONTROLFIELD_JS,"X axis", 0,0, 0,&joystick_keymap.x_axis);
+ //options_joystick_menu->additem(MN_CONTROLFIELD_JS,"Y axis", 0,0, 0,&joystick_keymap.y_axis);
+ options_joystick_menu->additem(MN_CONTROLFIELD_JS,_("A button"), 0,0, 0,&joystick_keymap.a_button);
+ options_joystick_menu->additem(MN_CONTROLFIELD_JS,_("B button"), 0,0, 0,&joystick_keymap.b_button);
+ //options_joystick_menu->additem(MN_CONTROLFIELD_JS,"Start", 0,0, 0,&joystick_keymap.start_button);
+ //options_joystick_menu->additem(MN_CONTROLFIELD_JS,"DeadZone", 0,0, 0,&joystick_keymap.dead_zone);
+ options_joystick_menu->additem(MN_HL,"",0,0);
+ options_joystick_menu->additem(MN_BACK,_("Back"),0,0);
+ }
+
+ load_game_menu->additem(MN_LABEL,_("Start Game"),0,0);
+ load_game_menu->additem(MN_HL,"",0,0);
+ load_game_menu->additem(MN_DEACTIVE,"Slot 1",0,0, 1);
+ load_game_menu->additem(MN_DEACTIVE,"Slot 2",0,0, 2);
+ load_game_menu->additem(MN_DEACTIVE,"Slot 3",0,0, 3);
+ load_game_menu->additem(MN_DEACTIVE,"Slot 4",0,0, 4);
+ load_game_menu->additem(MN_DEACTIVE,"Slot 5",0,0, 5);
+ load_game_menu->additem(MN_HL,"",0,0);
+ load_game_menu->additem(MN_BACK,_("Back"),0,0);
+
+ save_game_menu->additem(MN_LABEL,_("Save Game"),0,0);
+ save_game_menu->additem(MN_HL,"",0,0);
+ save_game_menu->additem(MN_DEACTIVE,"Slot 1",0,0, 1);
+ save_game_menu->additem(MN_DEACTIVE,"Slot 2",0,0, 2);
+ save_game_menu->additem(MN_DEACTIVE,"Slot 3",0,0, 3);
+ save_game_menu->additem(MN_DEACTIVE,"Slot 4",0,0, 4);
+ save_game_menu->additem(MN_DEACTIVE,"Slot 5",0,0, 5);
+ save_game_menu->additem(MN_HL,"",0,0);
+ save_game_menu->additem(MN_BACK,"Back",0,0);
+
+ game_menu->additem(MN_LABEL,_("Pause"),0,0);
+ game_menu->additem(MN_HL,"",0,0);
+ game_menu->additem(MN_ACTION,_("Continue"),0,0,MNID_CONTINUE);
+ game_menu->additem(MN_GOTO,_("Options"),0,options_menu);
+ game_menu->additem(MN_HL,"",0,0);
+ game_menu->additem(MN_ACTION,_("Abort Level"),0,0,MNID_ABORTLEVEL);
+
+ worldmap_menu->additem(MN_LABEL,_("Pause"),0,0);
+ worldmap_menu->additem(MN_HL,"",0,0);
+ worldmap_menu->additem(MN_ACTION,_("Continue"),0,0,MNID_RETURNWORLDMAP);
+ worldmap_menu->additem(MN_GOTO,_("Options"),0,options_menu);
+ worldmap_menu->additem(MN_HL,"",0,0);
+ worldmap_menu->additem(MN_ACTION,_("Quit Game"),0,0,MNID_QUITWORLDMAP);
+
+ highscore_menu->additem(MN_TEXTFIELD,_("Enter your name:"),0,0);