#include "info-reader/fixed-map-parser.h"
#include "dungeon/quest.h"
-#include "floor/floor.h"
#include "floor/fixed-map-generator.h"
+#include "game-option/birth-options.h"
+#include "game-option/runtime-arguments.h"
#include "io/files-util.h"
+#include "main/init-error-messages-table.h"
+#include "player/player-class.h"
+#include "player/player-race.h"
+#include "realm/realm-names-table.h"
+#include "system/floor-type-definition.h"
#include "system/system-variables.h"
+#include "util/angband-files.h"
+#include "util/string-processor.h"
+#include "view/display-messages.h"
#include "world/world.h"
static char tmp[8];
}
#ifdef JP
- while (iskanji(*s) || (isprint(*s) && !my_strchr(" []", *s))) {
+ while (iskanji(*s) || (isprint(*s) && !angband_strchr(" []", *s))) {
if (iskanji(*s))
s++;
s++;
}
#else
- while (isprint(*s) && !my_strchr(" []", *s))
+ while (isprint(*s) && !angband_strchr(" []", *s))
++s;
#endif
if ((f = *s) != '\0')
continue;
}
#endif
- *tpn = my_strchr(" []", *pn) ? '_' : *pn;
+ *tpn = angband_strchr(" []", *pn) ? '_' : *pn;
}
*tpn = '\0';
char buf[1024];
path_build(buf, sizeof(buf), ANGBAND_DIR_EDIT, name);
FILE *fp;
- fp = my_fopen(buf, "r");
+ fp = angband_fopen(buf, "r");
if (fp == NULL)
return -1;
int x = xmin, y = ymin;
qtwg_type tmp_qg;
qtwg_type *qg_ptr = initialize_quest_generator_type(&tmp_qg, buf, ymin, xmin, ymax, xmax, &y, &x);
- while (my_fgets(fp, buf, sizeof(buf)) == 0) {
+ while (angband_fgets(fp, buf, sizeof(buf)) == 0) {
num++;
if (!buf[0])
continue;
msg_print(NULL);
}
- my_fclose(fp);
+ angband_fclose(fp);
return err;
}