X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fdefines.h;h=6a496bdbc492f4c24bd5b280de54181c6b47daaa;hb=0df8136af8bfb1ca6a75d988c0382ed62c3df789;hp=9a3a0cfec8bbd6dd0461260d9379c1ba385464dc;hpb=3307d7a913ecb27b6be402db13041c8bfecd5ea3;p=hengband%2Fhengband.git diff --git a/src/defines.h b/src/defines.h index 9a3a0cfec..6a496bdbc 100644 --- a/src/defines.h +++ b/src/defines.h @@ -51,13 +51,20 @@ #define FAKE_VERSION 0 #define FAKE_VER_MAJOR 12 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ã¡ã¸ã£ã¼çªå· + 10) */ -#define FAKE_VER_MINOR 3 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ãã¤ãã¼çªå·) */ +#define FAKE_VER_MINOR 2 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ãã¤ãã¼çªå·) */ #define FAKE_VER_PATCH 0 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ãããçªå·) */ -#define FAKE_VER_EXTRA 0 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ã¨ã¯ã¹ãã©çªå·) */ +#define FAKE_VER_EXTRA 15 /*!< ã²ã¼ã ã®ãã¼ã¸ã§ã³çªå·å®ç¾©(ã¨ã¯ã¹ãã©çªå·) */ + + + /*! + * @brief ãã¼ã¸ã§ã³ãéçºçãå®å®çããè¿ã + */ +#define IS_STABLE_VERSION (FAKE_VER_MINOR % 2 == 0 && FAKE_VER_EXTRA == 0) /*! * @brief ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ã¡ã¸ã£ã¼çªå·) / "Savefile Version Number" for Hengband 1.1.1 and later * @details + * å½é¢FAKE_VER_*ãåç §ãã¦ããã *
* First three digits may be same as the Program Version. But not * always same. It means that newer version may preserves lower @@ -68,10 +75,10 @@ * Upper compatibility is always guaranteed. **/ -#define H_VER_MAJOR 2 /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ã¡ã¸ã£ã¼çªå·) */ -#define H_VER_MINOR 3 /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ãã¤ãã¼çªå·) */ -#define H_VER_PATCH 0 /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ãããçªå·) */ -#define H_VER_EXTRA 0 /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ã¨ã¯ã¹ãã©çªå·) */ +#define H_VER_MAJOR (FAKE_VER_MAJOR-10) /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ã¡ã¸ã£ã¼çªå·) */ +#define H_VER_MINOR FAKE_VER_MINOR /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ãã¤ãã¼çªå·) */ +#define H_VER_PATCH FAKE_VER_PATCH /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ãããçªå·) */ +#define H_VER_EXTRA FAKE_VER_EXTRA /*!< ã»ã¼ããã¡ã¤ã«ä¸ã®ãã¼ã¸ã§ã³å®ç¾©(ã¨ã¯ã¹ãã©çªå·) */ #define ANGBAND_2_8_1 /*!< Angband 2.8.1以éããæå¹ãªå¦çåå²ãå®ç¾© */ #define ZANGBAND /*!< Zangband 以éããæå¹ãªå¦çåå²ãå®ç¾© */ @@ -80,55 +87,55 @@ * @brief generate.cã§ç¨ããããåºæ¬çãªãããã¯æ°åä½(åç´æ¹å) * Number of grids in each block (vertically) Probably hard-coded to 11, see "generate.c" */ -#define BLOCK_HGT 11 +#define BLOCK_HGT 11 /*! * @brief generate.cã§ç¨ããããåºæ¬çãªãããã¯æ°åä½(æ°´å¹³æ¹å) * Number of grids in each block (horizontally) Probably hard-coded to 11, see "generate.c" */ -#define BLOCK_WID 11 +#define BLOCK_WID 11 /*! * @brief 表示ä¸ã®åºæ¬çãªããã«åä½(åç´æ¹åãBLOCK_HGTã®åæ°ã§è¨å®ãããã¨) * Number of grids in each panel (vertically) Must be a multiple of BLOCK_HGT */ -#define PANEL_HGT 11 +#define PANEL_HGT 11 /*! * @brief 表示ä¸ã®åºæ¬çãªããã«åä½(æ°´å¹³æ¹åãBLOCK_WIDã®åæ°ã§è¨å®ãããã¨) * Number of grids in each panel (horizontally) Must be a multiple of BLOCK_WID */ -#define PANEL_WID 33 +#define PANEL_WID 33 /*! * @brief 表示ä¸ã®åºæ¬çãªãããã¯åä½(åç´æ¹åãPANEL_HGTã®åæ°ã§è¨å®ãããã¨) * Number of grids used to display the dungeon (vertically). Must be a multiple of 11, probably hard-coded to 22. */ -#define SCREEN_HGT 22 +#define SCREEN_HGT 22 /*! * @brief 表示ä¸ã®åºæ¬çãªãããã¯åä½(æ°´å¹³æ¹åãPANEL_WIDã®åæ°ã§è¨å®ãããã¨) * Number of grids used to display the dungeon (horizontally). Must be a multiple of 33, probably hard-coded to 66. */ -#define SCREEN_WID 66 +#define SCREEN_WID 66 /*! * @brief 表示ä¸ã®ãã³ã¸ã§ã³ã®æ大åç´ãµã¤ãº(SCREEN_HGTã®3åãæã¾ãã) * Maximum dungeon height in grids, must be a multiple of SCREEN_HGT, probably hard-coded to SCREEN_HGT * 3. */ -#define MAX_HGT 66 +#define MAX_HGT 66 /*! * @brief 表示ä¸ã®ãã³ã¸ã§ã³ã®æ大水平ãµã¤ãº(SCREEN_WIDã®3åãæã¾ãã) * Maximum dungeon width in grids, must be a multiple of SCREEN_WID, probably hard-coded to SCREEN_WID * 3. */ -#define MAX_WID 198 +#define MAX_WID 198 /* * Quest constants */ -#define MIN_RANDOM_QUEST 40 /* MAX_RANDOM_QUEST)) -#define QUEST_TOWER1 5 /* Harder devices x< Easier devices */ +#define TOWN_DAWN 10000 /*!< 1æ¥åã®ã¿ã¼ã³ / Number of ticks from dawn to dawn XXX */ +#define TURNS_PER_TICK 10L /*!< æéçµéå¦çãè¡ãã¿ã¼ã³æ°ã®å»ã¿ / Number of energy-gain-turns per ticks */ +#define INN_DUNGEON_TURN_ADJ 10 /*!< 宿å±ã§æéãã¤ã¶ããå ´åã«å¢ããdungeon_turnã®åç */ +#define MAX_DAYS 20000 /*!< å é¨å¦çä¸ã§ä¿æãããæ大æ¥æ° / Maximum days */ +#define BREAK_GLYPH 550 /*!< å®ãã®ã«ã¼ã³ã®å¼·é度 / Rune of protection resistance */ +#define BREAK_MINOR_GLYPH 299 /*!< ççºã®ã«ã¼ã³ã®çºåãããã / For explosive runes */ +#define BTH_PLUS_ADJ 3 /*!< æ¦å¨çµé¨å¤åã³ãã¬ã¤ã¤ã¼ã®ææ/å°æè½åã«å¿ããä¿®æ£å¤åç / Adjust BTH per plus-to-hit */ +#define MON_MULT_ADJ 8 /*!< ã¢ã³ã¹ã¿ã¼ã®å¢æ®ãã«ããã®åºæ¬åç / High value slows multiplication */ +#define MON_SUMMON_ADJ 2 /*!< ç¾å¨æªä½¿ç¨ Adjust level of summoned creatures */ +#define MON_DRAIN_LIFE 2 /*!< ã¢ã³ã¹ã¿ã¼ã®ææã«ãããã¬ã¤ã¤ã¼ã®çµé¨å¤å¸ååºæ¬åç(%) / Percent of player exp drained per hit */ +#define USE_DEVICE 3 /*!< ééå ·ã®æä½å¤±æåºæºå¤ x> Harder devices x< Easier devices */ /* "Biases" for random artifact gen */ @@ -869,6 +877,8 @@ /*** Screen Locations ***/ +#define VER_INFO_ROW 3 //!< ã¿ã¤ãã«è¡¨è¨(è¡) + /* * Some screen locations for various display routines * Currently, row 8 and 15 are the only "blank" rows.