mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 09:21:36 +00:00
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:
parent
d4c2749b94
commit
e19a271a86
2 changed files with 0 additions and 19 deletions
|
@ -95,10 +95,6 @@ void OSD_SetTextMode(int32_t mode);
|
|||
|
||||
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.
|
||||
void OSD_GetShadePal(const char *ch, int32_t *shadeptr, int32_t *palptr);
|
||||
|
||||
|
|
|
@ -278,21 +278,6 @@ int32_t OSD_OSDKey(void)
|
|||
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)
|
||||
{
|
||||
return osdcols;
|
||||
|
|
Loading…
Reference in a new issue