Re: [Plib-devel] TuxKart on Win32 works fine
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-07-11 04:16:24
|
"Vallevand, Mark K" wrote: > > I ported TuxKart to Win32 last night. It was pretty easy. It > is very runable at 640x480 with accelerated OpenGL on a P2-333. > > I found a bunch of typical unix-isms and window-isms in the code. > This is a common one that doesn't work in windows: > > for ( int i = 0; i < foo; i++ ) blah(); > for ( int i = 0; i < foo; i++ ) moreblah(); Well, it *does* work in Windoze - it just doesn't work with MSVC++. CygWin has no problems with it. If you'd care to post your fixes to a web site somewhere - I'll merge them into the current stuff. Alternatively, if you'd like CVS access - let me know what your sourceforge userid is and I'll "make it so". > The GLUT game mode doesn't work as advertised on my system, so I > hacked it to run in a window like non-win32 systems. I want to > investigate this more. It *should* work. Yes - I'm not too sure about that code - it doesn't work well on all Linux systems either. > Also, the joystick code misbehaves if you have a broken joystick > driver. My WinNT joystick driver stopped reporting buttons. All > buttons are set. It might be the port HW. I tried other sticks. > Anyway, after unplugging the joystick, everything works fine. That's strange - the joystick code is just PLIB - and that's reported to work OK for FGFS and Tux_AQFH under Windoze. Does the PLIB joystick test program exhibit the same symptoms? > I'll clean up my changes and put them, a DevStudio workspace and > project, and an executable Win32 Tuxkart on a website later. Maybe > tonight or this weekend. OK. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |