mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
Inline drawrooms() wrapper
git-svn-id: https://svn.eduke32.com/eduke32@6759 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a2dbe93dd6
commit
ef853e8b92
2 changed files with 5 additions and 8 deletions
|
@ -1070,7 +1070,11 @@ void preparemirror(int32_t dax, int32_t day, fix16_t daang, int16_t dawall,
|
|||
void completemirror(void);
|
||||
|
||||
int32_t drawrooms_q16(int32_t daposx, int32_t daposy, int32_t daposz, fix16_t daang, fix16_t dahoriz, int16_t dacursectnum);
|
||||
int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz, int16_t daang, int16_t dahoriz, int16_t dacursectnum);
|
||||
|
||||
static FORCE_INLINE int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz, int16_t daang, int16_t dahoriz, int16_t dacursectnum)
|
||||
{
|
||||
return drawrooms_q16(daposx, daposy, daposz, fix16_from_int(daang), fix16_from_int(dahoriz), dacursectnum);
|
||||
}
|
||||
|
||||
void drawmasks(void);
|
||||
void clearview(int32_t dacol);
|
||||
|
|
|
@ -7919,13 +7919,6 @@ void set_globalang(fix16_t ang)
|
|||
//
|
||||
// drawrooms
|
||||
//
|
||||
|
||||
int32_t drawrooms(int32_t daposx, int32_t daposy, int32_t daposz,
|
||||
int16_t daang, int16_t dahoriz, int16_t dacursectnum)
|
||||
{
|
||||
return drawrooms_q16(daposx, daposy, daposz, fix16_from_int(daang), fix16_from_int(dahoriz), dacursectnum);
|
||||
}
|
||||
|
||||
int32_t drawrooms_q16(int32_t daposx, int32_t daposy, int32_t daposz,
|
||||
fix16_t daang, fix16_t dahoriz, int16_t dacursectnum)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue