mirror of https://git.sr.ht/~rabbits/parade
Reduce max size
This commit is contained in:
parent
44ec0c4122
commit
3826987861
15
NOTES
15
NOTES
|
@ -16,3 +16,18 @@ answer(¶de, "warp to the library");
|
|||
answer(¶de, "become the ghost");
|
||||
answer(¶de, "use the bat");
|
||||
|
||||
/* world export */
|
||||
|
||||
|
||||
answer(¶de, "create box1");
|
||||
answer(¶de, "create box2");
|
||||
answer(¶de, "create box3");
|
||||
answer(¶de, "take box1");
|
||||
answer(¶de, "take box2");
|
||||
answer(¶de, "enter box3");
|
||||
answer(¶de, "note example note");
|
||||
answer(¶de, "note example program");
|
||||
answer(¶de, "warp to box2");
|
||||
answer(¶de, "note example note");
|
||||
answer(¶de, "note example program");
|
||||
answer(¶de, "save");
|
7
main.c
7
main.c
|
@ -1,10 +1,10 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#define NAMELEN 16
|
||||
#define TEXTLEN 512
|
||||
#define TEXTLEN 256
|
||||
|
||||
typedef struct Vessel {
|
||||
int id;
|
||||
char id;
|
||||
struct Vessel* owner;
|
||||
struct Vessel* parent;
|
||||
char name[NAMELEN];
|
||||
|
@ -393,9 +393,8 @@ int
|
|||
save(Parade* p)
|
||||
{
|
||||
int i;
|
||||
char body[1024];
|
||||
for(i = 0; i < p->len; ++i) {
|
||||
printf("%-4d %-4d %-4d %-16s %s | %s\n",
|
||||
printf("%02x%02x%02x %-16s %s | %s\n",
|
||||
p->vessels[i].id,
|
||||
p->vessels[i].owner->id,
|
||||
p->vessels[i].parent->id,
|
||||
|
|
Loading…
Reference in New Issue