mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +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;
|
||||
|
||||
|
|
|
@ -26,4 +26,4 @@ void JPEG_ErrorExit (j_common_ptr cinfo);
|
|||
void JPEG_OutputMessage (j_common_ptr cinfo);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -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