blob: 99f682a6130dd572b55f44ce0c093693ead5c2ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "utils.h"
#ifndef MAD_LIBS_H
#define MAD_LIBS_H
/*
@n for noun
@v for verb
@a for adverb
@j for adjective
@r for random
@@ for normal @
*/
#define MAD_LIBS_MAX 24
#define NOUN_COUNT 46
#define VERB_COUNT 34
#define ADVERB_COUNT 27
#define ADJECTIVE_COUNT 38
extern const char madLibsNouns[NOUN_COUNT][MAD_LIBS_MAX];
extern const char madLibsVerbs[VERB_COUNT][MAD_LIBS_MAX];
extern const char madLibsAdverbs[ADVERB_COUNT][MAD_LIBS_MAX];
extern const char madLibsAdjectives[ADJECTIVE_COUNT][MAD_LIBS_MAX];
Seed getRandomMapLibsWord(char* outputString, char type, Seed seed);
Seed mapLibs(char* outputString, const char* formatString, size_t maxSize,
Seed seed);
#endif
|