aboutsummaryrefslogtreecommitdiff
path: root/src/core/bullet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bullet.hpp')
-rw-r--r--src/core/bullet.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/core/bullet.hpp b/src/core/bullet.hpp
index afba038..a917b95 100644
--- a/src/core/bullet.hpp
+++ b/src/core/bullet.hpp
@@ -16,8 +16,8 @@ public:
//extborder: true=not removed if out of screen.
//invincible: true=not removed if collided with player or in range of CLR.
bool exist,addblend,special;
- int attrd[8];
- double attrf[8];
+ int attrd[16],scb,cscb,cb,ccb;
+ double attrf[16];
TColors basecolor;
DWORD rendercolor;
virtual void init(char fstarg,...);
@@ -31,6 +31,12 @@ public:
void init(char fstarg,...)override;
void update()override;
};
+class bulletFX:public bulletBase
+{
+public:
+ void init(char fstarg,...)override;
+ void update()override;
+};
class bulletManager
{
private:
@@ -74,6 +80,7 @@ public:
}
void updateBullet();
void renderBullet();
+ void addFXBullet(TColors col);
bulletBase* getHandle(int id);
smEntity2D* getBulEntity2D(TColors col);
smEntity3D* getBulEntity3D(TColors col);