AUTO Struct Reference

#include <autopilot.h>

Collaboration diagram for AUTO:

Collaboration graph
[legend]

Data Fields

dbref mynum
MECHmymech
int mapindex
dbref mymechnum
unsigned short speed
int ofsx
int ofsy
unsigned char verbose_level
dbref target
int target_score
int target_threshold
int target_update_tick
dbref chase_target
int chasetarg_update_tick
int follow_update_tick
unsigned short flags
dllistcommands
dllistastar_path
dllistweaplist
rbtree profile [AUTO_PROFILE_MAX_SIZE]
int mech_max_range
unsigned char roam_type
int roam_update_tick
short roam_target_hex_x
short roam_target_hex_y
short roam_anchor_hex_x
short roam_anchor_hex_y
short roam_anchor_distance
int ahead_ok
int auto_cmode
int auto_cdist
int auto_goweight
int auto_fweight
int auto_nervous
int b_msc
int w_msc
int b_bsc
int w_bsc
int b_dan
int w_dan
int last_upd

Detailed Description

Definition at line 223 of file autopilot.h.


Field Documentation

int AUTO::ahead_ok

Todo:
{Figure out if we need to keep these variables}

Definition at line 272 of file autopilot.h.

dllist* AUTO::astar_path

Definition at line 250 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_astar_generate_path(), auto_astar_goto_event(), auto_astar_roam_event(), auto_destroy_astar_path(), auto_newautopilot(), and load_autopilot_data().

int AUTO::auto_cdist

Definition at line 274 of file autopilot.h.

Referenced by ai_init(), ai_path_score(), and auto_init().

int AUTO::auto_cmode

Definition at line 273 of file autopilot.h.

Referenced by ai_init(), ai_path_score(), and auto_init().

int AUTO::auto_fweight

Definition at line 276 of file autopilot.h.

Referenced by ai_init(), auto_init(), and auto_radio_command_sweight().

int AUTO::auto_goweight

Definition at line 275 of file autopilot.h.

Referenced by ai_init(), auto_init(), and auto_radio_command_sweight().

int AUTO::auto_nervous

Definition at line 277 of file autopilot.h.

Referenced by ai_init(), ai_opponents(), and auto_init().

int AUTO::b_bsc

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

int AUTO::b_dan

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

int AUTO::b_msc

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

dbref AUTO::chase_target

Definition at line 238 of file autopilot.h.

Referenced by auto_init().

int AUTO::chasetarg_update_tick

Definition at line 239 of file autopilot.h.

Referenced by auto_init().

dllist* AUTO::commands

Definition at line 247 of file autopilot.h.

Referenced by auto_addcommand(), auto_delcommand(), auto_get_command_arg(), auto_get_command_enum(), auto_goto_next_command(), auto_listcommands(), auto_load_commands(), auto_newautopilot(), auto_save_commands(), auto_valid_progline(), and load_autopilot_data().

unsigned short AUTO::flags

Definition at line 244 of file autopilot.h.

Referenced by ai_init(), auto_com_event(), auto_init(), auto_listcommands(), auto_radio_command_sensor(), auto_sensor_event(), and auto_stop_pilot().

int AUTO::follow_update_tick

Definition at line 241 of file autopilot.h.

Referenced by auto_astar_follow_event(), and auto_init().

int AUTO::last_upd

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

int AUTO::mapindex

Definition at line 226 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_astar_generate_path(), auto_astar_goto_event(), auto_astar_roam_event(), auto_cal_mapindex(), auto_com_event(), auto_command_roam(), auto_dumbfollow_event(), auto_dumbgoto_event(), auto_engage(), auto_enter_event(), auto_leave_event(), and auto_listcommands().

int AUTO::mech_max_range

Definition at line 259 of file autopilot.h.

MECH* AUTO::mymech

Definition at line 225 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_astar_goto_event(), auto_astar_roam_event(), auto_com_event(), auto_dumbfollow_event(), auto_dumbgoto_event(), auto_engage(), auto_enter_event(), auto_goto_event(), auto_gun_event(), auto_heartbeat(), auto_leave_event(), auto_sensor_event(), auto_update_profile_event(), and load_autopilot_data().

dbref AUTO::mymechnum

Definition at line 227 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_astar_goto_event(), auto_astar_roam_event(), auto_dumbfollow_event(), auto_dumbgoto_event(), auto_engage(), auto_enter_event(), auto_leave_event(), auto_listcommands(), auto_newautopilot(), auto_sensor_event(), auto_update_profile_event(), load_autopilot_data(), and newfreemech().

dbref AUTO::mynum

Definition at line 224 of file autopilot.h.

Referenced by AI_Info(), ai_run_speed(), ai_set_heading(), ai_set_speed(), ai_stop(), auto_astar_follow_event(), auto_astar_generate_path(), auto_astar_goto_event(), auto_astar_roam_event(), auto_com_event(), auto_command_autogun(), auto_command_embark(), auto_command_pickup(), auto_command_roam(), auto_command_shutdown(), auto_command_speed(), auto_command_startup(), auto_delcommand(), auto_dumbfollow_event(), auto_dumbgoto_event(), auto_engage(), auto_enter_event(), auto_get_command_arg(), auto_get_command_enum(), auto_goto_event(), auto_goto_next_command(), auto_gun_event(), auto_leave_event(), auto_listcommands(), auto_load_commands(), auto_newautopilot(), auto_radio_command_dfollow(), auto_radio_command_dgoto(), auto_radio_command_dropoff(), auto_radio_command_embark(), auto_radio_command_enterbase(), auto_radio_command_follow(), auto_radio_command_goto(), auto_radio_command_heading(), auto_radio_command_hide(), auto_radio_command_jumpjet(), auto_radio_command_leavebase(), auto_radio_command_ogoto(), auto_radio_command_pickup(), auto_radio_command_prone(), auto_radio_command_reset(), auto_radio_command_sensor(), auto_radio_command_shutdown(), auto_radio_command_stand(), auto_radio_command_startup(), auto_radio_command_stop(), auto_sensor_event(), auto_set_comtitle(), auto_update_profile_event(), sendchannelstuff(), and update_wanted_heading().

int AUTO::ofsx

Definition at line 229 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_dumbfollow_event(), auto_init(), auto_radio_command_dfollow(), auto_radio_command_follow(), and auto_radio_command_position().

int AUTO::ofsy

Definition at line 229 of file autopilot.h.

Referenced by auto_astar_follow_event(), auto_dumbfollow_event(), auto_init(), auto_radio_command_dfollow(), auto_radio_command_follow(), and auto_radio_command_position().

rbtree AUTO::profile[AUTO_PROFILE_MAX_SIZE]

Definition at line 256 of file autopilot.h.

Referenced by auto_newautopilot(), auto_update_profile_event(), and load_autopilot_data().

short AUTO::roam_anchor_distance

Definition at line 268 of file autopilot.h.

Referenced by auto_command_roam(), and auto_roam_generate_target_hex().

short AUTO::roam_anchor_hex_x

Definition at line 266 of file autopilot.h.

Referenced by auto_command_roam(), and auto_roam_generate_target_hex().

short AUTO::roam_anchor_hex_y

Definition at line 267 of file autopilot.h.

Referenced by auto_command_roam(), and auto_roam_generate_target_hex().

short AUTO::roam_target_hex_x

Definition at line 264 of file autopilot.h.

Referenced by auto_roam_generate_target_hex().

short AUTO::roam_target_hex_y

Definition at line 265 of file autopilot.h.

Referenced by auto_roam_generate_target_hex().

unsigned char AUTO::roam_type

Definition at line 262 of file autopilot.h.

Referenced by auto_command_roam(), and auto_roam_generate_target_hex().

int AUTO::roam_update_tick

Definition at line 263 of file autopilot.h.

Referenced by auto_astar_roam_event().

unsigned short AUTO::speed

Definition at line 228 of file autopilot.h.

Referenced by ai_init(), ai_set_speed(), auto_command_speed(), auto_init(), auto_listcommands(), auto_newautopilot(), and auto_radio_command_speed().

dbref AUTO::target

Definition at line 233 of file autopilot.h.

Referenced by ai_init(), auto_command_autogun(), auto_gun_event(), auto_init(), auto_radio_command_autogun(), and auto_radio_command_target().

int AUTO::target_score

Definition at line 234 of file autopilot.h.

Referenced by auto_command_autogun(), auto_gun_event(), auto_init(), auto_radio_command_autogun(), and auto_radio_command_target().

int AUTO::target_threshold

Definition at line 235 of file autopilot.h.

Referenced by auto_gun_event(), auto_init(), and auto_radio_command_autogun().

int AUTO::target_update_tick

Definition at line 236 of file autopilot.h.

Referenced by auto_command_autogun(), auto_gun_event(), auto_init(), auto_radio_command_autogun(), and auto_radio_command_target().

unsigned char AUTO::verbose_level

Definition at line 231 of file autopilot.h.

int AUTO::w_bsc

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

int AUTO::w_dan

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

int AUTO::w_msc

Definition at line 279 of file autopilot.h.

Referenced by ai_check_path().

dllist* AUTO::weaplist

Definition at line 253 of file autopilot.h.

Referenced by auto_destroy_weaplist(), auto_gun_event(), auto_heartbeat(), auto_newautopilot(), and load_autopilot_data().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 04:25:48 2007 for BattletechMUX by  doxygen 1.4.7