test avoid bulled game
Dependencies: C12832_lcd LCD_fonts mbed mbed-rtos
Diff: KakuGraphicBuilder.cpp
- Revision:
- 29:7784b098ef1d
- Parent:
- 28:efe19c092c2c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/KakuGraphicBuilder.cpp Mon Dec 12 11:13:59 2016 +0000 @@ -0,0 +1,49 @@ +#include "kaku_integrate.h" +#include "models.h" +#include "graphics.h" + +char map = {0x00}; + + +KakuGraphicBuilder::KakuGraphicBuilder() +{ + Bitmap b = { + LCD_X, + LCD_Y, + LCD_X / 8, + map, + }; + bitmap_all = b; + reset_white_board(); +} + +Bitmap KakuGraphicBuilder::integrateBitmap(point pe, point bu, point st[]) +{ + Bitmap b; + return b; + +} + +void KakuGraphicBuilder::convolution(point p, int width, int height) +{ + +} + +void KakuGraphicBuilder::reset_white_board() +{ + for(int i = 0; i < LCD_Y; i++){ + for (int j = 0; j < LCD_X; j++){ + white_board[i][j] = 0; + } + } +} + +void intToBitmap(){ + for(int i = 0; i < LCD_Y ; i++){ + for (int j = 1; j <= LCD_X / 8; j++){ + + } + } +} + +