Angband
Data Fields
angband_constants Struct Reference

Information about maximal indices of certain arrays. More...

#include <init.h>

Data Fields

u16b f_max
 Maximum number of terrain features. More...
 
u16b trap_max
 Maximum number of trap kinds. More...
 
u16b k_max
 Maximum number of object base kinds. More...
 
u16b a_max
 Maximum number of artifact kinds. More...
 
u16b e_max
 Maximum number of ego-item kinds. More...
 
u16b r_max
 Maximum number of monster races. More...
 
u16b mp_max
 Maximum number of monster pain message sets. More...
 
u16b s_max
 Maximum number of magic spells. More...
 
u16b pit_max
 Maximum number of monster pit types. More...
 
u16b act_max
 Maximum number of activations for randarts. More...
 
u16b curse_max
 Maximum number of curses. More...
 
u16b slay_max
 Maximum number of slays. More...
 
u16b brand_max
 Maximum number of brands. More...
 
u16b mon_blows_max
 Maximum number of monster blows. More...
 
u16b blow_methods_max
 Maximum number of monster blow methods. More...
 
u16b blow_effects_max
 Maximum number of monster blow effects. More...
 
u16b equip_slots_max
 Maximum number of player equipment slots. More...
 
u16b profile_max
 Maximum number of cave_profiles. More...
 
u16b quest_max
 Maximum number of quests. More...
 
u16b projection_max
 Maximum number of projection types. More...
 
u16b calculation_max
 Maximum number of object power calculations. More...
 
u16b property_max
 Maximum number of object properties. More...
 
u16b ordinary_kind_max
 Maximum number of objects in object.txt. More...
 
u16b level_monster_max
 Maximum number of monsters on a given level. More...
 
u16b alloc_monster_chance
 1/per-turn-chance of generation More...
 
u16b level_monster_min
 Minimum number generated. More...
 
u16b town_monsters_day
 Townsfolk generated - day. More...
 
u16b town_monsters_night
 Townsfolk generated - night. More...
 
u16b repro_monster_max
 Maximum breeders on a level. More...
 
u16b ood_monster_chance
 Chance of OoD monster is 1 in this. More...
 
u16b ood_monster_amount
 Max number of levels OoD. More...
 
u16b glyph_hardness
 How hard for a monster to break a glyph. More...
 
u16b repro_monster_rate
 Monster reproduction rate-slower. More...
 
u16b life_drain_percent
 Percent of player life drained. More...
 
u16b flee_range
 Monsters run this many grids out of view. More...
 
u16b turn_range
 Monsters turn to fight closer than this. More...
 
u16b level_room_max
 Maximum number of rooms on a level. More...
 
u16b level_door_max
 Maximum number of potential doors on a level. More...
 
u16b wall_pierce_max
 Maximum number of potential wall piercings. More...
 
u16b tunn_grid_max
 Maximum number of tunnel grids. More...
 
u16b room_item_av
 Average number of items in rooms. More...
 
u16b both_item_av
 Average number of items in random places. More...
 
u16b both_gold_av
 Average number of money items. More...
 
u16b level_pit_max
 Maximum number of pits on a level. More...
 
u16b max_depth
 
u16b day_length
 
u16b dungeon_hgt
 Maximum number of vertical grids on a level. More...
 
u16b dungeon_wid
 Maximum number of horizontical grids on a level. More...
 
u16b town_hgt
 Maximum number of vertical grids in the town. More...
 
u16b town_wid
 Maximum number of horizontical grids in the town. More...
 
u16b feeling_total
 
u16b feeling_need
 
u16b stair_skip
 
u16b move_energy
 
u16b pack_size
 Maximum number of pack slots. More...
 
u16b quiver_size
 Maximum number of quiver slots. More...
 
u16b quiver_slot_size
 Maximum number of missiles per quiver slot. More...
 
u16b floor_size
 Maximum number of items per floor grid. More...
 
u16b store_inven_max
 Maximum number of objects in store inventory. More...
 
u16b store_turns
 Number of turns between turnovers. More...
 
u16b store_shuffle
 1/per-day-chance of owner changing More...
 
u16b store_magic_level
 Level for apply_magic() in normal stores. More...
 
u16b max_obj_depth
 
u16b great_obj
 
u16b great_ego
 
u16b fuel_torch
 
u16b fuel_lamp
 
u16b default_lamp
 
u16b max_sight
 
u16b max_range
 
u16b start_gold
 

Detailed Description

Information about maximal indices of certain arrays.

This will become a list of "all" the game constants - NRM

Field Documentation

◆ a_max

u16b a_max

◆ act_max

u16b act_max

Maximum number of activations for randarts.

Referenced by add_activation(), cleanup_act(), and finish_parse_act().

◆ alloc_monster_chance

u16b alloc_monster_chance

1/per-turn-chance of generation

Referenced by parse_constants_mon_gen(), and process_world().

◆ blow_effects_max

u16b blow_effects_max

Maximum number of monster blow effects.

Referenced by blow_index(), and finish_parse_eff().

◆ blow_methods_max

u16b blow_methods_max

Maximum number of monster blow methods.

Referenced by finish_parse_meth().

◆ both_gold_av

u16b both_gold_av

Average number of money items.

Referenced by classic_gen(), gauntlet_gen(), lair_gen(), modified_gen(), moria_gen(), and parse_constants_dun_gen().

◆ both_item_av

u16b both_item_av

Average number of items in random places.

Referenced by classic_gen(), gauntlet_gen(), lair_gen(), modified_gen(), moria_gen(), and parse_constants_dun_gen().

◆ brand_max

u16b brand_max

◆ calculation_max

u16b calculation_max

Maximum number of object power calculations.

Referenced by cleanup_object_power(), finish_parse_object_power(), and object_power().

◆ curse_max

u16b curse_max

◆ day_length

u16b day_length

◆ default_lamp

u16b default_lamp

◆ dungeon_hgt

u16b dungeon_hgt

◆ dungeon_wid

u16b dungeon_wid

◆ e_max

u16b e_max

◆ equip_slots_max

u16b equip_slots_max

Maximum number of player equipment slots.

Referenced by finish_parse_body(), and rd_player().

◆ f_max

u16b f_max

◆ feeling_need

u16b feeling_need

◆ feeling_total

u16b feeling_total

◆ flee_range

u16b flee_range

Monsters run this many grids out of view.

Referenced by get_move(), get_move_find_range(), and parse_constants_mon_play().

◆ floor_size

u16b floor_size

◆ fuel_lamp

u16b fuel_lamp

◆ fuel_torch

u16b fuel_torch

◆ glyph_hardness

u16b glyph_hardness

How hard for a monster to break a glyph.

Referenced by monster_turn_glyph(), and parse_constants_mon_play().

◆ great_ego

u16b great_ego

◆ great_obj

u16b great_obj

◆ k_max

u16b k_max

◆ level_door_max

u16b level_door_max

Maximum number of potential doors on a level.

Referenced by build_tunnel(), cave_generate(), and parse_constants_dun_gen().

◆ level_monster_max

u16b level_monster_max

Maximum number of monsters on a given level.

Referenced by cave_generate(), cave_new(), mon_pop(), parse_constants_level_max(), process_world(), and rd_monsters_aux().

◆ level_monster_min

u16b level_monster_min

◆ level_pit_max

u16b level_pit_max

Maximum number of pits on a level.

Referenced by parse_constants_dun_gen(), and room_build().

◆ level_room_max

u16b level_room_max

Maximum number of rooms on a level.

Referenced by cave_generate(), find_space(), parse_constants_dun_gen(), and room_build().

◆ life_drain_percent

u16b life_drain_percent

◆ max_depth

u16b max_depth

◆ max_obj_depth

u16b max_obj_depth

◆ max_range

u16b max_range

◆ max_sight

u16b max_sight

◆ mon_blows_max

u16b mon_blows_max

◆ move_energy

u16b move_energy

◆ mp_max

u16b mp_max

Maximum number of monster pain message sets.

Referenced by cleanup_pain(), finish_parse_pain(), and parse_mon_base_pain().

◆ ood_monster_amount

u16b ood_monster_amount

Max number of levels OoD.

Referenced by get_mon_num(), and parse_constants_mon_gen().

◆ ood_monster_chance

u16b ood_monster_chance

Chance of OoD monster is 1 in this.

Referenced by get_mon_num(), and parse_constants_mon_gen().

◆ ordinary_kind_max

u16b ordinary_kind_max

◆ pack_size

u16b pack_size

◆ pit_max

u16b pit_max

Maximum number of monster pit types.

Referenced by cleanup_pits(), finish_parse_pit(), and set_pit_type().

◆ profile_max

u16b profile_max

Maximum number of cave_profiles.

Referenced by choose_profile(), cleanup_profile(), find_cave_profile(), and finish_parse_profile().

◆ projection_max

u16b projection_max

Maximum number of projection types.

Referenced by cleanup_projection(), and finish_parse_projection().

◆ property_max

u16b property_max

◆ quest_max

u16b quest_max

◆ quiver_size

u16b quiver_size

◆ quiver_slot_size

u16b quiver_slot_size

Maximum number of missiles per quiver slot.

Referenced by item_menu_browser(), pack_slots_used(), parse_constants_carry_cap(), quiver_absorb_num(), and show_obj_list().

◆ r_max

u16b r_max

◆ repro_monster_max

u16b repro_monster_max

Maximum breeders on a level.

Referenced by monster_turn_multiply(), and parse_constants_mon_gen().

◆ repro_monster_rate

u16b repro_monster_rate

Monster reproduction rate-slower.

Referenced by monster_turn_multiply(), and parse_constants_mon_play().

◆ room_item_av

u16b room_item_av

Average number of items in rooms.

Referenced by classic_gen(), gauntlet_gen(), lair_gen(), modified_gen(), moria_gen(), and parse_constants_dun_gen().

◆ s_max

u16b s_max

Maximum number of magic spells.

◆ slay_max

u16b slay_max

◆ stair_skip

u16b stair_skip

◆ start_gold

u16b start_gold

◆ store_inven_max

u16b store_inven_max

Maximum number of objects in store inventory.

Referenced by parse_constants_store(), rd_stores_aux(), refresh_stock(), setup_tests(), store_menu_init(), store_new(), and write_character_dump().

◆ store_magic_level

u16b store_magic_level

Level for apply_magic() in normal stores.

Referenced by parse_constants_store(), and store_create_random().

◆ store_shuffle

u16b store_shuffle

1/per-day-chance of owner changing

Referenced by do_cmd_buy(), parse_constants_store(), and store_update().

◆ store_turns

u16b store_turns

Number of turns between turnovers.

Referenced by parse_constants_store(), and process_world().

◆ town_hgt

u16b town_hgt

Maximum number of vertical grids in the town.

Referenced by cave_generate(), parse_constants_world(), town_gen(), and town_gen_layout().

◆ town_monsters_day

u16b town_monsters_day

Townsfolk generated - day.

Referenced by parse_constants_mon_gen(), and town_gen().

◆ town_monsters_night

u16b town_monsters_night

Townsfolk generated - night.

Referenced by parse_constants_mon_gen(), and town_gen().

◆ town_wid

u16b town_wid

Maximum number of horizontical grids in the town.

Referenced by cave_generate(), parse_constants_world(), town_gen(), and town_gen_layout().

◆ trap_max

u16b trap_max

◆ tunn_grid_max

u16b tunn_grid_max

Maximum number of tunnel grids.

Referenced by build_tunnel(), cave_generate(), and parse_constants_dun_gen().

◆ turn_range

u16b turn_range

Monsters turn to fight closer than this.

Referenced by get_move_find_range(), and parse_constants_mon_play().

◆ wall_pierce_max

u16b wall_pierce_max

Maximum number of potential wall piercings.

Referenced by build_tunnel(), cave_generate(), and parse_constants_dun_gen().


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