Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const bool see[8][16] =
- {
- {
- 0,1,1,1,
- 1,1,0,1,
- 0,1,1,0,
- 0,0,1,0
- },{
- 0,0,1,0,
- 1,0,0,0,
- 0,1,1,1,
- 0,0,0,1
- },{
- 0,1,0,0,
- 1,1,1,1,
- 0,1,0,0,
- 0,0,1,0
- },{
- 0,1,0,0,
- 1,1,0,1,
- 0,1,0,0,
- 0,0,0,0
- },{
- 1,1,1,0,
- 1,1,0,1,
- 1,1,1,0,
- 0,0,1,1
- },{
- 1,1,1,0,
- 1,1,0,1,
- 1,1,1,0,
- 1,1,1,1
- },{
- 0,0,1,0,
- 1,0,0,1,
- 0,0,0,0,
- 0,0,1,0
- },{
- 1,0,0,0,
- 0,1,1,0,
- 1,0,0,0,
- 1,1,0,1
- }
- };
- task main()
- {
- for (int i=0; i<8; i++)
- {
- for (int j=0; j<4; j++)
- {
- for (int k=0; k<4; k++)
- {
- bool tf=(see[i][j*4+k]);
- //int drawopt=(tf*32); // 00 32 NORMAL FILL
- int drawopt=(tf*28)+4; // 04 32 CLEAR FILL
- //int drawopt=(tf ) +3; // 03 04 CLRMODES CLEAR
- //int drawopt=(tf*4) +4; // 04 08 CLEAR LOGIC AND
- //int drawopt=(tf*6) +4; // 04 10 CLEAR LOGIC OR
- //int drawopt=(tf*14)+4; // 04 18 CLEAR LOGIC XOR
- RectOut(k*8,j*8,8,8,drawopt);
- }
- }
- Wait(1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement