DDraceNetwork Docs
gameclient.h
Go to the documentation of this file.
1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3#ifndef GAME_CLIENT_GAMECLIENT_H
4#define GAME_CLIENT_GAMECLIENT_H
5
6#include "render.h"
7#include <base/color.h>
8#include <base/vmath.h>
9#include <engine/client.h>
10#include <engine/client/enums.h>
11#include <engine/console.h>
13
14#include <game/collision.h>
15#include <game/gamecore.h>
16#include <game/layers.h>
17#include <game/teamscore.h>
18
20#include <game/client/race.h>
21
24
25// components
27#include "components/binds.h"
29#include "components/camera.h"
30#include "components/chat.h"
31#include "components/console.h"
32#include "components/controls.h"
35#include "components/debughud.h"
36#include "components/effects.h"
37#include "components/emoticon.h"
38#include "components/flow.h"
40#include "components/ghost.h"
41#include "components/hud.h"
43#include "components/items.h"
48#include "components/menus.h"
49#include "components/motd.h"
52#include "components/players.h"
55#include "components/skins.h"
56#include "components/skins7.h"
57#include "components/sounds.h"
60#include "components/tooltips.h"
61#include "components/voting.h"
62
64{
65public:
72
76
81
86
94
95 bool m_Race;
96 bool m_Pvp;
97
100
104
107};
108
110{
111public:
114};
115
117{
118 NO_INDENT,
120 INDENT_FORCE, // for rendering settings preview
121};
122
124{
125public:
126 // all components
151
157
162
164
167
169
170private:
171 std::vector<class CComponent *> m_vpAll;
172 std::vector<class CComponent *> m_vpInput;
175
192#if defined(CONF_AUTOUPDATE)
193 class IUpdater *m_pUpdater;
194#endif
196
201
202 void ProcessEvents();
203 void UpdatePositions();
204
207
210
213
216
218
220
221 static void ConTeam(IConsole::IResult *pResult, void *pUserData);
222 static void ConKill(IConsole::IResult *pResult, void *pUserData);
223 static void ConReadyChange7(IConsole::IResult *pResult, void *pUserData);
224
225 static void ConchainLanguageUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
226 static void ConchainSpecialInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
227 static void ConchainSpecialDummyInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
228 static void ConchainRefreshSkins(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
229 static void ConchainSpecialDummy(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
230
231 static void ConTuneZone(IConsole::IResult *pResult, void *pUserData);
232
233 static void ConchainMenuMap(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
234
235 // only used in OnPredict
238
239 // only used in OnNewSnapshot
240 bool m_GameOver = false;
241 bool m_GamePaused = false;
243
244public:
246 IEngine *Engine() const { return m_pEngine; }
247 class IGraphics *Graphics() const { return m_pGraphics; }
248 class IClient *Client() const { return m_pClient; }
249 class CUi *Ui() { return &m_UI; }
250 class ISound *Sound() const { return m_pSound; }
251 class IInput *Input() const { return m_pInput; }
252 class IStorage *Storage() const { return m_pStorage; }
254 class CConfig *Config() const { return m_pConfig; }
255 class IConsole *Console() { return m_pConsole; }
256 class ITextRender *TextRender() const { return m_pTextRender; }
257 class IDemoPlayer *DemoPlayer() const { return m_pDemoPlayer; }
258 class IDemoRecorder *DemoRecorder(int Recorder) const { return Client()->DemoRecorder(Recorder); }
259 class IFavorites *Favorites() const { return m_pFavorites; }
262 class CLayers *Layers() { return &m_Layers; }
264 const CCollision *Collision() const { return &m_Collision; }
265 const CRaceHelper *RaceHelper() const { return &m_RaceHelper; }
266 class IEditor *Editor() { return m_pEditor; }
267 class IFriends *Friends() { return m_pFriends; }
268 class IFriends *Foes() { return m_pFoes; }
269#if defined(CONF_AUTOUPDATE)
270 class IUpdater *Updater()
271 {
272 return m_pUpdater;
273 }
274#endif
275 class IHttp *Http()
276 {
277 return m_pHttp;
278 }
279
281 {
283 }
285
290
291 enum
292 {
296 };
299
301
303
304 // predicted players
307
308 // snap pointers
310 {
320
326
331
332 // spectate data
334 {
340
341 //
343 {
345
346 // snapshots
349
354
355 // interpolated position
357 };
358
360 };
361
368
369 // client data
371 {
375
385
386 bool m_Solo;
404
407
408 CTeeRenderInfo m_SkinInfo; // this is what the server reports
409 CTeeRenderInfo m_RenderInfo; // this is what we use
410
411 float m_Angle;
416 bool m_Foe;
417
419 bool m_Afk;
421 bool m_Spec;
422
423 // Editor allows 256 switches for now.
425
428
429 // rendered characters
435 int64_t m_aSmoothStart[2];
436 int64_t m_aSmoothLen[2];
438 int m_aPredTick[200];
441
442 void UpdateRenderInfo(bool IsTeamPlay);
443 void Reset();
444
445 class CSixup
446 {
447 public:
448 void Reset();
449
453 };
454
455 // 0.7 Skin
457 };
458
460
462 {
466
467 public:
468 CClientStats();
469
477
480
481 void Reset();
482
483 bool IsActive() const { return m_Active; }
484 void JoinGame(int Tick)
485 {
486 m_Active = true;
487 m_JoinTick = Tick;
488 };
489 void JoinSpec(int Tick)
490 {
491 m_Active = false;
492 m_IngameTicks += Tick - m_JoinTick;
493 };
494 int GetIngameTicks(int Tick) const { return m_IngameTicks + Tick - m_JoinTick; }
495 float GetFPM(int Tick, int TickSpeed) const { return (float)(m_Frags * TickSpeed * 60) / GetIngameTicks(Tick); }
496 };
497
499
501
502 void OnReset();
503
504 size_t ComponentCount() { return m_vpAll.size(); }
505
506 // hooks
507 void OnConnected() override;
508 void OnRender() override;
509 void OnUpdate() override;
510 void OnDummyDisconnect() override;
511 virtual void OnRelease();
512 void OnInit() override;
513 void OnConsoleInit() override;
514 void OnStateChange(int NewState, int OldState) override;
515 template<typename T>
516 void ApplySkin7InfoFromGameMsg(const T *pMsg, int ClientId, int Conn);
517 void ApplySkin7InfoFromSnapObj(const protocol7::CNetObj_De_ClientInfo *pObj, int ClientId) override;
518 int OnDemoRecSnap7(class CSnapshot *pFrom, class CSnapshot *pTo, int Conn) override;
519 void *TranslateGameMsg(int *pMsgId, CUnpacker *pUnpacker, int Conn);
520 int TranslateSnap(CSnapshot *pSnapDstSix, CSnapshot *pSnapSrcSeven, int Conn, bool Dummy) override;
521 void OnMessage(int MsgId, CUnpacker *pUnpacker, int Conn, bool Dummy) override;
522 void InvalidateSnapshot() override;
523 void OnNewSnapshot() override;
524 void OnPredict() override;
525 void OnActivateEditor() override;
526 void OnDummySwap() override;
527 int OnSnapInput(int *pData, bool Dummy, bool Force) override;
528 void OnShutdown() override;
529 void OnEnterGame() override;
530 void OnRconType(bool UsernameReq) override;
531 void OnRconLine(const char *pLine) override;
532 virtual void OnGameOver();
533 virtual void OnStartGame();
534 virtual void OnStartRound();
535 virtual void OnFlagGrab(int TeamId);
536 void OnWindowResize() override;
537
538 bool m_LanguageChanged = false;
539 void OnLanguageChange();
541
542 void RefreshSkins();
543
544 void RenderShutdownMessage() override;
545
546 const char *GetItemName(int Type) const override;
547 const char *Version() const override;
548 const char *NetVersion() const override;
549 const char *NetVersion7() const override;
550 int DDNetVersion() const override;
551 const char *DDNetVersionStr() const override;
552 virtual int ClientVersion7() const override;
553
554 void DoTeamChangeMessage7(const char *pName, int ClientId, int Team, const char *pPrefix = "");
555
556 // actions
557 // TODO: move these
558 void SendSwitchTeam(int Team) const;
559 void SendStartInfo7(bool Dummy);
560 void SendSkinChange7(bool Dummy);
561 // Returns true if the requested skin change got applied by the server
562 bool GotWantedSkin7(bool Dummy);
563 void SendInfo(bool Start);
564 void SendDummyInfo(bool Start) override;
565 void SendKill(int ClientId) const;
566 void SendReadyChange7();
567
569
570 // DDRace
571
575 unsigned int m_DummyFire;
577
579
580 int IntersectCharacter(vec2 HookPos, vec2 NewPos, vec2 &NewPos2, int OwnId);
581
582 int LastRaceTick() const;
583 int CurrentRaceTime() const;
584
586
587 bool AntiPingPlayers() { return g_Config.m_ClAntiPing && g_Config.m_ClAntiPingPlayers && !m_Snap.m_SpecInfo.m_Active && Client()->State() != IClient::STATE_DEMOPLAYBACK && (m_aTuning[g_Config.m_ClDummy].m_PlayerCollision || m_aTuning[g_Config.m_ClDummy].m_PlayerHooking); }
588 bool AntiPingGrenade() { return g_Config.m_ClAntiPing && g_Config.m_ClAntiPingGrenade && !m_Snap.m_SpecInfo.m_Active && Client()->State() != IClient::STATE_DEMOPLAYBACK; }
589 bool AntiPingWeapons() { return g_Config.m_ClAntiPing && g_Config.m_ClAntiPingWeapons && !m_Snap.m_SpecInfo.m_Active && Client()->State() != IClient::STATE_DEMOPLAYBACK; }
590 bool AntiPingGunfire() { return AntiPingGrenade() && AntiPingWeapons() && g_Config.m_ClAntiPingGunfire; }
591 bool Predict() const;
593 const CTuningParams *GetTuning(int i) { return &m_aTuningList[i]; }
594 ColorRGBA GetDDTeamColor(int DDTeam, float Lightness = 0.5f) const;
595 void FormatClientId(int ClientId, char (&aClientId)[16], EClientIdFormat Format) const;
596
600
601 std::vector<SSwitchers> &Switchers() { return m_GameWorld.m_Core.m_vSwitchers; }
602 std::vector<SSwitchers> &PredSwitchers() { return m_PredictedWorld.m_Core.m_vSwitchers; }
603
604 void DummyResetInput() override;
605 void Echo(const char *pString) override;
606 bool IsOtherTeam(int ClientId) const;
607 int SwitchStateTeam() const;
608 bool IsLocalCharSuper() const;
609 bool CanDisplayWarning() const override;
612
613 void LoadGameSkin(const char *pPath, bool AsDir = false);
614 void LoadEmoticonsSkin(const char *pPath, bool AsDir = false);
615 void LoadParticlesSkin(const char *pPath, bool AsDir = false);
616 void LoadHudSkin(const char *pPath, bool AsDir = false);
617 void LoadExtrasSkin(const char *pPath, bool AsDir = false);
618
620 {
621 // health armor hud
626
627 // cursors
634
636
637 // weapons and hook
646
648
649 // particles
651
652 // stars
654
655 // projectiles
662
664
665 // muzzles
669
671
672 // pickups
685
688
689 // flags
692
693 // ninja bar (0.7)
698
699 bool IsSixup()
700 {
702 }
703 };
704
706 bool m_GameSkinLoaded = false;
707
709 {
719 };
720
723
725 {
727 };
728
731
733 {
765 };
766
768 bool m_HudSkinLoaded = false;
769
771 {
775 };
776
778 bool m_ExtrasSkinLoaded = false;
779
780 const std::vector<CSnapEntities> &SnapEntities() { return m_vSnapEntities; }
781
787
788 void ResetMultiView();
790 void CleanMultiViewId(int ClientId);
791
792private:
793 std::vector<CSnapEntities> m_vSnapEntities;
794 void SnapCollectEntities();
795
798
799 void UpdatePrediction();
801
803 void DetectStrongHook();
804
805 vec2 GetSmoothPos(int ClientId);
806
811
812 enum
813 {
814 NUM_TUNEZONES = 256
815 };
816 void LoadMapSettings();
819
823
824 void HandleMultiView();
825 bool IsMultiViewIdSet();
826 void CleanMultiViewIds();
827 bool InitMultiView(int Team);
828 float CalculateMultiViewMultiplier(vec2 TargetPos);
829 float CalculateMultiViewZoom(vec2 MinPos, vec2 MaxPos, float Vel);
830 float MapValue(float MaxValue, float MinValue, float MaxRange, float MinRange, float Value);
831
833 {
834 bool m_Solo;
843 };
844
846};
847
849
850#endif
Definition: background.h:22
Definition: binds.h:16
Definition: broadcast.h:12
Definition: camera.h:14
Definition: gameworld.h:116
Definition: gamecore.h:176
Definition: chat.h:19
Definition: collision.h:34
Definition: config.h:23
Definition: controls.h:14
Definition: countryflags.h:11
Definition: damageind.h:10
Definition: debughud.h:10
Definition: effects.h:11
Definition: emoticon.h:12
Definition: flow.h:9
Definition: freezebars.h:6
Definition: gameclient.h:446
int m_aUseCustomColors[protocol7::NUM_SKINPARTS]
Definition: gameclient.h:451
void Reset()
Definition: gameclient.cpp:2526
int m_aSkinPartColors[protocol7::NUM_SKINPARTS]
Definition: gameclient.h:452
char m_aaSkinPartNames[protocol7::NUM_SKINPARTS][protocol7::MAX_SKIN_LENGTH]
Definition: gameclient.h:450
Definition: gameclient.h:462
bool IsActive() const
Definition: gameclient.h:483
float GetFPM(int Tick, int TickSpeed) const
Definition: gameclient.h:495
int m_FlagGrabs
Definition: gameclient.h:478
int m_aFragsWith[NUM_WEAPONS]
Definition: gameclient.h:470
int m_aDeathsFrom[NUM_WEAPONS]
Definition: gameclient.h:471
int GetIngameTicks(int Tick) const
Definition: gameclient.h:494
int m_Suicides
Definition: gameclient.h:474
void Reset()
Definition: gameclient.cpp:2392
int m_BestSpree
Definition: gameclient.h:475
int m_JoinTick
Definition: gameclient.h:464
int m_Deaths
Definition: gameclient.h:473
int m_CurrentSpree
Definition: gameclient.h:476
int m_FlagCaptures
Definition: gameclient.h:479
void JoinGame(int Tick)
Definition: gameclient.h:484
bool m_Active
Definition: gameclient.h:465
void JoinSpec(int Tick)
Definition: gameclient.h:489
int m_Frags
Definition: gameclient.h:472
int m_IngameTicks
Definition: gameclient.h:463
CClientStats()
Definition: gameclient.cpp:2387
Definition: gameclient.h:124
void OnStateChange(int NewState, int OldState) override
Definition: gameclient.cpp:1126
void DetectStrongHook()
Definition: gameclient.cpp:3078
CSkins7 m_Skins7
Definition: gameclient.h:137
void DummyResetInput() override
Definition: gameclient.cpp:3869
const char * DDNetVersionStr() const override
Definition: gameclient.cpp:87
unsigned int m_DummyFire
Definition: gameclient.h:575
void LoadGameSkin(const char *pPath, bool AsDir=false)
Definition: gameclient.cpp:3230
bool CanDisplayWarning() const override
Definition: gameclient.cpp:3884
int OnDemoRecSnap7(class CSnapshot *pFrom, class CSnapshot *pTo, int Conn) override
Definition: sixup_translate_snapshot.cpp:501
CCharacterCore m_PredictedChar
Definition: gameclient.h:306
char m_aDDNetVersionStr[64]
Definition: gameclient.h:219
int IntersectCharacter(vec2 HookPos, vec2 NewPos, vec2 &NewPos2, int OwnId)
Definition: gameclient.cpp:2782
float m_LastZoom
Definition: gameclient.h:820
static void ConchainSpecialDummyInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:2760
@ NUM_TUNEZONES
Definition: gameclient.h:814
CRenderTools m_RenderTools
Definition: gameclient.h:500
class IConfigManager * m_pConfigManager
Definition: gameclient.h:182
int m_PredictedTick
Definition: gameclient.h:208
bool GotWantedSkin7(bool Dummy)
Definition: gameclient.cpp:2578
void OnRender() override
Definition: gameclient.cpp:728
int m_aCheckInfo[NUM_DUMMIES]
Definition: gameclient.h:217
CSnapState m_Snap
Definition: gameclient.h:362
const char * NetobjCorrectedOn()
Definition: gameclient.h:284
bool m_NewTick
Definition: gameclient.h:287
SClientHudSkin m_HudSkin
Definition: gameclient.h:767
bool m_GameOver
Definition: gameclient.h:240
CSounds m_Sounds
Definition: gameclient.h:146
CNamePlates m_NamePlates
Definition: gameclient.h:153
void SendSkinChange7(bool Dummy)
Definition: gameclient.cpp:2562
int m_IsDummySwapping
Definition: gameclient.h:808
const CRaceHelper * RaceHelper() const
Definition: gameclient.h:265
class IConsole * Console()
Definition: gameclient.h:255
CSkins m_Skins
Definition: gameclient.h:136
const CCollision * Collision() const
Definition: gameclient.h:264
vec2 m_aLastPos[MAX_CLIENTS]
Definition: gameclient.h:236
void OnInit() override
Definition: gameclient.cpp:268
int m_MultiViewTeam
Definition: gameclient.h:782
bool m_SuppressEvents
Definition: gameclient.h:286
size_t ComponentCount()
Definition: gameclient.h:504
float CalculateMultiViewZoom(vec2 MinPos, vec2 MaxPos, float Vel)
Definition: gameclient.cpp:4190
class IServerBrowser * ServerBrowser() const
Definition: gameclient.h:260
bool m_EmoticonsSkinLoaded
Definition: gameclient.h:730
CCountryFlags m_CountryFlags
Definition: gameclient.h:138
CDebugHud m_DebugHud
Definition: gameclient.h:141
class IGraphics * Graphics() const
Definition: gameclient.h:247
bool AntiPingGrenade()
Definition: gameclient.h:588
bool m_HudSkinLoaded
Definition: gameclient.h:768
class IStorage * m_pStorage
Definition: gameclient.h:185
IEngine * Engine() const
Definition: gameclient.h:246
void OnRconLine(const char *pLine) override
Definition: gameclient.cpp:1232
CNetObj_PlayerInput m_DummyInput
Definition: gameclient.h:573
CCollision m_Collision
Definition: gameclient.h:198
int m_LastFlagCarrierRed
Definition: gameclient.h:214
void OnActivateEditor() override
Definition: gameclient.cpp:2382
class IEditor * Editor()
Definition: gameclient.h:266
class IDemoPlayer * DemoPlayer() const
Definition: gameclient.h:257
CInfoMessages m_InfoMessages
Definition: gameclient.h:127
CHud m_Hud
Definition: gameclient.h:140
void SendSwitchTeam(int Team) const
Definition: gameclient.cpp:2536
void SendDummyInfo(bool Start) override
Definition: gameclient.cpp:2660
class CConfig * Config() const
Definition: gameclient.h:254
void DoTeamChangeMessage7(const char *pName, int ClientId, int Team, const char *pPrefix="")
Definition: sixup_translate_game.cpp:68
void OnMessage(int MsgId, CUnpacker *pUnpacker, int Conn, bool Dummy) override
Definition: gameclient.cpp:928
class CTeamsCore m_Teams
Definition: gameclient.h:578
void OnReset()
Definition: gameclient.cpp:565
bool IsMultiViewIdSet()
Definition: gameclient.cpp:4249
void OnPredict() override
Definition: gameclient.cpp:2146
std::vector< class CComponent * > m_vpAll
Definition: gameclient.h:171
class IFavorites * Favorites() const
Definition: gameclient.h:259
int LastRaceTick() const
Definition: gameclient.cpp:854
virtual void OnStartGame()
Definition: gameclient.cpp:1153
void OnConnected() override
Definition: gameclient.cpp:529
void UpdatePositions()
Definition: gameclient.cpp:664
void RenderShutdownMessage() override
Definition: gameclient.cpp:1208
SClientEmoticonsSkin m_EmoticonsSkin
Definition: gameclient.h:729
static void ConchainSpecialDummy(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:2767
CCamera m_Camera
Definition: gameclient.h:128
bool m_MultiViewShowHud
Definition: gameclient.h:784
bool PredictDummy()
Definition: gameclient.h:592
CGhost m_Ghost
Definition: gameclient.h:166
bool m_aReceivedTuning[NUM_DUMMIES]
Definition: gameclient.h:364
std::vector< CSnapEntities > m_vSnapEntities
Definition: gameclient.h:793
CBinds m_Binds
Definition: gameclient.h:133
void SendStartInfo7(bool Dummy)
Definition: gameclient.cpp:2543
class ITextRender * m_pTextRender
Definition: gameclient.h:179
CEmoticon m_Emoticon
Definition: gameclient.h:147
class IConsole * m_pConsole
Definition: gameclient.h:184
const char * Version() const override
Definition: gameclient.cpp:83
std::vector< class CComponent * > m_vpInput
Definition: gameclient.h:172
class IClient * m_pClient
Definition: gameclient.h:180
static void ConchainMenuMap(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:3854
CCollision * Collision()
Definition: gameclient.h:263
class ISound * m_pSound
Definition: gameclient.h:181
float m_LastScreenAspect
Definition: gameclient.h:821
CParticles m_Particles
Definition: gameclient.h:134
CBroadcast m_Broadcast
Definition: gameclient.h:131
void OnConsoleInit() override
Definition: gameclient.cpp:91
class IDemoRecorder * DemoRecorder(int Recorder) const
Definition: gameclient.h:258
static void ConchainLanguageUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:2742
void OnLanguageChange()
Definition: gameclient.cpp:1187
const char * NetVersion7() const override
Definition: gameclient.cpp:85
static void ConchainRefreshSkins(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:3774
virtual void OnGameOver()
Definition: gameclient.cpp:1147
CScoreboard m_Scoreboard
Definition: gameclient.h:144
class ITextRender * TextRender() const
Definition: gameclient.h:256
int m_aExpectingTuningSince[NUM_DUMMIES]
Definition: gameclient.h:366
bool Predict() const
Definition: gameclient.cpp:868
void SendKill(int ClientId) const
Definition: gameclient.cpp:2702
int m_aLocalTuneZone[NUM_DUMMIES]
Definition: gameclient.h:363
CStatboard m_Statboard
Definition: gameclient.h:145
const char * GetItemName(int Type) const override
Definition: gameclient.cpp:89
bool m_NewPredictedTick
Definition: gameclient.h:288
virtual void OnStartRound()
Definition: gameclient.cpp:1160
CMapSounds m_MapSounds
Definition: gameclient.h:163
CMotd m_Motd
Definition: gameclient.h:130
bool m_aLastActive[MAX_CLIENTS]
Definition: gameclient.h:237
bool m_ExtrasSkinLoaded
Definition: gameclient.h:778
static void ConchainSpecialInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: gameclient.cpp:2753
void ResetMultiView()
Definition: gameclient.cpp:4221
int m_PredictedDummyId
Definition: gameclient.h:807
CGameInfo m_GameInfo
Definition: gameclient.h:298
class CLayers * Layers()
Definition: gameclient.h:262
vec2 GetSmoothPos(int ClientId)
Definition: gameclient.cpp:3163
CNetObjHandler m_NetObjHandler
Definition: gameclient.h:173
void InvalidateSnapshot() override
Definition: gameclient.cpp:1472
protocol7::CNetObjHandler * GetNetObjHandler7() override
Definition: gameclient.cpp:3894
class IInput * m_pInput
Definition: gameclient.h:177
static void ConReadyChange7(IConsole::IResult *pResult, void *pUserData)
Definition: gameclient.cpp:2735
void OnDummyDisconnect() override
Definition: gameclient.cpp:846
class IServerBrowser * m_pServerBrowser
Definition: gameclient.h:188
SClientParticlesSkin m_ParticlesSkin
Definition: gameclient.h:721
void LoadEmoticonsSkin(const char *pPath, bool AsDir=false)
Definition: gameclient.cpp:3487
int m_LastRoundStartTick
Definition: gameclient.h:211
int NetobjNumCorrections()
Definition: gameclient.h:280
CTuningParams m_aTuning[NUM_DUMMIES]
Definition: gameclient.h:367
int m_LastFlagCarrierBlue
Definition: gameclient.h:215
CTuningParams * TuningList()
Definition: gameclient.h:818
void UpdateRenderedCharacters()
Definition: gameclient.cpp:3022
void LoadParticlesSkin(const char *pPath, bool AsDir=false)
Definition: gameclient.cpp:3531
int CurrentRaceTime() const
Definition: gameclient.cpp:859
CRaceDemo m_RaceDemo
Definition: gameclient.h:165
CSpectator m_Spectator
Definition: gameclient.h:150
CEffects m_Effects
Definition: gameclient.h:143
class IEditor * m_pEditor
Definition: gameclient.h:189
CGameWorld m_GameWorld
Definition: gameclient.h:597
void ProcessEvents()
Definition: gameclient.cpp:1237
void HandleLanguageChanged()
Definition: gameclient.cpp:1195
bool m_GamePaused
Definition: gameclient.h:241
SClientGameSkin m_GameSkin
Definition: gameclient.h:705
CGameConsole m_GameConsole
Definition: gameclient.h:132
bool m_aDDRaceMsgSent[NUM_DUMMIES]
Definition: gameclient.h:796
virtual void OnFlagGrab(int TeamId)
Definition: gameclient.cpp:1171
CGameWorld m_PrevPredictedWorld
Definition: gameclient.h:599
const CTuningParams * GetTuning(int i)
Definition: gameclient.h:593
CFlow m_Flow
Definition: gameclient.h:139
void OnDummySwap() override
Definition: gameclient.cpp:465
CLayers m_Layers
Definition: gameclient.h:197
bool m_aMultiViewId[MAX_CLIENTS]
Definition: gameclient.h:786
void SnapCollectEntities()
Definition: gameclient.cpp:3899
void UpdatePrediction()
Definition: gameclient.cpp:2833
void UpdateEditorIngameMoved()
Definition: gameclient.cpp:2129
CMapLayers m_MapLayersBackground
Definition: gameclient.h:158
CControls m_Controls
Definition: gameclient.h:142
int m_ServerMode
Definition: gameclient.h:297
CClientData m_aClients[MAX_CLIENTS]
Definition: gameclient.h:459
int m_aSwitchStateTeam[NUM_DUMMIES]
Definition: gameclient.h:810
int m_aFlagDropTick[2]
Definition: gameclient.h:289
IKernel * Kernel()
Definition: gameclient.h:245
int SwitchStateTeam() const
Definition: gameclient.cpp:3212
float CalculateMultiViewMultiplier(vec2 TargetPos)
Definition: gameclient.cpp:4167
int m_aExpectingTuningForZone[NUM_DUMMIES]
Definition: gameclient.h:365
void CleanMultiViewId(int ClientId)
Definition: gameclient.cpp:4239
int DDNetVersion() const override
Definition: gameclient.cpp:86
int m_LastRaceTick
Definition: gameclient.h:212
CFreezeBars m_FreezeBars
Definition: gameclient.h:154
int m_DemoSpecId
Definition: gameclient.h:300
class IClient * Client() const
Definition: gameclient.h:248
class IFavorites * m_pFavorites
Definition: gameclient.h:187
void CleanMultiViewIds()
Definition: gameclient.cpp:4232
class IFriends * m_pFoes
Definition: gameclient.h:191
CPlayers m_Players
Definition: gameclient.h:152
class ISound * Sound() const
Definition: gameclient.h:250
CNetObj_PlayerInput m_HammerInput
Definition: gameclient.h:574
const std::vector< CSnapEntities > & SnapEntities()
Definition: gameclient.h:780
CClientStats m_aStats[MAX_CLIENTS]
Definition: gameclient.h:498
static void ConTeam(IConsole::IResult *pResult, void *pUserData)
Definition: gameclient.cpp:2725
CMapLayers m_MapLayersForeground
Definition: gameclient.h:159
std::vector< SSwitchers > & PredSwitchers()
Definition: gameclient.h:602
CMapImages m_MapImages
Definition: gameclient.h:156
static void ConTuneZone(IConsole::IResult *pResult, void *pUserData)
Definition: gameclient.cpp:3843
CTuningParams m_aTuningList[NUM_TUNEZONES]
Definition: gameclient.h:817
vec2 m_LocalCharacterPos
Definition: gameclient.h:302
CItems m_Items
Definition: gameclient.h:155
const char * NetVersion() const override
Definition: gameclient.cpp:84
bool IsLocalCharSuper() const
Definition: gameclient.cpp:3223
ColorRGBA GetDDTeamColor(int DDTeam, float Lightness=0.5f) const
Definition: gameclient.cpp:887
bool IsOtherTeam(int ClientId) const
Definition: gameclient.cpp:3189
void LoadHudSkin(const char *pPath, bool AsDir=false)
Definition: gameclient.cpp:3602
CUi m_UI
Definition: gameclient.h:199
class CConfig * m_pConfig
Definition: gameclient.h:183
void OnWindowResize() override
Definition: gameclient.cpp:1179
int FindFirstMultiViewId()
Definition: gameclient.cpp:4254
SMultiView m_MultiView
Definition: gameclient.h:845
void FormatClientId(int ClientId, char(&aClientId)[16], EClientIdFormat Format) const
Definition: gameclient.cpp:895
void SendReadyChange7()
Definition: gameclient.cpp:2714
bool m_GameSkinLoaded
Definition: gameclient.h:706
void OnRconType(bool UsernameReq) override
Definition: gameclient.cpp:1227
void * TranslateGameMsg(int *pMsgId, CUnpacker *pUnpacker, int Conn)
Definition: sixup_translate_game.cpp:141
int m_aShowOthers[NUM_DUMMIES]
Definition: gameclient.h:797
bool m_LastDummyConnected
Definition: gameclient.h:822
class IInput * Input() const
Definition: gameclient.h:251
bool AntiPingGunfire()
Definition: gameclient.h:590
void Echo(const char *pString) override
Definition: gameclient.cpp:3184
bool AntiPingWeapons()
Definition: gameclient.h:589
protocol7::CNetObjHandler m_NetObjHandler7
Definition: gameclient.h:174
CDamageInd m_DamageInd
Definition: gameclient.h:148
CGameWorld m_PredictedWorld
Definition: gameclient.h:598
bool IsTeamPlay()
Definition: gameclient.h:585
void HandleMultiView()
Definition: gameclient.cpp:3945
class CUi * Ui()
Definition: gameclient.h:249
int m_aLastUpdateTick[MAX_CLIENTS]
Definition: gameclient.h:802
CTooltips m_Tooltips
Definition: gameclient.h:168
bool InitMultiView(int Team)
Definition: gameclient.cpp:4058
class IDemoPlayer * m_pDemoPlayer
Definition: gameclient.h:186
int m_EditorMovementDelay
Definition: gameclient.h:205
CVoting m_Voting
Definition: gameclient.h:149
void ApplySkin7InfoFromGameMsg(const T *pMsg, int ClientId, int Conn)
Definition: sixup_translate_game.cpp:82
CMenus m_Menus
Definition: gameclient.h:135
CBackground m_Background
Definition: gameclient.h:160
void OnNewSnapshot() override
Definition: gameclient.cpp:1480
void ApplySkin7InfoFromSnapObj(const protocol7::CNetObj_De_ClientInfo *pObj, int ClientId) override
Definition: sixup_translate_game.cpp:126
class IFriends * m_pFriends
Definition: gameclient.h:190
class IHttp * m_pHttp
Definition: gameclient.h:195
class IStorage * Storage() const
Definition: gameclient.h:252
void OnShutdown() override
Definition: gameclient.cpp:1137
void LoadExtrasSkin(const char *pPath, bool AsDir=false)
Definition: gameclient.cpp:3703
class IEngine * m_pEngine
Definition: gameclient.h:176
virtual int ClientVersion7() const override
Definition: gameclient.cpp:88
void OnUpdate() override
Definition: gameclient.cpp:429
bool m_LanguageChanged
Definition: gameclient.h:538
int TranslateSnap(CSnapshot *pSnapDstSix, CSnapshot *pSnapSrcSeven, int Conn, bool Dummy) override
Definition: sixup_translate_snapshot.cpp:7
CNetObjHandler * GetNetObjHandler() override
Definition: gameclient.cpp:3889
bool m_MultiViewActivated
Definition: gameclient.h:785
class IFriends * Foes()
Definition: gameclient.h:268
CRaceHelper m_RaceHelper
Definition: gameclient.h:200
class IConfigManager * ConfigManager() const
Definition: gameclient.h:253
int m_aLastNewPredictedTick[NUM_DUMMIES]
Definition: gameclient.h:209
bool m_ReceivedDDNetPlayer
Definition: gameclient.h:576
CCharOrder m_CharOrder
Definition: gameclient.h:809
bool AntiPingPlayers()
Definition: gameclient.h:587
void RefreshSkins()
Definition: gameclient.cpp:3753
SClientExtrasSkin m_ExtrasSkin
Definition: gameclient.h:777
class IGraphics * m_pGraphics
Definition: gameclient.h:178
class IHttp * Http()
Definition: gameclient.h:275
std::vector< SSwitchers > & Switchers()
Definition: gameclient.h:601
CMenuBackground m_MenuBackground
Definition: gameclient.h:161
int m_MultiViewPersonalZoom
Definition: gameclient.h:783
int m_PrevLocalId
Definition: gameclient.h:242
int m_aLocalIds[NUM_DUMMIES]
Definition: gameclient.h:572
@ SERVERMODE_PUREMOD
Definition: gameclient.h:295
@ SERVERMODE_PURE
Definition: gameclient.h:293
@ SERVERMODE_MOD
Definition: gameclient.h:294
void LoadMapSettings()
Definition: gameclient.cpp:3789
bool m_ParticlesSkinLoaded
Definition: gameclient.h:722
int OnSnapInput(int *pData, bool Dummy, bool Force) override
Definition: gameclient.cpp:479
class CRenderTools * RenderTools()
Definition: gameclient.h:261
float MapValue(float MaxValue, float MinValue, float MaxRange, float MinRange, float Value)
Definition: gameclient.cpp:4216
static void ConKill(IConsole::IResult *pResult, void *pUserData)
Definition: gameclient.cpp:2730
void OnEnterGame() override
Definition: gameclient.cpp:1143
CChat m_Chat
Definition: gameclient.h:129
int m_NextChangeInfo
Definition: gameclient.h:568
CCharacterCore m_PredictedPrevChar
Definition: gameclient.h:305
class IFriends * Friends()
Definition: gameclient.h:267
virtual void OnRelease()
Definition: gameclient.cpp:921
void SendInfo(bool Start)
Definition: gameclient.cpp:2618
Definition: console.h:26
Definition: gameclient.h:64
bool m_BugDDRaceGhost
Definition: gameclient.h:77
bool m_EntitiesFNG
Definition: gameclient.h:90
bool m_AllowZoom
Definition: gameclient.h:75
bool m_AllowXSkins
Definition: gameclient.h:99
bool m_EntitiesRace
Definition: gameclient.h:89
bool m_AllowHookColl
Definition: gameclient.h:74
bool m_NoWeakHookAndBounce
Definition: gameclient.h:105
bool m_PredictDDRace
Definition: gameclient.h:83
bool m_FlagStartsRace
Definition: gameclient.h:66
bool m_DDRaceRecordMessage
Definition: gameclient.h:69
bool m_EntitiesFDDrace
Definition: gameclient.h:93
bool m_EntitiesDDNet
Definition: gameclient.h:87
bool m_PredictVanilla
Definition: gameclient.h:85
bool m_RaceRecordMessage
Definition: gameclient.h:70
bool m_AllowEyeWheel
Definition: gameclient.h:73
bool m_PredictFNG
Definition: gameclient.h:82
bool m_HudAmmo
Definition: gameclient.h:102
bool m_RaceSounds
Definition: gameclient.h:71
bool m_HudHealthArmor
Definition: gameclient.h:101
bool m_EntitiesVanilla
Definition: gameclient.h:91
bool m_EntitiesBW
Definition: gameclient.h:92
bool m_PredictDDRaceTiles
Definition: gameclient.h:84
bool m_TimeScore
Definition: gameclient.h:67
bool m_EntitiesDDRace
Definition: gameclient.h:88
bool m_DontMaskEntities
Definition: gameclient.h:98
bool m_BugFNGLaserRange
Definition: gameclient.h:79
bool m_HudDDRace
Definition: gameclient.h:103
bool m_BugDDRaceInput
Definition: gameclient.h:78
bool m_Pvp
Definition: gameclient.h:96
bool m_UnlimitedAmmo
Definition: gameclient.h:68
bool m_Race
Definition: gameclient.h:95
bool m_NoSkinChangeForFrozen
Definition: gameclient.h:106
bool m_BugVanillaBounce
Definition: gameclient.h:80
Definition: gameworld.h:17
CWorldCore m_Core
Definition: gameworld.h:34
Definition: ghost.h:56
Definition: hud.h:44
Definition: infomessages.h:10
Definition: items.h:12
Definition: layers.h:13
Definition: mapimages.h:36
Definition: maplayers.h:27
@ TYPE_FOREGROUND
Definition: maplayers.h:140
@ TYPE_BACKGROUND
Definition: maplayers.h:138
Definition: mapsounds.h:12
Definition: menu_background.h:33
Definition: menus.h:61
Definition: motd.h:12
Definition: nameplates.h:41
Definition: protocol.h:1261
int NumObjCorrections() const
Definition: protocol.cpp:17
const char * CorrectedObjOn() const
Definition: protocol.cpp:18
Definition: particles.h:64
Definition: players.h:11
Definition: race_demo.h:10
Definition: race.h:9
Definition: render.h:188
Definition: scoreboard.h:12
Definition: skins7.h:19
Definition: skins.h:20
Definition: gameclient.h:110
const CNetObj_EntityEx * m_pDataEx
Definition: gameclient.h:113
IClient::CSnapItem m_Item
Definition: gameclient.h:112
Definition: snapshot.h:31
Definition: sounds.h:22
Definition: spectator.h:12
Definition: statboard.h:10
Definition: teamscore.h:25
Definition: render.h:34
Definition: tooltips.h:27
Definition: gamecore.h:41
Definition: ui.h:283
Definition: packer.h:32
Definition: voting.h:15
std::vector< SSwitchers > m_vSwitchers
Definition: gamecore.h:172
Definition: color.h:173
Definition: color.h:210
Definition: client.h:109
Definition: client.h:36
virtual class IDemoRecorder * DemoRecorder(int Recorder)=0
@ STATE_DEMOPLAYBACK
Definition: client.h:54
virtual bool DummyConnected() const =0
EClientState State() const
Definition: client.h:137
Definition: config.h:9
Definition: console.h:45
Definition: console.h:18
void(* FCommandCallback)(IResult *pResult, void *pUserData)
Definition: console.h:92
Definition: demo.h:60
Definition: demo.h:102
Definition: editor.h:8
Definition: engine.h:15
Definition: favorites.h:14
Definition: friends.h:19
Definition: client.h:345
Definition: graphics.h:200
bool IsValid() const
Definition: graphics.h:210
Definition: graphics.h:183
Definition: http.h:12
Definition: input.h:20
IKernel * Kernel()
Definition: kernel.h:16
Definition: kernel.h:34
Definition: serverbrowser.h:263
Definition: sound.h:12
Definition: storage.h:20
Definition: textrender.h:312
Definition: updater.h:7
Definition: protocol7.h:1229
CConfig g_Config
Definition: config.cpp:12
@ NUM_DUMMIES
Definition: enums.h:8
@ MAX_CLAN_LENGTH
Definition: protocol.h:98
@ MAX_CLIENTS
Definition: protocol.h:88
@ MAX_SKIN_LENGTH
Definition: protocol.h:99
@ MAX_NAME_LENGTH
Definition: protocol.h:97
@ NUM_WEAPONS
Definition: protocol.h:1257
@ GAMEFLAG_TEAMS
Definition: protocol.h:145
ColorRGBA CalculateNameColor(ColorHSLA TextColorHSL)
Definition: gameclient.cpp:2828
EClientIdFormat
Definition: gameclient.h:117
@ MAX_SKIN_LENGTH
Definition: protocol7.h:63
@ NUM_SKINPARTS
Definition: protocol7.h:36
Definition: gameclient.h:371
int m_ColorFeet
Definition: gameclient.h:374
bool m_ChatIgnore
Definition: gameclient.h:413
bool m_HookHitDisabled
Definition: gameclient.h:395
vec2 m_SpecChar
Definition: gameclient.h:440
int m_FreezeEnd
Definition: gameclient.h:401
char m_aClan[MAX_CLAN_LENGTH]
Definition: gameclient.h:377
bool m_Foe
Definition: gameclient.h:416
int m_aPredTick[200]
Definition: gameclient.h:438
bool m_EndlessHook
Definition: gameclient.h:389
bool m_LiveFrozen
Definition: gameclient.h:403
int m_Emoticon
Definition: gameclient.h:382
bool m_DeepFrozen
Definition: gameclient.h:402
bool m_Friend
Definition: gameclient.h:415
vec2 m_aPredPos[200]
Definition: gameclient.h:437
CCharacterCore m_Predicted
Definition: gameclient.h:405
bool m_IsPredicted
Definition: gameclient.h:433
bool m_Super
Definition: gameclient.h:396
bool m_Active
Definition: gameclient.h:412
CNetObj_Character m_RenderCur
Definition: gameclient.h:430
bool m_HasTelegunLaser
Definition: gameclient.h:400
int64_t m_aSmoothLen[2]
Definition: gameclient.h:436
float m_EmoticonStartFraction
Definition: gameclient.h:383
int m_ColorBody
Definition: gameclient.h:373
vec2 m_RenderPos
Definition: gameclient.h:432
int m_Team
Definition: gameclient.h:381
int m_AuthLevel
Definition: gameclient.h:418
bool m_aSwitchStates[256]
Definition: gameclient.h:424
bool m_ShotgunHitDisabled
Definition: gameclient.h:394
bool m_Solo
Definition: gameclient.h:386
bool m_HasTelegunGun
Definition: gameclient.h:398
int m_EmoticonStartTick
Definition: gameclient.h:384
bool m_Invincible
Definition: gameclient.h:397
char m_aName[MAX_NAME_LENGTH]
Definition: gameclient.h:376
CNetObj_Character m_Evolved
Definition: gameclient.h:427
CNetObj_Character m_RenderPrev
Definition: gameclient.h:431
bool m_GrenadeHitDisabled
Definition: gameclient.h:392
bool m_HammerHitDisabled
Definition: gameclient.h:391
bool m_Jetpack
Definition: gameclient.h:387
CSixup m_aSixup[NUM_DUMMIES]
Definition: gameclient.h:456
bool m_Afk
Definition: gameclient.h:419
float m_Angle
Definition: gameclient.h:411
bool m_Spec
Definition: gameclient.h:421
CNetObj_Character m_Snapped
Definition: gameclient.h:426
bool m_IsPredictedLocal
Definition: gameclient.h:434
CTeeRenderInfo m_RenderInfo
Definition: gameclient.h:409
bool m_CollisionDisabled
Definition: gameclient.h:388
bool m_EmoticonIgnore
Definition: gameclient.h:414
void Reset()
Definition: gameclient.cpp:2451
int m_Country
Definition: gameclient.h:378
int m_SkinColor
Definition: gameclient.h:380
bool m_SpecCharPresent
Definition: gameclient.h:439
int m_UseCustomColor
Definition: gameclient.h:372
char m_aSkinName[MAX_SKIN_LENGTH]
Definition: gameclient.h:379
int64_t m_aSmoothStart[2]
Definition: gameclient.h:435
void UpdateRenderInfo(bool IsTeamPlay)
Definition: gameclient.cpp:2410
bool m_EndlessJump
Definition: gameclient.h:390
bool m_HasTelegunGrenade
Definition: gameclient.h:399
bool m_Paused
Definition: gameclient.h:420
CCharacterCore m_PrevPredicted
Definition: gameclient.h:406
CTeeRenderInfo m_SkinInfo
Definition: gameclient.h:408
bool m_LaserHitDisabled
Definition: gameclient.h:393
Definition: gameclient.h:343
vec2 m_Position
Definition: gameclient.h:356
CNetObj_Character m_Cur
Definition: gameclient.h:348
bool m_HasExtendedDisplayInfo
Definition: gameclient.h:353
const CNetObj_DDNetCharacter * m_PrevExtendedData
Definition: gameclient.h:351
CNetObj_DDNetCharacter m_ExtendedData
Definition: gameclient.h:350
bool m_Active
Definition: gameclient.h:344
bool m_HasExtendedData
Definition: gameclient.h:352
CNetObj_Character m_Prev
Definition: gameclient.h:347
Definition: gameclient.h:334
bool m_UsePosition
Definition: gameclient.h:337
vec2 m_Position
Definition: gameclient.h:338
bool m_Active
Definition: gameclient.h:335
int m_SpectatorId
Definition: gameclient.h:336
Definition: gameclient.h:310
int m_HighestClientId
Definition: gameclient.h:330
const CNetObj_PlayerInfo * m_pLocalInfo
Definition: gameclient.h:313
const CNetObj_SpectatorInfo * m_pSpectatorInfo
Definition: gameclient.h:314
const CNetObj_GameInfo * m_pGameInfoObj
Definition: gameclient.h:317
struct CGameClient::CSnapState::CSpectateInfo m_SpecInfo
const CNetObj_SpectatorInfo * m_pPrevSpectatorInfo
Definition: gameclient.h:315
int m_LocalClientId
Definition: gameclient.h:327
const CNetObj_PlayerInfo * m_apInfoByDDTeamScore[MAX_CLIENTS]
Definition: gameclient.h:324
const CNetObj_PlayerInfo * m_apInfoByScore[MAX_CLIENTS]
Definition: gameclient.h:322
const CNetObj_PlayerInfo * m_apInfoByName[MAX_CLIENTS]
Definition: gameclient.h:323
int m_aTeamSize[2]
Definition: gameclient.h:329
const CNetObj_Character * m_pLocalPrevCharacter
Definition: gameclient.h:312
CCharacterInfo m_aCharacters[MAX_CLIENTS]
Definition: gameclient.h:359
const CNetObj_PlayerInfo * m_apPlayerInfos[MAX_CLIENTS]
Definition: gameclient.h:321
const CNetObj_GameData * m_pGameDataObj
Definition: gameclient.h:318
const CNetObj_PlayerInfo * m_apInfoByDDTeamName[MAX_CLIENTS]
Definition: gameclient.h:325
const CNetObj_Character * m_pLocalCharacter
Definition: gameclient.h:311
int m_NumPlayers
Definition: gameclient.h:328
int m_GameDataSnapId
Definition: gameclient.h:319
const CNetObj_Flag * m_apFlags[2]
Definition: gameclient.h:316
Definition: gameclient.h:725
IGraphics::CTextureHandle m_aSpriteEmoticons[16]
Definition: gameclient.h:726
Definition: gameclient.h:771
IGraphics::CTextureHandle m_SpriteParticleSnowflake
Definition: gameclient.h:772
IGraphics::CTextureHandle m_aSpriteParticles[2]
Definition: gameclient.h:774
IGraphics::CTextureHandle m_SpriteParticleSparkle
Definition: gameclient.h:773
Definition: gameclient.h:620
IGraphics::CTextureHandle m_aSpriteWeaponProjectiles[6]
Definition: gameclient.h:663
IGraphics::CTextureHandle m_SpriteNinjaBarEmptyRight
Definition: gameclient.h:697
IGraphics::CTextureHandle m_SpritePickupGun
Definition: gameclient.h:683
IGraphics::CTextureHandle m_SpriteWeaponShotgun
Definition: gameclient.h:642
IGraphics::CTextureHandle m_SpritePickupArmorLaser
Definition: gameclient.h:678
IGraphics::CTextureHandle m_SpriteWeaponShotgunProjectile
Definition: gameclient.h:657
IGraphics::CTextureHandle m_SpritePickupArmorGrenade
Definition: gameclient.h:676
IGraphics::CTextureHandle m_SpriteArmorEmpty
Definition: gameclient.h:625
IGraphics::CTextureHandle m_SpriteWeaponNinjaProjectile
Definition: gameclient.h:660
IGraphics::CTextureHandle m_SpriteWeaponGun
Definition: gameclient.h:641
bool IsSixup()
Definition: gameclient.h:699
IGraphics::CTextureHandle m_aaSpriteWeaponNinjaMuzzles[3]
Definition: gameclient.h:668
IGraphics::CTextureHandle m_SpritePickupArmorNinja
Definition: gameclient.h:677
IGraphics::CTextureHandle m_SpriteHookChain
Definition: gameclient.h:638
IGraphics::CTextureHandle m_SpriteHookHead
Definition: gameclient.h:639
IGraphics::CTextureHandle m_SpriteWeaponGrenadeProjectile
Definition: gameclient.h:658
IGraphics::CTextureHandle m_SpriteNinjaBarEmpty
Definition: gameclient.h:696
IGraphics::CTextureHandle m_SpriteWeaponLaser
Definition: gameclient.h:645
IGraphics::CTextureHandle m_SpriteWeaponLaserProjectile
Definition: gameclient.h:661
IGraphics::CTextureHandle m_aSpriteWeaponGunMuzzles[3]
Definition: gameclient.h:666
IGraphics::CTextureHandle m_aaSpriteWeaponsMuzzles[6][3]
Definition: gameclient.h:670
IGraphics::CTextureHandle m_SpritePickupHealth
Definition: gameclient.h:673
IGraphics::CTextureHandle m_SpriteWeaponNinjaCursor
Definition: gameclient.h:632
IGraphics::CTextureHandle m_SpriteWeaponLaserCursor
Definition: gameclient.h:633
IGraphics::CTextureHandle m_SpriteFlagRed
Definition: gameclient.h:691
IGraphics::CTextureHandle m_SpritePickupGrenade
Definition: gameclient.h:679
IGraphics::CTextureHandle m_SpritePickupLaser
Definition: gameclient.h:681
IGraphics::CTextureHandle m_SpritePickupArmorShotgun
Definition: gameclient.h:675
IGraphics::CTextureHandle m_aSpriteWeaponCursors[6]
Definition: gameclient.h:635
IGraphics::CTextureHandle m_aSpritePickupWeaponArmor[4]
Definition: gameclient.h:687
IGraphics::CTextureHandle m_SpritePickupArmor
Definition: gameclient.h:674
IGraphics::CTextureHandle m_SpriteNinjaBarFullLeft
Definition: gameclient.h:694
IGraphics::CTextureHandle m_SpriteWeaponGrenade
Definition: gameclient.h:643
IGraphics::CTextureHandle m_SpriteWeaponShotgunCursor
Definition: gameclient.h:630
IGraphics::CTextureHandle m_SpriteWeaponNinja
Definition: gameclient.h:644
IGraphics::CTextureHandle m_aSpriteWeapons[6]
Definition: gameclient.h:647
IGraphics::CTextureHandle m_SpriteArmorFull
Definition: gameclient.h:624
IGraphics::CTextureHandle m_SpriteFlagBlue
Definition: gameclient.h:690
IGraphics::CTextureHandle m_SpritePickupShotgun
Definition: gameclient.h:680
IGraphics::CTextureHandle m_aSpriteWeaponShotgunMuzzles[3]
Definition: gameclient.h:667
IGraphics::CTextureHandle m_SpriteHealthFull
Definition: gameclient.h:622
IGraphics::CTextureHandle m_SpriteWeaponHammerCursor
Definition: gameclient.h:628
IGraphics::CTextureHandle m_aSpriteParticles[9]
Definition: gameclient.h:650
IGraphics::CTextureHandle m_SpriteHealthEmpty
Definition: gameclient.h:623
IGraphics::CTextureHandle m_SpriteNinjaBarFull
Definition: gameclient.h:695
IGraphics::CTextureHandle m_SpritePickupHammer
Definition: gameclient.h:684
IGraphics::CTextureHandle m_SpriteWeaponGrenadeCursor
Definition: gameclient.h:631
IGraphics::CTextureHandle m_SpriteWeaponHammer
Definition: gameclient.h:640
IGraphics::CTextureHandle m_SpriteWeaponHammerProjectile
Definition: gameclient.h:659
IGraphics::CTextureHandle m_aSpritePickupWeapons[6]
Definition: gameclient.h:686
IGraphics::CTextureHandle m_SpriteWeaponGunCursor
Definition: gameclient.h:629
IGraphics::CTextureHandle m_aSpriteStars[3]
Definition: gameclient.h:653
IGraphics::CTextureHandle m_SpriteWeaponGunProjectile
Definition: gameclient.h:656
IGraphics::CTextureHandle m_SpritePickupNinja
Definition: gameclient.h:682
Definition: gameclient.h:733
IGraphics::CTextureHandle m_SpriteHudEndlessJump
Definition: gameclient.h:738
IGraphics::CTextureHandle m_SpriteHudTeam0Mode
Definition: gameclient.h:762
IGraphics::CTextureHandle m_SpriteHudLaserHitDisabled
Definition: gameclient.h:753
IGraphics::CTextureHandle m_SpriteHudFreezeBarFullLeft
Definition: gameclient.h:741
IGraphics::CTextureHandle m_SpriteHudNinjaBarEmptyRight
Definition: gameclient.h:748
IGraphics::CTextureHandle m_SpriteHudFreezeBarEmptyRight
Definition: gameclient.h:744
IGraphics::CTextureHandle m_SpriteHudAirjumpEmpty
Definition: gameclient.h:735
IGraphics::CTextureHandle m_SpriteHudTeleportGun
Definition: gameclient.h:758
IGraphics::CTextureHandle m_SpriteHudGunHitDisabled
Definition: gameclient.h:754
IGraphics::CTextureHandle m_SpriteHudJetpack
Definition: gameclient.h:740
IGraphics::CTextureHandle m_SpriteHudCollisionDisabled
Definition: gameclient.h:737
IGraphics::CTextureHandle m_SpriteHudNinjaBarEmpty
Definition: gameclient.h:747
IGraphics::CTextureHandle m_SpriteHudEndlessHook
Definition: gameclient.h:739
IGraphics::CTextureHandle m_SpriteHudFreezeBarEmpty
Definition: gameclient.h:743
IGraphics::CTextureHandle m_SpriteHudNinjaBarFullLeft
Definition: gameclient.h:745
IGraphics::CTextureHandle m_SpriteHudDummyHammer
Definition: gameclient.h:763
IGraphics::CTextureHandle m_SpriteHudDummyCopy
Definition: gameclient.h:764
IGraphics::CTextureHandle m_SpriteHudLiveFrozen
Definition: gameclient.h:756
IGraphics::CTextureHandle m_SpriteHudAirjump
Definition: gameclient.h:734
IGraphics::CTextureHandle m_SpriteHudHookHitDisabled
Definition: gameclient.h:749
IGraphics::CTextureHandle m_SpriteHudShotgunHitDisabled
Definition: gameclient.h:751
IGraphics::CTextureHandle m_SpriteHudLockMode
Definition: gameclient.h:761
IGraphics::CTextureHandle m_SpriteHudSolo
Definition: gameclient.h:736
IGraphics::CTextureHandle m_SpriteHudDeepFrozen
Definition: gameclient.h:755
IGraphics::CTextureHandle m_SpriteHudHammerHitDisabled
Definition: gameclient.h:750
IGraphics::CTextureHandle m_SpriteHudFreezeBarFull
Definition: gameclient.h:742
IGraphics::CTextureHandle m_SpriteHudNinjaBarFull
Definition: gameclient.h:746
IGraphics::CTextureHandle m_SpriteHudPracticeMode
Definition: gameclient.h:760
IGraphics::CTextureHandle m_SpriteHudTeleportGrenade
Definition: gameclient.h:757
IGraphics::CTextureHandle m_SpriteHudGrenadeHitDisabled
Definition: gameclient.h:752
IGraphics::CTextureHandle m_SpriteHudTeleportLaser
Definition: gameclient.h:759
Definition: gameclient.h:709
IGraphics::CTextureHandle m_SpriteParticleBall
Definition: gameclient.h:711
IGraphics::CTextureHandle m_SpriteParticleShell
Definition: gameclient.h:714
IGraphics::CTextureHandle m_SpriteParticleAirJump
Definition: gameclient.h:716
IGraphics::CTextureHandle m_SpriteParticleSmoke
Definition: gameclient.h:713
IGraphics::CTextureHandle m_SpriteParticleExpl
Definition: gameclient.h:715
IGraphics::CTextureHandle m_SpriteParticleHit
Definition: gameclient.h:717
IGraphics::CTextureHandle m_aSpriteParticleSplat[3]
Definition: gameclient.h:712
IGraphics::CTextureHandle m_aSpriteParticles[10]
Definition: gameclient.h:718
IGraphics::CTextureHandle m_SpriteParticleSlice
Definition: gameclient.h:710
Definition: gameclient.h:833
bool m_IsInit
Definition: gameclient.h:835
bool m_Teleported
Definition: gameclient.h:836
float m_aLastFreeze[MAX_CLIENTS]
Definition: gameclient.h:842
bool m_Solo
Definition: gameclient.h:834
vec2 m_OldPos
Definition: gameclient.h:838
int m_OldPersonalZoom
Definition: gameclient.h:839
float m_SecondChance
Definition: gameclient.h:840
bool m_aVanish[MAX_CLIENTS]
Definition: gameclient.h:837
float m_OldCameraDistance
Definition: gameclient.h:841
Definition: protocol.h:455
Definition: protocol.h:513
Definition: protocol.h:661
Definition: protocol.h:405
Definition: protocol.h:426
Definition: protocol.h:413
int m_GameFlags
Definition: protocol.h:415
Definition: protocol.h:467
Definition: protocol.h:360
Definition: protocol.h:499
Definition: protocol7.h:394