Method | Description | |
---|---|---|
CacheDictionaryMedia ( idDict dict ) : void |
This is called after parsing an EntityDef and for each entity spawnArgs before merging the entitydef. It could be done post-merge, but that would avoid the fast pre-cache check associated with each entityDef.
|
|
CalculateFieldOfView ( float baseFov, float &fovX, float &fovY ) : void |
Calculates the horizontal and vertical field of view based on a horizontal field of view and custom aspect ratio.
|
|
Draw ( int clientIndex ) : bool | ||
FindEntityDef ( string name, bool makeDefault ) : |
||
FindEntityDefDict ( string name, bool makeDefault ) : idDict | ||
FindEntityUsingDef ( |
Searches all active entities for the next one using the specified entityDef. Searches beginning at the entity after from, or the beginning if NULL NULL will be returned if the end of the list is reached. |
|
GetBestGameType ( string map, string gameType ) : string | ||
GetMapLoadingInterface ( string defaultInterface ) : string | ||
GetTimeGroupTime ( int timeGroup ) : int | ||
HandleGuiCommands ( string menuCommand ) : string | ||
HandleMainMenuCommands ( string menuCommand, |
||
Init ( ) : void | ||
InitFromNewMap ( string mapName, |
||
RegisterEntity ( |
||
RunFrame ( |
||
SelectInitialSpawnPoint ( |
spectators are spawned randomly anywhere. in-game clients are spawned based on distance to active players (randomized on the first half) upon map restart, initial spawns are used (randomized ordered list of spawns flagged "initial"). if there are more players than initial spots, overflow to regular spawning.
|
|
SelectTimeGroup ( int timeGroup ) : void | ||
ServerClientBegin ( int clientIndex ) : void | ||
ServerClientConnect ( int clientIndex, string guid ) : void | ||
ServerSendChatMessage ( int to, string name, string text ) : void | ||
SetLocalClient ( int clientIndex ) : void | ||
SetPersistentPlayerInformation ( int clientIndex, idDict playerInfo ) : void | ||
SetServerInfo ( idDict serverInfo ) : void | ||
SetUserInformation ( int clientIndex, idDict userInfo, bool isClient, bool canModify ) : idDict | ||
SpawnEntityDef ( idDict args, bool setDefaults = true ) : |
||
SpawnPlayer ( int clientIndex ) : void | ||
idGame ( ) : System |
Method | Description | |
---|---|---|
Clear ( ) : void | ||
CreateGameRules ( ) : void | ||
InhibitEntitySpawn ( idDict args ) : bool | ||
InitAsyncNetwork ( ) : void | ||
InitClientDeclRemap ( int clientIndex ) : void | ||
InitConsoleCommands ( ) : void | ||
InitCvars ( ) : void | ||
LoadMap ( string mapName, int randomSeed ) : void | ||
MapPopulate ( ) : void | ||
RandomizeInitialSpawns ( ) : void | ||
SpawnMapEntities ( ) : void |
Parses textual entity definitions out of an entstring and spawns gentities.
|
public CacheDictionaryMedia ( idDict dict ) : void | ||
dict | idDict | |
return | void |
public CalculateFieldOfView ( float baseFov, float &fovX, float &fovY ) : void | ||
baseFov | float | |
fovX | float | |
fovY | float | |
return | void |
public FindEntityDef ( string name, bool makeDefault ) : |
||
name | string | |
makeDefault | bool | |
return |
public FindEntityDefDict ( string name, bool makeDefault ) : idDict | ||
name | string | |
makeDefault | bool | |
return | idDict |
public FindEntityUsingDef ( |
||
from | ||
match | string | |
return |
public GetBestGameType ( string map, string gameType ) : string | ||
map | string | |
gameType | string | |
return | string |
public GetMapLoadingInterface ( string defaultInterface ) : string | ||
defaultInterface | string | |
return | string |
public GetTimeGroupTime ( int timeGroup ) : int | ||
timeGroup | int | |
return | int |
public HandleGuiCommands ( string menuCommand ) : string | ||
menuCommand | string | |
return | string |
public HandleMainMenuCommands ( string menuCommand, |
||
menuCommand | string | |
gui | ||
return | void |
public InitFromNewMap ( string mapName, |
||
mapName | string | |
renderWorld | ||
soundWorld | ||
isServer | bool | |
isClient | bool | |
randomSeed | int | |
return | void |
public RegisterEntity ( |
||
entity | ||
return | void |
public RunFrame ( |
||
userCommands | ||
return |
public SelectInitialSpawnPoint ( |
||
player | ||
return |
public SelectTimeGroup ( int timeGroup ) : void | ||
timeGroup | int | |
return | void |
public ServerClientBegin ( int clientIndex ) : void | ||
clientIndex | int | |
return | void |
public ServerClientConnect ( int clientIndex, string guid ) : void | ||
clientIndex | int | |
guid | string | |
return | void |
public ServerSendChatMessage ( int to, string name, string text ) : void | ||
to | int | |
name | string | |
text | string | |
return | void |
public SetLocalClient ( int clientIndex ) : void | ||
clientIndex | int | |
return | void |
public SetPersistentPlayerInformation ( int clientIndex, idDict playerInfo ) : void | ||
clientIndex | int | |
playerInfo | idDict | |
return | void |
public SetServerInfo ( idDict serverInfo ) : void | ||
serverInfo | idDict | |
return | void |
public SetUserInformation ( int clientIndex, idDict userInfo, bool isClient, bool canModify ) : idDict | ||
clientIndex | int | |
userInfo | idDict | |
isClient | bool | |
canModify | bool | |
return | idDict |
public SpawnEntityDef ( idDict args, bool setDefaults = true ) : |
||
args | idDict | |
setDefaults | bool | |
return |
public SpawnPlayer ( int clientIndex ) : void | ||
clientIndex | int | |
return | void |