|
Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
|
Classes | |
| class | IRandom |
| class | OrbitGenerator |
| class | StdRandom |
Functions | |
| std::shared_ptr< spdlog::logger > | make_logger (const std::string &name, bool error=false) |
| Initializes a logger with the right outputs based on the various configurations More... | |
| std::shared_ptr< spdlog::logger > | make_registered_logger (const std::string &name, bool error) |
| std::string | GetName (const Universe &universe, entt::entity entity) |
| Gets the name of the entity. If that isn't there, then the identifier. If you somehow mess even that up, it returns the identifier in string form. More... | |
| std::string | GetEntityType (const Universe &universe, entt::entity entity) |
| std::string | GetCqspAppDataPath () |
| The path for where all the data of the game is stored, including logs, and other things More... | |
| std::string | GetCqspExePath () |
| std::string | GetCqspTestDataPath () |
| std::string | GetCqspDataPath () |
| This returns binaries/data More... | |
| std::string | GetCqspSavePath () |
| This should return Documents/cqsp. More... | |
| std::string | random_id () |
| std::string cqsp::core::util::GetCqspAppDataPath | ( | ) |
The path for where all the data of the game is stored, including logs, and other things
| std::string cqsp::core::util::GetCqspDataPath | ( | ) |
This returns binaries/data
| std::string cqsp::core::util::GetCqspExePath | ( | ) |
| std::string cqsp::core::util::GetCqspSavePath | ( | ) |
This should return Documents/cqsp.
| std::string cqsp::core::util::GetCqspTestDataPath | ( | ) |
| std::string cqsp::core::util::GetEntityType | ( | const Universe & | universe, |
| entt::entity | entity | ||
| ) |
I feel like this is a very inefficient way of getting the name Perhaps we could just have a component that stores the name, and we can get rid of this complex and honestly unwieldy function.
| std::string cqsp::core::util::GetName | ( | const Universe & | universe, |
| entt::entity | entity | ||
| ) |
Gets the name of the entity. If that isn't there, then the identifier. If you somehow mess even that up, it returns the identifier in string form.
| universe | |
| entity |
| std::shared_ptr< spdlog::logger > cqsp::core::util::make_logger | ( | const std::string & | name, |
| bool | error = false |
||
| ) |
Initializes a logger with the right outputs based on the various configurations
| name | |
| error | If it wants an error output file, then it will output it as "{name}.error.txt |
| std::shared_ptr< spdlog::logger > cqsp::core::util::make_registered_logger | ( | const std::string & | name, |
| bool | error | ||
| ) |
|
inline |