ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.311 by root, Tue Dec 27 09:17:27 2011 UTC vs.
Revision 1.313 by root, Sat Jan 7 15:24:41 2012 UTC

950 ); 950 );
951 951
952 if (RETVAL) 952 if (RETVAL)
953 { 953 {
954 av_clear (texture_av); 954 av_clear (texture_av);
955
956 SDL_WM_SetCaption ("Deliantra MORPG Client " VERSION, "Deliantra");
957#define GL_FUNC(ptr,name) gl.name = (ptr)SDL_GL_GetProcAddress ("gl" # name); 955#define GL_FUNC(ptr,name) gl.name = (ptr)SDL_GL_GetProcAddress ("gl" # name);
958#include "glfunc.h" 956#include "glfunc.h"
959#undef GL_FUNC 957#undef GL_FUNC
960
961 if (!gl.ActiveTexture ) gl.ActiveTexture = gl.ActiveTextureARB; 958 if (!gl.ActiveTexture ) gl.ActiveTexture = gl.ActiveTextureARB;
962 if (!gl.MultiTexCoord2f) gl.MultiTexCoord2f = gl.MultiTexCoord2fARB; 959 if (!gl.MultiTexCoord2f) gl.MultiTexCoord2f = gl.MultiTexCoord2fARB;
963 } 960 }
964} 961}
965 OUTPUT: 962 OUTPUT:
966 RETVAL 963 RETVAL
964
965void
966SDL_WM_SetCaption (const char *title, const char *icon)
967 967
968void 968void
969SDL_GL_SwapBuffers () 969SDL_GL_SwapBuffers ()
970 970
971char * 971char *
1147 RETVAL 1147 RETVAL
1148 1148
1149void 1149void
1150IMG_Init (int flags = IMG_INIT_JPG | IMG_INIT_PNG) 1150IMG_Init (int flags = IMG_INIT_JPG | IMG_INIT_PNG)
1151 1151
1152# MIX_INIT_MP3 gives smpeg + libstdc++ + libgcc_s
1152void 1153void
1153Mix_Init (int flags = MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG) 1154Mix_Init (int flags = MIX_INIT_MOD | MIX_INIT_OGG)
1154 1155
1155void 1156void
1156load_image_inline (SV *image_) 1157load_image_inline (SV *image_)
1157 ALIAS: 1158 ALIAS:
1158 load_image_file = 1 1159 load_image_file = 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines