Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2008, 4:03:19 AM (16 years ago)
Author:
bknecht
Message:

loads level from file and creates lua code from XML code. not tested yet though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/script/src/orxonox/script/Script.h

    r954 r956  
    1212}
    1313
     14#include <list>
     15#include <string>
     16
    1417namespace orxonox
    1518{
     
    2023    ~Script();
    2124
     25    void loadFile(std::string filename);
     26    void xmlToLua();
     27
    2228    inline lua_State* getLuaState() { return state_; };
    2329
    2430    private:
     31
     32      //std::list<std::string>& getLevelFileLines();
     33
     34      std::list<std::string> fileLines_;
    2535      lua_State* state_;
    2636
Note: See TracChangeset for help on using the changeset viewer.