Restore original gamma correction messages

This commit is contained in:
Lephenixnoir 2021-09-10 22:19:31 +02:00
parent 4aa4cb1b99
commit f5a8bb90f1
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
3 changed files with 4 additions and 6 deletions

View File

@ -73,7 +73,6 @@
#define GAMMALVL2 "Gamma correction level 2"
#define GAMMALVL3 "Gamma correction level 3"
#define GAMMALVL4 "Gamma correction level 4"
#define GAMMALV "Brightness: %d/4"
#define EMPTYSTRING "empty slot"
#define NOTIMP "not implemented in cgdoom yet!"

View File

@ -96,14 +96,14 @@ void (*messageRoutine)(int response);
#define SAVESTRINGSIZE 24
/*char gammamsg[5][26] =
char gammamsg[5][26] =
{
GAMMALVL0,
GAMMALVL1,
GAMMALVL2,
GAMMALVL3,
GAMMALVL4
};*/
};
// we are going to be entering a savegame string
int saveStringEnter;

View File

@ -513,9 +513,8 @@ void CGCycleGamma()
usegamma = (usegamma + 1) % 5;
I_SetPalette(NULL);
static char message[32];
sprintf(message, GAMMALV, usegamma);
plyr->message = message;
extern char gammamsg[5][26];
plyr->message = gammamsg[usegamma];
}
void CGProfilerResults()