config.def.h (1032B)
1 /* number of times a mature card can be failed */ 2 /* before it is excluded from reviews. must be <= 255 */ 3 #define MAX_LEECHES 4 4 5 /* the minimum age in seconds for card to be considerd a leech */ 6 /* 3 days for example is 3 * 24 * 3600 (3d * 24h/d * 3600s/h) */ 7 #define LEECH_AGE (5 * 24 * 3600) 8 9 /* minimum interval in seconds for grow by */ 10 #define MINIMUM_INCREASE (24 * 3600) 11 12 /* amount to mutliply the cards interval by when it passes */ 13 /* should be > 1. this leads to exponential growth */ 14 #define GROWTH_RATE (1.5) 15 16 /* amount to mutliply the cards interval by when it fails */ 17 /* should be < 1. this leads to exponential decay */ 18 #define SHRINK_RATE (0.66) 19 20 /* card id formatting. needs a %ld */ 21 #define CARDID "%05ld" 22 23 /* string used as a field delimiter */ 24 /* don't set this to a string that could appear in fields */ 25 #define DELIM "\t" 26 27 /* format for times in the output deck file */ 28 const char *timefmt = "%Y年%m月%d日%H時%M分"; 29 30 /* remaining reviews string. needs a %ld */ 31 const char *remfmt = "残り:%ld枚\n";