File gamedata.hpp¶
Typedefs
-
typedef std::vector<std::string> StringVector¶
-
typedef std::variant<int, bool, std::string, Rectangle, Color, FontRef, ImageRef, VerticalAlignment, HorizontalAlignment, UIElementRef, NPatchInfo, InputC, StringVector> ElementProperty¶
Enums
Functions
-
template<class Archive>
void serialize(Archive &a, UIElementRef &b)¶
-
template<class Archive>
void serialize(Archive &a, HorizontalAlignment &b)¶
-
template<class Archive>
void serialize(Archive &a, VerticalAlignment &b)¶
-
template<class Archive>
void serialize(Archive &a, CallbacksArray &b)¶
-
template<class Archive>
void serialize(Archive &a, UIElementBin &b)¶
-
template<class Archive>
void serialize(Archive &a, InterfaceViewBin &b)¶
Variables
-
const std::string CALLBACK_TRIGGER = "callback_trigger"¶
-
const std::string CALLBACK_FOCUSED = "callback_focused"¶
-
const std::string CALLBACK_UNFOCUSED = "callback_unfocused"¶
-
struct IVector¶
- #include <gamedata.hpp>
-
struct IRect¶
- #include <gamedata.hpp>
-
struct UIElementRef¶
- #include <gamedata.hpp>
-
struct FontRef¶
- #include <gamedata.hpp>
-
struct CallbacksArray¶
- #include <gamedata.hpp>
Public Members
-
std::unordered_map<std::string, std::string> funcNames = {{CALLBACK_TRIGGER, ""}, {CALLBACK_UNFOCUSED, ""}, {CALLBACK_FOCUSED, ""}}¶
-
std::unordered_map<std::string, std::string> funcNames = {{CALLBACK_TRIGGER, ""}, {CALLBACK_UNFOCUSED, ""}, {CALLBACK_FOCUSED, ""}}¶
-
struct InputC¶
- #include <gamedata.hpp>
Public Members
-
UIElementRef upButton¶
-
UIElementRef downButton¶
-
UIElementRef leftButton¶
-
UIElementRef rightButton¶
-
CallbacksArray funcNames¶
-
UIElementRef upButton¶
-
struct VerticalAlignment¶
- #include <gamedata.hpp>
Public Members
-
TextAlignment val = TEXT_ALIGN_TOP¶
-
TextAlignment val = TEXT_ALIGN_TOP¶
-
struct HorizontalAlignment¶
- #include <gamedata.hpp>
Public Members
-
struct Event¶
- #include <gamedata.hpp>
-
struct ActorBin¶
- #include <gamedata.hpp>
-
struct ActorInRoomBin¶
- #include <gamedata.hpp>
-
struct TileBin¶
- #include <gamedata.hpp>
-
struct InteractableBin¶
- #include <gamedata.hpp>
-
struct InteractableInRoomBin¶
- #include <gamedata.hpp>
-
struct PropInRoomBin¶
- #include <gamedata.hpp>
-
struct TileSetBin¶
- #include <gamedata.hpp>
-
struct FontBin¶
- #include <gamedata.hpp>
-
struct ImageBin¶
- #include <gamedata.hpp>
-
struct MusicBin¶
- #include <gamedata.hpp>
-
struct PropBin¶
- #include <gamedata.hpp>
-
struct RoomBin¶
- #include <gamedata.hpp>
Public Members
-
std::string name¶
-
std::string tileSetName¶
-
int width¶
-
int height¶
-
std::vector<InteractableInRoomBin> interactables¶
-
std::vector<PropInRoomBin> props¶
-
std::vector<ActorInRoomBin> actors¶
-
std::string musicSource¶
-
std::string name¶
-
struct UIElementBin¶
- #include <gamedata.hpp>
-
struct InterfaceViewBin¶
- #include <gamedata.hpp>
Public Members
-
std::string scriptSource = ""¶
-
std::unordered_map<std::string, std::vector<std::uint8_t>> entites¶
-
std::unordered_map<std::string, UIElementBin> elements = {}¶
-
std::string scriptSource = ""¶
-
struct ProjectProgramSettings¶
- #include <gamedata.hpp>
-
struct ProjectGameSettings¶
- #include <gamedata.hpp>
-
struct GameData¶
- #include <gamedata.hpp>
Public Members
-
std::string title¶
-
ProjectProgramSettings programSet¶
-
ProjectGameSettings gameSet¶
-
std::map<std::string, TileSetBin> tilesets¶
-
std::map<std::string, InteractableBin> interactables¶
-
std::map<std::string, InterfaceViewBin> interfaceViews¶
-
std::map<std::string, DialogueBin> dialogues¶
-
std::string title¶
-
struct DataSerialization¶
- #include <gamedata.hpp>