Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "design/effector.h"
|
||||
#include "compat/misc.h"
|
||||
|
||||
extern umap<std::string, nativeTargetAlgorithm> TargetAlgorithms;
|
||||
extern umap<std::string, nativeTargetWeighter> TargetWeighters;
|
||||
|
||||
struct ActivationCB {
|
||||
nativeEffectorActivation func;
|
||||
unsigned stateCount, argCount;
|
||||
};
|
||||
|
||||
extern umap<std::string, ActivationCB> EffectorActivation;
|
||||
|
||||
double isType(const Effector* eff, Object* obj, Object* targ, void* arg);
|
||||
double hasTag(const Effector* eff, Object* obj, Object* targ, void* arg);
|
||||
Reference in New Issue
Block a user