Moves MAX_SUBTITLES to `q_shared.h|

This commit is contained in:
smallmodel 2024-07-02 19:03:27 +02:00
parent dca9709b12
commit 14927df9fa
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
2 changed files with 2 additions and 2 deletions

View file

@ -30,8 +30,6 @@ CLASS_DECLARATION(UIWidget, View3D, NULL) {
{NULL, NULL }
};
#define MAX_SUBTITLES 4
cvar_t *subs[MAX_SUBTITLES];
cvar_t *teams[MAX_SUBTITLES];
float fadeTime[MAX_SUBTITLES];

View file

@ -1661,6 +1661,8 @@ typedef enum
#define MAX_CONFIGSTRINGS 2736
#define MAX_HUDDRAW_ELEMENTS 256
#define MAX_SUBTITLES 4
// these are the only configstrings that the system reserves, all the
// other ones are strictly for servergame to clientgame communication
#define CS_SERVERINFO 0 // an info string with all the serverinfo cvars