OSDN Git Service

Change WEIGHT and HEIGHT from int to double.
authorDeskull <desull@users.sourceforge.jp>
Sun, 8 Jun 2014 13:48:04 +0000 (22:48 +0900)
committerDeskull <desull@users.sourceforge.jp>
Sun, 8 Jun 2014 13:48:04 +0000 (22:48 +0900)
Deeangband/Creature.h
Deeangband/Deeangband.h

index 26667e3..497cbf0 100644 (file)
@@ -74,7 +74,7 @@ namespace Deeangband
                SOUL maxSoul;     //!< \83\\83E\83\8b\8dÅ\91å\93\9e\92B\92l
 
                HEIGHT height;    //!< \90g\92·
-               HEIGHT weight;    //!< \91Ì\8fd
+               WEIGHT weight;    //!< \91Ì\8fd
 
                FEED currentFeed; //!< \8c»\8dÝ\8e \97{\92l
                FEED maxFeed;     //!< \8dÅ\91å\8e \97{\92l
index 031739d..87d29c7 100644 (file)
@@ -145,8 +145,8 @@ typedef std::string TAG;  //!< 
 typedef std::string NAME; //!< \96¼\8fÌ
 typedef std::string DESCRIPTION; //!< \89ð\90à
 typedef std::string SYMBOL; //!< \83V\83\93\83{\83\8b
-typedef int HEIGHT; //!< \92·\82³
-typedef int WEIGHT; //!< \8fd\97Ê
+typedef double HEIGHT; //!< \92·\82³
+typedef double WEIGHT; //!< \8fd\97Ê
 typedef int DEPTH;  //!< \8aK\91w\90[\93x
 typedef int RARITY;  //!< \83\8c\83A\83\8a\83e\83B
 typedef int NUMBER; //!< \8cÂ\90\94