[Add] Absolutely nothing. Just need my commit for the day. Too lazy to code.
This commit is contained in:
parent
34b01c7545
commit
e0f78e40a3
14
src/player.c
14
src/player.c
@ -1,10 +1,22 @@
|
||||
#include <malloc.h>
|
||||
#include <libxml/parser.h>
|
||||
|
||||
#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).
|
||||
|
Loading…
Reference in New Issue
Block a user