Main Page Modules Namespaces C++ Classes Compound List File List Index
TNL: gameWeapons.h File Reference

# gameWeapons.h File Reference

`#include "tnlPlatform.h"`
`#include "point.h"`
`#include "gameObject.h"`

## Namespaces

namespace | Zap

## Data Structures

struct | Zap::ShipWeaponInfo
struct | Zap::ProjectileInfo

## Enumerations

enum | Zap::WeaponTypes { Zap::WeaponPhaser = 0, Zap::WeaponBounce, Zap::WeaponTriple, Zap::WeaponBurst,
Zap::WeaponMineLayer,
Zap::WeaponTurretBlaster,
Zap::WeaponCount
}
enum | Zap::WeaponConsts { Zap::MaxFireDelay = 2048 }
enum | { Zap::NumSparkColors = 4 }
enum | Zap::ProjectileType { Zap::ProjectilePhaser, Zap::ProjectileBounce, Zap::ProjectileTriple, Zap::ProjectileTurret,
Zap::ProjectileTypeCount
}

## Functions

void | Zap::createWeaponProjectiles (U32 weapon, Point &dir, Point &shooterPos, Point &shooterVel, F32 shooterRadius, GameObject *shooter)

## Variables

ShipWeaponInfo | Zap::gWeapons [WeaponCount]
ProjectileInfo | Zap::gProjInfo [ProjectileTypeCount]