Added laser.
This commit is contained in:
parent
f642a80305
commit
0bd067e552
|
@ -29,5 +29,13 @@
|
|||
"textureName" : "gfx/bullets/magBolt.png",
|
||||
"sound" : "SND_MAG",
|
||||
"flags" : "BF_SYSTEM_DAMAGE"
|
||||
},
|
||||
|
||||
{
|
||||
"type" : "BT_LASER",
|
||||
"damage" : 5,
|
||||
"textureName" : "gfx/bullets/laser.png",
|
||||
"sound" : "SND_LASER",
|
||||
"flags" : "BF_SHIELD_DAMAGE"
|
||||
}
|
||||
]
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 327 B |
Binary file not shown.
|
@ -60,7 +60,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define BF_NONE 0
|
||||
#define BF_ENGINE (2 << 0)
|
||||
#define BF_SYSTEM_DAMAGE (2 << 1)
|
||||
#define BF_EXPLODES (2 << 2)
|
||||
#define BF_SHIELD_DAMAGE (2 << 2)
|
||||
#define BF_EXPLODES (2 << 3)
|
||||
|
||||
#define EF_NONE 0
|
||||
#define EF_NO_KILL (2 << 0)
|
||||
|
@ -155,9 +156,11 @@ enum
|
|||
{
|
||||
SND_PARTICLE,
|
||||
SND_PLASMA,
|
||||
SND_LASER,
|
||||
SND_MAG,
|
||||
SND_ARMOUR_HIT,
|
||||
SND_SHIELD_HIT,
|
||||
SND_SHIELD_BREAK,
|
||||
SND_EXPLOSION_1,
|
||||
SND_EXPLOSION_2,
|
||||
SND_EXPLOSION_3,
|
||||
|
|
|
@ -69,6 +69,7 @@ void initLookups(void)
|
|||
|
||||
addLookup("SND_PARTICLE", SND_PARTICLE);
|
||||
addLookup("SND_PLASMA", SND_PLASMA);
|
||||
addLookup("SND_LASER", SND_LASER);
|
||||
addLookup("SND_MAG", SND_MAG);
|
||||
addLookup("SND_MISSILE", SND_MISSILE);
|
||||
|
||||
|
@ -82,6 +83,7 @@ void initLookups(void)
|
|||
addLookup("BF_NONE", BF_NONE);
|
||||
addLookup("BF_ENGINE", BF_ENGINE);
|
||||
addLookup("BF_SYSTEM_DAMAGE", BF_SYSTEM_DAMAGE);
|
||||
addLookup("BF_SHIELD_DAMAGE", BF_SHIELD_DAMAGE);
|
||||
addLookup("BF_EXPLODES", BF_EXPLODES);
|
||||
|
||||
addLookup("MISSILE_ROCKET", MISSILE_ROCKET);
|
||||
|
|
Loading…
Reference in New Issue