DDraceNetwork Docs
gameclient.cpp File Reference
#include <chrono>
#include <limits>
#include <engine/client/checksum.h>
#include <engine/client/enums.h>
#include <engine/demo.h>
#include <engine/editor.h>
#include <engine/engine.h>
#include <engine/favorites.h>
#include <engine/friends.h>
#include <engine/graphics.h>
#include <engine/map.h>
#include <engine/serverbrowser.h>
#include <engine/shared/config.h>
#include <engine/sound.h>
#include <engine/storage.h>
#include <engine/textrender.h>
#include <engine/updater.h>
#include <game/generated/client_data.h>
#include <game/generated/client_data7.h>
#include <game/generated/protocol.h>
#include <base/log.h>
#include <base/math.h>
#include <base/system.h>
#include <base/vmath.h>
#include "gameclient.h"
#include "lineinput.h"
#include "race.h"
#include "render.h"
#include <game/localization.h>
#include <game/mapitems.h>
#include <game/version.h>
#include <game/generated/protocol7.h>
#include <game/generated/protocolglue.h>
#include "components/background.h"
#include "components/binds.h"
#include "components/broadcast.h"
#include "components/camera.h"
#include "components/chat.h"
#include "components/console.h"
#include "components/controls.h"
#include "components/countryflags.h"
#include "components/damageind.h"
#include "components/debughud.h"
#include "components/effects.h"
#include "components/emoticon.h"
#include "components/freezebars.h"
#include "components/ghost.h"
#include "components/hud.h"
#include "components/infomessages.h"
#include "components/items.h"
#include "components/mapimages.h"
#include "components/maplayers.h"
#include "components/mapsounds.h"
#include "components/menu_background.h"
#include "components/menus.h"
#include "components/motd.h"
#include "components/nameplates.h"
#include "components/particles.h"
#include "components/players.h"
#include "components/race_demo.h"
#include "components/scoreboard.h"
#include "components/skins.h"
#include "components/skins7.h"
#include "components/sounds.h"
#include "components/spectator.h"
#include "components/statboard.h"
#include "components/voting.h"
#include "prediction/entities/character.h"
#include "prediction/entities/projectile.h"

Functions

static void GenerateTimeoutCode (char *pTimeoutCode)
 
static CGameInfo GetGameInfo (const CNetObj_GameInfoEx *pInfoEx, int InfoExSize, const CServerInfo *pFallbackServerInfo)
 
IGameClientCreateGameClient ()
 
ColorRGBA CalculateNameColor (ColorHSLA TextColorHSL)
 
static bool UnknownMapSettingCallback (const char *pCommand, void *pUser)
 

Function Documentation

◆ CalculateNameColor()

ColorRGBA CalculateNameColor ( ColorHSLA  TextColorHSL)

◆ CreateGameClient()

IGameClient * CreateGameClient ( )

◆ GenerateTimeoutCode()

static void GenerateTimeoutCode ( char *  pTimeoutCode)
static

◆ GetGameInfo()

static CGameInfo GetGameInfo ( const CNetObj_GameInfoEx pInfoEx,
int  InfoExSize,
const CServerInfo pFallbackServerInfo 
)
static

◆ UnknownMapSettingCallback()

static bool UnknownMapSettingCallback ( const char *  pCommand,
void *  pUser 
)
static