mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Init the client game export for scores and CG message
This commit is contained in:
parent
cf009a4628
commit
00b926db29
2 changed files with 5 additions and 7 deletions
|
@ -832,9 +832,10 @@ void CG_GetScoreBoardColor(float* fR, float* fG, float* fB, float* fA);
|
|||
void CG_GetScoreBoardFontColor(float* fR, float* fG, float* fB, float* fA);
|
||||
void CG_GetScoreBoardPosition(float* fX, float* fY, float* fW, float* fH);
|
||||
int CG_GetScoreBoardDrawHeader();
|
||||
const char* CG_GetColumnName(int iColumnNum, int* iColumnWidth);
|
||||
//const char* CG_GetColumnName(int iColumnNum, int* iColumnWidth);
|
||||
void CG_PrepScoreBoardInfo();
|
||||
void CG_ParseScores();
|
||||
void CG_InitScoresAPI(clientGameExport_t* cge);
|
||||
|
||||
//
|
||||
// cg_specialfx.cpp
|
||||
|
|
|
@ -687,7 +687,6 @@ clientGameExport_t *GetCGameAPI(void)
|
|||
cge.CG_EyeOffset = CG_EyeOffset;
|
||||
cge.CG_EyeAngles = CG_EyeAngles;
|
||||
cge.CG_SensitivityScale = CG_SensitivityScale;
|
||||
cge.CG_ParseCGMessage = CG_ParseCGMessage;
|
||||
cge.CG_RefreshHudDrawElements = CG_RefreshHudDrawElements;
|
||||
cge.CG_HudDrawShader = CG_HudDrawShader;
|
||||
cge.CG_HudDrawFont = CG_HudDrawFont;
|
||||
|
@ -699,14 +698,12 @@ clientGameExport_t *GetCGameAPI(void)
|
|||
cge.CG_EndTiki = CG_EndTiki;
|
||||
cge.CG_GetParent = CG_GetParent;
|
||||
cge.CG_GetObjectiveAlpha = CG_GetObjectiveAlpha;
|
||||
cge.CG_GetColumnName = CG_GetColumnName;
|
||||
cge.CG_GetScoreBoardColor = CG_GetScoreBoardColor;
|
||||
cge.CG_GetScoreBoardFontColor = CG_GetScoreBoardFontColor;
|
||||
cge.CG_GetScoreBoardPosition = CG_GetScoreBoardPosition;
|
||||
cge.CG_GetScoreBoardDrawHeader = CG_GetScoreBoardDrawHeader;
|
||||
cge.CG_WeaponCommandButtonBits = CG_WeaponCommandButtonBits;
|
||||
cge.CG_CheckCaptureKey = CG_CheckCaptureKey;
|
||||
|
||||
CG_InitCGMessageAPI(&cge);
|
||||
CG_InitScoresAPI(&cge);
|
||||
|
||||
// FIXME
|
||||
//cge.profStruct = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue