|
Crossfire Server, Branches 1.12
R18729
|
#include <time.h>#include <stdio.h>#include <global.h>#include <maze_gen.h>#include <room_gen.h>#include <random_map.h>#include <rproto.h>
Include dependency graph for standalone.c:Go to the source code of this file.
Macros | |
| #define | LO_NEWFILE 2 |
Functions | |
| int | auto_apply (object *op) |
| void | clean_tmp_files (void) |
| void | dragon_ability_gain (object *ob, int x, int y) |
| void | draw_ext_info (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *txt, const char *txt2) |
| void | draw_ext_info_format (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...) |
| void | emergency_save (int x) |
| void | esrv_del_item (player *pl, int tag) |
| void | esrv_send_item (object *ob, object *obx) |
| void | esrv_update_item (int flags, object *pl, object *op) |
| void | esrv_update_spells (player *pl) |
| int | execute_event (object *op, int eventcode, object *activator, object *third, const char *message, int fix) |
| int | execute_global_event (int eventcode,...) |
| void | ext_info_map (int color, const mapstruct *map, uint8 type, uint8 subtype, const char *str1, const char *str2) |
| object * | find_skill_by_number (object *who, int skillno) |
| void | fix_auto_apply (mapstruct *m) |
| int | main (int argc, char *argv[]) |
| void | monster_check_apply (object *ob, object *obt) |
| void | move_firewall (object *ob) |
| void | set_darkness_map (mapstruct *m) |
| void | set_map_timeout (mapstruct *oldmap) |
| void | trap_adjust (object *ob, int x) |
| #define LO_NEWFILE 2 |
Definition at line 29 of file standalone.c.
Referenced by main().
| int auto_apply | ( | object * | op | ) |
Definition at line 85 of file standalone.c.
References CLEAR_FLAG, create_treasure(), mapdef::difficulty, liv::exp, FLAG_AUTO_APPLY, FLAG_CURSED, FLAG_DAMNED, FLAG_UNPAID, free_object(), generate_treasure(), GT_ENVIRONMENT, HAS_RANDOM_ITEMS, liv::hp, identify(), insert_ob_in_map(), obj::map, QUERY_FLAG, obj::randomitems, remove_ob(), SET_FLAG, SHOP_FLOOR, obj::stats, TREASURE, obj::type, obj::x, and obj::y.
Referenced by fix_auto_apply().
Here is the call graph for this function:
Here is the caller graph for this function:| void clean_tmp_files | ( | void | ) |
Definition at line 194 of file standalone.c.
| void dragon_ability_gain | ( | object * | ob, |
| int | x, | ||
| int | y | ||
| ) |
Definition at line 203 of file standalone.c.
| void draw_ext_info | ( | int | flags, |
| int | pri, | ||
| const object * | pl, | ||
| uint8 | type, | ||
| uint8 | subtype, | ||
| const char * | txt, | ||
| const char * | txt2 | ||
| ) |
Those are dummy functions defined to resolve all symboles. Added as part of glue cleaning. Ryo 2005-07-15
Definition at line 171 of file standalone.c.
References logfile.
| void draw_ext_info_format | ( | int | flags, |
| int | pri, | ||
| const object * | pl, | ||
| uint8 | type, | ||
| uint8 | subtype, | ||
| const char * | new_format, | ||
| const char * | old_format, | ||
| ... | |||
| ) |
Definition at line 175 of file standalone.c.
References logfile.
| void emergency_save | ( | int | x | ) |
Definition at line 191 of file standalone.c.
| void esrv_del_item | ( | player * | pl, |
| int | tag | ||
| ) |
Definition at line 213 of file standalone.c.
Definition at line 197 of file standalone.c.
Definition at line 200 of file standalone.c.
| void esrv_update_spells | ( | player * | pl | ) |
Definition at line 216 of file standalone.c.
| int execute_event | ( | object * | op, |
| int | eventcode, | ||
| object * | activator, | ||
| object * | third, | ||
| const char * | message, | ||
| int | fix | ||
| ) |
Definition at line 225 of file standalone.c.
| int execute_global_event | ( | int | eventcode, |
| ... | |||
| ) |
Definition at line 229 of file standalone.c.
| void ext_info_map | ( | int | color, |
| const mapstruct * | map, | ||
| uint8 | type, | ||
| uint8 | subtype, | ||
| const char * | str1, | ||
| const char * | str2 | ||
| ) |
Definition at line 184 of file standalone.c.
References logfile.
Definition at line 209 of file standalone.c.
| void fix_auto_apply | ( | mapstruct * | m | ) |
Definition at line 130 of file standalone.c.
References obj::above, obj::arch, auto_apply(), check_trigger(), CONTAINER, create_treasure(), mapdef::difficulty, FLAG_AUTO_APPLY, GET_MAP_OB, GT_APPLY, HAS_RANDOM_ITEMS, liv::hp, MAP_HEIGHT, MAP_WIDTH, PLAYER, QUERY_FLAG, obj::randomitems, obj::stats, TREASURE, TRIGGER_BUTTON, TRIGGER_PEDESTAL, and obj::type.
Here is the call graph for this function:| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 41 of file standalone.c.
References generate_random_map(), init_archetypes(), init_artifacts(), init_formulae(), init_globals(), init_gods(), init_library(), init_readable(), LO_NEWFILE, load_parameters(), save_map(), SAVE_MODE_INPLACE, RMParms::Xsize, and RMParms::Ysize.
Here is the call graph for this function:Definition at line 219 of file standalone.c.
| void move_firewall | ( | object * | ob | ) |
Definition at line 188 of file standalone.c.
| void set_darkness_map | ( | mapstruct * | m | ) |
Definition at line 206 of file standalone.c.
| void set_map_timeout | ( | mapstruct * | oldmap | ) |
Definition at line 77 of file standalone.c.
| void trap_adjust | ( | object * | ob, |
| int | x | ||
| ) |
Definition at line 222 of file standalone.c.