From c5386a0446f2541dff8621ba6c8d664321192321 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 6 Nov 2021 04:26:37 +0100 Subject: [PATCH] Add surfaceflags used in upstream Nuclide... --- vvm.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/vvm.cpp b/vvm.cpp index a0c381a..3034b88 100644 --- a/vvm.cpp +++ b/vvm.cpp @@ -4641,7 +4641,22 @@ bool parsemeshfield(const char *tok, char **line, meshprop &spec, bool defaults) else if (!strcasecmp(tok, "surfaceflags")) { bitnames surfaceflagnames[] = { - {"fte", "nodraw", 0x00000080},{"q3", "nodraw", 0x00000080}, + {"fte", "nodraw", 0x00000080},{"q3", "nodraw", 0x00000080}, + {"", "alien", 0x10000000 }, + {"", "flesh", 0x20000000 }, + {"", "foliage", 0x30000000 }, + {"", "computer", 0x40000000 }, + {"", "dirt", 0x50000000 }, + {"", "vent", 0x60000000 }, + {"", "grate", 0x70000000 }, + {"", "metal", 0x80000000 }, + {"", "glass", 0x90000000 }, + {"", "sand", 0xA0000000 }, + {"", "slosh", 0xB0000000 }, + {"", "snow", 0xC0000000 }, + {"", "tile", 0xD0000000 }, + {"", "wood", 0xE0000000 }, + {"", "concrete", 0xF0000000 }, {NULL} }; spec.surfaceflags = parsebits(surfaceflagnames, line);