mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
LINT: Add files to whitelist, fix detected indent errors
This commit is contained in:
parent
4c40e0775c
commit
179476d833
@ -26,9 +26,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "minimap.h"
|
#include "minimap.h"
|
||||||
|
|
||||||
RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
RenderingCore::RenderingCore(IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
||||||
: device(_device), driver(device->getVideoDriver()), smgr(device->getSceneManager()),
|
: device(_device), driver(device->getVideoDriver()), smgr(device->getSceneManager()),
|
||||||
guienv(device->getGUIEnvironment()), client(_client), camera(client->getCamera()),
|
guienv(device->getGUIEnvironment()), client(_client), camera(client->getCamera()),
|
||||||
mapper(client->getMinimap()), hud(_hud)
|
mapper(client->getMinimap()), hud(_hud)
|
||||||
{
|
{
|
||||||
screensize = driver->getScreenSize();
|
screensize = driver->getScreenSize();
|
||||||
virtual_size = screensize;
|
virtual_size = screensize;
|
||||||
|
@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "client/tile.h"
|
#include "client/tile.h"
|
||||||
|
|
||||||
RenderingCoreInterlaced::RenderingCoreInterlaced(
|
RenderingCoreInterlaced::RenderingCoreInterlaced(
|
||||||
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
||||||
: RenderingCoreStereo(_device, _client, _hud)
|
: RenderingCoreStereo(_device, _client, _hud)
|
||||||
{
|
{
|
||||||
initMaterial();
|
initMaterial();
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,8 @@ inline u32 scaledown(u32 coef, u32 size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
RenderingCorePlain::RenderingCorePlain(
|
RenderingCorePlain::RenderingCorePlain(
|
||||||
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
||||||
: RenderingCore(_device, _client, _hud)
|
: RenderingCore(_device, _client, _hud)
|
||||||
{
|
{
|
||||||
scale = g_settings->getU16("undersampling");
|
scale = g_settings->getU16("undersampling");
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "hud.h"
|
#include "hud.h"
|
||||||
|
|
||||||
RenderingCoreSideBySide::RenderingCoreSideBySide(
|
RenderingCoreSideBySide::RenderingCoreSideBySide(
|
||||||
IrrlichtDevice *_device, Client *_client, Hud *_hud, bool _horizontal)
|
IrrlichtDevice *_device, Client *_client, Hud *_hud, bool _horizontal)
|
||||||
: RenderingCoreStereo(_device, _client, _hud), horizontal(_horizontal)
|
: RenderingCoreStereo(_device, _client, _hud), horizontal(_horizontal)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
RenderingCoreStereo::RenderingCoreStereo(
|
RenderingCoreStereo::RenderingCoreStereo(
|
||||||
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
IrrlichtDevice *_device, Client *_client, Hud *_hud)
|
||||||
: RenderingCore(_device, _client, _hud)
|
: RenderingCore(_device, _client, _hud)
|
||||||
{
|
{
|
||||||
eye_offset = BS * g_settings->getFloat("3d_paralax_strength");
|
eye_offset = BS * g_settings->getFloat("3d_paralax_strength");
|
||||||
}
|
}
|
||||||
|
@ -3,26 +3,32 @@ src/ban.cpp
|
|||||||
src/camera.cpp
|
src/camera.cpp
|
||||||
src/camera.h
|
src/camera.h
|
||||||
src/cavegen.cpp
|
src/cavegen.cpp
|
||||||
|
src/cavegen.h
|
||||||
src/chat.cpp
|
src/chat.cpp
|
||||||
src/chat.h
|
src/chat.h
|
||||||
src/chat_interface.h
|
src/chat_interface.h
|
||||||
src/client/clientlauncher.cpp
|
|
||||||
src/client/clientlauncher.h
|
|
||||||
src/client.cpp
|
src/client.cpp
|
||||||
|
src/client.h
|
||||||
src/clientenvironment.cpp
|
src/clientenvironment.cpp
|
||||||
src/clientenvironment.h
|
src/clientenvironment.h
|
||||||
src/client.h
|
|
||||||
src/clientiface.cpp
|
src/clientiface.cpp
|
||||||
src/clientiface.h
|
src/clientiface.h
|
||||||
src/client/joystick_controller.cpp
|
|
||||||
src/client/joystick_controller.h
|
|
||||||
src/client/renderingengine.cpp
|
|
||||||
src/clientmap.cpp
|
src/clientmap.cpp
|
||||||
src/clientmap.h
|
src/clientmap.h
|
||||||
src/clientmedia.cpp
|
src/clientmedia.cpp
|
||||||
src/clientmedia.h
|
src/clientmedia.h
|
||||||
src/clientobject.cpp
|
src/clientobject.cpp
|
||||||
src/clientobject.h
|
src/clientobject.h
|
||||||
|
src/client/clientlauncher.cpp
|
||||||
|
src/client/clientlauncher.h
|
||||||
|
src/client/joystick_controller.cpp
|
||||||
|
src/client/joystick_controller.h
|
||||||
|
src/client/renderingengine.cpp
|
||||||
|
src/client/render/core.cpp
|
||||||
|
src/client/render/interlaced.cpp
|
||||||
|
src/client/render/plain.cpp
|
||||||
|
src/client/render/sidebyside.cpp
|
||||||
|
src/client/render/stereo.cpp
|
||||||
src/client/tile.cpp
|
src/client/tile.cpp
|
||||||
src/client/tile.h
|
src/client/tile.h
|
||||||
src/clouds.cpp
|
src/clouds.cpp
|
||||||
@ -74,8 +80,8 @@ src/filesys.h
|
|||||||
src/fontengine.cpp
|
src/fontengine.cpp
|
||||||
src/fontengine.h
|
src/fontengine.h
|
||||||
src/game.cpp
|
src/game.cpp
|
||||||
src/gamedef.h
|
|
||||||
src/game.h
|
src/game.h
|
||||||
|
src/gamedef.h
|
||||||
src/genericobject.cpp
|
src/genericobject.cpp
|
||||||
src/genericobject.h
|
src/genericobject.h
|
||||||
src/gettext.cpp
|
src/gettext.cpp
|
||||||
@ -131,21 +137,25 @@ src/mapblock.h
|
|||||||
src/mapblock_mesh.cpp
|
src/mapblock_mesh.cpp
|
||||||
src/mapblock_mesh.h
|
src/mapblock_mesh.h
|
||||||
src/map.cpp
|
src/map.cpp
|
||||||
|
src/map.h
|
||||||
src/mapgen.cpp
|
src/mapgen.cpp
|
||||||
|
src/mapgen.h
|
||||||
src/mapgen_carpathian.cpp
|
src/mapgen_carpathian.cpp
|
||||||
src/mapgen_carpathian.h
|
src/mapgen_carpathian.h
|
||||||
src/mapgen_flat.cpp
|
src/mapgen_flat.cpp
|
||||||
|
src/mapgen_flat.h
|
||||||
src/mapgen_fractal.cpp
|
src/mapgen_fractal.cpp
|
||||||
src/mapgen.h
|
src/mapgen_fractal.h
|
||||||
src/mapgen_singlenode.cpp
|
src/mapgen_singlenode.cpp
|
||||||
|
src/mapgen_singlenode.h
|
||||||
src/mapgen_v5.cpp
|
src/mapgen_v5.cpp
|
||||||
|
src/mapgen_v5.h
|
||||||
src/mapgen_v6.cpp
|
src/mapgen_v6.cpp
|
||||||
src/mapgen_v6.h
|
src/mapgen_v6.h
|
||||||
src/mapgen_v7.cpp
|
src/mapgen_v7.cpp
|
||||||
src/mapgen_v7.h
|
src/mapgen_v7.h
|
||||||
src/mapgen_valleys.cpp
|
src/mapgen_valleys.cpp
|
||||||
src/mapgen_valleys.h
|
src/mapgen_valleys.h
|
||||||
src/map.h
|
|
||||||
src/mapnode.cpp
|
src/mapnode.cpp
|
||||||
src/mapnode.h
|
src/mapnode.h
|
||||||
src/mapsector.cpp
|
src/mapsector.cpp
|
||||||
@ -267,6 +277,7 @@ src/script/lua_api/l_localplayer.cpp
|
|||||||
src/script/lua_api/l_mainmenu.cpp
|
src/script/lua_api/l_mainmenu.cpp
|
||||||
src/script/lua_api/l_mainmenu.h
|
src/script/lua_api/l_mainmenu.h
|
||||||
src/script/lua_api/l_mapgen.cpp
|
src/script/lua_api/l_mapgen.cpp
|
||||||
|
src/script/lua_api/l_mapgen.h
|
||||||
src/script/lua_api/l_metadata.cpp
|
src/script/lua_api/l_metadata.cpp
|
||||||
src/script/lua_api/l_minimap.cpp
|
src/script/lua_api/l_minimap.cpp
|
||||||
src/script/lua_api/l_nodemeta.cpp
|
src/script/lua_api/l_nodemeta.cpp
|
||||||
@ -294,9 +305,11 @@ src/script/scripting_server.h
|
|||||||
src/serialization.cpp
|
src/serialization.cpp
|
||||||
src/serialization.h
|
src/serialization.h
|
||||||
src/server.cpp
|
src/server.cpp
|
||||||
|
src/server.h
|
||||||
|
src/serveractiveobjectmap.cpp
|
||||||
|
src/serveractiveobjectmap.h
|
||||||
src/serverenvironment.cpp
|
src/serverenvironment.cpp
|
||||||
src/serverenvironment.h
|
src/serverenvironment.h
|
||||||
src/server.h
|
|
||||||
src/serverlist.cpp
|
src/serverlist.cpp
|
||||||
src/serverlist.h
|
src/serverlist.h
|
||||||
src/serverobject.cpp
|
src/serverobject.cpp
|
||||||
@ -332,13 +345,13 @@ src/touchscreengui.cpp
|
|||||||
src/translation.cpp
|
src/translation.cpp
|
||||||
src/treegen.cpp
|
src/treegen.cpp
|
||||||
src/treegen.h
|
src/treegen.h
|
||||||
|
src/unittest/test.cpp
|
||||||
|
src/unittest/test.h
|
||||||
src/unittest/test_areastore.cpp
|
src/unittest/test_areastore.cpp
|
||||||
src/unittest/test_collision.cpp
|
src/unittest/test_collision.cpp
|
||||||
src/unittest/test_compression.cpp
|
src/unittest/test_compression.cpp
|
||||||
src/unittest/test_connection.cpp
|
src/unittest/test_connection.cpp
|
||||||
src/unittest/test.cpp
|
|
||||||
src/unittest/test_filepath.cpp
|
src/unittest/test_filepath.cpp
|
||||||
src/unittest/test.h
|
|
||||||
src/unittest/test_inventory.cpp
|
src/unittest/test_inventory.cpp
|
||||||
src/unittest/test_keycode.cpp
|
src/unittest/test_keycode.cpp
|
||||||
src/unittest/test_map_settings_manager.cpp
|
src/unittest/test_map_settings_manager.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user