[Add] Absolutely nothing. Just need my commit for the day. Too lazy to code.

This commit is contained in:
Allanis 2013-02-11 19:42:33 +00:00
parent 34b01c7545
commit e0f78e40a3

View File

@ -1,10 +1,22 @@
#include <malloc.h> #include <malloc.h>
#include <libxml/parser.h>
#include "main.h" #include "main.h"
#include "pilot.h" #include "pilot.h"
#include "log.h" #include "log.h"
#include "opengl.h" #include "opengl.h"
#include "pack.h"
#include "player.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 POW2(x) ((x)*(x))
#define GFX_GUI_FRAME "../gfx/gui/frame.png" #define GFX_GUI_FRAME "../gfx/gui/frame.png"
@ -113,6 +125,7 @@ static Msg* msg_stack;
// External. // External.
extern void pilot_render(Pilot* pilot); // Extern is in Pilot.* extern void pilot_render(Pilot* pilot); // Extern is in Pilot.*
// Internal. // Internal.
//TODO: Gui shit.
void gui_renderPilot(Pilot* p); void gui_renderPilot(Pilot* p);
void gui_renderBar(Color* c, Vec2* p, Rect* r, double w); 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("target_nearest", KEYBIND_KEYBOARD, SDLK_r, 0);
input_setKeybind("mapzoomin", KEYBIND_KEYBOARD, SDLK_UP, 0); input_setKeybind("mapzoomin", KEYBIND_KEYBOARD, SDLK_UP, 0);
input_setKeybind("mapzoomout", KEYBIND_KEYBOARD, SDLK_DOWN, 0); input_setKeybind("mapzoomout", KEYBIND_KEYBOARD, SDLK_DOWN, 0);
} }
// Initialization/exit functions (does not assign keys). // Initialization/exit functions (does not assign keys).