mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-03 01:41:15 +00:00
v_draw.hpp: fix r_draw.h being included inside srb2 namespace
This commit is contained in:
parent
69c3aaf4f2
commit
76b0639d78
2 changed files with 7 additions and 2 deletions
|
|
@ -256,8 +256,8 @@ private:
|
|||
static fixed_t font_width(Font font, INT32 flags, const char* string);
|
||||
};
|
||||
|
||||
#include "v_draw_setter.hpp"
|
||||
|
||||
}; // namespace srb2
|
||||
|
||||
#include "v_draw_setter.hpp"
|
||||
|
||||
#endif // __V_DRAW_HPP__
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
|
||||
#include "r_draw.h" // R_GetTranslationColormap
|
||||
|
||||
namespace srb2
|
||||
{
|
||||
|
||||
inline Draw::Chain& Draw::Chain::x(float x)
|
||||
{
|
||||
x_ += x;
|
||||
|
|
@ -115,4 +118,6 @@ inline Draw::Chain& Draw::Chain::colorize(skincolornum_t color)
|
|||
return colormap(R_GetTranslationColormap(TC_RAINBOW, color, GTC_CACHE));
|
||||
}
|
||||
|
||||
}; // namespace srb2
|
||||
|
||||
#endif // __V_DRAW_SETTER_HPP__
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue