aboutsummaryrefslogtreecommitdiff
path: root/src/client/render
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-11-06 09:58:26 +0000
committerparamat <mat.gregory@virginmedia.com>2017-11-06 12:54:08 +0000
commit179476d8330ff0fd03c3c95bbb8ea0f55e5ad2ed (patch)
tree99811e7d1430a9d064e40e3a2b13a08f6bf5930b /src/client/render
parent4c40e0775ca564296a56f72ff3adce50ba925b0c (diff)
downloadminetest-179476d8330ff0fd03c3c95bbb8ea0f55e5ad2ed.tar.gz
minetest-179476d8330ff0fd03c3c95bbb8ea0f55e5ad2ed.tar.bz2
minetest-179476d8330ff0fd03c3c95bbb8ea0f55e5ad2ed.zip
LINT: Add files to whitelist, fix detected indent errors
Diffstat (limited to 'src/client/render')
-rw-r--r--src/client/render/core.cpp6
-rw-r--r--src/client/render/interlaced.cpp4
-rw-r--r--src/client/render/plain.cpp4
-rw-r--r--src/client/render/sidebyside.cpp4
-rw-r--r--src/client/render/stereo.cpp4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/client/render/core.cpp b/src/client/render/core.cpp
index 7a4230c84..89b7371f1 100644
--- a/src/client/render/core.cpp
+++ b/src/client/render/core.cpp
@@ -26,9 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "minimap.h"
RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud)
- : device(_device), driver(device->getVideoDriver()), smgr(device->getSceneManager()),
- guienv(device->getGUIEnvironment()), client(_client), camera(client->getCamera()),
- mapper(client->getMinimap()), hud(_hud)
+ : device(_device), driver(device->getVideoDriver()), smgr(device->getSceneManager()),
+ guienv(device->getGUIEnvironment()), client(_client), camera(client->getCamera()),
+ mapper(client->getMinimap()), hud(_hud)
{
screensize = driver->getScreenSize();
virtual_size = screensize;
diff --git a/src/client/render/interlaced.cpp b/src/client/render/interlaced.cpp
index ccd4e60cf..aac928475 100644
--- a/src/client/render/interlaced.cpp
+++ b/src/client/render/interlaced.cpp
@@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "client/tile.h"
RenderingCoreInterlaced::RenderingCoreInterlaced(
- IrrlichtDevice *_device, Client *_client, Hud *_hud)
- : RenderingCoreStereo(_device, _client, _hud)
+ IrrlichtDevice *_device, Client *_client, Hud *_hud)
+ : RenderingCoreStereo(_device, _client, _hud)
{
initMaterial();
}
diff --git a/src/client/render/plain.cpp b/src/client/render/plain.cpp
index 94921245b..cb87c6b30 100644
--- a/src/client/render/plain.cpp
+++ b/src/client/render/plain.cpp
@@ -27,8 +27,8 @@ inline u32 scaledown(u32 coef, u32 size)
}
RenderingCorePlain::RenderingCorePlain(
- IrrlichtDevice *_device, Client *_client, Hud *_hud)
- : RenderingCore(_device, _client, _hud)
+ IrrlichtDevice *_device, Client *_client, Hud *_hud)
+ : RenderingCore(_device, _client, _hud)
{
scale = g_settings->getU16("undersampling");
}
diff --git a/src/client/render/sidebyside.cpp b/src/client/render/sidebyside.cpp
index 2af09ee33..d2c171794 100644
--- a/src/client/render/sidebyside.cpp
+++ b/src/client/render/sidebyside.cpp
@@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "hud.h"
RenderingCoreSideBySide::RenderingCoreSideBySide(
- IrrlichtDevice *_device, Client *_client, Hud *_hud, bool _horizontal)
- : RenderingCoreStereo(_device, _client, _hud), horizontal(_horizontal)
+ IrrlichtDevice *_device, Client *_client, Hud *_hud, bool _horizontal)
+ : RenderingCoreStereo(_device, _client, _hud), horizontal(_horizontal)
{
}
diff --git a/src/client/render/stereo.cpp b/src/client/render/stereo.cpp
index eec9f8ced..1fa72d0fa 100644
--- a/src/client/render/stereo.cpp
+++ b/src/client/render/stereo.cpp
@@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "settings.h"
RenderingCoreStereo::RenderingCoreStereo(
- IrrlichtDevice *_device, Client *_client, Hud *_hud)
- : RenderingCore(_device, _client, _hud)
+ IrrlichtDevice *_device, Client *_client, Hud *_hud)
+ : RenderingCore(_device, _client, _hud)
{
eye_offset = BS * g_settings->getFloat("3d_paralax_strength");
}