Nuclide
Software Development Kit for id Tech
platform.h File Reference

Go to the source code of this file.

Enumerations

enum  platform {
  PLATFORM_UNINITIALIZED = -1 , PLATFORM_UNKNOWN = 0 , PLATFORM_PC , PLATFORM_CONSOLE ,
  PLATFORM_TOUCH , PLATFORM_WEB
}
 

Functions

platform Platform_GetPlatform (void)
 
bool Platform_FileInGamedir (string fileName, string gameDir)
 
bool Platform_FileInCurrentGamedir (string fileName)
 

Variables

var platform g_platform = PLATFORM_UNINITIALIZED
 

Enumeration Type Documentation

◆ platform

enum platform
Enumerator
PLATFORM_UNINITIALIZED 
PLATFORM_UNKNOWN 
PLATFORM_PC 
PLATFORM_CONSOLE 
PLATFORM_TOUCH 
PLATFORM_WEB 

Function Documentation

◆ Platform_FileInCurrentGamedir()

bool Platform_FileInCurrentGamedir ( string  fileName)

◆ Platform_FileInGamedir()

bool Platform_FileInGamedir ( string  fileName,
string  gameDir 
)

◆ Platform_GetPlatform()

platform Platform_GetPlatform ( void  )

Variable Documentation

◆ g_platform

var platform g_platform = PLATFORM_UNINITIALIZED