Compare commits

...

5 Commits

Author SHA1 Message Date
Preston Cammarata e7f521abad Update defaultsettings.cpp 2015-04-21 17:17:28 -04:00
Preston Cammarata 38621c2092 Update camera.cpp 2015-04-21 17:17:03 -04:00
Preston Cammarata b0e3a93808 Fixing bugs 2015-04-21 06:13:34 -04:00
Preston Cammarata da3f1b164f Fixing bugs 2015-04-20 23:16:45 -04:00
Preston Cammarata 590f064d3a Third person view (again) 2015-04-20 19:49:09 -04:00
2 changed files with 1 additions and 7 deletions

View File

@ -1,17 +1,14 @@
/*
Minetest
Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
@ -382,8 +379,6 @@ void Camera::update(LocalPlayer* player, f32 frametime, f32 busytime,
bool abort = false;
for (int i = BS; i <= BS*2.75; i++)
{
// Adds a farther away camera angle
for (int i = BS; i <= BS* 3.2; i++)
my_cp.X = m_camera_position.X + m_camera_direction.X*-i;
my_cp.Z = m_camera_position.Z + m_camera_direction.Z*-i;
if (i > 12)
@ -535,7 +530,6 @@ void Camera::updateViewingRange(f32 frametime_in, f32 busytime_in)
/*dstream<<__FUNCTION_NAME
<<": Collected "<<m_added_frames<<" frames, total of "
<<m_added_busytime<<"s."<<std::endl;
dstream<<"m_draw_control.blocks_drawn="
<<m_draw_control.blocks_drawn
<<", m_draw_control.blocks_would_have_drawn="

View File

@ -288,7 +288,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("liquid_update", "1.0");
//mapgen stuff
settings->setDefault("mg_name", "v7");
settings->setDefault("mg_name", "v6");
settings->setDefault("water_level", "1");
settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", "");