|
Subject: [stella] Sprite position to Tombstone Matrix conversion From: Glenn Saunders <mos6507@xxxxxxxxxxx> Date: Sun, 18 Jan 2004 18:46:56 -0800 |
if (Gremlin_X_Temp > 79)
{
flag Temp_PF_Right for overwrite
Gremlin_X_Temp = Gremlin_X_Temp - 80 + 16
}
else
{
flag Temp_PF_Left for overwrite
}loop through Tombstone_Cell_Lookup_Table using index of "Cell"
if (current table number > Gremlin_X_Temp) break out of loop
loop through Row_Lookup_Table: using index of "Row" find out which row we're on if (current table number < Gremlin_Y) break out of loop
use the Cell as in index into the Temp_PF_Bit_Set_Table table and use that byte as a mask.
---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [stella] Fast Missile code, Thomas Jentzsch | Thread | RE: [stella] Sprite position to Tom, Dennis Debro |
| Re: [stella] Seawolf: Day Eleven, Glenn Saunders | Date | RE: [stella] Sprite position to Tom, Dennis Debro |
| Month |