Path: chuka.playstation.co.uk!news From: Max Newsgroups: scee.yaroze.freetalk.english Subject: Re: 2D Tutorial... Need help - please Date: Thu, 11 Jan 2001 21:05:50 +0000 Organization: Max Studios Lines: 37 Message-ID: <3A5E202E.FD282652@which.net> References: <3A5B26BB.89E5AC69@which.net> NNTP-Posting-Host: p265-chaffinch-gui.tch.which.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.61 [en] (Win98; I) X-Accept-Language: en Thanks all... I believe I have 'seen the light'. Max Max wrote: > Following a screw up on the Yaroze Scene message boards I will post it > here instead: > > Amoungst other stuff I am doing right now I am learning a bit of 2D on > the Yaroze. As I learn I am doing a tutorial so that others can benefit. > This tutorial will of course be exclusive to Yaroze Scene, But I am > having a bit of trouble... > > Can anyone tell me please what exactly these lines of code mean? > > 1. static GsOT_TAG wtags[2][1< 2. #define PACKETMAX2 (PACKETMAX*24) > 3. static PACKET packetArea[2][PACKETMAX2]; > > 1. why is this a two dimensional array and what should [1< equate to (OT_LENGTH is 9 btw)? > 2. why is a second PACKETMAX needed and why does the coder not put in > the actual number value instead of doing a multiplication? > 3. why is this a two dimensional array and does anyone know where the > library reference is for the PACKET structure is? > > I also wish to know what a packet is... is it the smallest amount of > data that can be processed by the GPU at any one time? > > I know there are a lot of experienced 2D Yaroze coders out there so > help!!!! > No doubt I will have many more questions later so look out :) > > Cheers all > Max