Skip to content
Snippets Groups Projects
Commit 5bb221b3 authored by James R.'s avatar James R.
Browse files

Yeah Fuck You SEENAMES

parent a86a7822
Branches
Tags
1 merge request!1307Hooklib refactor
...@@ -120,9 +120,7 @@ int LUA_HookPlayerCanDamage(player_t *, mobj_t *); ...@@ -120,9 +120,7 @@ int LUA_HookPlayerCanDamage(player_t *, mobj_t *);
void LUA_HookPlayerQuit(player_t *, kickreason_t); void LUA_HookPlayerQuit(player_t *, kickreason_t);
int LUA_HookTeamSwitch(player_t *, int newteam, boolean fromspectators, boolean tryingautobalance, boolean tryingscramble); int LUA_HookTeamSwitch(player_t *, int newteam, boolean fromspectators, boolean tryingautobalance, boolean tryingscramble);
int LUA_HookViewpointSwitch(player_t *player, player_t *newdisplayplayer, boolean forced); int LUA_HookViewpointSwitch(player_t *player, player_t *newdisplayplayer, boolean forced);
#ifdef SEENAMES
int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend); int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend);
#endif
int LUA_HookShouldJingleContinue(player_t *, const char *musname); int LUA_HookShouldJingleContinue(player_t *, const char *musname);
int LUA_HookPlayerCmd(player_t *, ticcmd_t *); int LUA_HookPlayerCmd(player_t *, ticcmd_t *);
int LUA_HookMusicChange(const char *oldname, struct MusicChange *); int LUA_HookMusicChange(const char *oldname, struct MusicChange *);
...@@ -947,7 +947,6 @@ int LUA_HookViewpointSwitch(player_t *player, player_t *newdisplayplayer, boolea ...@@ -947,7 +947,6 @@ int LUA_HookViewpointSwitch(player_t *player, player_t *newdisplayplayer, boolea
return hook.status; return hook.status;
} }
#ifdef SEENAMES
int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend) int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend)
{ {
Hook_State hook; Hook_State hook;
...@@ -962,7 +961,6 @@ int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend) ...@@ -962,7 +961,6 @@ int LUA_HookSeenPlayer(player_t *player, player_t *seenfriend)
} }
return hook.status; return hook.status;
} }
#endif // SEENAMES
int LUA_HookShouldJingleContinue(player_t *player, const char *musname) int LUA_HookShouldJingleContinue(player_t *player, const char *musname)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment