Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
SRB2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
264
Issues
264
List
Board
Labels
Milestones
Merge Requests
74
Merge Requests
74
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
STJr
SRB2
Commits
beba43cf
Commit
beba43cf
authored
Aug 14, 2020
by
James R.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a menu option for showjoinaddress
I also had to make the "alphaKey" UINT16. Hopefully nothing breaks!
parent
405639bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
m_menu.c
src/m_menu.c
+3
-0
m_menu.h
src/m_menu.h
+1
-1
No files found.
src/m_menu.c
View file @
beba43cf
...
...
@@ -1663,8 +1663,11 @@ static menuitem_t OP_ServerOptionsMenu[] =
#ifndef NONET
{
IT_HEADER
,
NULL
,
"Advanced"
,
NULL
,
225
},
{
IT_STRING
|
IT_CVAR
|
IT_CV_STRING
,
NULL
,
"Master server"
,
&
cv_masterserver
,
231
},
{
IT_STRING
|
IT_CVAR
,
NULL
,
"Join delay"
,
&
cv_joindelay
,
246
},
{
IT_STRING
|
IT_CVAR
,
NULL
,
"Attempts to resynchronise"
,
&
cv_resynchattempts
,
251
},
{
IT_STRING
|
IT_CVAR
,
NULL
,
"Show IP Address of Joiners"
,
&
cv_showjoinaddress
,
256
},
#endif
};
...
...
src/m_menu.h
View file @
beba43cf
...
...
@@ -327,7 +327,7 @@ typedef struct menuitem_s
void
*
itemaction
;
// hotkey in menu or y of the item
UINT
8
alphaKey
;
UINT
16
alphaKey
;
}
menuitem_t
;
extern
menuitem_t
MP_RoomMenu
[];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment