Help creating Static Polygons for fast drawing

support for the powerpc toolchain
DolphinG89
Posts: 28
Joined: Sat Apr 13, 2013 10:40 pm

Re: Help creating Static Polygons for fast drawing

Post by DolphinG89 » Sat Nov 23, 2013 9:43 am

char Dcommand=(char*)(GX_Begin);
char QuadVAL=(char*)GX_QUADS;
char Nullers=(char*)GX_NONE;
u8 *cat1 ATTRIBUTE_ALIGN(32)=(u8*)
{
Dcommand,
QuadVAL,'0', '36',
'8', '0', '7', '0', '2', '0', '3','0',
'1', '1', '2', '1', '7', '1', '6','1',
'1', '2', '0', '2', '9', '2', '10','2',
'4', '1', '1', '1', '10', '1', '11', '1',
'1', '2', '12', '2', '13', '2', '2', '2',
'2', '0', '13', '0', '14', '0', '5', '0',
'18', '2', '15', '2', '16', '2', '17', '2',
'20', '1', '17', '1', '16', '1', '19', '1',
'20', '0', '21','0', '18', '0', '17', '0',
Nullers, Nullers, Nullers, Nullers, Nullers, Nullers, Nullers,
Nullers, Nullers, Nullers, Nullers, Nullers, Nullers, Nullers,
Nullers, Nullers, Nullers, Nullers, Nullers, Nullers, Nullers};

GX_CallDispList(cat1,600);

Does this work?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest