src/hcode/include/debug.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DOCHECK(a, b)   if (a) { notify(player, b); return; }

Functions

void debug_allocfree (dbref key, void **data, int selector)
void debug_list (dbref player, void *data, char *buffer)
void debug_savedb (dbref player, void *data, char *buffer)
void debug_loaddb (dbref player, void *data, char *buffer)
void debug_shutdown (dbref player, void *data, char *buffer)


Define Documentation

#define DOCHECK ( a,
 )     if (a) { notify(player, b); return; }

Definition at line 12 of file debug.h.

Referenced by addtic_sub(), aero_checklz(), aero_land(), aero_takeoff(), aero_thrust(), aero_vheading(), auto_addcommand(), auto_disengage(), auto_engage(), auto_jump(), bomb_drop(), bsuit_attackleg(), bsuit_hide(), cleartic_sub(), debug_makemechs(), debug_setvrt(), debug_setxplevel(), debug_xptop(), deltic_sub(), do_charclear(), do_charstatus(), do_show(), firetic_sub(), initiate_ood(), JettisonPacks(), list_xcodestuff(), listtic_sub(), map_add_block(), map_add_mine(), map_addhex(), map_addice(), map_delice(), map_delobj(), map_listmechs(), map_loadmap(), map_mapemit(), map_pathfind(), map_savemap(), map_setconditions(), map_setmapsize(), mech_angeleccm(), mech_angelecm(), mech_attachcables(), mech_auto_turret(), mech_bomb(), mech_bootlegger(), mech_brief(), mech_c3_join_leave(), mech_c3_message(), mech_c3_network(), mech_c3_targets(), mech_c3i_join_leave(), mech_c3i_message(), mech_c3i_network(), mech_c3i_targets(), mech_charge(), mech_createbays(), mech_critstatus(), mech_damage(), mech_detachcables(), mech_dig(), mech_disableweap(), mech_disembark(), mech_drop(), mech_dropoff(), mech_dump(), mech_eccm(), mech_ecm(), mech_eject(), mech_embark(), mech_enterbase(), mech_enterbay(), mech_eta(), mech_explode(), mech_fireweapon(), mech_fixturret(), mech_fliparms(), mech_heading(), mech_hulldown(), mech_inarc_ammo_toggle(), mech_jump(), mech_lateral(), mech_loadcargo(), mech_lrsmap(), mech_masc(), mech_navigate(), mech_pickup(), mech_rac(), mech_radio(), mech_range(), mech_report(), mech_rotatetorso(), mech_Rsetmapindex(), mech_Rsetteam(), mech_Rsetxy(), mech_safety(), mech_scan(), mech_scharge(), mech_sendchannel(), mech_sensor(), mech_set_channelfreq(), mech_set_channelmode(), mech_set_channeltitle(), mech_settarget(), mech_shutdown(), mech_slite(), mech_snipe(), mech_speed(), mech_spot(), mech_stand(), mech_startup(), mech_stores(), mech_tacmap(), mech_tag(), mech_target(), mech_thrash(), mech_toggle_mode_sub(), mech_turret(), mech_udisembark(), mech_unjamammo(), mech_unloadcargo(), mech_usebin(), mech_vector(), mech_vertical(), mech_view(), mech_weaponspecs(), mechrep_Raddspecial(), mechrep_Raddweap(), mechrep_Rdisplaysection(), mechrep_Rfiremode(), mechrep_Rreload(), mechrep_Rrepair(), mechrep_Rrestore(), mechrep_Rsavetemp(), mechrep_Rsetarmor(), mechrep_Rsetmove(), mechrep_Rsettarget(), mechrep_Rsettype(), mechrep_setcargospace(), multi_weap_sel(), remove_inarc_pods_mech(), remove_inarc_pods_tank(), set_xcodestuff(), show_mechs_damage(), show_mines_in_hex(), stuff_change_sub(), tech_checkstatus(), tech_fix(), tech_repairs(), TECHCOMMANDH(), turret_deinitialize(), turret_initialize(), update_entry(), update_entry_set(), update_entry_toggle(), and vehicle_extinquish_fire().


Function Documentation

void debug_allocfree ( dbref  key,
void **  data,
int  selector 
)

void debug_list ( dbref  player,
void *  data,
char *  buffer 
)

Definition at line 24 of file debug.c.

00025 {
00026         char *args[3];
00027         int argc;
00028 
00029         argc = mech_parseattributes(buffer, args, 3);
00030         if(argc == 0)
00031                 return;
00032         else if(args[0][0] == 'M' || args[0][0] == 'm')
00033                 if(args[0][1] == 'E' || args[0][1] == 'e')
00034                         DumpMechs(player);
00035         if(args[0][1] == 'A' || args[0][1] == 'a')
00036                 DumpMaps(player);
00037 }

void debug_loaddb ( dbref  player,
void *  data,
char *  buffer 
)

Definition at line 46 of file debug.c.

00047 {
00048         notify(player, "--- Loading ---");
00049         LoadSpecialObjects();
00050         notify(player, "---  Done   ---");
00051 }

void debug_savedb ( dbref  player,
void *  data,
char *  buffer 
)

Definition at line 39 of file debug.c.

00040 {
00041         notify(player, "--- Saving ---");
00042         SaveSpecialObjects(DUMP_NORMAL);
00043         notify(player, "---  Done  ---");
00044 }

void debug_shutdown ( dbref  player,
void *  data,
char *  buffer 
)

Definition at line 167 of file debug.c.

00168 {
00169         char *args[3];
00170         int argc;
00171 
00172         argc = mech_parseattributes(buffer, args, 3);
00173         if(argc > 0)
00174                 ShutDownMap(player, atoi(args[0]));
00175 }


Generated on Mon May 28 04:25:28 2007 for BattletechMUX by  doxygen 1.4.7