src/lib/global/symbol.c File Reference

#include <config.h>
#include "land.h"
#include "misc.h"
#include "mission.h"
#include "nat.h"
#include "news.h"
#include "nsc.h"
#include "nuke.h"
#include "plague.h"
#include "plane.h"
#include "retreat.h"
#include "sect.h"
#include "ship.h"
#include "treaty.h"

Include dependency graph for symbol.c:

Go to the source code of this file.

Variables

symbol agreement_statuses []
symbol land_chr_flags []
symbol level []
symbol meta_flags []
symbol meta_type []
symbol missions []
symbol nation_flags []
symbol nation_rejects []
symbol nation_relations []
symbol nation_status []
symbol nuke_chr_flags []
symbol packing []
symbol page_headings []
symbol plague_stages []
symbol plane_chr_flags []
symbol plane_flags []
symbol resources []
symbol retreat_flags []
symbol sector_navigation []
symbol ship_chr_flags []
symbol treaty_flags []


Variable Documentation

struct symbol agreement_statuses[]

Initial value:

 {
    {AGREE_FREE, "free"},
    {AGREE_PROPOSED, "proposed"},
    {AGREE_SIGNED, "signed"},
    {0, NULL}
}

Definition at line 50 of file symbol.c.

struct symbol land_chr_flags[]

Initial value:

 {
    {L_ENGINEER, "engineer"},
    {L_SUPPLY, "supply"},
    {L_SECURITY, "security"},
    {L_LIGHT, "light"},
    {L_MARINE, "marine"},
    {L_RECON, "recon"},
    {L_RADAR, "radar"},
    {L_ASSAULT, "assault"},
    {L_FLAK, "flak"},
    {L_SPY, "spy"},
    {L_TRAIN, "train"},
    {L_HEAVY, "heavy"},
    {0, NULL}
}

Definition at line 57 of file symbol.c.

Referenced by show_land_capab().

struct symbol level[]

Initial value:

 {
    {-1, "none"},
    {NAT_TLEV, "technology"},
    {NAT_RLEV, "research"},
    {NAT_ELEV, "education"},
    {NAT_HLEV, "happiness"},
    {0, NULL}
}

Definition at line 73 of file symbol.c.

Referenced by age_levels(), hard(), and orde().

struct symbol meta_flags[]

Initial value:

 {
    {NSC_DEITY, "deity"},
    {NSC_EXTRA, "extra"},
    {NSC_CONST, "const"},
    {NSC_BITS, "bits"},
    {0, NULL}
}

Definition at line 82 of file symbol.c.

struct symbol meta_type[]

Initial value:

 {
    {NSC_LONG, "d"},
    {NSC_DOUBLE, "g"},
    {NSC_STRING, "s"},
    {NSC_CHAR, "d"},
    {NSC_UCHAR, "d"},
    {NSC_SHORT, "d"},
    {NSC_USHORT, "d"},
    {NSC_INT, "d"},
    {NSC_XCOORD, "d"},
    {NSC_YCOORD, "d"},
    {NSC_HIDDEN, "d"},
    {NSC_TIME, "d"},
    {NSC_FLOAT, "g"},
    {NSC_STRINGY,"c"},
    {NSC_NOTYPE, NULL}
}

Definition at line 90 of file symbol.c.

struct symbol missions[]

Initial value:

 {
    {MI_NONE, "none"},
    {MI_INTERDICT, "interdiction"},
    {MI_SUPPORT, "support"},
    {MI_RESERVE, "reserve"},
    {MI_ESCORT, "escort"},
    {MI_AIR_DEFENSE, "air defense"},
    {MI_DSUPPORT, "defensive support"},
    {MI_OSUPPORT, "offensive support"},
    {0, NULL}
}

Definition at line 108 of file symbol.c.

struct symbol nation_flags[]

Initial value:

 {
    {NF_INFORM, "inform"},
    {NF_FLASH, "flash"},
    {NF_BEEP, "beep"},
    {NF_COASTWATCH, "coastwatch"},
    {NF_SONAR, "sonar"},
    {NF_TECHLISTS, "techlists"},
    {NF_SACKED, "sacked"},
    {0, NULL}
}

Definition at line 120 of file symbol.c.

struct symbol nation_rejects[]

Initial value:

 {
    {REJ_TELE, "telegrams"},
    {REJ_TREA, "treaties"},
    {REJ_ANNO, "announcements"},
    {REJ_LOAN, "loans"},
    {0, NULL}
}

Definition at line 131 of file symbol.c.

struct symbol nation_relations[]

Initial value:

 {
    {-1, "unknown"},
    {AT_WAR, "at-war"},
    {SITZKRIEG, "sitzkrieg"},
    {MOBILIZATION, "mobilization"},
    {HOSTILE, "hostile"},
    {NEUTRAL, "neutral"},
    {FRIENDLY, "friendly"},
    {ALLIED, "allied"},
    {0, NULL}
}

Definition at line 139 of file symbol.c.

struct symbol nation_status[]

Initial value:

 {
    {STAT_UNUSED, "unused"},
    {STAT_NEW,  "new"},
    {STAT_VIS, "visitor"},
    {STAT_SANCT, "sanctuary"},
    {STAT_ACTIVE, "active"},
    {STAT_GOD, "deity"},
    {0, NULL}
}

Definition at line 151 of file symbol.c.

struct symbol nuke_chr_flags[]

Initial value:

 {
    {N_NEUT, "neutron"},
    {0, NULL}
}

Definition at line 161 of file symbol.c.

Referenced by show_nuke_capab().

struct symbol packing[]

Initial value:

 {
    {IPKG, "inefficient"},
    {NPKG, "normal"},
    {WPKG, "warehouse"},
    {UPKG, "urban"},
    {BPKG, "bank"},
    {0, NULL}
}

Definition at line 166 of file symbol.c.

Referenced by dodeliver(), move(), and s_commod().

struct symbol page_headings[]

Initial value:

 {
    {N_NOTUSED, "Comics"},
    {N_FOR, "Foreign Affairs"},
    {N_FRONT, "The Front Line"},
    {N_SEA, "The High Seas"},
    {N_SKY, "Sky Watch"},
    {N_MISS, "Guidance Systems"},
    {N_ARTY, "Firestorms"},
    {N_ECON, "Business & Economics"},
    {N_COLONY, "The Frontier"},
    {N_HOME, "The Home Front"},
    {N_SPY, "Espionage"},
    {N_TELE, "Telecommunications"},
    {0, NULL}
}

Definition at line 175 of file symbol.c.

Referenced by news(), and show_news().

struct symbol plague_stages[]

Initial value:

 {
    {PLG_HEALTHY, "healthy"},
    {PLG_DYING, "dying"},
    {PLG_INFECT, "infect"},
    {PLG_INCUBATE, "incubate"},
    {PLG_EXPOSED, "exposed"},
    {0, NULL}
}

Definition at line 191 of file symbol.c.

struct symbol plane_chr_flags[]

Initial value:

 {
    {P_T, "tactical"},
    {P_B, "bomber"},
    {P_F, "intercept"},
    {P_C, "cargo"},
    {P_V, "VTOL"},
    {P_M, "missile"},
    {P_L, "light"},
    {P_S, "spy"},
    {P_I, "image"},
    {P_O, "satellite"},
    {P_X, "stealth"},
    {P_N, "SDI"},
    {P_H, "half-stealth"},
    {P_E, "x-light"},
    {P_K, "helo"},
    {P_A, "ASW"},
    {P_P, "para"},
    {P_ESC, "escort"},
    {P_MINE, "mine"},
    {P_SWEEP, "sweep"},
    {P_MAR, "marine"},
    {0, NULL}
}

Definition at line 200 of file symbol.c.

Referenced by show_plane_capab().

struct symbol plane_flags[]

Initial value:

 {
    {PLN_LAUNCHED, "launched"},
    {PLN_SYNCHRONOUS, "synchronous"},
    {PLN_AIRBURST, "airbust"},
    {0, NULL}
}

Definition at line 225 of file symbol.c.

struct symbol resources[]

Initial value:

 {
    
    {0, "none"},
    {offsetof(struct sctstr, sct_min), "min"},
    {offsetof(struct sctstr, sct_gmin), "gold"},
    {offsetof(struct sctstr, sct_fertil), "fert"},
    {offsetof(struct sctstr, sct_oil), "ocontent"},
    {offsetof(struct sctstr, sct_uran), "uran"},
    {0, NULL}
}

Definition at line 232 of file symbol.c.

struct symbol retreat_flags[]

Initial value:

 {
    {RET_GROUP, "group"},
    {RET_INJURED, "injured"},
    {RET_TORPED, "torped"},
    {RET_SONARED, "sonared"},
    {RET_HELPLESS, "helpless"},
    {RET_BOMBED, "bombed"},
    {RET_DCHRGED, "depth-charged"},
    {RET_BOARDED, "boarded"},
    {0, NULL}
}

Definition at line 243 of file symbol.c.

struct symbol sector_navigation[]

Initial value:

 {
    {NAV_NONE, "land"},
    {NAVOK, "sea"},
    {NAV_02, "harbor"},
    {NAV_CANAL, "canal"},
    {NAV_60, "bridge"},
    {0, NULL}
}

Definition at line 255 of file symbol.c.

struct symbol ship_chr_flags[]

Initial value:

 {
    {M_FOOD, "fish"},
    {M_TORP, "torp"},
    {M_DCH, "dchrg"},
    {M_FLY, "plane"},
    {M_MSL, "miss"},
    {M_OIL, "oil"},
    {M_SONAR, "sonar"},
    {M_MINE, "mine"},
    {M_SWEEP, "sweep"},
    {M_SUB, "sub"},
    {M_LAND, "land"},
    {M_SUBT, "sub-torp"},
    {M_TRADE, "trade"},
    {M_SEMILAND, "semi-land"},
    {M_OILER, "oiler"},
    {M_SUPPLY, "supply"},
    {M_CANAL, "canal"},
    {M_ANTIMISSILE, "anti-missile"},
    {0, NULL}
}

Definition at line 264 of file symbol.c.

Referenced by show_ship_capab().

struct symbol treaty_flags[]

Initial value:

 {
    {LNDATT, "no attacks on any land units"},
    {SEAATT, "no attacks on any ships"},
    {SEAFIR, "no shelling any ships"},
    {SUBFIR, "no depth-charging any subs"},
    {LANATT, "no sector attacks"},
    {LANFIR, "no shelling any land"},
    {NEWSHP, "no building ships"},
    {NEWNUK, "no new nuclear weapons"},
    {NEWPLN, "no building planes"},
    {NEWLND, "no building land units"},
    {TRTENL, "no enlistment"},
    {0, NULL}
}

Definition at line 286 of file symbol.c.

Referenced by distrea(), and do_treaty().


Generated on Fri Mar 28 11:01:48 2008 for empserver by  doxygen 1.5.2