--- deliantra/Deliantra-Client/Client.xs 2007/10/08 16:10:14 1.236 +++ deliantra/Deliantra-Client/Client.xs 2007/12/26 18:09:30 1.240 @@ -702,7 +702,7 @@ if (m && m != (SDL_Rect **)-1) while (*m) { - if ((*m)->w >= 640 && (*m)->h >= 480) + if ((*m)->w >= 800 && (*m)->h >= 600) { AV *av = newAV (); av_push (av, newSViv ((*m)->w)); @@ -736,7 +736,7 @@ { av_clear (texture_av); - SDL_WM_SetCaption ("Crossfire TRT Client " VERSION, "Crossfire TRT"); + SDL_WM_SetCaption ("Deliantra MORPG Client " VERSION, "Deliantra"); #define GL_FUNC(ptr,name) gl.name = (ptr)SDL_GL_GetProcAddress ("gl" # name); #include "glfunc.h" #undef GL_FUNC @@ -995,7 +995,7 @@ CODE: fprintf (stderr, "ERROR: %s\n", message); #ifdef _WIN32 - MessageBox (0, message, "Crossfire+ Error", MB_OK | MB_ICONERROR); + MessageBox (0, message, "Deliantra Client Error", MB_OK | MB_ICONERROR); #endif void @@ -1003,7 +1003,7 @@ CODE: fprintf (stderr, "FATAL: %s\n", message); #ifdef _WIN32 - MessageBox (0, message, "Crossfire+ Fatal Error", MB_OK | MB_ICONERROR); + MessageBox (0, message, "Deliantra Client Fatal Error", MB_OK | MB_ICONERROR); #endif _exit (1); @@ -1057,10 +1057,16 @@ PROTOTYPES: DISABLE void -reset_glyph_cache () +glyph_cache_backup () PROTOTYPE: CODE: - tc_clear (); + tc_backup (); + +void +glyph_cache_restore () + PROTOTYPE: + CODE: + tc_restore (); CFPlus::Layout new (SV *class)