*/
static void print_header(void)
{
- char buf[80];
- sprintf(buf, "Artifact Spoilers for Hengband Version %d.%d.%d", FAKE_VER_MAJOR - 10, FAKE_VER_MINOR, FAKE_VER_PATCH);
+ char buf[180];
+ char title[180];
+ put_version(title);
+ sprintf(buf, "Artifact Spoilers for Hengband Version %s", title);
spoiler_underline(buf);
}
* @param name1 生成するアーティファクトID
* @return 生成が成功した場合TRUEを返す
*/
-static bool make_fake_artifact(player_type *player_ptr, object_type *o_ptr, IDX name1)
+static bool make_fake_artifact(player_type *player_ptr, object_type *o_ptr, ARTIFACT_IDX name1)
{
artifact_type *a_ptr = &a_info[name1];
if (!a_ptr->name)
}
msg_print("Successfully created a spoiler file.");
-}
+}
\ No newline at end of file