/*********************************************************
dataxml.h
manage data xml file and manage Artifacts
made by phrounz
*********************************************************/

#ifndef DATAXML_H
#define DATAXML_H

struct dataxmlInfo
{
    char *meshFile;
    char *textBook;
    char *textBookFrench;
    char *skybox;
    double playerInitialY;
    int waterSize;
    int isNight;
};

//Load data xml file and create Artifacts.
//Return a dataxmlInfo structure containing useful informations.
struct dataxmlInfo dataxml_loadLevel(const char *filepath,int level);

//You should call this function when you don't need the struct dataxmlInfo any more.
void dataxml_freeDataxmlInfoStructure(const struct dataxmlInfo &di);

#endif /*DATAXML_H*/
