#ifndef NEWGAME_DEF_H #define NEWGAME_DEF_H #include "itemprop-enum.h" // Either a character definition, with real species, job, and // weapon, book, wand as appropriate. // Or a character choice, with possibly random/viable entries. struct newgame_def { string name; game_type type; string filename; // map name for sprint (or others in the future) // XXX: "random" means a random eligible map string map; string arena_teams; species_type species; job_type job; weapon_type weapon; // Only relevant for character choice, where the entire // character was randomly picked in one step. // If this is true, the species field encodes whether // the choice was for a viable character or not. bool fully_random; newgame_def(); void clear_character(); }; #endif