Oolite 1.91.0.7646-241128-10e222e
|
import "OODebugStandards.h"
import "OOLogging.h"
import "OOCollectionExtractors.h"
import "GameController.h"
Go to the source code of this file.
Enumerations | |
enum | OOStandardsEnforcement { STANDARDS_ENFORCEMENT_OFF = 0 , STANDARDS_ENFORCEMENT_WARN , STANDARDS_ENFORCEMENT_ENFORCE , STANDARDS_ENFORCEMENT_QUIT } |
Functions | |
void | OOStandardsSetup (void) |
void | OOStandardsInternal (NSString *type, NSString *message) |
void | OOStandardsDeprecated (NSString *message) |
void | OOStandardsError (NSString *message) |
BOOL | OOEnforceStandards () |
void | OOSetStandardsForOXPVerifierMode () |
Variables | |
static BOOL | sSetup = NO |
static OOStandardsEnforcement | sEnforcement = STANDARDS_ENFORCEMENT_WARN |
Enumerator | |
---|---|
STANDARDS_ENFORCEMENT_OFF | |
STANDARDS_ENFORCEMENT_WARN | |
STANDARDS_ENFORCEMENT_ENFORCE | |
STANDARDS_ENFORCEMENT_QUIT |
Definition at line 49 of file OODebugStandards.m.
BOOL OOEnforceStandards | ( | void | ) |
Definition at line 114 of file OODebugStandards.m.
References OOStandardsSetup(), sEnforcement, and STANDARDS_ENFORCEMENT_ENFORCE.
Referenced by OOScript::descriptionComponents, EquipmentInfoSetProperty(), LoadScriptWithName(), MissionMarkSystem(), and MissionUnmarkSystem().
void OOSetStandardsForOXPVerifierMode | ( | void | ) |
Definition at line 121 of file OODebugStandards.m.
References sEnforcement, sSetup, and STANDARDS_ENFORCEMENT_WARN.
void OOStandardsDeprecated | ( | NSString * | message | ) |
Definition at line 102 of file OODebugStandards.m.
References OOStandardsInternal().
Referenced by ClockGetProperty(), OOScript::descriptionComponents, EquipmentInfoSetProperty(), LoadScriptWithName(), MissionMarkSystem(), MissionUnmarkSystem(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), and SystemLegacySpawnShip().
void OOStandardsError | ( | NSString * | message | ) |
Definition at line 108 of file OODebugStandards.m.
References OOStandardsInternal().
void OOStandardsInternal | ( | NSString * | type, |
NSString * | message ) |
Definition at line 84 of file OODebugStandards.m.
References GameController::exitAppWithContext:, OOLog, OOStandardsSetup(), sEnforcement, GameController::sharedController, STANDARDS_ENFORCEMENT_OFF, and STANDARDS_ENFORCEMENT_QUIT.
Referenced by OOStandardsDeprecated(), and OOStandardsError().
void OOStandardsSetup | ( | void | ) |
Definition at line 63 of file OODebugStandards.m.
References sEnforcement, sSetup, STANDARDS_ENFORCEMENT_OFF, and STANDARDS_ENFORCEMENT_QUIT.
Referenced by OOEnforceStandards(), and OOStandardsInternal().
|
static |
Definition at line 60 of file OODebugStandards.m.
Referenced by OOEnforceStandards(), OOSetStandardsForOXPVerifierMode(), OOStandardsInternal(), and OOStandardsSetup().
|
static |
Definition at line 47 of file OODebugStandards.m.
Referenced by OOSetStandardsForOXPVerifierMode(), and OOStandardsSetup().