Skip to content

Commit 0cc4414

Browse files
committed
Code clean-up
1 parent 8edc924 commit 0cc4414

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

readme.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ Optimization:
107107
This can create longer runs of repeated values in the CLRTBL, leading to better compression ratios.
108108
This optimization is applied after the applying the requested pattern generation algorithm (`-hl`, `-lh`, `-f<0..7>`, `-b<0..7>`).
109109

110+
> Note: users are encouraged to use the more newer, more versatile, [precompression-tools](https://github.com/theNestruo/precompression-tools) instead of the optimization flag `-o`.
111+
110112
NAMTBL generation:
111113

112114
* `-n<00..ff>` generate NAMTBL \[starting at value &lt;n&gt;\]

src/nametable.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ void reallocateBlocks(struct stCharset *charset, int newBlockCount);
1717

1818
/* Function bodies --------------------------------------------------------- */
1919

20-
// Supported arguments:
21-
// -n[<00..ff>] generate NAMTBL [starting at value <n>]
22-
// -b<00..ff> blank block at position <nn>
23-
// -rr remove repeated tiles
24-
// -rm<0..f> remove solid tiles of <n> color
2520
void nameTableProcessorOptions() {
2621

2722
printf("\t-n[<00..ff>]\tgenerate NAMTBL [starting at value <n>]\n");

src/nametable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct stNameTableProcessor {
3737
// Supported arguments:
3838
// -n[<00..ff>] generate NAMTBL [starting at value <n>]
3939
// -b<00..ff> blank block at position <nn>
40-
// -rr remove repeated tiles
40+
// -rr remove repeated tiles
4141
// -rm<0..f> remove solid tiles of <n> color
4242
void nameTableProcessorOptions();
4343

src/sprite.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ struct stSprWriter {
4444
// -h generate half sprites (8x16px, 16b per sprite)
4545
// -hl lower colors will have higher priority planes (default)
4646
// -lh higher colors will have higher priority planes
47+
// -th traverse spritesheet horizontally, then vertically (default)
48+
// -tv traverse spritesheet vertically, then horizontally
4749
void sprWriterOptions();
4850

4951
void sprWriterInit(struct stSprWriter *instance, int argc, char **argv);

0 commit comments

Comments
 (0)