]>
git.gir.st - VIper.git/blob - schemes.h
4 #include "viiper.h" /* for enum items */
12 //#define BORDER(v,h) op.sch->border[BORDER_ ## v][BORDER_ ## h]
13 #define BORDER(v,h) (g.b.t&1<<BONUS_WRAP?op.sch->permeable:op.sch->border) \
14 [BORDER_ ## v][BORDER_ ## h]
18 char* permeable
[4][3]; /* for wrap-around mode */
20 char* snake
[5][5]; /* [predecessor][successor] */
21 char* color
[3]; /* 0=even, 1=odd, 2=head */
23 char* food
[NUM_FOODS
];
26 int cell_width
; /* logical cell width */
27 int display_width
; /* physical cell width */
30 struct scheme unic0de
= {
44 .snake
= { /* sorted like in the enum directions */
45 /*NOTE: same-to-same direction is for wrap-around*/
78 .color
= {"32", "92", "92;1"},