Fix typings for map index

This commit is contained in:
toaster 2022-12-18 14:25:38 +00:00
parent ecfcc1356b
commit f9bdfd8a50
2 changed files with 6 additions and 6 deletions

View file

@ -702,9 +702,9 @@ extern struct levellist_s {
} levellist;
boolean M_CanShowLevelInList(INT16 mapnum, UINT32 tol, cupheader_t *cup);
INT16 M_CountLevelsToShowInList(UINT32 tol, cupheader_t *cup);
INT16 M_GetFirstLevelInList(UINT8 *i, UINT32 tol, cupheader_t *cup);
INT16 M_GetNextLevelInList(INT16 map, UINT8 *i, UINT32 tol, cupheader_t *cup);
UINT16 M_CountLevelsToShowInList(UINT32 tol, cupheader_t *cup);
UINT16 M_GetFirstLevelInList(UINT8 *i, UINT32 tol, cupheader_t *cup);
UINT16 M_GetNextLevelInList(UINT16 map, UINT8 *i, UINT32 tol, cupheader_t *cup);
void M_LevelSelectInit(INT32 choice);
void M_CupSelectHandler(INT32 choice);

View file

@ -3378,7 +3378,7 @@ boolean M_CanShowLevelInList(INT16 mapnum, UINT32 tol, cupheader_t *cup)
return true;
}
INT16 M_CountLevelsToShowInList(UINT32 tol, cupheader_t *cup)
UINT16 M_CountLevelsToShowInList(UINT32 tol, cupheader_t *cup)
{
INT16 i, count = 0;
@ -3401,7 +3401,7 @@ INT16 M_CountLevelsToShowInList(UINT32 tol, cupheader_t *cup)
return count;
}
INT16 M_GetFirstLevelInList(UINT8 *i, UINT32 tol, cupheader_t *cup)
UINT16 M_GetFirstLevelInList(UINT8 *i, UINT32 tol, cupheader_t *cup)
{
INT16 mapnum = NEXTMAP_INVALID;
@ -3427,7 +3427,7 @@ INT16 M_GetFirstLevelInList(UINT8 *i, UINT32 tol, cupheader_t *cup)
return mapnum;
}
INT16 M_GetNextLevelInList(INT16 map, UINT8 *i, UINT32 tol, cupheader_t *cup)
UINT16 M_GetNextLevelInList(UINT16 map, UINT8 *i, UINT32 tol, cupheader_t *cup)
{
if (cup)
{