OSD: retire OSD_GetFmt(), OSD_GetFmtPtr() and OSD_GetTextPtr() functions.

These were too much "looking into the implementation of a module" for my
taste, hence OSD_GetShadePal() earlier.

git-svn-id: https://svn.eduke32.com/eduke32@4138 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-11-04 22:56:10 +00:00
parent d4c2749b94
commit e19a271a86
2 changed files with 0 additions and 19 deletions

View file

@ -95,10 +95,6 @@ void OSD_SetTextMode(int32_t mode);
int32_t OSD_Exec(const char *szScript); int32_t OSD_Exec(const char *szScript);
char *OSD_GetFmt(char *ptr);
char *OSD_GetTextPtr(void);
char *OSD_GetFmtPtr(void);
// Get shade and pal index from the OSD format buffer. // Get shade and pal index from the OSD format buffer.
void OSD_GetShadePal(const char *ch, int32_t *shadeptr, int32_t *palptr); void OSD_GetShadePal(const char *ch, int32_t *shadeptr, int32_t *palptr);

View file

@ -278,21 +278,6 @@ int32_t OSD_OSDKey(void)
return osdkey; return osdkey;
} }
char *OSD_GetTextPtr(void)
{
return osdtext;
}
char *OSD_GetFmtPtr(void)
{
return osdfmt;
}
char *OSD_GetFmt(char *ptr)
{
return (ptr - osdtext + osdfmt);
}
int32_t OSD_GetCols(void) int32_t OSD_GetCols(void)
{ {
return osdcols; return osdcols;