When using Palettes -> Put to clipboard as -> C Data we get something like:
const unsigned char palette[16]={ 0x0f,0x28,0x1a,0x2a,0x0f,0x28,0x18,0x38,0x0f,0x1c,0x0c,0x2c,0x0f,0x28,0x00,0x30 };
Most games will have more than one palette, and this requires us to edit the palette name after the fact. It would be nice if some unique ID were embedded in the variable name itself (similar to meta sprites).
I suggest:
"palette_" {project_name} "_" {palette_sub_set_id}
So, for example this Palette:
This would output:
const unsigned char palette_overworld_b[16]={ 0x0f,0x28,0x1a,0x2a,0x0f,0x28,0x18,0x38,0x0f,0x1c,0x0c,0x2c,0x0f,0x28,0x00,0x30 };