I hate my life
This commit is contained in:
@@ -7,7 +7,19 @@
|
||||
|
||||
#include "game.h"
|
||||
|
||||
|
||||
|
||||
bool sandboxGameInit(sandboxgame_t *game) {
|
||||
xmlnode_t node;
|
||||
char *string = "<xml attribute=\"value\" something=\"else\"><child>Hello World</child></xml>";
|
||||
|
||||
char bufferTest[64];
|
||||
|
||||
xmlParseElement(&node, string;
|
||||
xmlGetAttributeValue(&node, xmlGetAttributeByName(&node, "something"), bufferTest);
|
||||
|
||||
char *start = xmlFindChildNode(&node);
|
||||
|
||||
quadInit(&game->quad, 0, 0,0,0,0, 500,500,1,1);
|
||||
|
||||
assetManagerInit(&game->manager);
|
||||
|
@@ -17,6 +17,8 @@
|
||||
#include "../../ui/breakpoint.h"
|
||||
#include "../../file/assetmanager.h"
|
||||
|
||||
#include "../../file/xml2.h"
|
||||
|
||||
typedef struct {
|
||||
engine_t engine;
|
||||
shader_t shader;
|
||||
|
Reference in New Issue
Block a user