From 65372937a8fd4f91b076efe33eec7722984fae01 Mon Sep 17 00:00:00 2001 From: EvanR Date: Sun, 9 May 2010 10:54:03 -0500 Subject: [PATCH] Forgot to add new files. --- camera.c | 12 ++++++++++++ camera.h | 4 ++++ hud.c | 5 +++++ hud.h | 3 +++ 4 files changed, 24 insertions(+) create mode 100644 camera.c create mode 100644 camera.h create mode 100644 hud.c create mode 100644 hud.h diff --git a/camera.c b/camera.c new file mode 100644 index 0000000..5ae3d7e --- /dev/null +++ b/camera.c @@ -0,0 +1,12 @@ + +struct { + int x; + int y; +} camera; + +int camera_x(){ return camera.x; } +int camera_y(){ return camera.y; } +void point_camera(int x, int y){ + camera.x = x; + camera.y = y; +} diff --git a/camera.h b/camera.h new file mode 100644 index 0000000..3dfce3a --- /dev/null +++ b/camera.h @@ -0,0 +1,4 @@ + +int camera_x(); +int camera_y(); +void point_camera(int x, int y); diff --git a/hud.c b/hud.c new file mode 100644 index 0000000..a78c0c5 --- /dev/null +++ b/hud.c @@ -0,0 +1,5 @@ + + +void hud_draw(){ + +} diff --git a/hud.h b/hud.h new file mode 100644 index 0000000..61d3de7 --- /dev/null +++ b/hud.h @@ -0,0 +1,3 @@ + +void hud_draw(); + -- 2.11.4.GIT