Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Ed Federmeyer Newsgroups: scea.yaroze.programming.2d_graphics Subject: Simple Exmaple of GsBG usage wanted Date: Tue, 22 Apr 1997 16:48:48 -0500 Organization: (No organization) Lines: 198 Message-ID: <335D3240.31FC@charlie.cns.iit.edu> Reply-To: fedeedw@charlie.cns.iit.edu NNTP-Posting-Host: charlie.cns.iit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) I was trying to put up a simple scrolling background using the GsBG, GsMAP, and GsCELL data structures with the GsSortFixBg16() routine. I couldn't get it to display anything. Below is a copy of the file, showing how I think these three structures want to be related. Any idea where I am going wrong? Is there a more general version of "GsSortBg()" available so that we can put up a GsBG in only part of the screen, or use different size tiles? (The docs for GsSortFixBg16 say it only works full-screen, with 16x16 tiles) (BTW: I'm just hard-coding a lot of variables and even the graphic images and color-lookup-tables just to make sure in my mind where everything is...) Any help is appreciated. Ed Federmeyer ---------- example that needs fixing ------------------------------ #include #include "pad.h" #define PACKETMAX (10000) #define PACKETMAX2 (PACKETMAX*24) #define OT_LENGTH (14) GsOT WorldOrderingTable[2]; GsOT_TAG zSortTable[2][1<