Skip to content

Integrate PLAYPAL into source code

Andrew Wong requested to merge brosasaki/kartmaker:fix-integrate-playpal into main

This MR reduces opportunities for malfunction by integrating the data of PLAYPAL.lmp directly into the source code. This also resolves a TODO on line 768 of main.c, describing how PLAYPAL.lmp has to be in a specific position relative to the executable. This is done via the xxd tool.1

Eventually, though, once CMake is integrated, I want to make a script to embed the palette data directly from PLAYPAL.lmp into the binary at build time.

  1. xxd -g 3 -l 768 -n palette -i PLAYPAL.lmp.

Edited by Andrew Wong

Merge request reports

Loading