Qbasicnews.com

Full Version: sdl header porting, slave needed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
huh,

due to me being busy i can't finish the sdl headers in reasonable time, so if somebody want to jump in be welcome, get the latest from http://www.freebasic.net they are in the v0.07 package of the compiler.

i'm open for any questions, but i just don't have the time to port and test the headers so...
I'm testing the headers and making the GLU port.

BTW.

"SDL_WarpMouse" not "wrap"

Also, there's a byval on the x and y args of getmouse state. Took me a while to figure out why GLU_lookat was not functioning. :*)

Finish the headers or..... j/k
hey it was between 2-4 am in the morning when i did that, uhm blame the compiler.
Couldn't you write a program that automatically ports headers? I would think it'd be quite easy to accomplish. Wink
plz try it hehe...
The SDL_KeyboardEvent, SDL_MouseMotionEvent, SDL_MouseButtonEvent, TYPEs in the SDL bi files all have a member called "which", but the SDL doc for 1.2.7 says those stucts have no such member.

But SDL_KeyboardEvent still works fine... what gives? Is which a dummy member for alignment or something?