#include "Genesis.h"Go to the source code of this file.
Compounds | |
| struct | GenVSI |
| struct | GenVSI_CMove |
Defines | |
| #define | CLIENT_NULL_HANDLE -1 |
| #define | HOST_BUTTON_JUMP (1<<0) |
| #define | HOST_BUTTON_LEFT (1<<1) |
| #define | HOST_BUTTON_RIGHT (1<<2) |
| #define | HOST_BUTTON_FIRE (1<<3) |
| #define | VIEW_INDEX_NONE 0xffff |
| #define | VIEW_TYPE_NONE (1<<0) |
| #define | VIEW_TYPE_ACTOR (1<<2) |
| #define | VIEW_TYPE_MODEL (1<<3) |
| #define | VIEW_TYPE_MODEL_OPEN (1<<4) |
| #define | VIEW_TYPE_LIGHT (1<<5) |
| #define | VIEW_TYPE_SPRITE (1<<6) |
| #define | VIEW_TYPE_YAW_ONLY (1<<7) |
| #define | VIEW_TYPE_LOCAL (1<<8) |
| #define | VIEW_TYPE_FORCE_XFORM (1<<10) |
| #define | VIEW_TYPE_TOUCH (1<<11) |
| #define | VIEW_TYPE_STANDON (1<<12) |
| #define | VIEW_TYPE_COLLIDEMODEL (1<<13) |
| #define | VIEW_TYPE_PHYSOB (1<<14) |
| #define | VIEW_TYPE_HACK (1<<15) |
Typedefs | |
| typedef int32 | GenVSI_CHandle |
| typedef int32 | GenVSI_PHandle |
| typedef GenVSI | GenVSI |
| typedef geBoolean | GenVSI_NewWorldCB (GenVSI *VSI, const char *WorldName, geVFile *MainFS) |
| typedef geBoolean | GenVSI_ShutdownWorldCB (GenVSI *VSI) |
| typedef void | GenVSI_SpawnFunc (GenVSI *VSI, void *Player, void *ClassData, char *EntityName) |
| typedef void | GenVSI_DestroyFunc (GenVSI *VSI, void *Player, void *ClassData) |
| typedef void | GenVSI_SetCSpawnCB (void *UData, const char *ClassName, GenVSI_SpawnFunc *Func, GenVSI_DestroyFunc *DFunc) |
| typedef void | GenVSI_SetWorldCB (void *UData, GenVSI_NewWorldCB *NewWorldCB, GenVSI_ShutdownWorldCB *ShutdownWorldCB, const char *WorldName) |
| typedef void | GenVSI_ActorIndexCB (void *UData, uint16 Index, const char *GFXPath, const char *FileName) |
| typedef void | GenVSI_MotionIndexCB (void *UData, uint16 Index, const char *MotionName) |
| typedef void | GenVSI_BoneIndexCB (void *UData, uint16 Index, const char *BoneName) |
| typedef void | GenVSI_TextureIndexCB (void *UData, uint16 Index, const char *TextureName, const char *ATextureName) |
| typedef void | GenVSI_SoundIndexCB (void *UData, uint16 Index, const char *FileName) |
| typedef void | GenVSI_PlaySoundCB (void *UData, uint16 Index, const geVec3d *Pos) |
| typedef void | GenVSI_SpawnFxCB (void *UData, uint8 FxNum, const geVec3d *Pos, uint8 SoundIndex) |
| typedef void * | GenVSI_GetPClientDataCB (void *UData, GenVSI_CHandle ClientHandle) |
| typedef void | GenVSI_SetClientValue (void *UData, GenVSI_CHandle ClientHandle, int32 Value) |
| typedef GenVSI_CMove * | GenVSI_GetClientMoveCB (void *UData, GenVSI_CHandle ClientHandle) |
| typedef geBoolean | GenVSI_IsClientBotCB (void *UData, GenVSI_CHandle ClientHandle) |
| typedef geBoolean | GenVSI_ClientDisconnectCB (void *UData, GenVSI_CHandle ClientHandle) |
| typedef uint16 | GenVSI_ModelToVIndexCB (void *UData, geWorld_Model *Model) |
| typedef void | GenVSI_RegisterPModelCB (void *UData, void *PlayerData, geWorld_Model *Model) |
| typedef void * | GenVSI_GetNextPlayerCB (void *UData, void *Start, const char *ClassName) |
| typedef void * | GenVSI_GetNextPlayerRCB (void *UData, void *PlayerData, void *Start, const char *ClassName, float Radius) |
| typedef void | GenVSI_SetViewPlayerCB (void *UData, GenVSI_CHandle ClientHandle, void *PlayerData) |
| typedef geBoolean | GenVSI_MovePModelCB (void *UData, void *PlayerData, const geXForm3d *DestXForm) |
| typedef void | GenVSI_GetPlayerTExtCB (void *UData, void *PlayerData, uint16 MotionIndex, float *Start, float *End) |
| typedef void | GenVSI_SetCInvCB (void *UData, GenVSI_CHandle ClientHandle, int32 Slot, uint16 Amount, geBoolean HasItem) |
| typedef void * | GenVSI_ActorToPlayerCB (void *UData, geActor *Actor) |
| typedef geWorld * | GenVSI_GetWorldCB (void *UData) |
| typedef void | GenVSI_ConsolePrintfCB (void *Udata, const char *Str,...) |
| typedef void | GenVSI_ConsoleHeaderPrintfCB (void *Udata, int32 ClientHandle, geBoolean AllClients, const char *Str,...) |
| typedef float | GenVSI_GetTimeCB (void *UData) |
| typedef void * | GenVSI_SpawnPlayerCB (void *UData, const char *ClassName) |
| typedef void | GenVSI_DestroyPlayerCB (void *UData, void *PlayerData) |
| typedef void | GenVSI_ProcIndexCB (void *UData, uint16 Index, void *Proc) |
Enumerations | |
| enum | GenVSI_Mode { MODE_Server, MODE_SmartClient, MODE_DumbClient, MOVE_ServerClient } |
Functions | |
| void | GenVSI_SetClassSpawn (GenVSI *VSI, const char *ClassName, GenVSI_SpawnFunc *Func, GenVSI_DestroyFunc *DFunc) |
| void | GenVSI_SetWorld (GenVSI *VSI, GenVSI_NewWorldCB *NewWorldCB, GenVSI_ShutdownWorldCB *ShutdownWorldCB, const char *WorldName) |
| void | GenVSI_ActorIndex (GenVSI *VSI, uint16 Index, const char *GFXPath, const char *FileName) |
| void | GenVSI_MotionIndex (GenVSI *VSI, uint16 Index, const char *MotionName) |
| void | GenVSI_BoneIndex (GenVSI *VSI, uint16 Index, const char *BoneName) |
| void | GenVSI_TextureIndex (GenVSI *VSI, uint16 Index, const char *TextureName, const char *ATextureName) |
| void | GenVSI_SoundIndex (GenVSI *VSI, uint16 Index, const char *FileName) |
| void | GenVSI_PlaySound (GenVSI *VSI, uint16 Index, const geVec3d *Pos) |
| void | GenVSI_SpawnFx (GenVSI *VSI, uint8 FxNum, const geVec3d *Pos, uint8 SoundIndex) |
| void * | GenVSI_GetPlayerClientData (GenVSI *VSI, GenVSI_CHandle ClientHandle) |
| void | GenVSI_SetClientScore (GenVSI *VSI, GenVSI_CHandle ClientHandle, int32 Score) |
| void | GenVSI_SetClientHealth (GenVSI *VSI, GenVSI_CHandle ClientHandle, int32 Health) |
| void | GenVSI_SetClientWeapon (GenVSI *VSI, GenVSI_CHandle ClientHandle, int32 Weapon) |
| void | GenVSI_SetClientInventory (GenVSI *VSI, GenVSI_CHandle ClientHandle, int32 Slot, uint16 Amount, geBoolean HasItem) |
| GenVSI_CMove * | GenVSI_GetClientMove (GenVSI *VSI, GenVSI_CHandle ClientHandle) |
| geBoolean | GenVSI_IsClientBot (GenVSI *VSI, GenVSI_CHandle ClientHandle) |
| geBoolean | GenVSI_ClientDisconnect (GenVSI *VSI, GenVSI_CHandle ClientHandle) |
| void * | GenVSI_GetNextPlayer (GenVSI *VSI, void *Start, const char *ClassName) |
| void * | GenVSI_GetNextPlayerInRadius (GenVSI *VSI, void *PlayerData, void *Start, const char *ClassName, float Radius) |
| void | GenVSI_SetViewPlayer (GenVSI *VSI, GenVSI_CHandle ClientHandle, void *PlayerData) |
| uint16 | GenVSI_ModelToViewIndex (GenVSI *VSI, geWorld_Model *Model) |
| void | GenVSI_RegisterPlayerModel (GenVSI *VSI, void *PlayerData, geWorld_Model *Model) |
| geBoolean | GenVSI_MovePlayerModel (GenVSI *VSI, void *PlayerData, const geXForm3d *DestXForm) |
| void | GenVSI_GetPlayerTimeExtents (GenVSI *VSI, void *PlayerData, uint16 MotionIndex, float *Start, float *End) |
| void * | GenVSI_ActorToPlayer (GenVSI *VSI, geActor *Actor) |
| geWorld * | GenVSI_GetWorld (GenVSI *VSI) |
| void * | GenVSI_GetPlayerData (GenVSI *VSI, GenVSI_PHandle PlayerHandle) |
| void | GenVSI_ConsolePrintf (GenVSI *VSI, const char *Str,...) |
| void | GenVSI_ConsoleHeaderPrintf (GenVSI *VSI, int32 ClientHandle, geBoolean AllClients, const char *Str,...) |
| float | GenVSI_GetTime (GenVSI *VSI) |
| void * | GenVSI_SpawnPlayer (GenVSI *VSI, const char *ClassName) |
| void | GenVSI_DestroyPlayer (GenVSI *VSI, void *PlayerData) |
| void | GenVSI_ProcIndex (GenVSI *VSI, uint16 Index, void *Proc) |
|
|
|
Definition at line 58 of file Genvsi.h. Referenced by Client_Control(), Client_SendMove(), ParseClientMove(), and Player_Dying(). |
|
|
Definition at line 55 of file Genvsi.h. Referenced by Client_Control(), and Client_SendMove(). |
|
|
Definition at line 56 of file Genvsi.h. Referenced by Client_Control(), and Client_SendMove(). |
|
|
Definition at line 57 of file Genvsi.h. Referenced by Client_Control(), and Client_SendMove(). |
|
|
Definition at line 65 of file Genvsi.h. Referenced by FireShredder(), PhysicalSystem_Spawn(), and Server_SetPlayerDefaults(). |
|
|
|
Definition at line 80 of file Genvsi.h. Referenced by Bot_ActorStart(), FireGrenade(), Game_SpawnBot(), Game_SpawnClient(), and Server_MovePlayerModel(). |
|
|
Definition at line 77 of file Genvsi.h. Referenced by Bot_ActorDying(), Bot_Dying(), BuildClientViewXForm(), KillPlayer(), and Player_Dying(). |
|
|
Definition at line 82 of file Genvsi.h. Referenced by Attacker_TurretSpawn(), Client_ParsePlayerData(), and FillBufferWithPlayerData(). |
|
|
Definition at line 73 of file Genvsi.h. Referenced by Attacker_Fire(), CheckClientPlayerChanges(), FireBlaster(), FireGrenade(), and FireRocket(). |
|
|
Definition at line 76 of file Genvsi.h. Referenced by ChangeLevel_Spawn(), ForceField_Spawn(), PhysicalSystem_Spawn(), PhysicsJoint_Spawn(), SendPlayersToClients(), Server_CreatePlayer(), and SetupClientPlayerSendFlags(). |
|
|
Definition at line 71 of file Genvsi.h. Referenced by CheckClientPlayerChanges(), Client_MovePlayerModel(), Door_Spawn(), PhysicsObject_Spawn(), Plat_Spawn(), and Server_MovePlayerModel(). |
|
|
Definition at line 72 of file Genvsi.h. Referenced by CheckClientPlayerChanges(), Door_Control(), Door_Trigger(), and Plat_Control(). |
|
|
Definition at line 68 of file Genvsi.h. Referenced by BlockActor_Spawn(), ChangeLevel_Spawn(), FireShredder(), Server_CreatePlayer(), Server_SetPlayerDefaults(), and SetPlayerDefaults(). |
|
|
Definition at line 81 of file Genvsi.h. Referenced by Blaster_Control(), Bot_CheckVelocity(), CheckVelocity(), FireShredder(), PhysicsObject_Spawn(), and Rocket_Control(). |
|
|
Definition at line 74 of file Genvsi.h. Referenced by Attacker_Fire(), CheckClientPlayerChanges(), Client_UpdateSinglePlayer(), and FireBlaster(). |
|
|
Definition at line 79 of file Genvsi.h. Referenced by Bot_CheckVelocity(), ChangeLevel_Spawn(), CheckVelocity(), and Plat_Spawn(). |
|
|
Definition at line 78 of file Genvsi.h. Referenced by BlockActor_Spawn(), Bot_GetContents(), Bot_OverLedge(), Client_Control(), Door_Spawn(), Item_ArmorSpawn(), Item_GrenadeAmmoSpawn(), Item_GrenadeSpawn(), Item_HealthSpawn(), Item_RocketAmmoSpawn(), Item_RocketSpawn(), Item_ShredderAmmoSpawn(), and Item_ShredderSpawn(). |
|
|
Definition at line 75 of file Genvsi.h. Referenced by Bot_ActorStart(), Client_UpdateSinglePlayer(), Game_SpawnBot(), and Game_SpawnClient(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 22 of file Genvsi.h. Referenced by Server_GetBotByName(), Server_ManageBots(), and Server_ValidateClient(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 28 of file Genvsi.h.
00029 {
00030 MODE_Server, // Genuine Server mode
00031 MODE_SmartClient, // Smart "simulation" Client mode
00032 MODE_DumbClient, // Dumb client terminal (pure interpolation)
00033 MOVE_ServerClient // Should do NOTHING, on the same machine as server...
00034 } GenVSI_Mode;
|
|
||||||||||||||||||||
|
Definition at line 53 of file Genvsi.c. References GenVSI::ActorIndex, and GenVSI::UData. Referenced by SetupWorldCB().
00054 {
00055 if (!VSI->ActorIndex)
00056 return;
00057
00058 VSI->ActorIndex(VSI->UData, Index, GFXPath, FileName);
00059 }
|
|
||||||||||||
|
Definition at line 315 of file Genvsi.c. References GenVSI::ActorToPlayer, NULL, and GenVSI::UData. Referenced by Blaster_Control(), Bot_GetContents(), Client_Control(), FireShredder(), Grenade_Control(), Rocket_Control(), SelfCollisionCB(), and SelfCollisionCB2().
00316 {
00317 if (!VSI->ActorToPlayer)
00318 return NULL;
00319
00320 return VSI->ActorToPlayer(VSI->UData, Actor);
00321 }
|
|
||||||||||||||||
|
Definition at line 75 of file Genvsi.c. References GenVSI::BoneIndex, and GenVSI::UData. Referenced by SetupWorldCB().
|
|
||||||||||||
|
Definition at line 212 of file Genvsi.c. References GenVSI::ClientDisconnect, GE_FALSE, geBoolean, and GenVSI::UData. Referenced by Game_SpawnBot().
00213 {
00214 if (!VSI->ClientDisconnect)
00215 return GE_FALSE;
00216
00217 return VSI->ClientDisconnect(VSI->UData, ClientHandle);
00218 }
|
|
||||||||||||||||||||||||
|
Definition at line 355 of file Genvsi.c. References GenVSI::ConsoleHeaderPrintf, and GenVSI::UData. Referenced by Bot_Keys(), Item_TriggerArmor(), Item_TriggerGrenade(), Item_TriggerGrenadeAmmo(), Item_TriggerHealth(), Item_TriggerRocket(), Item_TriggerRocketAmmo(), Item_TriggerShredder(), Item_TriggerShredderAmmo(), and KillPlayer().
00356 {
00357 va_list ArgPtr;
00358 char TempStr[256];
00359
00360 if (!VSI->ConsoleHeaderPrintf)
00361 return;
00362
00363 assert(VSI);
00364 assert(Str);
00365
00366 va_start (ArgPtr, Str);
00367 vsprintf (TempStr, Str, ArgPtr);
00368 va_end (ArgPtr);
00369
00370 VSI->ConsoleHeaderPrintf(VSI->UData, ClientHandle, AllClients, TempStr);
00371 }
|
|
||||||||||||||||
|
Definition at line 337 of file Genvsi.c. References GenVSI::ConsolePrintf, and GenVSI::UData. Referenced by Bot_CheckVelocity(), Bot_ScanCheckVelocity(), CheckVelocity(), FireBlaster(), FireGrenade(), FireRocket(), FireShredder(), and KillPlayer().
00338 {
00339 va_list ArgPtr;
00340
00341 if (!VSI->ConsolePrintf)
00342 return;
00343
00344 assert(VSI);
00345 assert(Str);
00346
00347 va_start (ArgPtr, Str);
00348 VSI->ConsolePrintf(VSI->UData, Str, ArgPtr);
00349 va_end (ArgPtr);
00350 }
|
|
||||||||||||
|
Definition at line 398 of file Genvsi.c. References GenVSI::DestroyPlayer, and GenVSI::UData. Referenced by Blaster_Control(), Bot_ActorDying(), Grenade_Control(), Rocket_Control(), and Shredder_Control().
00399 {
00400 if (!VSI->DestroyPlayer)
00401 {
00402 assert(!"Bad! No destroy!!!");
00403 return;
00404 }
00405
00406 VSI->DestroyPlayer(VSI->UData, PlayerData);
00407 }
|
|
||||||||||||
|
Definition at line 223 of file Genvsi.c. References GenVSI::GetClientMove, NULL, and GenVSI::UData. Referenced by Client_Control(), Player_Dying(), and SetupPlayerXForm().
00224 {
00225 if (!VSI->GetClientMove)
00226 return NULL;
00227
00228 return VSI->GetClientMove(VSI->UData, ClientHandle);
00229 }
|
|
||||||||||||||||
|
Definition at line 260 of file Genvsi.c. References GenVSI::GetNextPlayer, NULL, and GenVSI::UData. Referenced by Bot_Destroy(), Bot_FindItem(), Bot_FindRandomItem(), Bot_PickTgtPlayer(), GetBotMatchSpawn(), and GetDMSpawn().
00261 {
00262 if (!VSI->GetNextPlayer)
00263 return NULL;
00264
00265 return VSI->GetNextPlayer(VSI->UData, Start, ClassName);
00266 }
|
|
||||||||||||||||||||||||
|
Definition at line 271 of file Genvsi.c. References GenVSI::GetNextPlayerInRadius, NULL, and GenVSI::UData. Referenced by Attacker_ControlTurret(), and RadiusDammage().
00272 {
00273 if (!VSI->GetNextPlayerInRadius)
00274 return NULL;
00275
00276 return VSI->GetNextPlayerInRadius(VSI->UData, PlayerData, Start, ClassName, Radius);
00277 }
|
|
||||||||||||
|
Definition at line 145 of file Genvsi.c. References GenVSI::GetPlayerClientData, NULL, and GenVSI::UData.
00146 {
00147 if (!VSI->GetPlayerClientData)
00148 return NULL;
00149
00150 return VSI->GetPlayerClientData(VSI->UData, ClientHandle);
00151 }
|
|
||||||||||||
|
|
|
||||||||||||||||||||||||
|
Definition at line 304 of file Genvsi.c. References GenVSI::GetPlayerTimeExtents, and GenVSI::UData. Referenced by AnimatePlayer(), and AnimatePlayer2().
00305 {
00306 if (!VSI->GetPlayerTimeExtents)
00307 return;
00308
00309 VSI->GetPlayerTimeExtents(VSI->UData, PlayerData, MotionIndex, Start, End);
00310 }
|
|
|
|
||||||||||||
|
Definition at line 201 of file Genvsi.c. References GE_FALSE, geBoolean, GenVSI::IsClientBot, and GenVSI::UData. Referenced by Bot_Destroy(), Bot_PickTgtPlayer(), Bot_TargetTest(), DammagePlayer(), and KillPlayer().
00202 {
00203 if (!VSI->IsClientBot)
00204 return GE_FALSE;
00205
00206 return VSI->IsClientBot(VSI->UData, ClientHandle);
00207 }
|
|
||||||||||||
|
Definition at line 235 of file Genvsi.c. References GenVSI::ModelToViewIndex, GenVSI::UData, and uint16. Referenced by Door_Spawn(), PhysicsObject_Spawn(), and Plat_Spawn().
00236 {
00237 if (!VSI->ModelToViewIndex)
00238 {
00239 assert(!"Should'nt be here!!!");
00240 return 0xffff;
00241 }
00242
00243 return VSI->ModelToViewIndex(VSI->UData, Model);
00244 }
|
|
||||||||||||||||
|
Definition at line 64 of file Genvsi.c. References GenVSI::MotionIndex, and GenVSI::UData. Referenced by SetupWorldCB().
00065 {
00066 if (!VSI->MotionIndex)
00067 return;
00068
00069 VSI->MotionIndex(VSI->UData, Index, MotionName);
00070 }
|
|
||||||||||||||||
|
Definition at line 293 of file Genvsi.c. References GE_FALSE, geBoolean, GenVSI::MovePlayerModel, and GenVSI::UData. Referenced by Door_Control(), PhysicsObject_Control(), and Plat_Control().
00294 {
00295 if (!VSI->MovePlayerModel)
00296 return GE_FALSE;
00297
00298 return VSI->MovePlayerModel(VSI->UData, PlayerData, DestXForm);
00299 }
|
|
||||||||||||||||
|
Definition at line 112 of file Genvsi.c. References GenVSI::PlaySound, and GenVSI::UData. Referenced by Attacker_Fire(), Client_Control(), DammagePlayer(), Door_Trigger(), FireBlaster(), FireGrenade(), FireRocket(), FireShredder(), Grenade_Control(), Item_TriggerArmor(), Item_TriggerGrenade(), Item_TriggerGrenadeAmmo(), Item_TriggerHealth(), Item_TriggerRocket(), Item_TriggerRocketAmmo(), Item_TriggerShredder(), Item_TriggerShredderAmmo(), KillPlayer(), and Plat_Trigger().
|
|
||||||||||||||||
|
Definition at line 413 of file Genvsi.c. References GenVSI::ProcIndex, and GenVSI::UData. Referenced by Client_Main(), and Server_Main().
|
|
||||||||||||||||
|
Definition at line 249 of file Genvsi.c. References GenVSI::RegisterPlayerModel, and GenVSI::UData. Referenced by BlockActor_Spawn(), ChangeLevel_Spawn(), Door_Spawn(), PhysicsObject_Spawn(), and Plat_Spawn().
00250 {
00251 if (!VSI->RegisterPlayerModel)
00252 return;
00253
00254 VSI->RegisterPlayerModel(VSI->UData, PlayerData, Model);
00255 }
|
|
||||||||||||||||||||
|
Definition at line 31 of file Genvsi.c. References GenVSI::SetClassSpawn, and GenVSI::UData. Referenced by Bot_Main(), and Server_Main().
00032 {
00033 if (!VSI->SetClassSpawn)
00034 return;
00035
00036 VSI->SetClassSpawn(VSI->UData, ClassName, Func, DFunc);
00037 }
|
|
||||||||||||||||
|
Definition at line 167 of file Genvsi.c. References GenVSI::SetClientHealth, and GenVSI::UData. Referenced by DammagePlayer(), Game_SpawnBot(), Game_SpawnClient(), Item_TriggerHealth(), and KillPlayer().
00168 {
00169 if (!VSI->SetClientHealth)
00170 return;
00171
00172 VSI->SetClientHealth(VSI->UData, ClientHandle, Health);
00173 }
|
|
||||||||||||||||||||||||
|
Definition at line 189 of file Genvsi.c. References GenVSI::SetClientInventory, and GenVSI::UData. Referenced by Client_Control(), Game_SpawnBot(), Game_SpawnClient(), and UpdateClientInventory().
00190 {
00191 if (!VSI->SetClientInventory)
00192 return;
00193
00194 VSI->SetClientInventory(VSI->UData, ClientHandle, Slot, Amount, HasItem);
00195 }
|
|
||||||||||||||||
|
Definition at line 156 of file Genvsi.c. References GenVSI::SetClientScore, and GenVSI::UData. Referenced by Game_SpawnBot(), Game_SpawnClient(), and KillPlayer().
00157 {
00158 if (!VSI->SetClientScore)
00159 return;
00160
00161 VSI->SetClientScore(VSI->UData, ClientHandle, Score);
00162 }
|
|
||||||||||||||||
|
Definition at line 178 of file Genvsi.c. References GenVSI::SetClientWeapon, and GenVSI::UData. Referenced by Item_TriggerGrenade(), Item_TriggerRocket(), Item_TriggerShredder(), KillPlayer(), SwitchToNextBestWeapon(), and ValidateWeapon().
00179 {
00180 if (!VSI->SetClientWeapon)
00181 return;
00182
00183 VSI->SetClientWeapon(VSI->UData, ClientHandle, Weapon);
00184 }
|
|
||||||||||||||||
|
Definition at line 282 of file Genvsi.c. References GenVSI::SetViewPlayer, and GenVSI::UData. Referenced by Bot_Keys(), and Game_SpawnClient().
00283 {
00284 if (!VSI->SetViewPlayer)
00285 return;
00286
00287 VSI->SetViewPlayer(VSI->UData, ClientHandle, PlayerData);
00288 }
|
|
||||||||||||||||||||
|
Definition at line 42 of file Genvsi.c. References GenVSI::SetWorld, ShutdownWorldCB(), and GenVSI::UData. Referenced by ChangeLevel_Trigger(), Client_Control(), and Server_Main().
|
|
||||||||||||||||
|
Definition at line 97 of file Genvsi.c. References GenVSI::SoundIndex, and GenVSI::UData. Referenced by SetupWorldCB().
00098 {
00099 if (!VSI->SoundIndex)
00100 return;
00101
00102 VSI->SoundIndex(VSI->UData, Index, FileName);
00103 }
|
|
||||||||||||||||||||
|
Definition at line 123 of file Genvsi.c. References GenVSI::SpawnFx, and GenVSI::UData. Referenced by Blaster_Control(), Bot_ActorDying(), Bot_Dying(), Grenade_Control(), Item_ControlArmor(), Item_ControlGrenade(), Item_ControlGrenadeAmmo(), Item_ControlHealth(), Item_ControlRocket(), Item_ControlRocketAmmo(), Item_ControlShredder(), Item_ControlShredderAmmo(), Player_Dying(), and Rocket_Control().
|
|
||||||||||||
|
Definition at line 387 of file Genvsi.c. References NULL, GenVSI::SpawnPlayer, and GenVSI::UData. Referenced by Attacker_Fire(), Bot_ActorStart(), FireBlaster(), FireGrenade(), FireRocket(), and FireShredder().
00388 {
00389 if (!VSI->SpawnPlayer)
00390 return NULL;
00391
00392 return VSI->SpawnPlayer(VSI->UData, ClassName);
00393 }
|
|
||||||||||||||||||||
|
Definition at line 86 of file Genvsi.c. References GenVSI::TextureIndex, and GenVSI::UData. Referenced by SetupWorldCB().
00087 {
00088 if (!VSI->TextureIndex)
00089 return;
00090
00091 VSI->TextureIndex(VSI->UData, Index, TextureName, ATextureName);
00092 }
|
1.3.2