game-source/fbxa/editor.h
2011-03-30 10:38:44 +09:00

73 lines
1.1 KiB
Objective-C

#ifndef __editor_h
#define __editor_h
@class ImpulseMenu;
@class Waypoint;
@class Bot;
@class Target;
@interface EditorState: Object
{
ImpulseMenu *menu;
ImpulseMenu *prev_menu;
float menu_time;
string confirm_text;
string confirm_cmd;
Target *owner;
Waypoint *last_way;
int hold_select;
Bot *test_bot;
int edit_mode;
}
+main_menu;
+waypoint_menu;
+link_menu;
+ai_flags_menu;
+ai_flag2_menu;
+bot_menu;
+waylist_menu;
+teleport_to_way;
+close_menu;
+move_waypoint;
+delete_waypoint;
+make_waypoint;
+make_waypoint_link;
+make_way_link_x2;
+make_way_telelink;
+show_waypoint_info;
+unlink_waypoint;
+create_link;
+create_telelink;
+delete_link;
+create_link_x2;
+delete_link_x2;
+add_test_bot;
+call_test_bot;
+remove_test_bot;
+stop_test_bot;
+teleport_bot;
+delete_all_waypoints;
+dump_waypoints;
+check_for_errors;
+save_waypoints;
+confirm;
+cancel;
+(int)getHoldSelectState;
+(void)toggleHoldSelectState;
+(string)getConfirmText;
+(Waypoint *)current_way;
-(Waypoint *)current_way;
+(void)impulse;
-(id)initWithOwner:(Target *)owner;
-(void)refresh;
@end
#endif//__editor_h