summaryrefslogtreecommitdiff
path: root/src/fpsgame/entities.cpp
diff options
context:
space:
mode:
authorxolatile2025-08-05 01:05:35 +0200
committerxolatile2025-08-05 01:05:35 +0200
commit6762e292d02e37a69a807e01493d4e14319cca33 (patch)
tree6be0e9914ababfe279644172f6eee9c2d0de9ef5 /src/fpsgame/entities.cpp
parentd309df4ce4d8ad0ed995a8e1c4267412a7782021 (diff)
downloadxolatile-badassbug-6762e292d02e37a69a807e01493d4e14319cca33.tar.xz
xolatile-badassbug-6762e292d02e37a69a807e01493d4e14319cca33.tar.zst
Do not compile, deleting stuff...
Diffstat (limited to 'src/fpsgame/entities.cpp')
-rw-r--r--src/fpsgame/entities.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/fpsgame/entities.cpp b/src/fpsgame/entities.cpp
index dc0e175..93e3dc9 100644
--- a/src/fpsgame/entities.cpp
+++ b/src/fpsgame/entities.cpp
@@ -8,20 +8,6 @@ namespace entities
int extraentinfosize() { return 0; } // size in bytes of what the 2 methods below read/write... so it can be skipped by other games
- void writeent(entity &e, char *buf) // write any additional data to disk (except for ET_ ents)
- {
- }
-
- void readent(entity &e, char *buf, int ver) // read from disk, and init
- {
- if(ver <= 30) switch(e.type)
- {
- case TELEDEST:
- e.attr1 = (int(e.attr1)+180)%360;
- break;
- }
- }
-
#ifndef STANDALONE
vector<extentity *> ents;
@@ -439,7 +425,7 @@ namespace entities
{
static const char * const entnames[] =
{
- "none?", "light", "mapmodel", "playerstart", "envmap", "particles", "sound", "spotlight",
+ "none?", "light", "mapmodel", "playerstart", "none?", "particles", "sound", "spotlight",
"shells", "bullets", "rockets", "riflerounds", "grenades", "cartridges",
"health", "healthboost", "tinyhealth", "tinyarmour", "greenarmour", "yellowarmour", "quaddamage",
"teleport", "teledest",