use GC logic for BB nonrare item drop generation and shops

This commit is contained in:
Martin Michelsen
2023-03-07 23:16:42 -08:00
parent 6cdbc3e8e0
commit 838e53a91e
36 changed files with 4577 additions and 2270 deletions
+7 -1
View File
@@ -20,6 +20,8 @@
#include "Lobby.hh"
#include "Menu.hh"
#include "Quest.hh"
#include "CommonItemSet.hh"
#include "ItemParameterTable.hh"
@@ -64,9 +66,13 @@ struct ServerState {
std::shared_ptr<const QuestIndex> quest_index;
std::shared_ptr<const LevelTable> level_table;
std::shared_ptr<const BattleParamsIndex> battle_params;
std::shared_ptr<const CommonItemData> common_item_data;
std::shared_ptr<const GSLArchive> bb_data_gsl;
std::shared_ptr<const RareItemSet> rare_item_set;
std::shared_ptr<const CommonItemSet> common_item_set;
std::shared_ptr<const ArmorRandomSet> armor_random_set;
std::shared_ptr<const ToolRandomSet> tool_random_set;
std::array<std::shared_ptr<const WeaponRandomSet>, 4> weapon_random_sets;
std::shared_ptr<const ItemParameterTable> item_parameter_table;
std::shared_ptr<Episode3::TournamentIndex> ep3_tournament_index;