Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Open Source Project Needs Your Help

Open Source Project Needs Your Help
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: adrift in a sea of decadent luxury and meaningless sex
Status: Offline
Reply With Quote
Jan 30, 2002, 01:33 AM
 
Please go to http://www.nsobject.com/ and scroll down to find nsFreeCell. Apparently, this code worked fine in OS X 10.0, but I didn't find it until recently, but it probably needs just a few tweaks in Interface Builder. I tweaked a little, and as far as I can see it's just not calling the first function (newGame). In IB everything looks to be hooked up, and I can't see why the menu item for a new game doesn't call the function (of course, if I get anything to work in PB/IB it's a good day for me). Any help?
blackmail is such an ugly word. I prefer extortion. the X makes it sound cool
     
Fresh-Faced Recruit
Join Date: Jun 2001
Location: Pleasant Valley, NY
Status: Offline
Reply With Quote
Jan 30, 2002, 02:44 AM
 
Change the font name on line 78 of Card.m from "AmericanTypewriter-Regular" to "AmericanTypewriter" and things run.

Hope that helps,
Matt
     
Mac Elite
Join Date: Feb 2001
Location: adrift in a sea of decadent luxury and meaningless sex
Status: Offline
Reply With Quote
Jan 30, 2002, 03:20 AM
 
wow, thanks. How did you find that?

well, the first game seems to play reliably, but if you ask for a new game or a reset (even when you win and it prompts for a new game), things go funny. I got it to actually deal a new hand if I alternated New and Reset, it would erase one column at a time, starting from left to right, then the piles left to right, then finally deal the new hand. I guess I could start debugging this myself, now that I can get it to do anything at all...
blackmail is such an ugly word. I prefer extortion. the X makes it sound cool
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2