Lower the size of frag messages

This commit is contained in:
Izuru Yakumo
2025-07-21 13:47:04 -03:00
parent 319fb29643
commit da5e31ce42
2 changed files with 5 additions and 2 deletions

View File

@@ -227,10 +227,10 @@ static void CG_Obituary( entityState_t *ent ) {
} }
#ifdef MISSIONPACK #ifdef MISSIONPACK
if (!(cg_singlePlayerActive.integer && cg_cameraOrbit.integer)) { if (!(cg_singlePlayerActive.integer && cg_cameraOrbit.integer)) {
CG_CenterPrint( s, SCREEN_HEIGHT * 0.30, (int)(BIGCHAR_WIDTH * cg_fragmsgsize.value) ); CG_CenterPrint( s, SCREEN_HEIGHT * 0.30, (int)(MEDIUMCHAR_WIDTH * cg_fragmsgsize.value) );
} }
#else #else
CG_CenterPrint( s, SCREEN_HEIGHT * 0.30, (int)(BIGCHAR_WIDTH * cg_fragmsgsize.value) ); CG_CenterPrint( s, SCREEN_HEIGHT * 0.30, (int)(MEDIUMCHAR_WIDTH * cg_fragmsgsize.value) );
#endif #endif
// print the text message as well // print the text message as well

View File

@@ -335,6 +335,9 @@ extern vec3_t bytedirs[NUMVERTEXNORMALS];
#define SMALLCHAR_WIDTH 8 #define SMALLCHAR_WIDTH 8
#define SMALLCHAR_HEIGHT 16 #define SMALLCHAR_HEIGHT 16
#define MEDIUMCHAR_WIDTH 12
#define MEDIUMCHAR_HEIGHT 16
#define BIGCHAR_WIDTH 16 #define BIGCHAR_WIDTH 16
#define BIGCHAR_HEIGHT 16 #define BIGCHAR_HEIGHT 16