camera.step(dtime);
v3f player_position = player->getPosition();
- v3s16 pos_i = floatToInt(player_position, BS);
v3f camera_position = camera.getPosition();
v3f camera_direction = camera.getDirection();
f32 camera_fov = camera.getFovMax();
}
void ServerMap::prepareBlock(MapBlock *block) {
- ServerEnvironment *senv = &((Server *)m_gamedef)->getEnv();
}
s16 ServerMap::findGroundLevel(v2s16 p2d)
void Mapgen::updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax) {
- bool isliquid, wasliquid, rare;
+ bool isliquid, wasliquid;
v3s16 em = vm->m_area.getExtent();
for (s16 z = nmin.Z; z <= nmax.Z; z++) {