|
From: <ze...@rp...> - 2002-08-18 00:11:12
|
I agree with eric. I checked the code, and as far as I can tell, no glut functions are used at all. SDL basically replaces GLUT and GLX. Why a windowing toolkit has a generate teapot function is a different matter :P. Also, to Karl, make sure you change the makefile to link with Opengl. Opengl is DEFINITELY used. Uhh... random bug: line 151 of planets/scan.c reads: wstrcpy (buf, "%s", GAME_STRING (SCAN_STRING_BASE + 4 + 51)); but that obviously doesn't work, it should be wsprintf (buf, "%s", GAME_STRING (SCAN_STRING_BASE + 4 + 51)); After fixing that and a fwe things with duplicate references, I got it to go past the compile phase in cygwin! Of course, it died in linker, but eh. Other stuff: you shouldnt link both test.c and the sdl_wrapper.c, as both include SDL main functions. test.c is a seperate application. I had trouble with some of the gfx functions in libs. They way they are, it said they were declared twice in incompatible ways, but when I deleted one of them, it can't find the symbol. Specifically GetFrameHot, GetFrameRect and SetFrameHot. I don't understand the code, cause its full of 3d0 macros. Uh, that's about it for now. |