Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
WeaponConfig.hpp File Reference
#include "RType/ECS/Components/SimpleWeapon.hpp"
#include "RType/Config/SimpleJsonParser.hpp"
#include "RType/Logger.hpp"
#include <unordered_map>
#include <string>
Include dependency graph for WeaponConfig.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rtp
 
namespace  rtp::config
 File : SpriteMapConfig.hpp License: MIT Author : GitHub Copilot Date : 18/01/2026.
 

Functions

std::unordered_map< rtp::ecs::components::WeaponKind, rtp::ecs::components::SimpleWeaponrtp::config::loadWeaponConfigs (const std::string &path="config/common/weapons.json")
 
std::unordered_map< rtp::ecs::components::WeaponKind, rtp::ecs::components::SimpleWeapon > & rtp::config::weapon_cache ()
 
bool & rtp::config::weapon_cache_loaded ()
 
void rtp::config::reloadWeaponConfigs ()
 
const rtp::ecs::components::SimpleWeaponrtp::config::getWeaponDef (rtp::ecs::components::WeaponKind kind)
 
bool rtp::config::hasWeaponConfigs ()
 
std::string rtp::config::getWeaponDisplayName (rtp::ecs::components::WeaponKind kind)