Added TeeWorlds - it compiles but does not work yet (crashed my Evo yay!)
This commit is contained in:
21
project/jni/application/teeworlds/src/game/collision.hpp
Normal file
21
project/jni/application/teeworlds/src/game/collision.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
/* copyright (c) 2007 magnus auvinen, see licence.txt for more info */
|
||||
#ifndef GAME_MAPRES_COL_H
|
||||
#define GAME_MAPRES_COL_H
|
||||
|
||||
#include <base/vmath.hpp>
|
||||
|
||||
enum
|
||||
{
|
||||
COLFLAG_SOLID=1,
|
||||
COLFLAG_DEATH=2,
|
||||
COLFLAG_NOHOOK=4,
|
||||
};
|
||||
|
||||
int col_init();
|
||||
int col_is_solid(int x, int y);
|
||||
int col_get(int x, int y);
|
||||
int col_width();
|
||||
int col_height();
|
||||
int col_intersect_line(vec2 pos0, vec2 pos1, vec2 *out_collision, vec2 *out_before_collision);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user