status display - port modules (trunk only)

Introduction of a new set of window port status display
routines.  The new routines are conditional on
	STATUS_VIA_WINDOWPORT
being defined in config.h. See the experimental section,
where the #define resides for the time being.
This commit is contained in:
nethack.allison
2003-11-23 06:47:13 +00:00
parent 5ed547995d
commit 586a805c8f
10 changed files with 66 additions and 3 deletions

View File

@@ -81,7 +81,13 @@ struct window_procs amii_procs =
amii_outrip,
genl_preference_update,
genl_getmsghistory,
genl_putmsghistory
genl_putmsghistory,
#ifdef STATUS_VIA_WINDOWPORT
genl_status_init,
genl_status_finish,
genl_status_enablefield,
genl_status_update,
#endif
};
/* The view window layout uses the same function names so we can use
@@ -142,7 +148,13 @@ struct window_procs amiv_procs =
amii_outrip,
genl_preference_update,
genl_getmsghistory,
genl_putmsghistory
genl_putmsghistory,
#ifdef STATUS_VIA_WINDOWPORT
genl_status_init,
genl_status_finish,
genl_status_enablefield,
genl_status_update,
#endif
};
unsigned short amii_initmap[ AMII_MAXCOLORS ];