[Add] More ship types.
This commit is contained in:
parent
575cb83eb4
commit
4bff93e148
1
TODO
1
TODO
@ -5,6 +5,7 @@ Vital:
|
|||||||
-- Commodities.
|
-- Commodities.
|
||||||
-- Main Menu.
|
-- Main Menu.
|
||||||
-- Player death!
|
-- Player death!
|
||||||
|
-- Player faction system.
|
||||||
|
|
||||||
Major:
|
Major:
|
||||||
-- Nicer AI.
|
-- Nicer AI.
|
||||||
|
@ -168,7 +168,7 @@
|
|||||||
<GFX>drone</GFX>
|
<GFX>drone</GFX>
|
||||||
<GUI>minimal</GUI>
|
<GUI>minimal</GUI>
|
||||||
<sound>engine</sound>
|
<sound>engine</sound>
|
||||||
<class>1</class>
|
<class>7</class>
|
||||||
<price>300000</price>
|
<price>300000</price>
|
||||||
<fabricator>RoboSys</fabricator>
|
<fabricator>RoboSys</fabricator>
|
||||||
<tech>99</tech>
|
<tech>99</tech>
|
||||||
|
@ -42,7 +42,12 @@ Ship* ship_get(const char* name) {
|
|||||||
|
|
||||||
// Get the ship's classname.
|
// Get the ship's classname.
|
||||||
static char* ship_classes[] = {
|
static char* ship_classes[] = {
|
||||||
"NULL", "Civialian Light", "Civilian Medium", "Civilian Heavy"
|
"NULL",
|
||||||
|
"Civialian Light", "Civilian Medium", "Civilian Heavy"
|
||||||
|
"Military Light", "Military Medium", "Military Heavy"
|
||||||
|
"Robotic Light", "Robotic Medium", "Robotic Heavy"
|
||||||
|
"Hybrid Light", "Hybrid Medium", "Hybrid Heavy"
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Return all the ships in text form.
|
// Return all the ships in text form.
|
||||||
|
11
src/ship.h
11
src/ship.h
@ -11,7 +11,16 @@ typedef enum ShipClass_ {
|
|||||||
SHIP_CLASS_NULL = 0,
|
SHIP_CLASS_NULL = 0,
|
||||||
SHIP_CLASS_CIV_LIGHT = 1,
|
SHIP_CLASS_CIV_LIGHT = 1,
|
||||||
SHIP_CLASS_CIV_MEDIUM = 2,
|
SHIP_CLASS_CIV_MEDIUM = 2,
|
||||||
SHIP_CLASS_CIV_HEAVY = 3
|
SHIP_CLASS_CIV_HEAVY = 3,
|
||||||
|
SHIP_CLASS_MIL_LIGHT = 4,
|
||||||
|
SHIP_CLASS_MIL_MEDIUM = 5,
|
||||||
|
SHIP_CLASS_MIL_HEAVY = 6,
|
||||||
|
SHIP_CLASS_ROB_LIGHT = 7,
|
||||||
|
SHIP_CLASS_ROB_MEDIUM = 8,
|
||||||
|
SHIP_CLASS_ROB_HEAVY = 9,
|
||||||
|
SHIP_CLASS_HYB_LIGHT = 10,
|
||||||
|
SHIP_CLASS_HYB_MEDIUM = 11,
|
||||||
|
SHIP_CLASS_HYB_HEAVY = 12
|
||||||
} ShipClass;
|
} ShipClass;
|
||||||
|
|
||||||
// Small wrapper for the outfits.
|
// Small wrapper for the outfits.
|
||||||
|
Loading…
Reference in New Issue
Block a user