From ff4f8f1200aefbe7618dc02cc47915cefcc00940 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Mon, 29 Jul 2024 16:51:26 +0200 Subject: Renamed to proper cpp name --- c++/schema.h | 74 ---------------------------------------------------------- c++/schema.hpp | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 74 deletions(-) delete mode 100644 c++/schema.h create mode 100644 c++/schema.hpp (limited to 'c++') diff --git a/c++/schema.h b/c++/schema.h deleted file mode 100644 index a4a86e6..0000000 --- a/c++/schema.h +++ /dev/null @@ -1,74 +0,0 @@ -#pragma once - -#include - -namespace kel { -namespace slay { -namespace schema { -using namespace saw::schema; - -using RunCampfireChoice = Struct< - Member, - Member ->; - -using RunDamageTaken = Struct< - Member, - Member, - Member, - Member ->; - -using RunPotionsObtained = Struct< - Member, - Member ->; - -using Run = Struct< - Member, "gold_per_floor">, - Member, - Member, - Member, "items_purged">, - Member, - Member, - Member, - // Member, - Member, "campfire_choices">, - Member, - Member, - Member, - Member, "master_deck">, - Member, "relics">, - Member, "potions_floor_usage">, - Member, "damage_taken">, - Member, - Member,"potions_obtained">, - // Member, - Member, "path_per_floor">, - Member, - // Member< , "items_purchased"> ???? - Member, - // Member< , "items_purchase_floors"> ???? - Member, "current_hp_per_floor">, - Member, - Member, - // Member, - // Member, - // Member, - Member, - Member, - Member, - Member, "path_taken">, - Member, - Member, - // Member, - Member, "max_hp_per_floor">, - // Member, "card_choices">, - Member, - // Member, "relics_obtained">, - ->; - -} -} -} diff --git a/c++/schema.hpp b/c++/schema.hpp new file mode 100644 index 0000000..e97ee49 --- /dev/null +++ b/c++/schema.hpp @@ -0,0 +1,74 @@ +#pragma once + +#include + +namespace kel { +namespace slay { +namespace sch { +using namespace saw::schema; + +using RunCampfireChoice = Struct< + Member, + Member +>; + +using RunDamageTaken = Struct< + Member, + Member, + Member, + Member +>; + +using RunPotionsObtained = Struct< + Member, + Member +>; + +using Run = Struct< + Member, "gold_per_floor">, + Member, + Member, + Member, "items_purged">, + Member, + Member, + Member, + Member, + Member, "campfire_choices">, + Member, + Member, + Member, + Member, "master_deck">, + Member, "relics">, + Member, "potions_floor_usage">, + Member, "damage_taken">, + Member, + Member,"potions_obtained">, + Member, + Member, "path_per_floor">, + Member, + // Member< , "items_purchased"> ???? + Member, + // Member< , "items_purchase_floors"> ???? + Member, "current_hp_per_floor">, + Member, + Member, + Member, + Member, + Member, + Member, + Member, + Member, + Member, "path_taken">, + Member, + Member, + Member, + Member, "max_hp_per_floor">, + // Member, "card_choices">, + Member, + // Member, "relics_obtained">, + +>; + +} +} +} -- cgit v1.2.3