示例#1
0
void setLevel(size_t levelNum, const DiabloExe::DiabloExe& exe, FAWorld::World& world, FARender::Renderer& renderer, const Level::Level& level)
{
    world.clear();
    if(levelNum == 0)
        world.addNpcs(exe);
    renderer.setLevel(level);
    world.setLevel(level, exe);
}
示例#2
0
void setLevel(size_t dLvl, const DiabloExe::DiabloExe& exe, FAWorld::World& world, Level::Level* level)
{
    world.clear();
    world.setLevel(*level, exe);

    if(dLvl == 0)
        world.addNpcs(exe);
}