1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 20:29:57 +00:00

added callback-interface for character creation

This commit is contained in:
Marc Zinnschlag 2010-09-13 22:59:28 +02:00
parent 9a2f128f58
commit e411c6e833
2 changed files with 56 additions and 8 deletions

View file

@ -83,4 +83,34 @@ namespace MWMechanics
}
}
}
void MechanicsManager::setPlayerName (const std::string& name)
{
}
void MechanicsManager::setPlayerRace (const std::string& race, bool male)
{
}
void MechanicsManager::setPlayerBirthsign (const std::string& id)
{
}
void MechanicsManager::setPlayerClass (const std::string& id)
{
}
void MechanicsManager::setPlayerClass (const ESM::Class& class_)
{
}
void MechanicsManager::finalizePlayer()
{
}
}

View file

@ -48,8 +48,26 @@ namespace MWMechanics
void update();
///< Update actor stats
void setPlayerName (const std::string& name);
///< Set player name.
void setPlayerRace (const std::string& id, bool male);
///< Set player race.
void setPlayerBirthsign (const std::string& id);
///< Set player birthsign.
void setPlayerClass (const std::string& id);
///< Set player class to stock class.
void setPlayerClass (const ESM::Class& class_);
///< Set player class to custom class.
void finalizePlayer();
///< Configure player according to previously called setPlayer functions.
};
}
#endif