Restore original gamma correction messages
This commit is contained in:
parent
4aa4cb1b99
commit
f5a8bb90f1
|
@ -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!"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue