Check Tracker - Item List

- Fixes item list not updating when changing seeds/options
- Separates item exclusion list from item check list
- Clean up comments
This commit is contained in:
sonoftunk 2022-11-13 16:34:44 -05:00
commit 648fe17532
4 changed files with 41 additions and 29 deletions

View file

@ -70,7 +70,7 @@ typedef enum {
#define TWO_ACTOR_PARAMS(a, b) (abs(a) << 16) | abs(b)
#define RC_OBJECT(rc, rc_v_or_mq, rc_type, rc_area, actor_id, scene_id, actor_params, og_item_id, rc_shortname, rc_spoilername) \
{ rc, {rc, rc_v_or_mq, rc_type, rc_area, actor_id, scene_id, actor_params, og_item_id, false, rc_shortname, rc_spoilername} }
{ rc, {rc, rc_v_or_mq, rc_type, rc_area, actor_id, scene_id, actor_params, og_item_id, false, false, rc_shortname, rc_spoilername} }
#define RC_IS_CARPENTER(a) \
(a == RC_GF_NORTH_F1_CARPENTER || \
@ -88,6 +88,7 @@ typedef struct {
int32_t actorParams;
GetItemID ogItemId;
bool visibleInImgui;
bool visibleInTrackerImgui;
std::string rcShortName;
std::string rcSpoilerName;
} RandomizerCheckObject;
@ -101,4 +102,5 @@ namespace RandomizerCheckObjects {
std::map<SceneID, RandomizerCheckArea> GetAllRCAreaBySceneID();
RandomizerCheckArea GetRCAreaBySceneID(SceneID sceneId);
void UpdateImGuiVisibility();
void UpdateTrackerImGuiVisibility();
}