From 856c345feca062fdfc0b177e0de25489fb1b0c06 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Sat, 15 Mar 2014 02:29:19 +0000 Subject: Extend hge with a 3D Rotation method, it's not tested yet. Fix probable compile errors due to includes. --- hgehelp/hgeanim.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hgehelp/hgeanim.cpp') 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; -- cgit v1.2.3