#include <cstdint>
#include <string>
#include "gb/vars.h"
Go to the source code of this file.
|
| enum | guntype_t { GTYPE_NONE,
GTYPE_LIGHT,
GTYPE_MEDIUM,
GTYPE_HEAVY
} |
| |
| enum | ShipType : int {
STYPE_POD,
STYPE_SHUTTLE,
STYPE_CARRIER,
STYPE_DREADNT,
STYPE_BATTLE,
STYPE_INTCPT,
STYPE_CRUISER,
STYPE_DESTROYER,
STYPE_FIGHTER,
STYPE_EXPLORER,
STYPE_HABITAT,
STYPE_STATION,
STYPE_OAP,
STYPE_CARGO,
STYPE_TANKER,
STYPE_GOD,
STYPE_MINE,
STYPE_MIRROR,
OTYPE_STELE,
OTYPE_GTELE,
OTYPE_TRACT,
OTYPE_AP,
OTYPE_CANIST,
OTYPE_GREEN,
OTYPE_VN,
OTYPE_BERS,
OTYPE_GOV,
OTYPE_OMCL,
OTYPE_TOXWC,
OTYPE_PROBE,
OTYPE_GR,
OTYPE_FACTORY,
OTYPE_TERRA,
OTYPE_BERSCTLC,
OTYPE_AUTOFAC,
OTYPE_TRANSDEV,
STYPE_MISSILE,
OTYPE_PLANDEF,
OTYPE_QUARRY,
OTYPE_PLOW,
OTYPE_DOME,
OTYPE_WPLANT,
OTYPE_PORT,
OTYPE_ABM,
OTYPE_AFV,
OTYPE_BUNKER,
STYPE_LANDER
} |
| |
| enum | abil_t {
ABIL_TECH,
ABIL_CARGO,
ABIL_HANGER,
ABIL_DESTCAP,
ABIL_GUNS,
ABIL_PRIMARY,
ABIL_SECONDARY,
ABIL_FUELCAP,
ABIL_MAXCREW,
ABIL_ARMOR,
ABIL_COST,
ABIL_MOUNT,
ABIL_JUMP,
ABIL_CANLAND,
ABIL_HASSWITCH,
ABIL_SPEED,
ABIL_DAMAGE,
ABIL_BUILD,
ABIL_CONSTRUCT,
ABIL_MOD,
ABIL_LASER,
ABIL_CEW,
ABIL_CLOAK,
ABIL_GOD,
ABIL_PROGRAMMED,
ABIL_PORT,
ABIL_REPAIR,
ABIL_MAINTAIN
} |
| |
◆ NUMABILS
◆ NUMSTYPES
◆ PRIMARY
◆ SECONDARY
◆ SHIP_NAMESIZE
◆ placetype
◆ abil_t
| Enumerator |
|---|
| ABIL_TECH | |
| ABIL_CARGO | |
| ABIL_HANGER | |
| ABIL_DESTCAP | |
| ABIL_GUNS | |
| ABIL_PRIMARY | |
| ABIL_SECONDARY | |
| ABIL_FUELCAP | |
| ABIL_MAXCREW | |
| ABIL_ARMOR | |
| ABIL_COST | |
| ABIL_MOUNT | |
| ABIL_JUMP | |
| ABIL_CANLAND | |
| ABIL_HASSWITCH | |
| ABIL_SPEED | |
| ABIL_DAMAGE | |
| ABIL_BUILD | |
| ABIL_CONSTRUCT | |
| ABIL_MOD | |
| ABIL_LASER | |
| ABIL_CEW | |
| ABIL_CLOAK | |
| ABIL_GOD | |
| ABIL_PROGRAMMED | |
| ABIL_PORT | |
| ABIL_REPAIR | |
| ABIL_MAINTAIN | |
Definition at line 68 of file ships.h.
◆ guntype_t
| Enumerator |
|---|
| GTYPE_NONE | |
| GTYPE_LIGHT | |
| GTYPE_MEDIUM | |
| GTYPE_HEAVY | |
Definition at line 13 of file ships.h.
◆ ShipType
| Enumerator |
|---|
| STYPE_POD | |
| STYPE_SHUTTLE | |
| STYPE_CARRIER | |
| STYPE_DREADNT | |
| STYPE_BATTLE | |
| STYPE_INTCPT | |
| STYPE_CRUISER | |
| STYPE_DESTROYER | |
| STYPE_FIGHTER | |
| STYPE_EXPLORER | |
| STYPE_HABITAT | |
| STYPE_STATION | |
| STYPE_OAP | |
| STYPE_CARGO | |
| STYPE_TANKER | |
| STYPE_GOD | |
| STYPE_MINE | |
| STYPE_MIRROR | |
| OTYPE_STELE | |
| OTYPE_GTELE | |
| OTYPE_TRACT | |
| OTYPE_AP | |
| OTYPE_CANIST | |
| OTYPE_GREEN | |
| OTYPE_VN | |
| OTYPE_BERS | |
| OTYPE_GOV | |
| OTYPE_OMCL | |
| OTYPE_TOXWC | |
| OTYPE_PROBE | |
| OTYPE_GR | |
| OTYPE_FACTORY | |
| OTYPE_TERRA | |
| OTYPE_BERSCTLC | |
| OTYPE_AUTOFAC | |
| OTYPE_TRANSDEV | |
| STYPE_MISSILE | |
| OTYPE_PLANDEF | |
| OTYPE_QUARRY | |
| OTYPE_PLOW | |
| OTYPE_DOME | |
| OTYPE_WPLANT | |
| OTYPE_PORT | |
| OTYPE_ABM | |
| OTYPE_AFV | |
| OTYPE_BUNKER | |
| STYPE_LANDER | |
Definition at line 18 of file ships.h.
◆ armor()
| unsigned long armor |
( |
const Ship & |
s | ) |
|
◆ can_aim()
| bool can_aim |
( |
const Ship & |
s | ) |
|
◆ can_bombard()
| bool can_bombard |
( |
const Ship & |
s | ) |
|
◆ can_navigate()
| bool can_navigate |
( |
const Ship & |
s | ) |
|
◆ capture_stuff()
◆ complexity()
| double complexity |
( |
const Ship & |
| ) |
|
◆ cost()
| double cost |
( |
const Ship & |
| ) |
|
◆ getdefense()
| int getdefense |
( |
const Ship & |
| ) |
|
◆ getmass()
| double getmass |
( |
const Ship & |
| ) |
|
◆ guns()
| long guns |
( |
const Ship & |
s | ) |
|
◆ hanger()
| long hanger |
( |
const Ship & |
s | ) |
|
◆ has_switch()
| bool has_switch |
( |
const Ship & |
d | ) |
|
◆ landed()
| bool landed |
( |
const Ship & |
| ) |
|
◆ laser_on()
| bool laser_on |
( |
const Ship & |
| ) |
|
◆ mass()
| double mass |
( |
const Ship & |
s | ) |
|
◆ max_crew()
◆ max_crystals()
| int max_crystals |
( |
const Ship & |
s | ) |
|
◆ max_destruct()
| long max_destruct |
( |
const Ship & |
s | ) |
|
◆ max_fuel()
| long max_fuel |
( |
const Ship & |
s | ) |
|
◆ max_mil()
◆ max_resource()
| long max_resource |
( |
const Ship & |
s | ) |
|
◆ max_speed()
| long max_speed |
( |
const Ship & |
s | ) |
|
◆ repair()
| long repair |
( |
const Ship & |
s | ) |
|
◆ retaliate()
| long retaliate |
( |
const Ship & |
s | ) |
|
◆ ship_size()
| unsigned int ship_size |
( |
const Ship & |
| ) |
|
◆ ship_to_string()
| std::string ship_to_string |
( |
const Ship & |
| ) |
|
◆ shipbody()
| int shipbody |
( |
const Ship & |
s | ) |
|
◆ shipcost()
| long shipcost |
( |
const Ship & |
s | ) |
|
◆ shipsight()
| long shipsight |
( |
const Ship & |
s | ) |
|
◆ size()
| int size |
( |
const Ship & |
s | ) |
|
◆ speed_rating()
| unsigned short speed_rating |
( |
const Ship & |
s | ) |
|
◆ Num_ships
◆ Shipdata
◆ Shipltrs
◆ Shipnames
◆ ships
◆ ShipVector