8#ifndef RTYPE_CLIENT_SCENES_MODMENUSCENE_HPP_
9 #define RTYPE_CLIENT_SCENES_MODMENUSCENE_HPP_
17 #include <SFML/Graphics.hpp>
70 std::function<
void(
GameState)> changeState);
85 void onExit(
void)
override;
97 void update(
float dt)
override;
144 sf::Texture*
loadTexture(
const std::string& texturePath);
176 sf::Image
resizeImage(
const sf::Image& sourceImage,
unsigned int targetWidth,
unsigned int targetHeight);
Manages game settings and preferences.
Manages game translations for all UI elements.
Factory class for creating UI components in the ECS registry.
Interface for different scenes in the client application.
Category of entities with their sprites.
std::vector< EntitySpriteInfo > entities
List of entities in this category.
std::string name
Category name.
Information about an entity's sprite for the mod menu.
int rectLeft
Left position in sprite sheet.
int rectWidth
Width of the sprite.
std::string texturePath
Path to the texture.
int rectHeight
Height of the sprite.
int rectTop
Top position in sprite sheet.
std::string name
Display name of the entity.