変愚蛮怒のメインリポジトリです
Revision | b1d3c72c000b026e546bf92540a6903f0b2676c0 (tree) |
---|---|
Time | 2014-07-07 21:57:40 |
Author | Deskull <desull@user...> |
Commiter | Deskull |
Add Doxygen comments to load.c.
@@ -583,8 +583,10 @@ static void rd_item_old(object_type *o_ptr) | ||
583 | 583 | } |
584 | 584 | |
585 | 585 | |
586 | -/* | |
587 | - * Read an object (New method) | |
586 | +/*! | |
587 | + * @brief アイテムオブジェクトを読み込む(現版) / Read an object (New method) | |
588 | + * @param o_ptr アイテムオブジェクト保存先ポインタ | |
589 | + * @return なし | |
588 | 590 | */ |
589 | 591 | static void rd_item(object_type *o_ptr) |
590 | 592 | { |
@@ -763,8 +765,10 @@ static void rd_item(object_type *o_ptr) | ||
763 | 765 | } |
764 | 766 | |
765 | 767 | |
766 | -/* | |
767 | - * Read a monster (Old method) | |
768 | +/*! | |
769 | + * @brief モンスターを読み込む(変愚ver1.5.0以前) / Read a monster (Old method) | |
770 | + * @param m_ptr モンスター保存先ポインタ | |
771 | + * @return なし | |
768 | 772 | */ |
769 | 773 | static void rd_monster_old(monster_type *m_ptr) |
770 | 774 | { |
@@ -905,8 +909,10 @@ static void rd_monster_old(monster_type *m_ptr) | ||
905 | 909 | } |
906 | 910 | |
907 | 911 | |
908 | -/* | |
909 | - * Read a monster (New method) | |
912 | +/*! | |
913 | + * @brief モンスターを読み込む(現版) / Read a monster (New method) | |
914 | + * @param m_ptr モンスター保存先ポインタ | |
915 | + * @return なし | |
910 | 916 | */ |
911 | 917 | static void rd_monster(monster_type *m_ptr) |
912 | 918 | { |
@@ -1066,8 +1072,11 @@ static void rd_monster(monster_type *m_ptr) | ||
1066 | 1072 | #define RF4_BR_GRAV 0x00800000 /* Breathe Gravity */ |
1067 | 1073 | #define RF4_BR_SHAR 0x01000000 /* Breathe Shards */ |
1068 | 1074 | #define RF4_BR_WALL 0x04000000 /* Breathe Force */ |
1069 | -/* | |
1070 | - * Read the monster lore | |
1075 | + | |
1076 | +/*! | |
1077 | + * @brief モンスターの思い出を読み込む / Read the monster lore | |
1078 | + * @param r_idx 読み込み先モンスターID | |
1079 | + * @return なし | |
1071 | 1080 | */ |
1072 | 1081 | static void rd_lore(int r_idx) |
1073 | 1082 | { |
@@ -1178,12 +1187,12 @@ static void rd_lore(int r_idx) | ||
1178 | 1187 | r_ptr->r_flagsr &= r_ptr->flagsr; |
1179 | 1188 | } |
1180 | 1189 | |
1181 | - | |
1182 | - | |
1183 | - | |
1184 | -/* | |
1185 | - * Add the item "o_ptr" to the inventory of the "Home" | |
1186 | - * | |
1190 | +/*! | |
1191 | + * @brief 店置きのアイテムオブジェクトを読み込む / Add the item "o_ptr" to the inventory of the "Home" | |
1192 | + * @param st_ptr 店舗の参照ポインタ | |
1193 | + * @param o_ptr アイテムオブジェクト参照ポインタ | |
1194 | + * @return なし | |
1195 | + * @details | |
1187 | 1196 | * In all cases, return the slot (or -1) where the object was placed |
1188 | 1197 | * |
1189 | 1198 | * Note that this is a hacked up version of "inven_carry()". |
@@ -1248,9 +1257,11 @@ static void home_carry(store_type *st_ptr, object_type *o_ptr) | ||
1248 | 1257 | return; |
1249 | 1258 | } |
1250 | 1259 | |
1251 | - | |
1252 | -/* | |
1253 | - * Read a store | |
1260 | +/*! | |
1261 | + * @brief 店舗情報を読み込む / Read a store | |
1262 | + * @param town_number 街ID | |
1263 | + * @param store_number 店舗ID | |
1264 | + * @return エラーID | |
1254 | 1265 | */ |
1255 | 1266 | static errr rd_store(int town_number, int store_number) |
1256 | 1267 | { |
@@ -1334,9 +1345,9 @@ static errr rd_store(int town_number, int store_number) | ||
1334 | 1345 | } |
1335 | 1346 | |
1336 | 1347 | |
1337 | - | |
1338 | -/* | |
1339 | - * Read RNG state (added in 2.8.0) | |
1348 | +/*! | |
1349 | + * @brief 乱数状態を読み込む / Read RNG state (added in 2.8.0) | |
1350 | + * @return なし | |
1340 | 1351 | */ |
1341 | 1352 | static void rd_randomizer(void) |
1342 | 1353 | { |