summaryrefslogtreecommitdiff
path: root/hgehelp/hgeanim.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-15 02:29:19 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-03-15 02:29:19 +0000
commit856c345feca062fdfc0b177e0de25489fb1b0c06 (patch)
tree9018cf4f5245e3b6533e86dfa8ca8486a5859498 /hgehelp/hgeanim.cpp
parentf2ce3ddfcb72fc3026ba85bd41849fa1886877e4 (diff)
downloadbullet-lab-remix-856c345feca062fdfc0b177e0de25489fb1b0c06.tar.xz
Extend hge with a 3D Rotation method, it's not tested yet.
Fix probable compile errors due to includes.
Diffstat (limited to 'hgehelp/hgeanim.cpp')
-rw-r--r--hgehelp/hgeanim.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/hgehelp/hgeanim.cpp b/hgehelp/hgeanim.cpp
index acc64ef..0e370db 100644
--- a/hgehelp/hgeanim.cpp
+++ b/hgehelp/hgeanim.cpp
@@ -7,7 +7,7 @@
*/
-#include "../../include/hgeanim.h"
+#include "hgeanim.h"
hgeAnimation::hgeAnimation(HTEXTURE tex, int nframes, float FPS, float x, float y, float w, float h)
@@ -27,11 +27,11 @@ hgeAnimation::hgeAnimation(HTEXTURE tex, int nframes, float FPS, float x, float
hgeAnimation::hgeAnimation(const hgeAnimation & anim)
: hgeSprite(anim)
-{
- // Copy hgeAnimation parameters:
+{
+ // Copy hgeAnimation parameters:
this->orig_width = anim.orig_width;
- this->bPlaying = anim.bPlaying;
- this->fSpeed = anim.fSpeed;
+ this->bPlaying = anim.bPlaying;
+ this->fSpeed = anim.fSpeed;
this->fSinceLastFrame = anim.fSinceLastFrame;
this->Mode = anim.Mode;
this->nDelta = anim.nDelta;