Feature #1362 ยป 0046-Generate-enum-citytile_type-by-generate_enums.py.patch
| common/fc_types.h | ||
|---|---|---|
|
#define SPECENUM_COUNT CITYT_LAST
|
||
|
#include "specenum_gen.h"
|
||
|
/*
|
||
|
* CityStatus requirement types.
|
||
|
*
|
||
|
* Used in the network protocol
|
||
|
*/
|
||
|
#define SPECENUM_NAME citystatus_type
|
||
|
#define SPECENUM_VALUE0 CITYS_OWNED_BY_ORIGINAL
|
||
|
#define SPECENUM_VALUE0NAME "OwnedByOriginal"
|
||
|
#define SPECENUM_VALUE1 CITYS_STARVED
|
||
|
#define SPECENUM_VALUE1NAME "Starved"
|
||
|
#define SPECENUM_VALUE2 CITYS_DISORDER
|
||
|
#define SPECENUM_VALUE2NAME "Disorder"
|
||
|
#define SPECENUM_VALUE3 CITYS_CELEBRATION
|
||
|
#define SPECENUM_VALUE3NAME "Celebration"
|
||
|
#define SPECENUM_VALUE4 CITYS_TRANSFERRED
|
||
|
#define SPECENUM_VALUE4NAME "Transferred"
|
||
|
#define SPECENUM_COUNT CITYS_LAST
|
||
|
#include "specenum_gen.h"
|
||
|
/*
|
||
|
* PlayerState requirement types.
|
||
|
*
|
||
| gen_headers/enums/fc_types_enums.def | ||
|---|---|---|
|
/* Hardcoded action that's just controlled by enablers */
|
||
|
ENABLER_CHECK
|
||
|
end
|
||
|
/* CityStatus requirement types. */
|
||
|
/* Values used in the network protocol. */
|
||
|
enum citystatus_type
|
||
|
prefix CITYS_
|
||
|
count LAST
|
||
|
values
|
||
|
OWNED_BY_ORIGINAL "OwnedByOriginal"
|
||
|
STARVED "Starved"
|
||
|
DISORDER "Disorder"
|
||
|
CELEBRATION "Celebration"
|
||
|
TRANSFERRED "Transferred"
|
||
|
end
|
||