Path: chuka.playstation.co.uk!news From: Andrew Murray Newsgroups: scee.yaroze.freetalk.english Subject: Re: How do I initialize a sprite? Date: Tue, 28 Dec 1999 15:08:01 +0000 Organization: Max Studios Lines: 62 Message-ID: <3868D251.65E7D19B@which.net> References: <832etm$mos1@chuka.playstation.co.uk> <833gsg$rb01@chuka.playstation.co.uk> <3856B083.9561B4D8@yahoo.com> NNTP-Posting-Host: modem-16.doxycycline.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E1BB69ED194BF64E07F7B85D" X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en This is a multi-part message in MIME format. --------------E1BB69ED194BF64E07F7B85D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I suggest actually making sure the image is as it sould be i.e. is it actually 16 bit ? Is it alligned corectly in the VRAM diagram in TIMUTIL? - ???????? If all this checks ou then I'm stuck for a soloution. Max "CONVICT_AT_LARGE@YAHOO.COM" wrote: > 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... > > ------------------------------------------------------------------------ > Name: yar_16bit_sprite.h > yar_16bit_sprite.h Type: H File (application/x-unknown-content-type-h_auto_file) > Encoding: base64 > > Name: yar_16bit_sprite.c > yar_16bit_sprite.c Type: C File (application/x-unknown-content-type-c_auto_file) > Encoding: base64 --------------E1BB69ED194BF64E07F7B85D Content-Type: text/x-vcard; charset=us-ascii; name="mad.max.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Andrew Murray Content-Disposition: attachment; filename="mad.max.vcf" begin:vcard n:Murray;Andrew x-mozilla-html:FALSE org:Max Studios adr:;;;;;; version:2.1 email;internet:mad.max@which.net title:Mr fn:Andrew Murray end:vcard --------------E1BB69ED194BF64E07F7B85D--