/* * Global variables. Their descriptions are in vars.h; they are * commented here only when they actually live elsewhere. */ #include "param.h" #include "vars.h" LEVEL Levels[N_LEVELS]; LOC *entrance; int elem_order[L__NELEM]; int elem_order_i_[L__NELEM]; // MONTYPE montypes[]; -> in montypes.c (generated from monlist) // OBJTYPE objtypes[]; -> in objtypes.c (generated from objtypelist) MONST *you; // int dispox; -> in display.c // int dispoy; -> in display.c // int mapox; -> in display.c // int mapoy; -> in display.c OBJ *map; TIME curtime; MONST *mchain; int mchain_count; LOC *seecell_loc; const int delta[8][2] = { { -1, -1 }, { -1, 0 }, { -1, 1 }, { 0, 1 }, { 1, 1 }, { 1, 0 }, { 1, -1 }, { 0, -1 } }; int Z_mad = 0; // LOC *gate_dungeon; -> in gates.c // LOC *gate_uworld_dungeon; -> in gates.c // LOC *gate_uworld_hell; -> in gates.c // LOC *gate_hell; -> in gates.c // LOC *gate_elem_dungeon_[L__NELEM]; -> in gates.c // LOC *gate_elem_uworld_[L__NELEM]; -> in gates.c