I hate my life

This commit is contained in:
2021-11-05 10:55:10 -07:00
parent f6ea081b2d
commit 715ecd3a73
16 changed files with 522 additions and 86 deletions

View File

@@ -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);

View File

@@ -17,6 +17,8 @@
#include "../../ui/breakpoint.h"
#include "../../file/assetmanager.h"
#include "../../file/xml2.h"
typedef struct {
engine_t engine;
shader_t shader;