mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-20 00:11:32 +00:00
DrawAltString const fix
This commit is contained in:
parent
ff70128bb9
commit
97967c37c1
3 changed files with 10 additions and 10 deletions
|
@ -36,7 +36,7 @@ extern int edit_line;
|
||||||
extern int key_linepos;
|
extern int key_linepos;
|
||||||
|
|
||||||
void
|
void
|
||||||
DrawStringScaled(int x, int y, char *s, float factor)
|
DrawStringScaled(int x, int y, const char *s, float factor)
|
||||||
{
|
{
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
@ -47,7 +47,7 @@ DrawStringScaled(int x, int y, char *s, float factor)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
DrawAltStringScaled(int x, int y, char *s, float factor)
|
DrawAltStringScaled(int x, int y, const char *s, float factor)
|
||||||
{
|
{
|
||||||
while (*s)
|
while (*s)
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,7 +292,7 @@ CL_RequestNextDownload(void)
|
||||||
precache_check = CS_PLAYERSKINS;
|
precache_check = CS_PLAYERSKINS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* skins are special, since a player has three
|
/* skins are special, since a player has three
|
||||||
things to download: model, weapon model and
|
things to download: model, weapon model and
|
||||||
skin so precache_check is now *3 */
|
skin so precache_check is now *3 */
|
||||||
if ((precache_check >= CS_PLAYERSKINS) &&
|
if ((precache_check >= CS_PLAYERSKINS) &&
|
||||||
|
@ -547,7 +547,7 @@ CL_DownloadFileName(char *dest, int destlen, char *fn)
|
||||||
* to start a download from the server.
|
* to start a download from the server.
|
||||||
*/
|
*/
|
||||||
qboolean
|
qboolean
|
||||||
CL_CheckOrDownloadFile(char *filename)
|
CL_CheckOrDownloadFile(const char *filename)
|
||||||
{
|
{
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
char name[MAX_OSPATH];
|
char name[MAX_OSPATH];
|
||||||
|
@ -624,7 +624,7 @@ CL_CheckOrDownloadFile(char *filename)
|
||||||
COM_StripExtension(cls.downloadname, cls.downloadtempname);
|
COM_StripExtension(cls.downloadname, cls.downloadtempname);
|
||||||
strcat(cls.downloadtempname, ".tmp");
|
strcat(cls.downloadtempname, ".tmp");
|
||||||
|
|
||||||
/* check to see if we already have a tmp for this
|
/* check to see if we already have a tmp for this
|
||||||
file, if so, try to resume and open the file if
|
file, if so, try to resume and open the file if
|
||||||
not opened yet */
|
not opened yet */
|
||||||
CL_DownloadFileName(name, sizeof(name), cls.downloadtempname);
|
CL_DownloadFileName(name, sizeof(name), cls.downloadtempname);
|
||||||
|
|
|
@ -338,11 +338,11 @@ extern sizebuf_t net_message;
|
||||||
|
|
||||||
extern qboolean paused_at_load;
|
extern qboolean paused_at_load;
|
||||||
|
|
||||||
void DrawString (int x, int y, char *s);
|
void DrawString (int x, int y, const char *s);
|
||||||
void DrawStringScaled(int x, int y, char *s, float factor);
|
void DrawStringScaled(int x, int y, const char *s, float factor);
|
||||||
void DrawAltString (int x, int y, char *s); /* toggle high bit */
|
void DrawAltString (int x, int y, const char *s); /* toggle high bit */
|
||||||
void DrawAltStringScaled(int x, int y, char *s, float factor);
|
void DrawAltStringScaled(int x, int y, const char *s, float factor);
|
||||||
qboolean CL_CheckOrDownloadFile (char *filename);
|
qboolean CL_CheckOrDownloadFile (const char *filename);
|
||||||
|
|
||||||
void CL_AddNetgraph (void);
|
void CL_AddNetgraph (void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue