1
0
forked from mirrors/0ad

Fix some includes in source/graphics

Make include-what-you-use happy with some files in source/graphics 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-07-16 20:25:46 +02:00
parent 0dc52a4d43
commit 8398f1baf4
58 changed files with 381 additions and 146 deletions
+7 -4
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2023 Wildfire Games.
/* Copyright (C) 2025 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -20,18 +20,21 @@
#include "UnitAnimation.h"
#include "graphics/Model.h"
#include "graphics/ModelAbstract.h"
#include "graphics/ObjectEntry.h"
#include "graphics/SkeletonAnim.h"
#include "graphics/SkeletonAnimDef.h"
#include "graphics/Unit.h"
#include "lib/debug.h"
#include "lib/rand.h"
#include "ps/CStr.h"
#include "ps/Game.h"
#include "simulation2/Simulation2.h"
#include "simulation2/components/ICmpSoundManager.h"
#include "simulation2/system/CmpPtr.h"
#include <cstdlib>
#include <cmath>
#include <cstdlib>
#include <memory>
#include <string>
// Randomly modify the speed, so that units won't stay perfectly
// synchronised if they're playing animations of the same length