This commit is contained in:
the me 2022-08-15 18:01:09 -07:00
parent 0ead044da1
commit 51cc3f3ca6
20 changed files with 278 additions and 33 deletions

View file

@ -11,6 +11,18 @@ function c_selectunit(unitobject) {
}
}
}
ARTICULATOR.selectedunit = unitobject;
}
function c_deselectunit(unitobject) {
if ARTICULATOR.selectedunit != unitobject return false
state = st_standing;
drawstate = c_null;
c_decolor_all(c_cyan);
c_decolor_all(c_red);
c_decolor_all(c_green);
ARTICULATOR.selectedunit = noone;
return true;
}
function c_colortile(x, y, color) {