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
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheHackStack
SRB2
Commits
290adb23
Commit
290adb23
authored
Aug 10, 2021
by
Lactozilla
Browse files
Options
Downloads
Patches
Plain Diff
Add a descriptive comment about the MAXSKINS macro
parent
1a84f1bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doomdef.h
+6
-1
6 additions, 1 deletion
src/doomdef.h
with
6 additions
and
1 deletion
src/doomdef.h
+
6
−
1
View file @
290adb23
...
...
@@ -223,8 +223,13 @@ extern char logfilename[1024];
#define MAXPLAYERNAME 21
#define PLAYERSMASK (MAXPLAYERS-1)
// Don't make MAXSKINS higher than 256, since skin numbers are used with an
// UINT8 in various parts of the codebase. If you do anyway, the data type
// of those variables will have to be changed into at least an UINT16.
// This change must affect code such as demo recording and playback,
// and the structure of some networking packets and commands.
#define MAXSKINS 256
#define MAXCHARACTERSLOTS (MAXSKINS * 3)
#define MAXCHARACTERSLOTS (MAXSKINS * 3)
// Should be higher than MAXSKINS.
#define COLORRAMPSIZE 16
#define MAXCOLORNAME 32
...
...
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