X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=utf8lib.c;h=155b4aea9a8f949ecf8e2a583487c4fa122896cc;hb=1a711173535d4b5f4364b66177745aab165330d8;hp=ee3638983880c423e5932cf3b667d0c1954aeb51;hpb=0a05c446ba26bd5897645a37ceec8646c5bc93eb;p=xonotic%2Fdarkplaces.git diff --git a/utf8lib.c b/utf8lib.c index ee363898..155b4aea 100644 --- a/utf8lib.c +++ b/utf8lib.c @@ -1,5 +1,6 @@ -#include "quakedef.h" +#include "darkplaces.h" #include "utf8lib.h" +#include "draw.h" /* ================================================================================ @@ -7,7 +8,7 @@ Initialization of UTF-8 support and new cvars. ================================================================================ */ // for compatibility this defaults to 0 -cvar_t utf8_enable = {CVAR_CLIENT | CVAR_SERVER | CVAR_SAVE, "utf8_enable", "0", "Enable UTF-8 support. For compatibility, this is disabled by default in most games."}; +cvar_t utf8_enable = {CF_CLIENT | CF_SERVER | CF_ARCHIVE, "utf8_enable", "0", "Enable UTF-8 support. For compatibility, this is disabled by default in most games."}; void u8_Init(void) {