Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 1.0 kb
#ifndef __ID_US_H__
#define __ID_US_H__
#define MaxHighName 57
#define MaxScores 7
typedef struct {
char name[MaxHighName + 1];
myint score;
myint completed, episode;
} HighScore;
#define MaxString 128 // Maximum input string size
extern word PrintX,PrintY; // Current printing location in the window
extern word WindowX,WindowY,// Current location of window
WindowW,WindowH;// Current size of window
#define USL_MeasureString VW_MeasurePropString
#define USL_DrawString VW_DrawPropString
extern HighScore Scores[];
void US_Startup(),
US_Shutdown(),
US_InitRndT(boolean randomize),
US_DrawWindow(word x,word y,word w,word h),
US_ClearWindow(void),
US_PrintCentered(const char *s),
US_CPrint(const char *s),
US_CPrintLine(const char *s),
US_Print(const char *s),
US_PrintUnsigned(longword n);
boolean US_LineInput(myint x,myint y,char *buf,const char *def,boolean escok,
myint maxchars,myint maxwidth);
myint US_RndT();
#endif
Jump to Line
Something went wrong with that request. Please try again.