1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 10:27:45 +00:00

3d:: TEXTURE_STEP_3D is now configurable

This commit is contained in:
Zeno Rogue
2019-05-04 20:22:11 +02:00
parent 89a900958b
commit b10b6386f3
2 changed files with 26 additions and 1 deletions

View File

@@ -1160,6 +1160,7 @@ struct videopar {
ld fov;
bool consider_shader_projection;
int desaturate;
int texture_step;
};
extern videopar vid;
@@ -5041,7 +5042,7 @@ namespace subscreens {
bool split(reaction_t for_each_subscreen);
}
const int TEXTURE_STEP_3D=8;
#define TEXTURE_STEP_3D vid.texture_step
void set_euland3(cell *c, int co0, int co1, int alt, int hash);