Userdata export: Reduce image size by 20 bytes.

Replace an array of const char* literals with a single const char*
literal containing all the messages in the rotating prompt and an
array of alt_u8 containing the offsets of each message within the
literal.

This ends up yielding a larger size reduction than expected, a
healthy 20 bytes, despite a meager 8-byte difference in the size
of local variables and slightly more complex pointer math in
calculating the address of the current message within the string
literal.
This commit is contained in:
Ari Sundholm committed 2020-11-09 19:12:41 +02:00
1 parent b68b586ec8
commit 89bc3f35e7
3 files changed
+5494 -5444

No files matched your search

File diff suppressed because it is too large. Load diff