Skip to content

Commit

Permalink
Debloat
Browse files Browse the repository at this point in the history
  • Loading branch information
wrrrzr committed Feb 3, 2025
1 parent 9eae524 commit d925573
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/client/localplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#pragma once

#include "irr_aabb3d.h"
#include "player.h"
#include "environment.h"
#include "constants.h"
Expand Down
3 changes: 2 additions & 1 deletion src/clientdynamicinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

#pragma once

#include "irrlichttypes_bloated.h"
#include "irrlichttypes.h"
#include "irr_v2d.h"
#include "config.h"


Expand Down
1 change: 0 additions & 1 deletion src/itemdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#pragma once

#include "irrlichttypes_bloated.h"
#include <string>
#include <iostream>
#include <optional>
Expand Down
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2010-2013 celeron55, Perttu Ahola <[email protected]>

#include "irrlichttypes_bloated.h"
#include "irrlicht.h" // createDevice
#include "irrlicht_changes/printing.h"
#include "benchmark/benchmark.h"
Expand Down
1 change: 0 additions & 1 deletion src/mapnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 celeron55, Perttu Ahola <[email protected]>

#include "irrlichttypes_bloated.h"
#include "mapnode.h"
#include "porting.h"
#include "nodedef.h"
Expand Down
4 changes: 3 additions & 1 deletion src/mapnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

#pragma once

#include "irrlichttypes_bloated.h"
#include <SColor.h>
#include "irr_v3d.h"
#include "irr_aabb3d.h"
#include "light.h"
#include "util/pointer.h"
#include <string>
Expand Down
3 changes: 2 additions & 1 deletion src/network/networkpacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
#pragma once

#include "util/pointer.h" // Buffer<T>
#include "irrlichttypes_bloated.h"
#include "irr_v3d.h"
#include "irr_v2d.h"
#include "networkprotocol.h"
#include <SColor.h>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion src/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#pragma once

#include "irrlichttypes_bloated.h"
#include "inventory.h"
#include "constants.h"
#include "util/basic_macros.h"
Expand Down
1 change: 0 additions & 1 deletion src/script/lua_api/l_metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#pragma once

#include "irrlichttypes_bloated.h"
#include "lua_api/l_base.h"

class IMetadata;
Expand Down
1 change: 0 additions & 1 deletion src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright (C) 2010-2013 celeron55, Perttu Ahola <[email protected]>

#include "settings.h"
#include "irrlichttypes_bloated.h"
#include "exceptions.h"
#include "threading/mutex_auto_lock.h"
#include "util/numeric.h" // rangelim
Expand Down

0 comments on commit d925573

Please sign in to comment.