diff options
author | B. Watson <yalhcru@gmail.com> | 2021-05-31 23:30:54 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-05-31 23:30:54 -0400 |
commit | 847087affbcf2fb5c18b47ae1ee7b5471fc32378 (patch) | |
tree | ee33432fe02c0b2d20367815accfc64b1d655011 /convfont.c | |
parent | 5a38a9e53fc1b6ebb95e9fcee4beeec471355745 (diff) | |
download | taipan-master.tar.gz |
Diffstat (limited to 'convfont.c')
-rw-r--r-- | convfont.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -190,6 +190,18 @@ char damaged_shipshape[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +/* DAMAGED2.DAT - as above. damage_lorcha randomly picks + from the 2 damaged ship shapes. */ +char damaged_shipshape2[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x42, 0x4e, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x48, 0x4c, 0x56, 0x57, 0x60, + 0x00, 0x00, 0x5e, 0x49, 0x4b, 0x57, 0x5f, + 0x00, 0x7d, 0x7e, 0x7c, 0x7e, 0x50, 0x7f, + 0x00, 0x46, 0xd4, 0x49, 0x4c, 0x5d, 0x47, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 +}; + void bitswap(unsigned char *b, int lim) { unsigned char j, k; // fprintf(stderr, "bitswap(%x, %d)\n", b, lim); @@ -310,5 +322,9 @@ int main(int argc, char **argv) { write(i, damaged_shipshape, sizeof(damaged_shipshape)); close(i); + i = open("DAMAGED2.DAT", O_WRONLY | O_CREAT, 0666); + write(i, damaged_shipshape2, sizeof(damaged_shipshape2)); + close(i); + return 0; } |