removed some compiler warnings

changed variables to float where appropriate
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-05 08:07:50 +00:00
parent 91cf0c8d37
commit 8908e86857
15 changed files with 100 additions and 80 deletions

View File

@@ -18,7 +18,7 @@ protected:
float mY;
float start;
int timer;
int minimumItems;
size_t minimumItems;
vector<string> strings;
unsigned int currentId;
@@ -29,7 +29,7 @@ public:
void Add(string text);
void Reset();
void setRandom(int mode = 1);
TextScroller(int fontId, float x, float y, float width, float speed = 30, int scrollerType = 0, int _minimumItems = 2);
TextScroller(int fontId, float x, float y, float width, float speed = 30, int scrollerType = 0, size_t _minimumItems = 2);
void Render();
void Update(float dt);
virtual ostream& toString(ostream& out) const;