blob: 6811df9df297ca28fbe06fe6759912f2743fa44a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <libultraship/bridge/consolevariablebridge.h>
#include "2s2h/GameInteractor/GameInteractor.h"
#include "2s2h/ShipInit.hpp"
extern "C" {
#include "variables.h"
}
#define CVAR_NAME "gDeveloperTools.DisableObjectDependency"
#define CVAR CVarGetInteger(CVAR_NAME, 0)
void RegisterObjectDependency() {
COND_VB_SHOULD(VB_ENABLE_OBJECT_DEPENDENCY, CVAR, { *should = false; });
}
static RegisterShipInitFunc initFunc(RegisterObjectDependency, { CVAR_NAME });
|