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
3942bf59
Commit
3942bf59
authored
4 months ago
by
Lactozilla
Browse files
Options
Downloads
Patches
Plain Diff
Change enum back to defines
parent
dca2dbbb
No related branches found
No related tags found
Loading
Checking pipeline status
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doomdata.h
+32
-35
32 additions, 35 deletions
src/doomdata.h
with
32 additions
and
35 deletions
src/doomdata.h
+
32
−
35
View file @
3942bf59
...
@@ -103,53 +103,50 @@ typedef struct
...
@@ -103,53 +103,50 @@ typedef struct
// LineDef attributes.
// LineDef attributes.
//
//
enum
// Solid, is an obstacle.
{
#define ML_IMPASSIBLE 1<<0
// Solid, is an obstacle.
ML_IMPASSIBLE
=
1
<<
0
,
// Blocks monsters only.
// Blocks monsters only.
ML_BLOCKMONSTERS
=
1
<<
1
,
#define
ML_BLOCKMONSTERS
1<<1
// Backside will not be present at all if not two sided.
// Backside will not be present at all if not two sided.
ML_TWOSIDED
=
1
<<
2
,
#define
ML_TWOSIDED
1<<2
// If a texture is pegged, the texture will have
// If a texture is pegged, the texture will have
// the end exposed to air held constant at the
// the end exposed to air held constant at the
// top or bottom of the texture (stairs or pulled
// top or bottom of the texture (stairs or pulled
// down things) and will move with a height change
// down things) and will move with a height change
// of one of the neighbor sectors.
// of one of the neighbor sectors.
// Unpegged textures allways have the first row of
// Unpegged textures allways have the first row of
// the texture at the top pixel of the line for both
// the texture at the top pixel of the line for both
// top and bottom textures (use next to windows).
// top and bottom textures (use next to windows).
// upper texture unpegged
// upper texture unpegged
ML_DONTPEGTOP
=
1
<<
3
,
#define
ML_DONTPEGTOP
1<<3
// lower texture unpegged
// lower texture unpegged
ML_DONTPEGBOTTOM
=
1
<<
4
,
#define
ML_DONTPEGBOTTOM
1<<4
ML_SKEWTD
=
1
<<
5
,
#define
ML_SKEWTD
1<<5
// Don't let Knuckles climb on this line
// Don't let Knuckles climb on this line
ML_NOCLIMB
=
1
<<
6
,
#define
ML_NOCLIMB
1<<6
ML_NOSKEW
=
1
<<
7
,
#define
ML_NOSKEW
1<<7
ML_MIDPEG
=
1
<<
8
,
#define
ML_MIDPEG
1<<8
ML_MIDSOLID
=
1
<<
9
,
#define
ML_MIDSOLID
1<<9
ML_WRAPMIDTEX
=
1
<<
10
,
#define
ML_WRAPMIDTEX
1<<10
ML_NETONLY
=
1
<<
11
,
// Apply effect only in netgames
#define
ML_NETONLY
1<<11 // Apply effect only in netgames
ML_NONET
=
1
<<
12
,
// Apply effect only in single player games
#define
ML_NONET
1<<12 // Apply effect only in single player games
ML_EFFECT6
=
1
<<
13
,
#define
ML_EFFECT6
1<<13
// Bounce off walls!
// Bounce off walls!
ML_BOUNCY
=
1
<<
14
,
#define
ML_BOUNCY
1<<14
ML_TFERLINE
=
1
<<
15
,
#define
ML_TFERLINE
1<<15
ML_CLIPMIDTEX
=
1
<<
16
#define ML_CLIPMIDTEX 1<<16
};
// Sector definition, from editing.
// Sector definition, from editing.
typedef
struct
typedef
struct
...
...
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