mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-18 14:22:17 -05:00
De-dupe defines
This commit is contained in:
parent
b37f531a26
commit
5148355588
@ -1,7 +1,5 @@
|
|||||||
#include "static_data.h"
|
#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::array<Rando::Location, RC_MAX> Rando::StaticData::locationTable;
|
||||||
|
|
||||||
std::vector<RandomizerCheck> KF_ShopLocations = {
|
std::vector<RandomizerCheck> KF_ShopLocations = {
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#define MAX_TRICK_NAME_SIZE 50
|
#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
|
// This should probably go in a less rando-specific location
|
||||||
// but the best location will probably be in the modding engine
|
// but the best location will probably be in the modding engine
|
||||||
// which doesn't exist yet.
|
// which doesn't exist yet.
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
#define TWO_ACTOR_PARAMS(a, b) ((((a)&0xFFFF) << 16) | ((b)&0xFFFF))
|
|
||||||
|
|
||||||
namespace RandomizerCheckObjects {
|
namespace RandomizerCheckObjects {
|
||||||
bool AreaIsDungeon(RandomizerCheckArea area);
|
bool AreaIsDungeon(RandomizerCheckArea area);
|
||||||
bool AreaIsOverworld(RandomizerCheckArea area);
|
bool AreaIsOverworld(RandomizerCheckArea area);
|
||||||
|
Loading…
Reference in New Issue
Block a user