Exemplo n.º 1
0
// greebo: The accessor function for the brush module containing the static instance
// TODO: Change this to return a reference instead of a raw pointer
BrushModuleClass* GlobalBrush() {
    return staticBrushModule.getModule().get();
}
Exemplo n.º 2
0
// The accessor function to the GlobalCameraManager instance 
GlobalCameraManager& GlobalCamera() {
	return *cameraModule.getModule();
}
Exemplo n.º 3
0
// Return the static Radiant module to other code within the main binary
RadiantModulePtr getGlobalRadiant()
{
	return radiantCoreModule.getModule();
}
Exemplo n.º 4
0
IPreferenceSystem& GetPreferenceSystem() {
    return *preferenceSystemModule.getModule();
}