--- deliantra/Deliantra-Client/Client.xs 2011/07/29 08:35:35 1.308 +++ deliantra/Deliantra-Client/Client.xs 2011/12/27 07:23:33 1.310 @@ -582,14 +582,14 @@ deliantra_main () { char *argv[] = { 0 }; - call_argv ("::main", G_DISCARD | G_VOID, argv); + call_argv ("DC::Main::main", G_DISCARD | G_VOID, argv); } #ifdef __MACOSX__ /* to due surprising braindamage on the side of SDL design, we * do some mind-boggling hack here: SDL requires a custom main() * on OS X, so... we provide one and call the original main(), which, - * due to share dlibrary magic, calls -lSDLmain's main, not perl's main, + * due to shared library magic, calls -lSDLmain's main, not perl's main, * and which calls our main (== SDL_main) back. */ extern C_LINKAGE int @@ -1143,6 +1143,9 @@ IMG_Init (int flags = IMG_INIT_JPG | IMG_INIT_PNG) void +Mix_Init (int flags = MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG) + +void load_image_inline (SV *image_) ALIAS: load_image_file = 1