cleanup edithide
- replace by simple bitmask
- rewrite showedithide, setedithide and seteditshow in cubescript
- menu added for convenient use
setedithide and seteditshow no longer accept entity type numbers as
parameters - only entity type names
showedithide, setedithide and seteditshow are considered deprecated
edithideentmask
Integer variable containing a bitmask of hidden entity types.
DOCREF showedithide setedithide seteditshow edithideentmask
This commit is contained in:
@@ -38,7 +38,6 @@ extern vector<bounceent *> bounceents;
|
||||
extern bool editmode;
|
||||
extern int unsavededits;
|
||||
extern vector<entity> ents; // map entities
|
||||
extern vector<int> eh_ents; // edithide entities
|
||||
extern vec worldpos, camup, camright, camdir; // current target of the crosshair in the world
|
||||
extern int lastmillis, totalmillis, skipmillis; // last time
|
||||
extern int curtime; // current frame time
|
||||
|
||||
Reference in New Issue
Block a user