From e0f78e40a377413a6a2c966f2889b75bd5c970a1 Mon Sep 17 00:00:00 2001 From: Allanis Date: Mon, 11 Feb 2013 19:42:33 +0000 Subject: [PATCH] [Add] Absolutely nothing. Just need my commit for the day. Too lazy to code. --- src/player.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/player.c b/src/player.c index 0d5e280..f5fb256 100644 --- a/src/player.c +++ b/src/player.c @@ -1,10 +1,22 @@ #include +#include + #include "main.h" #include "pilot.h" #include "log.h" #include "opengl.h" +#include "pack.h" #include "player.h" +#define XML_NODE_START 1 +#define XML_NODE_TEXT 3 + +#define XML_GUI_ID "GUIs" // XML section identifier. +#define XML_GUI_ID "gui" + +#define GUI_DATA "../dat/gui.xml" +#define GUI_GFX "../gfx/gui/" + #define POW2(x) ((x)*(x)) #define GFX_GUI_FRAME "../gfx/gui/frame.png" @@ -113,6 +125,7 @@ static Msg* msg_stack; // External. extern void pilot_render(Pilot* pilot); // Extern is in Pilot.* // Internal. +//TODO: Gui shit. void gui_renderPilot(Pilot* p); void gui_renderBar(Color* c, Vec2* p, Rect* r, double w); @@ -397,7 +410,6 @@ void input_setDefault(void) { input_setKeybind("target_nearest", KEYBIND_KEYBOARD, SDLK_r, 0); input_setKeybind("mapzoomin", KEYBIND_KEYBOARD, SDLK_UP, 0); input_setKeybind("mapzoomout", KEYBIND_KEYBOARD, SDLK_DOWN, 0); - } // Initialization/exit functions (does not assign keys).