Nuclide
Software Development Kit for id Tech
gamelibrary.qc File Reference

Functions

void GameLibrary_InitCustom (void)
 Called when you want to initialize custom games/mods. More...
 
void GameLibrary_Init (void)
 Called when initializing the current game. More...
 
bool GameLibrary_IsInstalling (void)
 Returns true/false depending on if a Game installation is in progress. More...
 
float GameLibrary_InstallProgress (void)
 Returns a 0-100% value of game install progress, tracking across multiple packages. More...
 
void GameLibrary_Install (int gameID)
 Install the specified game. More...
 
void GameLibrary_Activate (int gameID)
 Activate the specified game. More...
 
void GameLibrary_Deactivate (void)
 Deactivate the currently running mod. More...
 
int GameLibrary_GetCurrentGame (void)
 Return the ID for the currently active game. More...
 
int GameLibrary_GetGameCount (void)
 Returns the total amount of games currently available. More...
 
__variant GameLibrary_GetInfo (gameInfo_t infoType)
 Retrieves fields for the currently running game. More...
 
__variant GameLibrary_GetGameInfo (int gameID, gameInfo_t infoType)
 Retrieves fields for a given game. More...
 
void GameLibrary_DebugList (void)
 Prints debug info about the currently cached games to the console. More...
 

Variables

int g_iModInstallCache
 
string g_strModInstallCache
 
var int gameinfo_current = -1
 

Variable Documentation

◆ g_iModInstallCache

int g_iModInstallCache

◆ g_strModInstallCache

string g_strModInstallCache

◆ gameinfo_current

var int gameinfo_current = -1