De-dupe defines

This commit is contained in:
aMannus 2024-01-27 21:37:15 +01:00
parent b37f531a26
commit 5148355588
3 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
#include "static_data.h"
#define TWO_ACTOR_PARAMS(a, b) ((((a)&0xFFFF) << 16) | ((b)&0xFFFF))
std::array<Rando::Location, RC_MAX> Rando::StaticData::locationTable;
std::vector<RandomizerCheck> KF_ShopLocations = {

View File

@ -6,6 +6,8 @@
#define MAX_TRICK_NAME_SIZE 50
#define TWO_ACTOR_PARAMS(a, b) ((((a)&0xFFFF) << 16) | ((b)&0xFFFF))
// This should probably go in a less rando-specific location
// but the best location will probably be in the modding engine
// which doesn't exist yet.

View File

@ -6,8 +6,6 @@
#include <vector>
#include <map>
#define TWO_ACTOR_PARAMS(a, b) ((((a)&0xFFFF) << 16) | ((b)&0xFFFF))
namespace RandomizerCheckObjects {
bool AreaIsDungeon(RandomizerCheckArea area);
bool AreaIsOverworld(RandomizerCheckArea area);