1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

line/circle tools added to the texture editor; grid color changing in texture editor

This commit is contained in:
Zeno Rogue
2018-01-04 12:25:02 +01:00
parent 454e1909d1
commit 3412a50b3d
6 changed files with 136 additions and 21 deletions

View File

@@ -2391,6 +2391,11 @@ namespace texture {
void update();
void drawPixel(cell *c, hyperpoint h, int col);
extern cell *where;
// compute 'c' automatically, based on the hint in 'where'
void drawPixel(hyperpoint h, int col);
void drawLine(hyperpoint h1, hyperpoint h2, int col, int steps = 10);
void remap(eTextureState old_tstate, eTextureState old_tstate_max);
@@ -2399,6 +2404,7 @@ namespace texture {
void undoLock();
void undo();
extern bool texturesym;
extern cpatterntype cgroup;
}