projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sprites in Repo geworfen (damit nichts verlorengeht)
[hackover2013-badge-firmware.git]
/
badge
/
jumpnrun
/
tiles.h
diff --git
a/badge/jumpnrun/tiles.h
b/badge/jumpnrun/tiles.h
index
8010e11
..
a6a5f70
100644
(file)
--- a/
badge/jumpnrun/tiles.h
+++ b/
badge/jumpnrun/tiles.h
@@
-7,12
+7,12
@@
#include <stdint.h>
#include <stdint.h>
-
typedef
enum {
- JUMPNRUN_
TILE
_TOP = 1,
- JUMPNRUN_
TILE
_BOTTOM = 2,
- JUMPNRUN_
TILE
_LEFT = 4,
- JUMPNRUN_
TILE
_RIGHT = 8
-}
jumpnrun_tile_sides
;
+enum {
+ JUMPNRUN_
COLLISION
_TOP = 1,
+ JUMPNRUN_
COLLISION
_BOTTOM = 2,
+ JUMPNRUN_
COLLISION
_LEFT = 4,
+ JUMPNRUN_
COLLISION
_RIGHT = 8
+};
enum {
JUMPNRUN_TILE_PIXEL_WIDTH = 5,
enum {
JUMPNRUN_TILE_PIXEL_WIDTH = 5,
@@
-20,8
+20,8
@@
enum {
};
typedef struct jumpnrun_tile_position {
};
typedef struct jumpnrun_tile_position {
-
u
int16_t x;
-
u
int8_t y;
+ int16_t x;
+ int8_t y;
} jumpnrun_tile_position;
typedef struct jumpnrun_tile_type {
} jumpnrun_tile_position;
typedef struct jumpnrun_tile_type {
@@
-53,6
+53,10
@@
enum {
JUMPNRUN_TILE_TYPE_TUBE_TOP_RIGHT,
JUMPNRUN_TILE_TYPE_TUBE_LEFT,
JUMPNRUN_TILE_TYPE_TUBE_RIGHT,
JUMPNRUN_TILE_TYPE_TUBE_TOP_RIGHT,
JUMPNRUN_TILE_TYPE_TUBE_LEFT,
JUMPNRUN_TILE_TYPE_TUBE_RIGHT,
+ JUMPNRUN_TILE_TYPE_SPIKE_UP,
+ JUMPNRUN_TILE_TYPE_SPIKE_RIGHT,
+ JUMPNRUN_TILE_TYPE_SPIKE_DOWN,
+ JUMPNRUN_TILE_TYPE_SPIKE_LEFT,
JUMPNRUN_TILE_TYPE_COUNT
};
JUMPNRUN_TILE_TYPE_COUNT
};
This page took
0.027254 seconds
and
4
git commands to generate.