… | |
… | |
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 |
967 | |
964 | |
968 | void |
965 | void |
|
|
966 | SDL_WM_SetCaption (const char *title, const char *icon) |
|
|
967 | |
|
|
968 | void |
969 | SDL_GL_SwapBuffers () |
969 | SDL_GL_SwapBuffers () |
970 | |
970 | |
971 | char * |
971 | char * |
972 | SDL_GetKeyName (int sym) |
972 | SDL_GetKeyName (int sym) |
973 | |
973 | |
… | |
… | |
975 | SDL_GetAppState () |
975 | SDL_GetAppState () |
976 | |
976 | |
977 | int |
977 | int |
978 | SDL_GetModState () |
978 | SDL_GetModState () |
979 | |
979 | |
|
|
980 | int |
|
|
981 | SDL_WaitEvent () |
|
|
982 | C_ARGS: 0 |
|
|
983 | |
980 | void |
984 | void |
|
|
985 | SDL_PumpEvents () |
|
|
986 | |
|
|
987 | void |
981 | poll_events () |
988 | peep_events () |
982 | PPCODE: |
989 | PPCODE: |
983 | { |
990 | { |
984 | SDL_Event ev; |
991 | SDL_Event ev; |
985 | |
992 | |
986 | SDL_PumpEvents (); |
993 | SDL_PumpEvents (); |
… | |
… | |
1140 | RETVAL |
1147 | RETVAL |
1141 | |
1148 | |
1142 | void |
1149 | void |
1143 | IMG_Init (int flags = IMG_INIT_JPG | IMG_INIT_PNG) |
1150 | IMG_Init (int flags = IMG_INIT_JPG | IMG_INIT_PNG) |
1144 | |
1151 | |
|
|
1152 | # MIX_INIT_MP3 gives smpeg + libstdc++ + libgcc_s |
1145 | void |
1153 | void |
1146 | Mix_Init (int flags = MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG) |
1154 | Mix_Init (int flags = MIX_INIT_MOD | MIX_INIT_OGG) |
1147 | |
1155 | |
1148 | void |
1156 | void |
1149 | load_image_inline (SV *image_) |
1157 | load_image_inline (SV *image_) |
1150 | ALIAS: |
1158 | ALIAS: |
1151 | load_image_file = 1 |
1159 | load_image_file = 1 |