OSDN Git Service

[Refactor] struct player_type を class PlayerType に置換。
[hengbandforosx/hengbandosx.git] / src / floor / fixed-map-generator.h
index 2bbb888..b6cc3c5 100644 (file)
@@ -14,8 +14,8 @@ typedef struct qtwg_type {
     int *x;
 } qtwg_type;
 
-struct player_type;
-typedef parse_error_type (*process_dungeon_file_pf)(player_type *, concptr, int, int, int, int);
+class PlayerType;
+typedef parse_error_type (*process_dungeon_file_pf)(PlayerType *, concptr, int, int, int, int);
 
 qtwg_type *initialize_quest_generator_type(qtwg_type *qg_ptr, char *buf, int ymin, int xmin, int ymax, int xmax, int *y, int *x);
-parse_error_type generate_fixed_map_floor(player_type *player_ptr, qtwg_type *qg_ptr, process_dungeon_file_pf parse_fixed_map);
+parse_error_type generate_fixed_map_floor(PlayerType *player_ptr, qtwg_type *qg_ptr, process_dungeon_file_pf parse_fixed_map);