Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
5bb221b3
Commit
5bb221b3
authored
4 years ago
by
James R.
Browse files
Options
Downloads
Patches
Plain Diff
Yeah Fuck You SEENAMES
parent
a86a7822
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1307
Hooklib refactor
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lua_hook.h
+0
-2
0 additions, 2 deletions
src/lua_hook.h
src/lua_hooklib.c
+0
-2
0 additions, 2 deletions
src/lua_hooklib.c
with
0 additions
and
4 deletions
src/lua_hook.h
+
0
−
2
View file @
5bb221b3
...
@@ -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
*
);
This diff is collapsed.
Click to expand it.
src/lua_hooklib.c
+
0
−
2
View file @
5bb221b3
...
@@ -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
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment