Grit Update (palette numbers & ASM header output)

headkaze · 7944

Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
on: February 25, 2009, 12:01:45 pm
This version of grit adds an option (-mp) which allows you to specifiy the palette number for map's. This is handy if your using 16 color tiles and need to share a palette and the palette isn't at entry 0.

Just copy the files over C:\devkitPro\devkitARM\bin

To use palette 15 for example add the following to your grit file

Code: [Select]
-mp15
Thanks for Jasper for the help getting grit to compile.
« Last Edit: June 30, 2010, 07:44:25 am by headkaze »



Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #1 on: March 06, 2009, 02:21:10 am
Another grit update that adds a command line option called "-fha" which means to output the header file in assembly format. So instead of having to copy and paste lines like

Code: [Select]
#define Level1TilesLen 49152
We can add the following line to the top of warhawk.h and the "-fha" option to all of our .grit files

Code: [Select]
#include "..\build\Level1.h"
Now we don't need to update the #define's in warhawk.h



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #2 on: March 06, 2009, 07:11:41 am
Welldone mate, that will certainly make things easier.

Coding for the love of it!