Path: chuka.playstation.co.uk!news From: "Steven Lewis" Newsgroups: scee.yaroze.freetalk.english Subject: Re: How do I initialize a sprite? Date: Fri, 17 Dec 1999 00:34:20 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 57 Message-ID: <83c08v$q6e3@chuka.playstation.co.uk> References: <832etm$mos1@chuka.playstation.co.uk> <833gsg$rb01@chuka.playstation.co.uk> <3856B083.9561B4D8@yahoo.com> NNTP-Posting-Host: pC0s11a03.client.global.net.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 Sorry I really can't help you with this. I've had a look over the code and, as your lecturer said, it seems fine. I'm sure the problem must be something really trivial that we are all just overlooking. I break up from Uni for Christmas tomorrow so I will be able to have a more detailed look at it over the weekend. By the way, is there a particular reason why you are using the MWbload function of CodeWarrior to load your TIM file? Personally I have never used it before as I have always found it easier to load the TIM's using a batch file. Anyway, good luck with trying to solve your problem. As I've mentioned I'll have a more detailed look at your code over the weekend to see if I can spot anything amiss. Steven P.S. What course are you doing at the University of Abertay Dundee? And how are you finding it so far? John Sutherland mentioned something to me about a distance learning masters degree. It would certainly mean that I could keep warm. It must have been -26 degrees celcius when I came up to look around a few weeks ago! John also mentioned something about a games loan library. Is that as good as it sounds? http://www.netyaroze-europe.com/~slewis CONVICT_AT_LARGE@YAHOO.COM wrote in message news:3856B083.9561B4D8@yahoo.com... > Thanks! That was a great help it confirmed what I thought was the correct order > for setting up a sprite. I've written a function to load 16 bit sprites from a > buffer in memory (an array of chars), I've loaded the tim in using the MWbload > function of CodeWarrior. But something really weird keeps happening, the > LoadImage function never seems to successfully load the sprite into VRAM! It > always fails, my programming lecturer has looked at this and he says the code is > sound. We both spent a hour this morning trying to get it to work, I've > attached the offending *.c and *.h files if your interested. > > Cheers, > > Daniel Brown > University of Abertay Dundee > > PS:- I think the their will be a variant of the masters course next year that > will be a distance learning degree I don't know if that is the one you are > looking into... > >