[Plib-devel] TuxKart on Win32 works fine
Brought to you by:
sjbaker
From: Vallevand, M. K <Mar...@UN...> - 2000-07-06 15:01:33
|
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(); There were some header file adjustments, and some system functions that have different names, eg access() and chdir(). 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. 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. 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. Thanks Steve and Oliver. I have some neat ideas for TuxKart. Regards. Mark K Vallevand ma...@rs... Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. - Groucho |