Hopefully somebody in charge can move in my earlier fixes (or anything like them) so people can compile. Now that I have a compile, a lot of bugs are cropping up. Getting it to compile is one thing, locating where these bugs are in the code is another and I’m hoping that the person who originally did the code can look into these (I don’t actually know obj-c, still a c programmer, it’ll take me a while to discover and fix any of these.)
Before I get into this, let me say how much I like SDL 1.3, it goes a long way to helping me remove more non-cross-platform code and cleans up a lot of the API.
First, some additions for the porting guide:-----------------------------------------------------------
GetKeyState() is now GetKeyboardState() and the SDLK defines no longer work properly, and some are defined to extremely large integers, which causes crashes. That’s the first thing people will have to tear out.
SDL_GetAppState() doesn’t seem to work. I’m removing it and going to the events, we’ll see how well they work. I assume it’s depreciated.
The two show stopping bugs:
SDL_WINDOW_INPUT_GRABBED and/or SDL_SetRelativeMouseMode do NOT work in OS X. Neither hide the cursor (as the docs say they do) nor confines the mouse to the window (i.e., always re-centering.)
Coming out of full screen screws up your desktop. If you SDL window is smaller then your monitor resolution, you’ll get moved and shrunk windows.
There’s others I’ve investigating.
If whoever is handling the OS X version (I’ll be checking up on the win32 version in a while) wants to send me some private email, I’ll do anything I can to help.
[>] Brian
Brian, thanks for all the help - I’m hoping these fixes get patched and put
into the hg trunk. Hopefully the rest of these bugs can be squashed, too (I
also am not familiar with obj-c).
Take care,
-AlexOn Sat, Nov 20, 2010 at 8:24 PM, Brian Barnes wrote:
Hopefully somebody in charge can move in my earlier fixes (or anything like
them) so people can compile. Now that I have a compile, a lot of bugs are
cropping up. Getting it to compile is one thing, locating where these bugs
are in the code is another and I’m hoping that the person who originally did
the code can look into these (I don’t actually know obj-c, still a c
programmer, it’ll take me a while to discover and fix any of these.)
Before I get into this, let me say how much I like SDL 1.3, it goes a long
way to helping me remove more non-cross-platform code and cleans up a lot of
the API.
First, some additions for the porting guide:
GetKeyState() is now GetKeyboardState() and the SDLK defines no longer work
properly, and some are defined to extremely large integers, which causes
crashes. That’s the first thing people will have to tear out.
SDL_GetAppState() doesn’t seem to work. I’m removing it and going to the
events, we’ll see how well they work. I assume it’s depreciated.
The two show stopping bugs:
SDL_WINDOW_INPUT_GRABBED and/or SDL_SetRelativeMouseMode do NOT work in OS
X. Neither hide the cursor (as the docs say they do) nor confines the mouse
to the window (i.e., always re-centering.)
Coming out of full screen screws up your desktop. If you SDL window is
smaller then your monitor resolution, you’ll get moved and shrunk windows.
There’s others I’ve investigating.
If whoever is handling the OS X version (I’ll be checking up on the win32
version in a while) wants to send me some private email, I’ll do anything I
can to help.
[>] Brian
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org