- First commit to gitea

This commit is contained in:
2026-02-12 10:51:02 +01:00
commit a16a5a4102
40 changed files with 10033 additions and 0 deletions

26
renderer.h Normal file
View File

@@ -0,0 +1,26 @@
#pragma once
#include "common.h"
#define RENDER_NONE 0
#define RENDER_LIGHT 1
#define RENDER_FILL 2
#define RENDER_DEPTH 4
#define RENDER_BLEND 8
#define RENDER_TEXTURE 16
namespace Renderer
{
typedef unsigned char State;
bool Light(const char state = QUERY);
bool Fill(const char state = QUERY);
bool Depth(const char state = QUERY);
bool Blend(const char state = QUERY);
bool Texture(const char state = QUERY);
void Push();
void Pop();
void SetState(const State& state);
State GetState();
}