-#pragma once
+#pragma once
-typedef struct player_type player_type;
-void do_cmd_pref(player_type *creature_ptr);
-void do_cmd_colors(player_type *creature_ptr);
+class PlayerType;
+void do_cmd_pref(PlayerType *player_ptr);
+void do_cmd_colors(PlayerType *player_ptr);
void do_cmd_note(void);
void do_cmd_version(void);
-void do_cmd_feeling(player_type *creature_ptr);
-void do_cmd_time(player_type *creature_ptr);
+void do_cmd_feeling(PlayerType *player_ptr);
+void do_cmd_time(PlayerType *player_ptr);