Change the way fire happens
This commit is contained in:
1 parent
210c191d41
commit
2ffd8124f2
2 files changed
+37
-33
No files matched your search
+2
-1
@@ -105,7 +105,7 @@ namespace ZL {
|
||||
std::vector<std::unique_ptr<Projectile>> projectiles;
|
||||
std::shared_ptr<Texture> projectileTexture;
|
||||
float projectileCooldownMs = 500.0f;
|
||||
uint64_t lastProjectileFireTime = 0;
|
||||
int64_t lastProjectileFireTime = 0;
|
||||
int maxProjectiles = 32;
|
||||
std::vector<Vector3f> shipLocalEmissionPoints;
|
||||
|
||||
@@ -119,6 +119,7 @@ namespace ZL {
|
||||
bool showExplosion = false;
|
||||
uint64_t lastExplosionTime = 0;
|
||||
const uint64_t explosionDurationMs = 500;
|
||||
bool firePressed = false;
|
||||
|
||||
|
||||
bool serverBoxesApplied = false;
|
||||
|
||||
Reference in new issue
Block a user