Switch RankStrings to be [][14] instead of *[]
Saves 10 .rel.ro entries and 6 bytes on x86 / 46 bytes on x64.
This commit is contained in:
parent
6439e41e3a
commit
5d1769cd2c
|
@ -403,7 +403,7 @@ extern int Bounty_target;
|
|||
|
||||
extern bitmap_index multi_player_textures[MAX_PLAYERS][N_PLAYER_SHIP_TEXTURES];
|
||||
|
||||
extern const char *const RankStrings[10];
|
||||
extern const char RankStrings[10][14];
|
||||
extern char PowerupsInMine[MAX_POWERUP_TYPES],
|
||||
MaxPowerupsAllowed[MAX_POWERUP_TYPES];
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ static const int message_length[] = {
|
|||
|
||||
char PowerupsInMine[MAX_POWERUP_TYPES],MaxPowerupsAllowed[MAX_POWERUP_TYPES];
|
||||
|
||||
const char *const RankStrings[10]={"(unpatched) ","Cadet ","Ensign ","Lieutenant ","Lt.Commander ",
|
||||
const char RankStrings[10][14]={"(unpatched) ","Cadet ","Ensign ","Lieutenant ","Lt.Commander ",
|
||||
"Commander ","Captain ","Vice Admiral ","Admiral ","Demigod "};
|
||||
|
||||
const char *const multi_allow_powerup_text[MULTI_ALLOW_POWERUP_MAX] =
|
||||
|
|
Loading…
Reference in a new issue