diff options
author | Julian <j@teule.nl> | 2018-11-05 15:24:07 +0100 |
---|---|---|
committer | Julian <j@teule.nl> | 2018-11-05 15:24:07 +0100 |
commit | ee21519c62f14f21986f404c1be6263c90ed1d3c (patch) | |
tree | 8e9f151629574bb6854148739b8c550a6792bcf4 /sprites.h | |
parent | 9d6f0cce50cb2cde4eb558bac73277eb5395cfcf (diff) |
Added tetrisBlocks
Diffstat (limited to 'sprites.h')
-rw-r--r-- | sprites.h | 94 |
1 files changed, 94 insertions, 0 deletions
@@ -59,4 +59,98 @@ const Sprite miniSmiley = { }, 4, 3 }; + +const Sprite iBlock = { + { + 0b11110000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 4, 1 +}; + +const Sprite oBlock = { + { + 0b11000000, + 0b11000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 2, 2 +}; + +const Sprite tBlock = { + { + 0b01000000, + 0b11100000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 3, 2 +}; + +const Sprite sBlock = { + { + 0b01100000, + 0b11000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 3, 2 +}; + +const Sprite zBlock = { + { + 0b11000000, + 0b01100000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 3, 2 +}; + +const Sprite jBlock = { + { + 0b10000000, + 0b11100000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 3, 2 +}; + +const Sprite lBlock = { + { + 0b00100000, + 0b11100000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000, + 0b00000000 + }, 3, 2 +}; + +const Sprite *blocks[] = { &iBlock, &oBlock, &tBlock, &sBlock, &zBlock, &jBlock, &lBlock }; + #endif |