src/misc.h

changeset 461
fbcc91ae1dd2
parent 455
c5d14d112034
child 473
2a84149fe642
equal deleted inserted replaced
460:b230ae09c8e5 461:fbcc91ae1dd2
45 str join (initlist<StringFormatArg> vals, str delim = " "); 45 str join (initlist<StringFormatArg> vals, str delim = " ");
46 46
47 // Grid stuff 47 // Grid stuff
48 typedef struct { 48 typedef struct {
49 const char* const name; 49 const char* const name;
50 floatconfig* const confs[4]; 50 FloatConfig* const confs[4];
51 } gridinfo; 51 } gridinfo;
52 52
53 extern_cfg (int, grid); 53 extern_cfg (Int, grid);
54 static const short g_NumGrids = 3; 54 static const short g_NumGrids = 3;
55 extern const gridinfo g_GridInfo[3]; 55 extern const gridinfo g_GridInfo[3];
56 56
57 inline const gridinfo& currentGrid() { 57 inline const gridinfo& currentGrid() {
58 return g_GridInfo[grid]; 58 return g_GridInfo[grid];

mercurial