 |
Blamite Game Engine - Blam (Core)
|
Go to the documentation of this file.
59 (*pointer)->Release();
72 if (newObject != NULL)
87 template <
typename Type>
void SafeSet(Type** currentObject, Type* newObject)
91 currentObject = newObject;
Namespace surrounding all major engine components.
Definition: blam_api.h:17
void SafeRelease(Type **pointer)
Releases a pointer.
Definition: utilities.h:55
BLAM void OpenLocalWebURL(std::string local_path)
Opens the specified relative path in the user's default web browser.
Definition: web.cpp:9
Type * SafeAcquire(Type *newObject)
Acquires an additional reference, if non-null.
Definition: utilities.h:70
BLAM std::pair< float, float > GetEngineDpi()
Retrieve the game engine's DPI.
Definition: utilities.cpp:17
BLAM std::pair< float, float > GetSystemDpi()
Retrieve the Windows system DPI.
Definition: utilities.cpp:6
void SafeSet(Type **currentObject, Type *newObject)
Sets a new COM object, releasing the old one.
Definition: utilities.h:87
#define BLAM
Definition: utilities.h:7
BLAM void OpenWebURL(std::string url)
Opens the specified URL in the user's default web browser.
Definition: web.cpp:4