mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
...too much MISSIONPACK ifdeffery.
This commit is contained in:
parent
468da0fabc
commit
411d20bec6
1 changed files with 0 additions and 4 deletions
|
@ -1682,18 +1682,14 @@ static void CG_FeederSelection(float feederID, int index) {
|
||||||
cg.selectedScore = index;
|
cg.selectedScore = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef MISSIONPACK
|
|
||||||
static float CG_Cvar_Get(const char *cvar) {
|
static float CG_Cvar_Get(const char *cvar) {
|
||||||
char buff[128];
|
char buff[128];
|
||||||
memset(buff, 0, sizeof(buff));
|
memset(buff, 0, sizeof(buff));
|
||||||
trap_Cvar_VariableStringBuffer(cvar, buff, sizeof(buff));
|
trap_Cvar_VariableStringBuffer(cvar, buff, sizeof(buff));
|
||||||
return atof(buff);
|
return atof(buff);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef MISSIONPACK
|
|
||||||
void CG_Text_PaintWithCursor(float x, float y, float scale, vec4_t color, const char *text, int cursorPos, char cursor, int limit, int style) {
|
void CG_Text_PaintWithCursor(float x, float y, float scale, vec4_t color, const char *text, int cursorPos, char cursor, int limit, int style) {
|
||||||
CG_Text_Paint(x, y, scale, color, text, 0, limit, style);
|
CG_Text_Paint(x, y, scale, color, text, 0, limit, style);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue