Freeciv21
Develop your civilization from humble roots to a global empire
cached_waste Struct Reference

Used to cache the value of waste effects to speed up governors. More...

#include <city.h>

Public Attributes

int level = 0
 
int relative = 0
 
int by_distance = 0
 
int by_rel_distance = 0
 

Detailed Description

Used to cache the value of waste effects to speed up governors.

Definition at line 278 of file city.h.

Member Data Documentation

◆ by_distance

int cached_waste::by_distance = 0

Definition at line 281 of file city.h.

Referenced by city_waste().

◆ by_rel_distance

int cached_waste::by_rel_distance = 0

Definition at line 282 of file city.h.

Referenced by city_waste().

◆ level

int cached_waste::level = 0

Definition at line 279 of file city.h.

Referenced by city_waste().

◆ relative

int cached_waste::relative = 0

Definition at line 280 of file city.h.