summaryrefslogtreecommitdiff
path: root/src/fpsgame/game.h
diff options
context:
space:
mode:
authorxolatile2025-08-04 18:17:30 +0200
committerxolatile2025-08-04 18:17:30 +0200
commita89dca11cf475e0bd1399cf5d5c5135d00495ec3 (patch)
tree4d551a7f4193bc89a0b8560e955f4f874101b388 /src/fpsgame/game.h
parent9d533fa4d82935a083ff93a09aed95baea9fbfd4 (diff)
downloadxolatile-badassbug-a89dca11cf475e0bd1399cf5d5c5135d00495ec3.tar.xz
xolatile-badassbug-a89dca11cf475e0bd1399cf5d5c5135d00495ec3.tar.zst
Minor changes...
Diffstat (limited to 'src/fpsgame/game.h')
-rw-r--r--src/fpsgame/game.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/fpsgame/game.h b/src/fpsgame/game.h
index 4a09d3f..d99bf70 100644
--- a/src/fpsgame/game.h
+++ b/src/fpsgame/game.h
@@ -569,36 +569,6 @@ namespace entities
namespace game
{
- struct clientmode
- {
- virtual ~clientmode() {}
-
- virtual void preload() {}
- virtual int clipconsole(int w, int h) { return 0; }
- virtual void drawhud(fpsent *d, int w, int h) {}
- virtual void rendergame() {}
- virtual void respawned(fpsent *d) {}
- virtual void setup() {}
- virtual void checkitems(fpsent *d) {}
- virtual int respawnwait(fpsent *d, int delay = 0) { return 0; }
- virtual int getspawngroup(fpsent *d) { return 0; }
- virtual float ratespawn(fpsent *d, const extentity &e) { return 1.0f; }
- virtual void senditems(packetbuf &p) {}
- virtual void removeplayer(fpsent *d) {}
- virtual void died(fpsent *victim, fpsent *actor) {}
- virtual void gameover() {}
- virtual bool hidefrags() { return false; }
- virtual int getteamscore(const char *team) { return 0; }
- virtual void getteamscores(vector<teamscore> &scores) {}
- virtual void aifind(fpsent *d, ai::aistate &b, vector<ai::interest> &interests) {}
- virtual bool aicheck(fpsent *d, ai::aistate &b) { return false; }
- virtual bool aidefend(fpsent *d, ai::aistate &b) { return false; }
- virtual bool aipursue(fpsent *d, ai::aistate &b) { return false; }
- };
-
- extern clientmode *cmode;
- extern void setclientmode();
-
// fps
extern int gamemode, nextmode;
extern string clientmap;
@@ -666,7 +636,6 @@ namespace game
extern void explode(bool local, fpsent *owner, const vec &v, dynent *safe, int dam, int gun);
extern void explodeeffects(int gun, fpsent *d, bool local, int id = 0);
extern void damageeffect(int damage, fpsent *d, bool thirdperson = true);
- //~extern void gibeffect(int damage, const vec &vel, fpsent *d);
extern float intersectdist;
extern bool intersect(dynent *d, const vec &from, const vec &to, float &dist = intersectdist);
extern dynent *intersectclosest(const vec &from, const vec &to, fpsent *at, float &dist = intersectdist);