mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
SW: Fix const correctness issues.
Patch from Striker. git-svn-id: https://svn.eduke32.com/eduke32@7499 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b6d794ddba
commit
61446c0995
29 changed files with 113 additions and 112 deletions
|
@ -252,7 +252,7 @@ typedef struct MENU_ITEM
|
|||
SLDRType slider; // Slider type, if any
|
||||
BTNType button; // Button state, if any
|
||||
unsigned char hotkey; // First letter of item
|
||||
char *text; // Text appearing in item, if any.
|
||||
const char *text; // Text appearing in item, if any.
|
||||
void *child; // Should be menugroup, used to spawn
|
||||
// sub-groups from items.
|
||||
int x, y; // x,y position on screen.
|
||||
|
@ -268,7 +268,7 @@ typedef struct MENU_ITEM
|
|||
typedef struct
|
||||
{
|
||||
int x, y; // Menu x,y position on screen.
|
||||
char *text;
|
||||
const char *text;
|
||||
MenuItem_p items; // Array of menu items for this menu.
|
||||
short titlepic; // Used to draw title on menu with.
|
||||
short cursorpic; // Pic used for menu cursor, 1st in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue