Added shuttle.

This commit is contained in:
Steve 2015-11-16 11:26:23 +00:00
parent d2a2c26f23
commit 627b18d0b7
5 changed files with 16 additions and 2 deletions

View File

@ -13,5 +13,6 @@
"data/fighters/hyena.json",
"data/fighters/leopard.json",
"data/fighters/civilian.json",
"data/fighters/tug.json"
"data/fighters/tug.json",
"data/fighters/shuttle.json"
]

View File

@ -0,0 +1,10 @@
{
"name" : "Shuttle",
"health" : 10,
"shield" : 10,
"speed" : 2.25,
"reloadTime" : 0,
"shieldRechargeRate" : 60,
"textureName" : "gfx/craft/shuttle.png",
"flags" : "EF_COLLECTS_ITEMS"
}

BIN
gfx/craft/shuttle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -73,6 +73,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define EF_CIVILIAN (2 << 7)
#define EF_HAS_ROPE (2 << 8)
#define EF_ALWAYS_FLEES (2 << 9)
#define EF_COLLECTS_ITEMS (2 << 10)
/* player abilities */
#define BOOST_RECHARGE_TIME (FPS * 7)
@ -83,7 +84,8 @@ enum
{
ET_FIGHTER,
ET_WAYPOINT,
ET_EXTRACTION_POINT
ET_EXTRACTION_POINT,
ET_ITEM
};
enum

View File

@ -41,6 +41,7 @@ void initLookups(void)
addLookup("EF_FLEEING", EF_FLEEING);
addLookup("EF_CIVILIAN", EF_CIVILIAN);
addLookup("EF_HAS_ROPE", EF_HAS_ROPE);
addLookup("EF_COLLECTS_ITEMS", EF_COLLECTS_ITEMS);
addLookup("TT_DESTROY", TT_DESTROY);
addLookup("TT_DISABLE", TT_DISABLE);