Fix includes in source/ps

Make include-what-you-use happy with some iles in source/ps and fix what
needs to be fixed.

Ref: #8086
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-08-02 16:05:58 +02:00
parent 7dece41990
commit 8a6d7b6c65
41 changed files with 382 additions and 101 deletions
+16 -2
View File
@@ -19,7 +19,13 @@
#include "JSInterface_Game.h"
#include "graphics/HeightMipmap.h"
#include "graphics/Terrain.h"
#include "lib/config2.h"
#include "lib/debug.h"
#include "lib/file/vfs/vfs.h"
#include "lib/os_path.h"
#include "lib/path.h"
#include "network/NetClient.h"
#include "network/NetServer.h"
#include "ps/CLogger.h"
@@ -29,12 +35,20 @@
#include "ps/Replay.h"
#include "ps/World.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/ScriptRequest.h"
#include "scriptinterface/StructuredClone.h"
#include "simulation2/system/TurnManager.h"
#include "simulation2/Simulation2.h"
#include "soundmanager/SoundManager.h"
#include "simulation2/system/TurnManager.h"
#include "soundmanager/ISoundManager.h"
#include <js/PropertyAndElement.h>
#include <js/RootingAPI.h>
#include <js/TypeDecls.h>
#include <js/Value.h>
#include <stdexcept>
#include <string>
class ScriptInterface;
namespace JSI_Game
{