Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1085 for code/trunk


Ignore:
Timestamp:
Apr 16, 2008, 10:00:56 PM (17 years ago)
Author:
rgrieder
Message:

stupid people should be punished…

Location:
code/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r1084 r1085  
    5555# FIND_PACKAGE(CEGUI_OGRE)
    5656FIND_PACKAGE(ENet)
    57 FIND_PACKAGE(Boost)
     57FIND_PACKAGE(Boost REQUIRED thread)
    5858FIND_PACKAGE(OpenAL)
    5959FIND_PACKAGE(ALUT)
  • code/trunk/bin/levels/sample.oxw

    r1084 r1085  
    115115
    116116<?lua
    117 for i = 1, 2, 1
     117for i = 1, 226, 1
    118118do ?>
    119119  <Model position="<?lua print(math.random(-19597, 18732))?>, <?lua print(math.random(-19597, 18732)) ?>, <?lua print(math.random(-19597, 18732)) ?>" scale="<?lua print(math.random( 20, 119)) ?>" mesh="ast<?lua print(i%6 + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random(16, 44)) ?>" />
  • code/trunk/src/core/Loader.cc

    r1056 r1085  
    115115        Script::init(Script::getLuaState());
    116116        Script::run();*/
    117         Script* lua = Script::getInstance();
    118         lua->loadFile(level->getFile(), true);
    119         lua->run();
     117        //Script* lua = Script::getInstance();
     118        //lua->loadFile(level->getFile(), true);
     119        //lua->run();
    120120
    121121        try
     
    124124            COUT(3) << "Mask: " << Loader::currentMask_s << std::endl;
    125125
    126             //ticpp::Document xmlfile(level->getFile());
    127             //xmlfile.LoadFile();
     126            ticpp::Document xmlfile(level->getFile());
     127            xmlfile.LoadFile();
    128128            //ticpp::Element myelement(*Script::getFileString());
    129             ticpp::Document xmlfile;
    130             //xmlfile.ToDocument();
    131             xmlfile.Parse(lua->getLuaOutput(), true);
     129            //ticpp::Document xmlfile;
     130            xmlfile.ToDocument();
     131            //xmlfile.Parse(lua->getLuaOutput(), true);
    132132
    133133            ticpp::Element rootElement;
  • code/trunk/src/util/CMakeLists.txt

    r1084 r1085  
    1010  MultiTypeString.cc
    1111  MultiTypeMath.cc
    12   tolua_event.c
    13   tolua_is.c
    14   tolua_map.c
    15   tolua_push.c
    16   tolua_to.c
     12  tolua/tolua_event.c
     13  tolua/tolua_is.c
     14  tolua/tolua_map.c
     15  tolua/tolua_push.c
     16  tolua/tolua_to.c
    1717  ${TINYXML_SRC_FILES}
    1818)
Note: See TracChangeset for help on using the changeset viewer.