Include "shared_define.h"
This commit is contained in:
parent
0541d8af64
commit
8511fb9eb9
|
@ -1,9 +1,7 @@
|
|||
#include "collide.h"
|
||||
#include "draw.h"
|
||||
#include "shared_define.h"
|
||||
|
||||
#define PLAYER_H 11
|
||||
#define PLAYER_W 11
|
||||
#define LEVEL_WIDTH 28
|
||||
#define SPIKE_SCAM 2
|
||||
|
||||
char collide(int x, int y, char level[], char tile)
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
#include <gint/display.h>
|
||||
#include <gint/keyboard.h>
|
||||
#include "draw.h"
|
||||
#include "shared_define.h"
|
||||
|
||||
#define PLAYER_H 11
|
||||
#define PLAYER_W 11
|
||||
#define BG_COLOR 0
|
||||
#define LEVEL_WIDTH 28
|
||||
#define DRAW_OFFSET_Y -24
|
||||
#define DRAW_OFFSET_X -27
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "levels.h"
|
||||
#include "player.h"
|
||||
#include "menu.h"
|
||||
#include "shared_define.h"
|
||||
|
||||
#define MAX_HSPD 2.5
|
||||
#define ACCELERATION 1.0
|
||||
|
@ -216,7 +217,7 @@ int main(void)
|
|||
{
|
||||
level_id++;
|
||||
rem_step = step;
|
||||
if (level_id == 5061)
|
||||
if (level_id == LAST_LEVEL + 1)
|
||||
{
|
||||
just_breathe(step);
|
||||
return 0;
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#include <gint/display.h>
|
||||
#include <gint/keyboard.h>
|
||||
#include "menu.h"
|
||||
|
||||
#define LAST_LEVEL 5060
|
||||
#include "shared_define.h"
|
||||
|
||||
#define Y_POS 88
|
||||
|
||||
|
|
Loading…
Reference in New Issue