変愚蛮怒のメインリポジトリです
Revision | 0cdfaff7d7145a07d4cc41527905395c90fcfabd (tree) |
---|---|
Time | 2014-02-14 23:30:37 |
Author | Deskull <deskull@user...> |
Commiter | Deskull |
Add Doxygen comments to wild.c.
@@ -763,7 +763,7 @@ static wilderness_grid w_letter[255]; | ||
763 | 763 | /*! |
764 | 764 | * @brief w_info.txtのデータ解析 / |
765 | 765 | * Parse a sub-file of the "extra info" |
766 | - * @param buf | |
766 | + * @param buf 読み取ったデータ行のバッファ | |
767 | 767 | * @param ymin 未使用 |
768 | 768 | * @param xmin 広域地形マップを読み込みたいx座標の開始位置 |
769 | 769 | * @param ymax 未使用 |
@@ -913,8 +913,11 @@ errr parse_line_wilderness(char *buf, int ymin, int xmin, int ymax, int xmax, in | ||
913 | 913 | } |
914 | 914 | |
915 | 915 | |
916 | -/* | |
916 | + | |
917 | +/*! | |
918 | + * @brief ゲーム開始時に各荒野フロアの乱数シードを指定する / | |
917 | 919 | * Generate the random seeds for the wilderness |
920 | + * @return なし | |
918 | 921 | */ |
919 | 922 | void seed_wilderness(void) |
920 | 923 | { |
@@ -937,8 +940,11 @@ void seed_wilderness(void) | ||
937 | 940 | */ |
938 | 941 | typedef wilderness_type *wilderness_type_ptr; |
939 | 942 | |
940 | -/* | |
943 | + | |
944 | +/*! | |
945 | + * @brief ゲーム開始時の荒野初期化メインルーチン / | |
941 | 946 | * Initialize wilderness array |
947 | + * @return エラーコード | |
942 | 948 | */ |
943 | 949 | errr init_wilderness(void) |
944 | 950 | { |
@@ -957,7 +963,14 @@ errr init_wilderness(void) | ||
957 | 963 | return 0; |
958 | 964 | } |
959 | 965 | |
960 | - | |
966 | +/*! | |
967 | + * @brief 荒野の地勢設定を初期化する / | |
968 | + * Initialize wilderness array | |
969 | + * @param terrain 初期化したい地勢ID | |
970 | + * @param feat_global 基本的な地形ID | |
971 | + * @param fmt 地勢内の地形数を参照するための独自フォーマット | |
972 | + * @return なし | |
973 | + */ | |
961 | 974 | static void init_terrain_table(int terrain, s16b feat_global, cptr fmt, ...) |
962 | 975 | { |
963 | 976 | va_list vp; |
@@ -1007,8 +1020,10 @@ static void init_terrain_table(int terrain, s16b feat_global, cptr fmt, ...) | ||
1007 | 1020 | } |
1008 | 1021 | |
1009 | 1022 | |
1010 | -/* | |
1023 | +/*! | |
1024 | + * @brief 荒野の地勢設定全体を初期化するメインルーチン / | |
1011 | 1025 | * Initialize arrays for wilderness terrains |
1026 | + * @return なし | |
1012 | 1027 | */ |
1013 | 1028 | void init_wilderness_terrains(void) |
1014 | 1029 | { |
@@ -1085,7 +1100,11 @@ void init_wilderness_terrains(void) | ||
1085 | 1100 | feat_mountain, MAX_FEAT_IN_TERRAIN - 8); |
1086 | 1101 | } |
1087 | 1102 | |
1088 | - | |
1103 | +/*! | |
1104 | + * @brief 荒野から広域マップへの切り替え処理 / | |
1105 | + * Initialize arrays for wilderness terrains | |
1106 | + * @return 切り替えが行われた場合はTRUEを返す。 | |
1107 | + */ | |
1089 | 1108 | bool change_wild_mode(void) |
1090 | 1109 | { |
1091 | 1110 | int i; |