9 bl::logging::Config::rollLogs(
"logs",
"bundle", 3);
10 bl::logging::Config::configureOutput(std::cout, bl::logging::Config::Debug);
11 bl::logging::Config::addFileOutput(
"logs/bundle.log", bl::logging::Config::Debug);
15 BL_LOG_INFO <<
"Loading game metadata";
16 BL_LOG_INFO <<
"Loading items";
19 BL_LOG_ERROR <<
"Failed to load item database";
23 BL_LOG_INFO <<
"Loading moves";
26 BL_LOG_ERROR <<
"Failed to load move database";
30 BL_LOG_INFO <<
"Loading Peoplemon";
33 BL_LOG_ERROR <<
"Failed to load peoplemon database";
37 BL_LOG_INFO <<
"Game metadata loaded";
39 BL_LOG_INFO <<
"Beginning bundle creation";
42 BL_LOG_ERROR <<
"Bundle creation failed";
bool createBundles()
Creates the resource bundles.
void installDevLoaders()
Sets up the BLIB resource managers in dev mode.
Loads and stores metadata surrounding items in the game.
bool load()
Loads the item metadata from the data file.
Stores the metadata of all peoplemon moves.
bool load()
Loads the moves from the data file.
Data structure that holds the underlaying data for all the peoplemon.
bool load()
Loads the database data from the save file.
static void setDataSource(file::ItemDB &source)
Set the data source for the item methods.
static void setDataSource(file::MoveDB &source)
Set the data source for each method.
static void setDataSource(file::PeoplemonDB &data)
Sets the data source for all peoplemon. Must remain in scope.
static bool load(bool inEditor)
Loads from the config file and sets defaults. Must be called before using any properties.