ddnet/src/engine/client/client.h

512 lines
16 KiB
C
Raw Normal View History

2010-11-20 10:37:14 +00:00
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
2010-05-29 07:25:38 +00:00
#ifndef ENGINE_CLIENT_CLIENT_H
#define ENGINE_CLIENT_CLIENT_H
2009-10-29 12:14:31 +00:00
#include <list>
#include <memory>
#include <base/hash.h>
#include <engine/client.h>
#include <engine/client/demoedit.h>
2020-09-10 18:14:47 +00:00
#include <engine/client/friends.h>
#include <engine/client/ghost.h>
2018-12-12 08:59:42 +00:00
#include <engine/client/http.h>
#include <engine/client/serverbrowser.h>
#include <engine/client/updater.h>
#include <engine/discord.h>
#include <engine/editor.h>
#include <engine/engine.h>
#include <engine/graphics.h>
#include <engine/input.h>
#include <engine/map.h>
#include <engine/masterserver.h>
#include <engine/shared/config.h>
#include <engine/shared/demo.h>
#include <engine/shared/fifo.h>
#include <engine/shared/network.h>
#include <engine/sound.h>
#include <engine/steam.h>
#include <engine/warning.h>
#define CONNECTLINK "ddnet:"
2010-05-29 07:25:38 +00:00
class CGraph
2009-10-29 12:14:31 +00:00
{
public:
2010-05-29 07:25:38 +00:00
enum
{
// restrictions: Must be power of two
MAX_VALUES = 128,
2010-05-29 07:25:38 +00:00
};
float m_Min, m_Max;
float m_MinRange, m_MaxRange;
2010-05-29 07:25:38 +00:00
float m_aValues[MAX_VALUES];
float m_aColors[MAX_VALUES][3];
int m_Index;
void Init(float Min, float Max);
void ScaleMax();
void ScaleMin();
void Add(float v, float r, float g, float b);
void Render(IGraphics *pGraphics, IGraphics::CTextureHandle FontTexture, float x, float y, float w, float h, const char *pDescription);
2009-10-29 12:14:31 +00:00
};
2010-05-29 07:25:38 +00:00
class CSmoothTime
2009-10-29 12:14:31 +00:00
{
2021-06-23 05:05:49 +00:00
int64_t m_Snap;
int64_t m_Current;
int64_t m_Target;
2010-05-29 07:25:38 +00:00
CGraph m_Graph;
int m_SpikeCounter;
float m_aAdjustSpeed[2]; // 0 = down, 1 = up
2009-10-29 12:14:31 +00:00
public:
2021-06-23 05:05:49 +00:00
void Init(int64_t Target);
2010-05-29 07:25:38 +00:00
void SetAdjustSpeed(int Direction, float Value);
2021-06-23 05:05:49 +00:00
int64_t Get(int64_t Now);
2010-05-29 07:25:38 +00:00
2021-06-23 05:05:49 +00:00
void UpdateInt(int64_t Target);
void Update(CGraph *pGraph, int64_t Target, int TimeLeft, int AdjustDirection);
2009-10-29 12:14:31 +00:00
};
class CServerCapabilities
{
public:
bool m_ChatTimeoutCode;
bool m_AnyPlayerFlag;
bool m_PingEx;
};
class CClient : public IClient, public CDemoPlayer::IListener
2010-05-29 07:25:38 +00:00
{
// needed interfaces
2011-02-27 14:03:57 +00:00
IEngine *m_pEngine;
2010-05-29 07:25:38 +00:00
IEditor *m_pEditor;
IEngineInput *m_pInput;
IEngineGraphics *m_pGraphics;
IEngineSound *m_pSound;
IGameClient *m_pGameClient;
IEngineMap *m_pMap;
IConfigManager *m_pConfigManager;
CConfig *m_pConfig;
2010-05-29 07:25:38 +00:00
IConsole *m_pConsole;
IStorage *m_pStorage;
IUpdater *m_pUpdater;
IDiscord *m_pDiscord;
2020-08-20 10:17:44 +00:00
ISteam *m_pSteam;
2010-05-29 07:25:38 +00:00
enum
{
NUM_SNAPSHOT_TYPES = 2,
PREDICTION_MARGIN = 1000 / 50 / 2, // magic network prediction value
2010-05-29 07:25:38 +00:00
};
2019-11-10 12:38:10 +00:00
enum
{
2020-10-18 14:51:26 +00:00
CLIENT_MAIN = 0,
2019-11-10 12:38:10 +00:00
CLIENT_DUMMY,
CLIENT_CONTACT,
NUM_CLIENTS,
};
class CNetClient m_NetClient[NUM_CLIENTS];
2011-02-27 14:03:57 +00:00
class CDemoPlayer m_DemoPlayer;
class CDemoRecorder m_DemoRecorder[RECORDER_MAX];
2014-08-12 14:21:06 +00:00
class CDemoEditor m_DemoEditor;
class CGhostRecorder m_GhostRecorder;
class CGhostLoader m_GhostLoader;
2011-02-27 14:03:57 +00:00
class CServerBrowser m_ServerBrowser;
class CUpdater m_Updater;
2011-03-23 12:06:35 +00:00
class CFriends m_Friends;
2015-07-22 20:16:49 +00:00
class CFriends m_Foes;
2010-05-29 07:25:38 +00:00
char m_aServerAddressStr[256];
CUuid m_ConnectionID;
2020-10-18 14:51:26 +00:00
unsigned m_SnapshotParts[NUM_DUMMIES];
2021-06-23 05:05:49 +00:00
int64_t m_LocalStartTime;
2010-05-29 07:25:38 +00:00
IGraphics::CTextureHandle m_DebugFont;
int m_DebugSoundIndex = 0;
2015-07-09 00:08:14 +00:00
2021-06-23 05:05:49 +00:00
int64_t m_LastRenderTime;
float m_RenderFrameTimeLow;
float m_RenderFrameTimeHigh;
int m_RenderFrames;
2010-05-29 07:25:38 +00:00
NETADDR m_ServerAddress;
int m_SnapCrcErrors;
bool m_AutoScreenshotRecycle;
2015-05-19 22:51:02 +00:00
bool m_AutoStatScreenshotRecycle;
bool m_AutoCSVRecycle;
bool m_EditorActive;
bool m_SoundInitFailed;
bool m_ResortServerBrowser;
2010-05-29 07:25:38 +00:00
2020-10-18 14:51:26 +00:00
int m_AckGameTick[NUM_DUMMIES];
int m_CurrentRecvTick[NUM_DUMMIES];
int m_RconAuthed[NUM_DUMMIES];
char m_RconPassword[32];
int m_UseTempRconCommands;
char m_Password[32];
bool m_SendPassword;
bool m_ButtonRender = false;
2010-05-29 07:25:38 +00:00
// version-checking
char m_aVersionStr[10];
// pinging
2021-06-23 05:05:49 +00:00
int64_t m_PingStartTime;
2010-05-29 07:25:38 +00:00
char m_aCurrentMap[MAX_PATH_LENGTH];
char m_aCurrentMapPath[MAX_PATH_LENGTH];
2010-05-29 07:25:38 +00:00
2020-10-18 14:51:26 +00:00
char m_aTimeoutCodes[NUM_DUMMIES][32];
bool m_aTimeoutCodeSent[NUM_DUMMIES];
bool m_GenerateTimeoutSeed;
2014-08-17 17:19:40 +00:00
2010-05-29 07:25:38 +00:00
//
char m_aCmdConnect[256];
char m_aCmdPlayDemo[MAX_PATH_LENGTH];
char m_aCmdEditMap[MAX_PATH_LENGTH];
2010-05-29 07:25:38 +00:00
// map download
std::shared_ptr<CGetFile> m_pMapdownloadTask;
2010-05-29 07:25:38 +00:00
char m_aMapdownloadFilename[256];
char m_aMapdownloadName[256];
IOHANDLE m_MapdownloadFile;
int m_MapdownloadChunk;
int m_MapdownloadCrc;
int m_MapdownloadAmount;
int m_MapdownloadTotalsize;
bool m_MapdownloadSha256Present;
SHA256_DIGEST m_MapdownloadSha256;
bool m_MapDetailsPresent;
char m_aMapDetailsName[256];
int m_MapDetailsCrc;
SHA256_DIGEST m_MapDetailsSha256;
char m_aDDNetInfoTmp[64];
std::shared_ptr<CGetFile> m_pDDNetInfoTask;
2010-05-29 07:25:38 +00:00
// time
2020-10-18 14:51:26 +00:00
CSmoothTime m_GameTime[NUM_DUMMIES];
CSmoothTime m_PredictedTime;
2010-05-29 07:25:38 +00:00
// input
struct // TODO: handle input better
{
int m_aData[MAX_INPUT_SIZE]; // the input data
int m_Tick; // the tick that the input is for
2021-06-23 05:05:49 +00:00
int64_t m_PredictedTime; // prediction latency when we sent this input
int64_t m_Time;
2020-10-18 14:51:26 +00:00
} m_aInputs[NUM_DUMMIES][200];
2010-05-29 07:25:38 +00:00
2020-10-18 14:51:26 +00:00
int m_CurrentInput[NUM_DUMMIES];
2014-04-28 18:43:08 +00:00
bool m_LastDummy;
bool m_DummySendConnInfo;
2010-05-29 07:25:38 +00:00
// graphs
CGraph m_InputtimeMarginGraph;
CGraph m_GametimeMarginGraph;
CGraph m_FpsGraph;
// the game snapshots are modifiable by the game
2020-10-18 14:51:26 +00:00
class CSnapshotStorage m_SnapshotStorage[NUM_DUMMIES];
CSnapshotStorage::CHolder *m_aSnapshots[NUM_DUMMIES][NUM_SNAPSHOT_TYPES];
2010-05-29 07:25:38 +00:00
2020-10-18 14:51:26 +00:00
int m_ReceivedSnapshots[NUM_DUMMIES];
2016-01-23 20:44:45 +00:00
char m_aSnapshotIncomingData[CSnapshot::MAX_SIZE];
2010-05-29 07:25:38 +00:00
2011-02-27 14:03:57 +00:00
class CSnapshotStorage::CHolder m_aDemorecSnapshotHolders[NUM_SNAPSHOT_TYPES];
2010-05-29 07:25:38 +00:00
char *m_aDemorecSnapshotData[NUM_SNAPSHOT_TYPES][2][CSnapshot::MAX_SIZE];
2011-02-27 14:03:57 +00:00
class CSnapshotDelta m_SnapshotDelta;
2010-05-29 07:25:38 +00:00
std::list<std::shared_ptr<CDemoEdit>> m_EditJobs;
2010-05-29 07:25:38 +00:00
//
2019-06-13 22:24:50 +00:00
bool m_CanReceiveServerCapabilities;
bool m_ServerSentCapabilities;
CServerCapabilities m_ServerCapabilities;
bool ShouldSendChatTimeoutCodeHeuristic();
2011-02-27 14:03:57 +00:00
class CServerInfo m_CurrentServerInfo;
2021-06-23 05:05:49 +00:00
int64_t m_CurrentServerInfoRequestTime; // >= 0 should request, == -1 got info
2010-05-29 07:25:38 +00:00
int m_CurrentServerPingInfoType;
int m_CurrentServerPingBasicToken;
int m_CurrentServerPingToken;
CUuid m_CurrentServerPingUuid;
2021-06-23 05:05:49 +00:00
int64_t m_CurrentServerCurrentPingTime; // >= 0 request running
int64_t m_CurrentServerNextPingTime; // >= 0 should request
2010-05-29 07:25:38 +00:00
// version info
struct CVersionInfo
2010-05-29 07:25:38 +00:00
{
enum
{
STATE_INIT = 0,
STATE_START,
STATE_READY,
};
2010-05-29 07:25:38 +00:00
int m_State;
2011-02-27 14:03:57 +00:00
class CHostLookup m_VersionServeraddr;
2010-05-29 07:25:38 +00:00
} m_VersionInfo;
2011-02-27 14:03:57 +00:00
volatile int m_GfxState;
static void GraphicsThreadProxy(void *pThis) { ((CClient *)pThis)->GraphicsThread(); }
void GraphicsThread();
std::vector<SWarning> m_Warnings;
2016-05-02 21:36:21 +00:00
#if defined(CONF_FAMILY_UNIX)
CFifo m_Fifo;
#endif
2020-11-19 15:15:07 +00:00
IOHANDLE m_BenchmarkFile;
2021-06-23 05:05:49 +00:00
int64_t m_BenchmarkStopTime;
2020-11-19 15:15:07 +00:00
2010-05-29 07:25:38 +00:00
public:
2011-02-27 14:03:57 +00:00
IEngine *Engine() { return m_pEngine; }
2010-05-29 07:25:38 +00:00
IEngineGraphics *Graphics() { return m_pGraphics; }
IEngineInput *Input() { return m_pInput; }
IEngineSound *Sound() { return m_pSound; }
IGameClient *GameClient() { return m_pGameClient; }
IConfigManager *ConfigManager() { return m_pConfigManager; }
CConfig *Config() { return m_pConfig; }
2010-05-29 07:25:38 +00:00
IStorage *Storage() { return m_pStorage; }
IUpdater *Updater() { return m_pUpdater; }
IDiscord *Discord() { return m_pDiscord; }
2020-08-20 10:17:44 +00:00
ISteam *Steam() { return m_pSteam; }
2010-05-29 07:25:38 +00:00
CClient();
// ----- send functions -----
virtual int SendMsg(CMsgPacker *pMsg, int Flags);
virtual int SendMsgY(CMsgPacker *pMsg, int Flags, int NetClient = 1);
2010-05-29 07:25:38 +00:00
void SendInfo();
void SendEnterGame();
void SendReady();
void SendMapRequest();
2010-05-29 07:25:38 +00:00
virtual bool RconAuthed() const { return m_RconAuthed[g_Config.m_ClDummy] != 0; }
virtual bool UseTempRconCommands() const { return m_UseTempRconCommands != 0; }
2010-05-29 07:25:38 +00:00
void RconAuth(const char *pName, const char *pPassword);
virtual void Rcon(const char *pCmd);
virtual bool ConnectionProblems() const;
2010-05-29 07:25:38 +00:00
virtual bool SoundInitFailed() const { return m_SoundInitFailed; }
virtual IGraphics::CTextureHandle GetDebugFont() const { return m_DebugFont; }
2010-05-29 07:25:38 +00:00
void DirectInput(int *pInput, int Size);
void SendInput();
2018-02-04 15:00:47 +00:00
// TODO: OPT: do this a lot smarter!
virtual int *GetInput(int Tick, int IsDummy) const;
virtual int *GetDirectInput(int Tick, int IsDummy) const;
2010-05-29 07:25:38 +00:00
const char *LatestVersion() const;
2010-05-29 07:25:38 +00:00
// ------ state handling -----
void SetState(int s);
// called when the map is loaded and we should init for a new round
void OnEnterGame();
virtual void EnterGame();
virtual void Connect(const char *pAddress, const char *pPassword = NULL);
2010-05-29 07:25:38 +00:00
void DisconnectWithReason(const char *pReason);
virtual void Disconnect();
virtual void DummyDisconnect(const char *pReason);
2014-04-28 13:19:57 +00:00
virtual void DummyConnect();
virtual bool DummyConnected();
virtual bool DummyConnecting();
int m_DummyConnected;
int m_LastDummyConnectTime;
2010-05-29 07:25:38 +00:00
virtual void GetServerInfo(CServerInfo *pServerInfo) const;
2010-05-29 07:25:38 +00:00
void ServerInfoRequest();
int LoadData();
// ---
2016-05-05 16:07:00 +00:00
int GetPredictionTime();
void *SnapGetItem(int SnapID, int Index, CSnapItem *pItem) const;
int SnapItemSize(int SnapID, int Index) const;
void SnapInvalidateItem(int SnapID, int Index);
void *SnapFindItem(int SnapID, int Type, int ID) const;
int SnapNumItems(int SnapID) const;
2010-05-29 07:25:38 +00:00
void SnapSetStaticsize(int ItemType, int Size);
void Render();
void DebugRender();
2014-12-31 14:35:49 +00:00
virtual void Restart();
2010-05-29 07:25:38 +00:00
virtual void Quit();
virtual const char *PlayerName() const;
virtual const char *DummyName() const;
virtual const char *ErrorString() const;
2010-05-29 07:25:38 +00:00
const char *LoadMap(const char *pName, const char *pFilename, SHA256_DIGEST *pWantedSha256, unsigned WantedCrc);
const char *LoadMapSearch(const char *pMapName, SHA256_DIGEST *pWantedSha256, int WantedCrc);
2010-05-29 07:25:38 +00:00
void ProcessConnlessPacket(CNetChunk *pPacket);
void ProcessServerInfo(int Type, NETADDR *pFrom, const void *pData, int DataSize);
void ProcessServerPacket(CNetChunk *pPacket);
2014-05-03 00:30:05 +00:00
void ProcessServerPacketDummy(CNetChunk *pPacket);
2010-05-29 07:25:38 +00:00
void ResetMapDownload();
void FinishMapDownload();
void RequestDDNetInfo();
void ResetDDNetInfo();
bool IsDDNetInfoChanged();
void FinishDDNetInfo();
void LoadDDNetInfo();
virtual const char *MapDownloadName() const { return m_aMapdownloadName; }
virtual int MapDownloadAmount() const { return !m_pMapdownloadTask ? m_MapdownloadAmount : (int)m_pMapdownloadTask->Current(); }
virtual int MapDownloadTotalsize() const { return !m_pMapdownloadTask ? m_MapdownloadTotalsize : (int)m_pMapdownloadTask->Size(); }
2010-05-29 07:25:38 +00:00
void PumpNetwork();
virtual void OnDemoPlayerSnapshot(void *pData, int Size);
virtual void OnDemoPlayerMessage(void *pData, int Size);
void Update();
void RegisterInterfaces();
void InitInterfaces();
void Run();
bool CtrlShiftKey(int Key, bool &Last);
2010-05-29 07:25:38 +00:00
static void Con_Connect(IConsole::IResult *pResult, void *pUserData);
static void Con_Disconnect(IConsole::IResult *pResult, void *pUserData);
static void Con_DummyConnect(IConsole::IResult *pResult, void *pUserData);
static void Con_DummyDisconnect(IConsole::IResult *pResult, void *pUserData);
2021-03-17 15:09:39 +00:00
static void Con_DummyResetInput(IConsole::IResult *pResult, void *pUserData);
static void Con_Quit(IConsole::IResult *pResult, void *pUserData);
static void Con_DemoPlay(IConsole::IResult *pResult, void *pUserData);
2016-04-27 15:21:40 +00:00
static void Con_DemoSpeed(IConsole::IResult *pResult, void *pUserData);
static void Con_Minimize(IConsole::IResult *pResult, void *pUserData);
static void Con_Ping(IConsole::IResult *pResult, void *pUserData);
static void Con_Screenshot(IConsole::IResult *pResult, void *pUserData);
2016-08-27 19:10:27 +00:00
#if defined(CONF_VIDEORECORDER)
static void StartVideo(IConsole::IResult *pResult, void *pUserData, const char *pVideName);
2016-08-27 15:51:23 +00:00
static void Con_StartVideo(IConsole::IResult *pResult, void *pUserData);
static void Con_StopVideo(IConsole::IResult *pResult, void *pUserData);
2019-09-28 04:18:38 +00:00
const char *DemoPlayer_Render(const char *pFilename, int StorageType, const char *pVideoName, int SpeedIndex);
2016-08-27 19:10:27 +00:00
#endif
static void Con_Rcon(IConsole::IResult *pResult, void *pUserData);
static void Con_RconAuth(IConsole::IResult *pResult, void *pUserData);
2017-03-06 09:31:05 +00:00
static void Con_RconLogin(IConsole::IResult *pResult, void *pUserData);
static void Con_AddFavorite(IConsole::IResult *pResult, void *pUserData);
static void Con_RemoveFavorite(IConsole::IResult *pResult, void *pUserData);
static void Con_Play(IConsole::IResult *pResult, void *pUserData);
static void Con_Record(IConsole::IResult *pResult, void *pUserData);
static void Con_StopRecord(IConsole::IResult *pResult, void *pUserData);
static void Con_AddDemoMarker(IConsole::IResult *pResult, void *pUserData);
2020-11-19 15:15:07 +00:00
static void Con_BenchmarkQuit(IConsole::IResult *pResult, void *pUserData);
static void ConchainServerBrowserUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainFullscreen(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainWindowBordered(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainWindowScreen(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainWindowVSync(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainTimeoutSeed(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
2018-06-20 06:36:10 +00:00
static void ConchainPassword(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
static void ConchainReplays(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData);
2019-04-21 16:20:53 +00:00
2014-08-12 14:21:06 +00:00
static void Con_DemoSlice(IConsole::IResult *pResult, void *pUserData);
static void Con_DemoSliceBegin(IConsole::IResult *pResult, void *pUserData);
2014-08-12 14:21:06 +00:00
static void Con_DemoSliceEnd(IConsole::IResult *pResult, void *pUserData);
2019-05-20 21:55:40 +00:00
static void Con_SaveReplay(IConsole::IResult *pResult, void *pUserData);
2014-08-12 14:21:06 +00:00
2010-05-29 07:25:38 +00:00
void RegisterCommands();
2010-10-06 21:07:35 +00:00
const char *DemoPlayer_Play(const char *pFilename, int StorageType);
void DemoRecorder_Start(const char *pFilename, bool WithTimestamp, int Recorder);
void DemoRecorder_HandleAutoStart();
void DemoRecorder_StartReplayRecorder();
void DemoRecorder_Stop(int Recorder, bool RemoveFile = false);
void DemoRecorder_AddDemoMarker(int Recorder);
class IDemoRecorder *DemoRecorder(int Recorder);
2010-05-29 07:25:38 +00:00
void AutoScreenshot_Start();
2015-05-19 22:51:02 +00:00
void AutoStatScreenshot_Start();
void AutoScreenshot_Cleanup();
2015-05-19 22:51:02 +00:00
void AutoStatScreenshot_Cleanup();
void AutoCSV_Start();
void AutoCSV_Cleanup();
void ServerBrowserUpdate();
void HandleConnectAddress(const NETADDR *pAddr);
void HandleConnectLink(const char *pLink);
2019-04-10 06:56:20 +00:00
void HandleDemoPath(const char *pPath);
void HandleMapPath(const char *pPath);
// gfx
virtual void SwitchWindowScreen(int Index);
virtual void SetWindowParams(int FullscreenMode, bool IsBorderless);
virtual void ToggleWindowVSync();
virtual void LoadFont();
virtual void Notify(const char *pTitle, const char *pMessage);
2020-11-19 15:15:07 +00:00
void BenchmarkQuit(int Seconds, const char *pFilename);
// DDRace
virtual void GenerateTimeoutSeed();
void GenerateTimeoutCodes();
virtual int GetCurrentRaceTime();
virtual const char *GetCurrentMap() const;
virtual const char *GetCurrentMapPath() const;
virtual SHA256_DIGEST GetCurrentMapSha256() const;
virtual unsigned GetCurrentMapCrc() const;
2017-09-09 21:10:42 +00:00
virtual void RaceRecord_Start(const char *pFilename);
virtual void RaceRecord_Stop();
virtual bool RaceRecord_IsRecording();
virtual void DemoSliceBegin();
virtual void DemoSliceEnd();
virtual void DemoSlice(const char *pDstPath, CLIENTFUNC_FILTER pfnFilter, void *pUser);
virtual void SaveReplay(const int Length);
2014-09-19 22:36:22 +00:00
virtual bool EditorHasUnsavedData() const { return m_pEditor->HasUnsavedData(); }
2015-07-22 20:16:49 +00:00
virtual IFriends *Foes() { return &m_Foes; }
virtual void GetSmoothTick(int *pSmoothTick, float *pSmoothIntraTick, float MixAmount);
virtual SWarning *GetCurWarning();
2010-05-29 07:25:38 +00:00
};
2010-05-29 07:25:38 +00:00
#endif