PICKUP_SHOTGUN
, etc. the client also need them defined i think, so WEAPON_GUN
does not work. and i think PICKUP_SHOTGUN
and PICKUP_GRENADE
are not the numbers from WEAPON_*
, they seem to be switched xd (edited)[4/5] [2] c++ src/game/server/eventhandler.cpp
src/game/server/entities/weapon.cpp:3:42: fatal error: build/src/generated/protocol.h: No such file or directory
compilation terminated.
bam: 'c++ src/game/server/entities/weapon.cpp' error 1
In file included from src/game/server/player.h:9:0,
from src/game/server/entities/character.cpp:8:
src/game/server/entities/weapon.h:6:24: error: invalid use of incomplete type 'clIassn fil eCEntity'
class CWeapon : public CEntity
i nclud ^
ed from src/game/server/player.h:9:0,
I n fi from src/game/server/eventhandler.cpp:5:
src/game/server/entities/weapon.h:6:24: error: invalid use of incomplete tlype 'class CEntity'
class CWeapon : public CEntity
^
eIn file included from src/game/server/player.h:9:0,
from src/game/server/entities/pickup.cpp:5:
src/game/server/entities/weapon.h:6:24: error: invalid use of incomplete type 'class CEnti In file included from src/gameity'
/n class CWeaponcserver/gamecontext.h:13:0,
luded from src/game/server/gamecontext.h:13:0,
: public CEntity
from src/game/server/eventhandler. from src/game/server/entities/character.cpp:6:
c ps ^
prc/game/server/gameworld.h:8:7: note: forward declaration of 'class CEntity'
:4:
Iclass CEntity;
^
nsr file included from src/game/server/gameconctext.h:13:0,
/game/server/gameworld.h:8:7: note: forward declaration of 'class CEntity'
from src/game/server/entities/piclass CEntity;
ckup.cpp:4:
s r c/game/se ^
rver/gameworld.h:8:7: note: forward declaration of 'class CEntity'
class CEntity;
^
src/game/server/entities/character.cpp: In member function 'void CCharacter::HandleTiles(int)':
bam: 'c++ src/game/server/eventhandler.cpp' error 1
#include <generated/protocol.h>
it will throw out even more errors