This commit is contained in:
2022-07-30 15:49:44 +02:00
parent 83946b1e66
commit ca52e6dae6
5 changed files with 1663 additions and 8 deletions

View File

@ -59,11 +59,13 @@ namespace RenderD7
void SetupBenchmark(int framerate);
bool IsBenchmarkRunning() { return this->benchmark; }
void DrawText(int x, int y, float t_size, u32 color, std::string text);
void DrawDebugText(int x, int y, float t_size, u32 color, std::string text);
void DrawText(int x, int y, int t_size, u32 color, std::string text);
private:
//funcs
bool Decode(Decoder deccc);
void DrawChar(u32 posX, u32 posY, u32 color, char character);
void DrawDebugChar(u32 posX, u32 posY, u32 color, char character);
void DrawChar(u32 posX, u32 posY, int t_size, u32 color, char character);
//parameter
int frame = 0;
RenderD7::Image renderframe;

View File

@ -8,6 +8,7 @@
#include <regex>
#define UNPACK_RGBA(col) (uint8_t) (col >> 24), (col >> 16), (col >> 8), (col)
#define UNPACK_BGRA(col) (uint8_t) (col >> 8), (col >> 16), (col >> 24), (col)
namespace RenderD7
{

File diff suppressed because it is too large Load Diff