OSDN Git Service

[Refactor] struct player_type を class PlayerType に置換。
[hengbandforosx/hengbandosx.git] / src / floor / fixed-map-generator.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "info-reader/parse-error-types.h"
5
6 // Quest/Town/World Generator
7 typedef struct qtwg_type {
8     char *buf;
9     int ymin;
10     int xmin;
11     int ymax;
12     int xmax;
13     int *y;
14     int *x;
15 } qtwg_type;
16
17 class PlayerType;
18 typedef parse_error_type (*process_dungeon_file_pf)(PlayerType *, concptr, int, int, int, int);
19
20 qtwg_type *initialize_quest_generator_type(qtwg_type *qg_ptr, char *buf, int ymin, int xmin, int ymax, int xmax, int *y, int *x);
21 parse_error_type generate_fixed_map_floor(PlayerType *player_ptr, qtwg_type *qg_ptr, process_dungeon_file_pf parse_fixed_map);