C4 Engine
C4 Engine API Documentation


Defined in:  C4Controller.h
Returns the controller flags.

uint32 GetControllerFlags(voidconst;

The GetControllerFlags function returns the controller flags, which can be a combination (through logical OR) of the following constants.
kControllerUpdate The controller needs to be updated (read-only flag).
kControllerAsleep The controller is asleep, and thus its MoveController function is not called (read-only flag).
kControllerLocal The controller operates autonomously and does receive messages from remote machines.
kControllerMoveInhibit The controller's MoveController function is never called, even if the controller is awake.
kControllerPhysicsSimulation The controller is a global physics simulation controller. This should be set only by a Controller subclass that acts as the main interface between the engine and a physics library, and it indicates to the World Manager that the controller should be given special treatment as the sole physics controller in a world.
See Also