Added new files to the VS2010 sln; Fixed a bunch of int to float warnings.

Minor note to others:  if you're writing drawing code, the coordinate system in JGE uses floats, so don't bother with ints for x/y coords & the like.  You're forcing the processor to do float to long conversions for nothing.
This commit is contained in:
wrenczes@gmail.com
2010-11-04 04:33:04 +00:00
parent 41e95ccfc0
commit ab49a0c6e1
5 changed files with 27 additions and 24 deletions

View File

@@ -13,11 +13,11 @@
class DeckMenu:public JGuiController{
protected:
int mHeight, mWidth, mX, mY;
int titleX, titleY, titleWidth;
int descX, descY, descHeight, descWidth;
int statsX, statsY, statsHeight, statsWidth;
int avatarX, avatarY;
float mHeight, mWidth, mX, mY;
float titleX, titleY, titleWidth;
float descX, descY, descHeight, descWidth;
float statsX, statsY, statsHeight, statsWidth;
float avatarX, avatarY;
string backgroundName;
int fontId;