aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/entities.h b/include/entities.h
index d434546..6328770 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -63,15 +63,13 @@ public:
bool gravity;
bool behind;
Particles(float x, float y, float w, float h, float vx, float vy, Color c, float d){
- loc.x = (x);
- loc.y = (y);
- width = (w);
- height = (h);
+ loc.x = x;
+ loc.y = y;
+ width = w;
+ height = h;
velx = vx;
vely = vy;
- color.red = (c.red);
- color.green = (c.green);
- color.blue = (c.blue);
+ color = c;
duration = d;
fountain = false;
gravity = true;
@@ -166,7 +164,7 @@ public:
class NPC : public Entity{
public:
std::vector<int (*)(NPC *)>aiFunc;
- unsigned int dialogIndex;
+ int dialogIndex;
NPC();
~NPC();
@@ -180,7 +178,6 @@ class Structures : public Entity{
public:
BUILD_SUB bsubtype;
char *inside;
- //char *outside;
Structures();
~Structures();