Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.beginners Subject: Re: My Sprite Viewer Doesn't Work Date: Thu, 3 Jun 1999 19:25:19 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <7j6hbd$m4q16@chuka.playstation.co.uk> References: <7iekt2$sfd26@chuka.playstation.co.uk> <01beade9$f30c3000$ad9524c3@pal-s-omnibook> NNTP-Posting-Host: th-gt141-026.pool.dircon.co.uk X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 pal wrote in message news:01beade9$f30c3000$ad9524c3@pal-s-omnibook... > I haven't been able to fix your code, but I noticed one error (surely a > typo, but the compiler won't barf at it) : > in main.c at line 68, for initGame to be called you must add parenthesis : > initGame() ; > The form without parenthesis just evaluates "initGame", which is the > pointer to the function - i.e. it does nothing. > Well wouldn't this mean that his sprite doesn't get initialised, so cannot be used? Also, I dunno how much of a problem, if any, but he #includes libps.h in speech marks (meaning located in local folder), when I think he needs to use greater and lower than signs: #include Another thing, which I'm not sure about but rings a bell could be to do with defining a lot of his variables (I'm looking at gpuPktArea and the OT handling ones) inside the main. I dunno, but maybe these should be global variables so the outside lib functions have access to them. Hope that helps Rikki