Something that changed between r390 and r391 causes the game to crash before showing the splash screen on Macs. As this was a massive, mostly-header-file update, I am not sure what's going on.
The crash occurs on the call to SDL_SetVideoMode in screen.c, line 166. Some research indicates that the problem is caused by the <SDL/SDL_main.h> file doing some magic to main() on MacOS. Including <SDL/SDL_main.h> in lib/ivis_opengl/screen.h (which main.c includes with a big FIXME complaining about it) fixes the crash. I know that we are not fond of putting an SDL include in main.c, but somehow <SDL/SDL_main.h> must be included by the file containing the main() function. Are there any proposals to deal with this? Ari P.S. On a side note, I get an error about 'Texture file "frend4.png" not preloaded.' and have been getting it for a while. I don't know why this is given that it is referenced by frontend.wrf, but it does seem to cause some front-end icons to be messed up. (The icon for humans-against-AI, for instance, is a 19200-baud modem icon.) _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
