[Add] More ship types.

This commit is contained in:
Allanis 2013-03-16 19:24:06 +00:00
parent 575cb83eb4
commit 4bff93e148
4 changed files with 18 additions and 3 deletions

1
TODO
View File

@ -5,6 +5,7 @@ Vital:
-- Commodities.
-- Main Menu.
-- Player death!
-- Player faction system.
Major:
-- Nicer AI.

View File

@ -168,7 +168,7 @@
<GFX>drone</GFX>
<GUI>minimal</GUI>
<sound>engine</sound>
<class>1</class>
<class>7</class>
<price>300000</price>
<fabricator>RoboSys</fabricator>
<tech>99</tech>

View File

@ -42,7 +42,12 @@ Ship* ship_get(const char* name) {
// Get the ship's classname.
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.

View File

@ -11,7 +11,16 @@ typedef enum ShipClass_ {
SHIP_CLASS_NULL = 0,
SHIP_CLASS_CIV_LIGHT = 1,
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;
// Small wrapper for the outfits.