Commit 99c9eb09 authored by Steven Fuller's avatar Steven Fuller

Few more cleanups, dead code removal..

parent 198b980c
......@@ -157,18 +157,6 @@ void US_PrintUnsigned(longword n)
US_Print(ultoa(n,buffer,10));
}
///////////////////////////////////////////////////////////////////////////
//
// US_PrintSigned() - Prints a signed long
//
///////////////////////////////////////////////////////////////////////////
void US_PrintSigned(long n)
{
char buffer[32];
US_Print(ltoa(n,buffer,10));
}
///////////////////////////////////////////////////////////////////////////
//
// USL_PrintInCenter() - Prints a string in the center of the given rect
......
......@@ -6,24 +6,15 @@
#define MaxHighName 57
#define MaxScores 7
typedef struct
{
typedef struct {
char name[MaxHighName + 1];
long score;
word completed,episode;
} HighScore;
} HighScore;
#define MaxString 128 // Maximum input string size
typedef struct
{
int x,y,
w,h,
px,py;
} WindowRec; // Record used to save & restore screen windows
extern boolean ingame, // Set by game code if a game is in progress
abortgame, // Set if a game load failed
loadedgame, // Set if the current game was loaded
NoWait;
extern word PrintX,PrintY; // Current printing location in the window
......@@ -36,7 +27,6 @@ extern void (*USL_MeasureString)(char *,word *,word *),
extern HighScore Scores[];
void US_Startup(void),
US_Setup(void),
US_Shutdown(void),
US_InitRndT(boolean randomize),
US_DrawWindow(word x,word y,word w,word h),
......@@ -45,9 +35,7 @@ void US_Startup(void),
US_CPrint(char *s),
US_CPrintLine(char *s),
US_Print(char *s),
US_PrintUnsigned(longword n),
US_PrintSigned(long n),
US_CheckHighScore(long score,word other);
US_PrintUnsigned(longword n);
boolean US_LineInput(int x,int y,char *buf,char *def,boolean escok,
int maxchars,int maxwidth);
int US_CheckParm(char *parm,char **strings),
......
......@@ -138,14 +138,6 @@ SetSoundLoc(fixed gx,fixed gy)
x = ATABLEMAX - 1;
leftchannel = lefttable[x][y + ATABLEMAX];
rightchannel = righttable[x][y + ATABLEMAX];
#if 0
CenterWindow(8,1);
US_PrintSigned(leftchannel);
US_Print(",");
US_PrintSigned(rightchannel);
VW_UpdateScreen();
#endif
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment