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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kaldrum
SRB2
Commits
2d17c751
Commit
2d17c751
authored
Feb 18, 2024
by
Logan Aerl Arias
Browse files
Options
Downloads
Patches
Plain Diff
Update r_defs.h
add back pic_t
parent
6763aaef
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/r_defs.h
+24
-0
24 additions, 0 deletions
src/r_defs.h
with
24 additions
and
0 deletions
src/r_defs.h
+
24
−
0
View file @
2d17c751
...
...
@@ -25,6 +25,10 @@
#include
"screen.h"
// MAXVIDWIDTH, MAXVIDHEIGHT
#ifdef HWRENDER
#include
"m_aatree.h"
#endif
#include
"taglist.h"
//
...
...
@@ -902,6 +906,26 @@ typedef struct
// the [0] is &columnofs[width]
}
ATTRPACK
softwarepatch_t
;
#ifdef _MSC_VER
#pragma warning(disable : 4200)
#endif
// a pic is an unmasked block of pixels, stored in horizontal way
typedef
struct
{
INT16
width
;
UINT8
zero
;
// set to 0 allow autodetection of pic_t
// mode instead of patch or raw
UINT8
mode
;
// see pic_mode_t above
INT16
height
;
INT16
reserved1
;
// set to 0
UINT8
data
[
0
];
}
ATTRPACK
pic_t
;
#ifdef _MSC_VER
#pragma warning(default : 4200)
#endif
#if defined(_MSC_VER)
#pragma pack()
#endif
...
...
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