Freeciv-3.1: disaster_type Struct Reference

Freeciv-3.1

Loading...
Searching...
No Matches
Data Fields
disaster_type Struct Reference

`#include <disaster.h>`

## Data Fields

int | id
struct name_translation | name
struct requirement_vector | reqs
int | frequency
bv_disaster_effects | effects

## Detailed Description

Definition at line 46 of file disaster.h.

## Field Documentation

## ◆ effects

bv_disaster_effects disaster_type::effects

Definition at line 56 of file disaster.h.

Referenced by disaster_has_effect(), and handle_ruleset_disaster().

## ◆ frequency

int disaster_type::frequency

Definition at line 54 of file disaster.h.

Referenced by handle_ruleset_disaster().

## ◆ id

int disaster_type::id

Definition at line 47 of file disaster.h.

Referenced by disaster_number(), and disaster_types_init().

## ◆ name

struct name_translation disaster_type::name

Definition at line 48 of file disaster.h.

Referenced by disaster_name_translation(), disaster_rule_name(), and handle_ruleset_disaster().

## ◆ reqs

struct requirement_vector disaster_type::reqs

Definition at line 50 of file disaster.h.

Referenced by can_disaster_happen(), and handle_ruleset_disaster().