Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
SpriteMapConfig.hpp File Reference
#include "SimpleJsonParser.hpp"
#include <unordered_map>
#include <string>
#include <fstream>
#include <sstream>
Include dependency graph for SpriteMapConfig.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< std::string, std::string > rtp::config::loadSpriteMappings (const std::string &filepath="config/client/sprite_mappings.json")
 Load sprite mappings from a JSON file.
 
bool rtp::config::saveSpriteMappings (const std::unordered_map< std::string, std::string > &mappings, const std::string &filepath="config/client/sprite_mappings.json")
 Save sprite mappings to a JSON file.