Blamite Game Engine - blam!  00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
Namespaces | Functions
Blam::Utils Namespace Reference

Namespace containing general-purpose utilities. More...

Namespaces

 Color
 Namespace for things relating to global engine color data.
 
 DateTime
 Utilities relating to date and time.
 
 IO
 Utilities relating to reading/writing to and from files.
 
 Math
 Namespace containing math-related utilities.
 
 Res
 Utilities relating to application resources.
 
 String
 Utilities for working with and modifying strings.
 

Functions

BLAM void OpenWebURL (std::string url)
 Opens the specified URL in the user's default web browser. More...
 
BLAM void OpenLocalWebURL (std::string local_path)
 Opens the specified relative path in the user's default web browser. More...
 
BLAM std::pair< float, float > GetSystemDpi ()
 Retrieve the Windows system DPI. More...
 
BLAM std::pair< float, float > GetEngineDpi ()
 Retrieve the game engine's DPI. More...
 

Detailed Description

Namespace containing general-purpose utilities.

Function Documentation

◆ GetEngineDpi()

std::pair< float, float > Blam::Utils::GetEngineDpi ( )

Retrieve the game engine's DPI.

The first value is X. The second value is Y.

◆ GetSystemDpi()

std::pair< float, float > Blam::Utils::GetSystemDpi ( )

Retrieve the Windows system DPI.

The first value is X. The second value is Y.

◆ OpenLocalWebURL()

void Blam::Utils::OpenLocalWebURL ( std::string  local_path)

Opens the specified relative path in the user's default web browser.

Parameters
local_path- The relative path to the file to open.

◆ OpenWebURL()

void Blam::Utils::OpenWebURL ( std::string  url)

Opens the specified URL in the user's default web browser.

Parameters
url- The web URL to open.