| 360 | COMMAND(unlistdeletedentity, "s"); |
| 361 | |
| 362 | int findtype(const char *what) |
| 363 | { |
| 364 | int t = getlistindex(what, entnames, true, NOTUSED); |
| 365 | if(t == NOTUSED) conoutf("unknown entity type \"%s\"", what); |
| 366 | return t; |
| 367 | } |
| 368 | |
| 369 | VAR(_nextentityispasted,0,0,1);// so copyent/pasteent can keep all attributes |
| 370 | void newentity(int index, int x, int y, int z, const char *what, float v1f, float v2f, float v3f, float v4f, float v5f, float v6f, float v7f) // add an entity or overwrite an existing one |
no test coverage detected