#include "constant.h"
-#define _nb_blocks_std 6
+#define _nb_blocks_std 7
block_t _blocks_std[_nb_blocks_std] = {
- {3, 2, 2, " .... "},
- {3, 2, 3, ".. .."},
- {2, 3, 4, ". . .."},
- {2, 3, 5, " . ..."},
- {2, 2, 6, "...."},
- {1, 4, 7, "...."}
+ {4, 1, 2, "...."},
+ {2, 2, 4, "...."},
+ {3, 2, 7, "... . "},
+ {3, 2, 6, ".... "},
+ {3, 2, 1, ". ..."},
+ {3, 2, 5, ".. .."},
+ {3, 2, 3, " .... "},
};
block_t *getblocks (char *name, int *nb)
/* get blocks */
int nb_blocks = 0;
block_t *blocks = getblocks ("std", &nb_blocks);
- board_t *nextblock = initboard (maxblockwidth (blocks, nb_blocks) + 2, maxblockheight (blocks, nb_blocks));
+ board_t *nextblock = initboard (maxblockwidth (blocks, nb_blocks) + 2,
+ maxblockheight (blocks, nb_blocks) + 2);
setscale (nextblock, scale);
/* init seed */