LEVEL Struct Reference

#include <lev_data.h>


Detailed Description

The main Level data structure.

Stores all elements of Dungeon Keeper level, including data for ADiKted's special functions.

Examples:

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

Field Documentation

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]

char* LEVEL::fname

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

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

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

unsigned int* LEVEL::clm_utilize

unsigned char* LEVEL::clm_hdr

unsigned char LEVEL::inf

struct DK_SCRIPT LEVEL::script [read]

unsigned char**** LEVEL::apt_lookup

unsigned short** LEVEL::apt_subnums

unsigned int LEVEL::apt_total_count

unsigned char**** LEVEL::tng_lookup

unsigned short** LEVEL::tng_subnums

unsigned int LEVEL::tng_total_count

unsigned char**** LEVEL::lgt_lookup

unsigned short** LEVEL::lgt_subnums

unsigned int LEVEL::lgt_total_count

unsigned short** LEVEL::tng_apt_lgt_nums

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]

struct LEVINFO LEVEL::info [read]

struct LEVOPTIONS LEVEL::optns [read]

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]

unsigned int LEVEL::graffiti_count


The documentation for this struct was generated from the following file:

Generated on Tue Sep 2 18:51:52 2008 for libAdikted by  doxygen 1.5.6