![]() |
naev 0.11.5
|
#include "nxml.h"#include "ndata.h"#include "nstring.h"Go to the source code of this file.
Functions | |
| glTexture * | xml_parseTexture (xmlNodePtr node, const char *path, int defsx, int defsy, const unsigned int flags) |
| Parses a texture handling the sx and sy elements. | |
| void | xmlw_setParams (xmlTextWriterPtr writer) |
| Sets up the standard xml write parameters. | |
| xmlDocPtr | xml_parsePhysFS (const char *filename) |
| Analogous to xmlParseMemory/xmlParseFile. | |
| int | xmlw_saveTime (xmlTextWriterPtr writer, const char *name, time_t t) |
| int | xml_parseTime (xmlNodePtr node, time_t *t) |
See Licensing and Copyright notice in naev.h
Handles some complex xml parsing.
Definition in file nxml.c.
| xmlDocPtr xml_parsePhysFS | ( | const char * | filename | ) |
| glTexture * xml_parseTexture | ( | xmlNodePtr | node, |
| const char * | path, | ||
| int | defsx, | ||
| int | defsy, | ||
| const unsigned int | flags ) |
Parses a texture handling the sx and sy elements.
| node | Node to parse. |
| path | Path to get file from, should be in the format of "PREFIX%sSUFFIX". |
| defsx | Default X sprites. |
| defsy | Default Y sprites. |
| flags | Image parameter control flags. |
| int xmlw_saveTime | ( | xmlTextWriterPtr | writer, |
| const char * | name, | ||
| time_t | t ) |