You’re essentially missing the point of the problem. The problem is that
even a basic tableview doesn’t work correctly with SDL without specifically
calling the event loop as I noted below, outside of SDL calling it.
Naturally I’m using OpenFeint because I want the functionality from
OpenFeint.On Mon, Feb 15, 2010 at 05:51, michelleC wrote:
If all you want is a tableView, why not just use UITableview from the
sdk.
Navigate to your sdl code via didSelectRowAtIndex and that should be all
you need for a tableview.
Openfient does however have a lot of socialnetworking built into it.
David Hedbor wrote:
Certainly. It’s pretty straight-forward so I could post the “stubfile” I
use to connect the two as well. I still have an issue where after opening
OpenFeint and closing it (the dashboard that is), CPU use outside of my game
logic goes up and keeps going up the more I open/close it. It appears most
likely to be some OF bug though - some timer or something is running that
shouldn’t be. After a few open/closes it makes the game unplayable.
On Wed, Jan 13, 2010 at 09:28, Vittorio G. <> wrote:
Quote:
good job on getting this framework to work!
do you think you could post a little tutorial on how to merge sdl and
openfeint in an iphone project?
Vittorio
On Tue, Jan 12, 2010 at 8:12 AM, David Hedbor <> wrote:
Quote:
And to answer my own email, again, I did get it working. In my main event
loop, I call the following method:
void RunOpenFeintLoopIfNeeded() {
while(dashboardVisible) {
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 1, TRUE);
};
}
The dashboardVisible boolean is set from the OpenFeintDelegate when the
dashboard is shown/hidden. Works perfectly.
On Mon, Jan 11, 2010 at 22:33, David Hedbor <> wrote:
Quote:
Some more research using a simple example shows that even a basic TableView
doesn’t work - essentially no clicks are registered. If after creating the
tableview I run my own loop such as this:
while(true) {
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 10, FALSE);
};
I can actually get clicks to register. This work around doesn’t work with
OpenFeint however - it just makes it worse. Weird. I suppose most people
avoid using native iPhone UI combined with SDL.
On Sun, Jan 10, 2010 at 01:00, David Hedbor <> wrote:
Quote:
I’m trying to integrate OpenFeint with SDL for an iPhone game. It mostly
appears to work except one detail - I can’t tap on any entries in the
tableviews in the OF Dashboard. Essentially things like friends list,
leaderboard lists, chat room lists etc don’t register clicks. I can move the
position in the tables just fine.
Has anyone else tried to integrate OpenFeint (or alternative, any
tableview) with SDL on the iPhone and if so, did you manage to get it to
work?
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - “I, Joan Crawford, I believe in the dollar. Everything I earn, I spend.”
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org