remove some xchar vestiges

This commit is contained in:
nhmall
2025-01-14 12:13:39 -05:00
parent b2f4b687c1
commit d2aff9a9b2
8 changed files with 13 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ int amii_doprev_message (void);
void amii_display_nhwindow(winid , boolean );
void amii_display_file(const char * , boolean );
void amii_curs(winid , int , int );
void amii_print_glyph(winid , xchar , xchar , int, int );
void amii_print_glyph(winid , coordxy , coordxy , int, int );
void DoMenuScroll(int , int );
void DisplayData(int , int , int );
void SetPropInfo(struct Window * , struct Gadget * , long , long , long );

View File

@@ -1515,8 +1515,7 @@ boolean blocking;
void
amii_curs(window, x, y)
winid window;
register int x, y; /* not xchar: perhaps xchar is unsigned and
curx-x would be unsigned as well */
register int x, y;
{
register struct amii_WinDesc *cw;
register struct Window *w;
@@ -1954,7 +1953,7 @@ port_help()
void
amii_print_glyph(win, x, y, glyph, bkglyph)
winid win;
xchar x, y;
coordxy x, y;
int glyph, bkglyph;
{
struct amii_WinDesc *cw;

View File

@@ -101,7 +101,7 @@ void amii_resume_nhwindows(void);
void amii_bell(void);
void removetopl(int cnt);
void port_help(void);
void amii_print_glyph(winid win, xchar x, xchar y, int glyph, int bkglyph);
void amii_print_glyph(winid win, coordxy x, coordxy y, int glyph, int bkglyph);
void amii_raw_print(const char *s);
void amii_raw_print_bold(const char *s);
void amii_update_inventory(void);

View File

@@ -1192,7 +1192,7 @@ restore_savefile()
{
static int savelev;
long saveTemp, lev;
xchar levc;
xint8 levc;
struct version_info version_data;
/* level 0 file contains:
@@ -1264,7 +1264,7 @@ restore_savefile()
levRefNum = open_levelfile(lev);
if (levRefNum >= 0) {
/* any or all of these may not exist */
levc = (xchar) lev;
levc = (xint8) lev;
(void) write_savefile(saveRefNum, (Ptr) &levc, sizeof(levc));