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
Package registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rem
SRB2
Commits
31d115bb
Commit
31d115bb
authored
9 years ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
remove static keyword from p_slopes.c's functions
parent
b64f45c8
Branches
Branches containing commit
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p_slopes.c
+3
-3
3 additions, 3 deletions
src/p_slopes.c
with
3 additions
and
3 deletions
src/p_slopes.c
+
3
−
3
View file @
31d115bb
...
...
@@ -46,14 +46,14 @@ static pslope_t *slopelist = NULL;
static
UINT16
slopecount
=
0
;
// Calculate line normal
static
void
P_CalculateSlopeNormal
(
pslope_t
*
slope
)
{
void
P_CalculateSlopeNormal
(
pslope_t
*
slope
)
{
slope
->
normal
.
z
=
FINECOSINE
(
slope
->
zangle
>>
ANGLETOFINESHIFT
);
slope
->
normal
.
x
=
-
FixedMul
(
FINESINE
(
slope
->
zangle
>>
ANGLETOFINESHIFT
),
slope
->
d
.
x
);
slope
->
normal
.
y
=
-
FixedMul
(
FINESINE
(
slope
->
zangle
>>
ANGLETOFINESHIFT
),
slope
->
d
.
y
);
}
// With a vertex slope that has its vertices set, configure relevant slope info
static
void
P_ReconfigureVertexSlope
(
pslope_t
*
slope
)
void
P_ReconfigureVertexSlope
(
pslope_t
*
slope
)
{
vector3_t
vec1
,
vec2
;
...
...
@@ -543,7 +543,7 @@ void P_SpawnSlope_Line(int linenum)
//
// Creates a new slope from three vertices with the specified IDs
//
static
pslope_t
*
P_NewVertexSlope
(
INT16
tag1
,
INT16
tag2
,
INT16
tag3
,
UINT8
flags
)
pslope_t
*
P_NewVertexSlope
(
INT16
tag1
,
INT16
tag2
,
INT16
tag3
,
UINT8
flags
)
{
size_t
i
;
mapthing_t
*
mt
=
mapthings
;
...
...
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