mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 10:52:19 -05:00
Update to RCObjects (#3193)
* Add `vanillaCheck` to `RandomizerCheckObjects` and update the `RCObjects` table and macro. Update `ogItemId` for many checks. * Rename `vanillaCheck` to `vanillaHundoCheck`. * baguette Co-authored-by: Garrett Cox <garrettjcox@gmail.com> * Bean Salesman should be true for `vanillaHundoCheck` * One more rename to `vanillaCompletion` to avoid possible confusion with 100% speedrun conditions. --------- Co-authored-by: Garrett Cox <garrettjcox@gmail.com>
This commit is contained in:
parent
c11a6a17e9
commit
533f29bce9
File diff suppressed because it is too large
Load Diff
@ -9,8 +9,8 @@ enum SceneID : int;
|
|||||||
|
|
||||||
#define TWO_ACTOR_PARAMS(a, b) (abs(a) << 16) | abs(b)
|
#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) \
|
#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, vanillaCompletion) \
|
||||||
{ 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, rc_shortname, rc_spoilername, vanillaCompletion} }
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
RandomizerCheck rc;
|
RandomizerCheck rc;
|
||||||
@ -24,6 +24,7 @@ typedef struct {
|
|||||||
bool visibleInImgui;
|
bool visibleInImgui;
|
||||||
std::string rcShortName;
|
std::string rcShortName;
|
||||||
std::string rcSpoilerName;
|
std::string rcSpoilerName;
|
||||||
|
bool vanillaCompletion;
|
||||||
} RandomizerCheckObject;
|
} RandomizerCheckObject;
|
||||||
|
|
||||||
namespace RandomizerCheckObjects {
|
namespace RandomizerCheckObjects {
|
||||||
|
Loading…
Reference in New Issue
Block a user