mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
GCC fixes for recent code changes.
SVN r316 (trunk)
This commit is contained in:
parent
b1e564d907
commit
a2fbb8c880
4 changed files with 15 additions and 15 deletions
|
@ -666,7 +666,7 @@ void AddToConsole (int printlevel, const char *text)
|
|||
|
||||
char *work_p;
|
||||
char *linestart;
|
||||
FString cc = 'A' + CR_TAN;
|
||||
FString cc('A' + char(CR_TAN));
|
||||
int size, len;
|
||||
int x;
|
||||
int maxwidth;
|
||||
|
|
|
@ -3703,7 +3703,7 @@ int DLevelScript::RunScript ()
|
|||
|
||||
case PCD_PRINTCOLOR:
|
||||
work += TEXTCOLOR_ESCAPE;
|
||||
work += 'A' + CLAMPCOLOR(STACK(1));
|
||||
work += 'A' + char(CLAMPCOLOR(STACK(1)));
|
||||
sp--;
|
||||
break;
|
||||
|
||||
|
|
|
@ -110,6 +110,18 @@ protected:
|
|||
void MakeTexture ();
|
||||
};
|
||||
|
||||
struct TempParmInfo
|
||||
{
|
||||
unsigned int StartParm[2];
|
||||
unsigned int ParmLen[2];
|
||||
int Index;
|
||||
};
|
||||
struct TempColorInfo
|
||||
{
|
||||
FName Name;
|
||||
unsigned int ParmInfo;
|
||||
};
|
||||
|
||||
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
|
||||
|
||||
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
|
||||
|
@ -1569,18 +1581,6 @@ wrong:
|
|||
|
||||
void V_InitFontColors ()
|
||||
{
|
||||
struct TempParmInfo
|
||||
{
|
||||
unsigned int StartParm[2];
|
||||
unsigned int ParmLen[2];
|
||||
int Index;
|
||||
};
|
||||
struct TempColorInfo
|
||||
{
|
||||
FName Name;
|
||||
unsigned int ParmInfo;
|
||||
};
|
||||
|
||||
TArray<FName> names;
|
||||
int lump, lastlump = 0;
|
||||
TranslationParm tparm;
|
||||
|
|
Loading…
Reference in a new issue