improve details, add icon
This commit is contained in:
parent
37b6d10b62
commit
562debd926
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 9.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
@ -60,7 +60,7 @@ typedef struct {
|
|||
#define PLAYER_X 60
|
||||
#define PLAYER_R 40
|
||||
#define PLAYER_SIZE 8
|
||||
#define CORRIDOR_SIZE 120
|
||||
#define CORRIDOR_SIZE 138
|
||||
|
||||
#define RECT_SPEED 50 /* px/tempo */
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ int main(void)
|
|||
__printf_enable_fp();
|
||||
|
||||
memset(&game, 0x00, sizeof game);
|
||||
game.level = &level3;
|
||||
game.level = &level4;
|
||||
game.current = game.level->blocks;
|
||||
game.time = -5.0;
|
||||
|
||||
|
|
|
@ -95,10 +95,10 @@ void rect_load(rect_t *r, rectmeta_t const *meta)
|
|||
|
||||
switch(meta->position) {
|
||||
case Position_Left:
|
||||
r->y = DHEIGHT/2 - CORRIDOR_SIZE/2 + r->w/2;
|
||||
r->y = DHEIGHT/2 - CORRIDOR_SIZE/2 + r->h/2;
|
||||
break;
|
||||
case Position_Right:
|
||||
r->y = DHEIGHT/2 + CORRIDOR_SIZE/2 - r->w/2;
|
||||
r->y = DHEIGHT/2 + CORRIDOR_SIZE/2 - r->h/2;
|
||||
break;
|
||||
case Position_Middle:
|
||||
r->y = DHEIGHT/2;
|
||||
|
|
Loading…
Reference in New Issue