Admer456/ioq3-burek

Convert global funcs that accept gentity_t, into methods that accept IEntity

Closed this issue · 3 comments

The following functions need to be inside GameWorld:

  • SpawnClient
  • ClientEndFrame
  • ClientEvents
  • ClientInactivityTimer
  • ClientRespawn
  • ClientThink
  • ClientTimerActions
  • ClientIntermissionThink
  • SpectatorThink
  • MoveClientToIntermission
  • SendPendingPredictableEvents
  • FindIntermissionPoint
  • TouchTriggers
  • ClientUserinfoChanged
  • TeleportPlayer
  • SelectSpawnPoint
  • SelectRandomFurthestSpawnPoint
  • P_WorldEffects
  • P_DamageFeedback
  • G_RunFrame
  • G_RunEntity
  • G_UpdateCvars
  • G_FreeEntity
  • G_TempEntity
  • G_InitSessionData
  • G_ReadSessionData
  • BroadcastTeamChange
  • CalculateRanks

The following needs to be in IEntity:

  • KillBox
  • GetName
  • GetTarget
  • GetOrigin
  • SetOrigin
  • UseTargets

Before SelectSpawnPoint can be implemented, we need to have some info_player_*s first.

Almost there. 👌

ffcb783 finishes closing this issue. Finally.