#include <lev_data.h>
Stores all elements of Dungeon Keeper level, including data for ADiKted's special functions.
putemple.c, putgems.c, puttrain.c, and viewmap.c.
Definition at line 288 of file lev_data.h.
Data Fields | |
short | format_version |
struct UPOINT_2D | tlsize |
struct UPOINT_2D | subsize |
char * | fname |
char * | savfname |
unsigned short ** | slb |
unsigned char ** | own |
unsigned char ** | wib |
unsigned char ** | wlb |
unsigned short ** | flg |
unsigned char ** | clm |
unsigned int * | clm_utilize |
unsigned char * | clm_hdr |
unsigned char | inf |
struct DK_SCRIPT | script |
unsigned char **** | apt_lookup |
unsigned short ** | apt_subnums |
unsigned int | apt_total_count |
unsigned char **** | tng_lookup |
unsigned short ** | tng_subnums |
unsigned int | tng_total_count |
unsigned char **** | lgt_lookup |
unsigned short ** | lgt_subnums |
unsigned int | lgt_total_count |
unsigned short ** | tng_apt_lgt_nums |
unsigned short ** | dat |
struct LEVSTATS | stats |
struct LEVINFO | info |
struct LEVOPTIONS | optns |
struct DK_CUSTOM_CLM *** | cust_clm_lookup |
unsigned int | cust_clm_count |
struct DK_GRAFFITI ** | graffiti |
unsigned int | graffiti_count |
short LEVEL::format_version |
Definition at line 290 of file lev_data.h.
Referenced by get_lvl_format_version(), level_init(), load_vsn(), user_load_map(), user_save_map(), and write_vsn().
struct UPOINT_2D LEVEL::tlsize [read] |
Definition at line 292 of file lev_data.h.
Referenced by actnpt_add(), actnpt_del(), actnpts_verify(), compute_effectgen_sensitile(), compute_item_sensitile(), compute_torch_sensitile(), create_actnpt(), create_actnpt_number_used_arr(), create_graffiti(), create_herogate_number_used_arr(), create_thing_copy(), find_next_actnpt_on_map(), find_next_stlight_on_map(), find_next_thing_on_map(), generate_random_map(), generate_slab_bkgnd_default(), generate_slab_bkgnd_random(), get_actnpt(), get_actnpt_subnums(), get_free_indexedthing_number(), get_object(), get_object_subnums(), get_object_subtl_last(), get_object_tilnums(), get_object_type(), get_slab_surround(), get_stlight(), get_stlight_subnums(), get_thing(), get_thing_subnums(), get_tile_slab(), get_tile_wlb(), graffiti_clear_from_columns(), level_clear_apt(), level_clear_datclm(), level_clear_lgt(), level_clear_other(), level_clear_tng(), level_deinit(), level_free_apt(), level_free_lgt(), level_free_tng(), level_init(), level_set_size(), level_verify_logic(), level_verify_struct(), load_slb(), load_wlb(), object_del(), owned_things_count(), place_room_rndpos(), remove_automade_obj_for_whole_map(), set_graffiti_orientation(), set_tile_slab(), set_tile_wlb(), slab_is_central(), slabs_verify(), start_new_map(), stlight_add(), stlight_del(), subtl_in_effectgen_range(), thing_add(), thing_del(), thing_drop(), things_verify(), update_dat_last_column(), update_datclm_for_whole_map(), update_obj_for_whole_map(), update_obj_subpos_and_height_for_whole_map(), update_slab_owners(), update_things_stats(), user_set_owner_rect(), user_set_slab_rect(), user_set_slabown_rect(), write_apt(), write_def_clm_source(), write_def_tng_source(), write_lgt(), write_slb(), write_tng(), and write_wlb().
struct UPOINT_2D LEVEL::subsize [read] |
Definition at line 294 of file lev_data.h.
Referenced by add_custom_clms_to_script(), cust_col_del(), dat_verify(), find_dat_entry(), generate_map_bitmap(), generate_slab_bkgnd_default(), generate_slab_bkgnd_random(), get_cust_col(), get_dat_val(), get_nearest_object_idx(), get_nearest_thing_idx(), get_subtl_flg(), get_subtl_owner(), get_subtl_wib(), level_clear_datclm(), level_clear_other(), level_deinit(), level_init(), level_set_size(), load_dat(), load_flg(), load_own(), load_wib(), set_cust_col(), set_dat_val(), set_subtl_flg(), set_subtl_owner(), set_subtl_wib(), things_verify(), update_clm_utilize_counters(), update_dat_last_column(), update_slab_owners(), write_dat(), write_flg(), write_own(), and write_wib().
char* LEVEL::fname |
Definition at line 296 of file lev_data.h.
Referenced by format_lvl_fname(), generate_map_bitmap_mapfname(), get_lvl_fname(), level_deinit(), level_init(), load_dk1_map(), load_dke_map(), load_map_preview(), load_mapfile(), load_mapfile_msg(), save_dk1_map(), save_dke_map(), save_nfo_file(), and set_lvl_fname().
char* LEVEL::savfname |
Definition at line 298 of file lev_data.h.
Referenced by add_stats_to_script(), format_lvl_savfname(), get_lvl_savfname(), level_deinit(), level_init(), load_dk1_map(), load_dke_map(), load_map_preview(), save_dk1_map(), save_dke_map(), and set_lvl_savfname().
unsigned short** LEVEL::slb |
Definition at line 300 of file lev_data.h.
Referenced by get_tile_slab(), level_clear_other(), level_deinit(), level_init(), and set_tile_slab().
unsigned char** LEVEL::own |
Definition at line 302 of file lev_data.h.
Referenced by get_subtl_owner(), level_clear_other(), level_deinit(), level_init(), and set_subtl_owner().
unsigned char** LEVEL::wib |
Definition at line 304 of file lev_data.h.
Referenced by get_subtl_wib(), level_clear_other(), level_deinit(), level_init(), and set_subtl_wib().
unsigned char** LEVEL::wlb |
Definition at line 307 of file lev_data.h.
Referenced by get_tile_wlb(), level_clear_other(), level_deinit(), level_init(), load_wlb(), set_tile_wlb(), and write_wlb().
unsigned short** LEVEL::flg |
Definition at line 309 of file lev_data.h.
Referenced by get_subtl_flg(), level_clear_other(), level_deinit(), level_init(), and set_subtl_flg().
unsigned char** LEVEL::clm |
Definition at line 312 of file lev_data.h.
Referenced by clm_entry_is_used(), clm_utilize_dec(), clm_utilize_inc(), column_find_or_create(), columns_verify(), get_subtile_column(), level_clear_datclm(), level_deinit(), level_init(), level_verify_struct(), load_clm(), set_clm(), set_clm_ent_idx(), write_clm(), and write_def_clm_source().
unsigned int* LEVEL::clm_utilize |
Definition at line 314 of file lev_data.h.
Referenced by clm_entry_is_used(), clm_utilize_dec(), clm_utilize_inc(), level_clear_datclm(), level_deinit(), level_init(), level_verify_struct(), update_clm_utilize_counters(), and write_def_clm_source().
unsigned char* LEVEL::clm_hdr |
Definition at line 316 of file lev_data.h.
Referenced by level_clear_datclm(), level_deinit(), level_init(), level_verify_struct(), load_clm(), and write_clm().
unsigned char LEVEL::inf |
Definition at line 318 of file lev_data.h.
Referenced by generate_map_bitmap(), generate_random_map(), get_lvl_inf(), level_clear_other(), level_verify_struct(), load_inf(), set_lvl_inf(), start_new_map(), and write_inf().
struct DK_SCRIPT LEVEL::script [read] |
Definition at line 321 of file lev_data.h.
Referenced by dkscript_verify(), get_lvl_script(), level_clear_script(), level_deinit(), level_free_txt(), level_get_script_param(), level_init(), load_txt(), write_nfo(), and write_txt().
unsigned char**** LEVEL::apt_lookup |
Definition at line 325 of file lev_data.h.
Referenced by actnpt_add(), actnpt_del(), get_actnpt(), level_clear_apt(), level_deinit(), level_free_apt(), level_init(), level_verify_struct(), and load_apt().
unsigned short** LEVEL::apt_subnums |
Definition at line 326 of file lev_data.h.
Referenced by actnpt_add(), actnpt_del(), get_actnpt_subnums(), level_clear_apt(), level_deinit(), level_free_apt(), level_init(), and level_verify_struct().
unsigned int LEVEL::apt_total_count |
Definition at line 327 of file lev_data.h.
Referenced by actnpt_add(), actnpt_del(), create_actnpt_number_used_arr(), get_apt_total_count(), level_clear_apt(), load_apt(), and write_apt().
unsigned char**** LEVEL::tng_lookup |
Definition at line 329 of file lev_data.h.
Referenced by get_thing(), level_clear_tng(), level_deinit(), level_free_tng(), level_init(), thing_add(), thing_del(), and thing_drop().
unsigned short** LEVEL::tng_subnums |
Definition at line 330 of file lev_data.h.
Referenced by create_herogate_number_used_arr(), get_free_indexedthing_number(), get_object(), get_object_subnums(), get_object_subtl_last(), get_object_type(), get_thing_subnums(), level_clear_tng(), level_deinit(), level_free_tng(), level_init(), level_verify_struct(), object_del(), thing_add(), and thing_drop().
unsigned int LEVEL::tng_total_count |
Definition at line 331 of file lev_data.h.
Referenced by get_tng_total_count(), level_clear_tng(), load_tng(), thing_add(), thing_drop(), and write_tng().
unsigned char**** LEVEL::lgt_lookup |
Definition at line 334 of file lev_data.h.
Referenced by get_stlight(), level_clear_lgt(), level_deinit(), level_free_lgt(), level_init(), level_verify_struct(), load_lgt(), stlight_add(), and stlight_del().
unsigned short** LEVEL::lgt_subnums |
Definition at line 335 of file lev_data.h.
Referenced by get_object(), get_object_subnums(), get_object_subtl_last(), get_object_type(), get_stlight_subnums(), level_clear_lgt(), level_deinit(), level_free_lgt(), level_init(), level_verify_struct(), object_del(), stlight_add(), and stlight_del().
unsigned int LEVEL::lgt_total_count |
Definition at line 336 of file lev_data.h.
Referenced by get_lgt_total_count(), level_clear_lgt(), load_lgt(), stlight_add(), stlight_del(), and write_lgt().
unsigned short** LEVEL::tng_apt_lgt_nums |
Definition at line 338 of file lev_data.h.
Referenced by actnpt_add(), actnpt_del(), get_object_tilnums(), level_clear_tng(), level_deinit(), level_init(), stlight_add(), stlight_del(), thing_add(), and thing_drop().
unsigned short** LEVEL::dat |
Definition at line 343 of file lev_data.h.
Referenced by get_dat_val(), level_clear_other(), level_deinit(), level_init(), and set_dat_val().
struct LEVSTATS LEVEL::stats [read] |
Definition at line 347 of file lev_data.h.
Referenced by create_herogate_number_used_arr(), get_free_indexedthing_number(), get_lvl_stats(), level_clear_stats(), level_clear_tng(), save_dk1_map(), save_dke_map(), update_thing_stats(), and write_nfo().
struct LEVINFO LEVEL::info [read] |
Definition at line 349 of file lev_data.h.
Referenced by add_stats_to_script(), execute_adikted_command(), get_lif_name_text(), inc_info_usr_cmds_count(), inc_info_usr_creatobj_count(), inc_info_usr_mdswtch_count(), inc_info_usr_slbchng_count(), inc_info_ver_major(), inc_info_ver_minor(), inc_info_ver_rel(), level_clear_info(), level_deinit(), load_slb(), set_lif_name_text(), and write_nfo().
struct LEVOPTIONS LEVEL::optns [read] |
Definition at line 351 of file lev_data.h.
Referenced by cust_col_add_or_update(), execute_script_line(), format_lvl_fname(), format_lvl_savfname(), generate_map_bitmap_mapfname(), generate_random_map(), get_data_path(), get_datclm_auto_update(), get_levels_path(), get_obj_auto_update(), level_get_mapdraw_options(), level_get_options(), level_init(), level_set_mapdraw_options(), level_set_options(), level_verify_logic(), load_apt(), load_lgt(), load_tng(), load_txt(), set_data_path(), set_datclm_auto_update(), set_levels_path(), set_obj_auto_update(), start_new_map(), switch_datclm_auto_update(), switch_obj_auto_update(), update_dat_last_column(), and update_datclm_for_slab().
struct DK_CUSTOM_CLM*** LEVEL::cust_clm_lookup [read] |
Definition at line 355 of file lev_data.h.
Referenced by cust_col_add_or_update(), cust_col_del(), get_cust_col(), level_clear_other(), level_deinit(), level_init(), and set_cust_col().
unsigned int LEVEL::cust_clm_count |
Definition at line 356 of file lev_data.h.
Referenced by cust_col_del(), get_cust_clm_count(), level_clear_other(), and set_cust_col().
struct DK_GRAFFITI** LEVEL::graffiti [read] |
Definition at line 357 of file lev_data.h.
Referenced by add_graffiti_to_script(), get_graffiti(), get_graffiti_text(), graffiti_add_obj(), graffiti_del(), graffiti_idx_next(), level_clear_other(), and level_free_graffiti().
unsigned int LEVEL::graffiti_count |
Definition at line 358 of file lev_data.h.
Referenced by add_graffiti_to_script(), get_graffiti(), get_graffiti_count(), get_graffiti_text(), graffiti_add_obj(), graffiti_del(), graffiti_idx_next(), level_clear_other(), and level_free_graffiti().