mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 22:15:34 +00:00
Another pass with IWYU
This commit is contained in:
parent
c0a802bb15
commit
cd29c181cf
60 changed files with 326 additions and 68 deletions
|
@ -1,18 +1,24 @@
|
|||
#include <components/debug/debugging.hpp>
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/esm/defs.hpp>
|
||||
#include <components/esm3/loadcell.hpp>
|
||||
#include <components/esm3/readerscache.hpp>
|
||||
#include <components/esmloader/esmdata.hpp>
|
||||
#include <components/esmloader/load.hpp>
|
||||
#include <components/fallback/fallback.hpp>
|
||||
#include <components/fallback/validate.hpp>
|
||||
#include <components/files/collections.hpp>
|
||||
#include <components/files/configurationmanager.hpp>
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/platform/platform.hpp>
|
||||
#include <components/resource/bulletshape.hpp>
|
||||
#include <components/resource/bulletshapemanager.hpp>
|
||||
#include <components/resource/foreachbulletobject.hpp>
|
||||
#include <components/resource/imagemanager.hpp>
|
||||
#include <components/resource/niffilemanager.hpp>
|
||||
#include <components/resource/scenemanager.hpp>
|
||||
#include <components/settings/settings.hpp>
|
||||
#include <components/to_utf8/to_utf8.hpp>
|
||||
#include <components/version/version.hpp>
|
||||
#include <components/vfs/manager.hpp>
|
||||
#include <components/vfs/registerarchives.hpp>
|
||||
|
@ -21,9 +27,19 @@
|
|||
|
||||
#include <charconv>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <iomanip>
|
||||
#include <stdexcept>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <osg/ref_ptr>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <system_error>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace
|
||||
|
|
|
@ -2,19 +2,22 @@
|
|||
#include "worldspacedata.hpp"
|
||||
|
||||
#include <components/debug/debugging.hpp>
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/detournavigator/agentbounds.hpp>
|
||||
#include <components/detournavigator/collisionshapetype.hpp>
|
||||
#include <components/detournavigator/navmeshdb.hpp>
|
||||
#include <components/detournavigator/recastglobalallocator.hpp>
|
||||
#include <components/detournavigator/settings.hpp>
|
||||
#include <components/esm3/esmreader.hpp>
|
||||
#include <components/esm3/readerscache.hpp>
|
||||
#include <components/esm3/variant.hpp>
|
||||
#include <components/esmloader/esmdata.hpp>
|
||||
#include <components/esmloader/load.hpp>
|
||||
#include <components/fallback/fallback.hpp>
|
||||
#include <components/fallback/validate.hpp>
|
||||
#include <components/files/collections.hpp>
|
||||
#include <components/files/configurationmanager.hpp>
|
||||
#include <components/files/conversion.hpp>
|
||||
#include <components/files/multidircollection.hpp>
|
||||
#include <components/platform/platform.hpp>
|
||||
#include <components/resource/bulletshapemanager.hpp>
|
||||
#include <components/resource/imagemanager.hpp>
|
||||
|
@ -31,8 +34,14 @@
|
|||
#include <boost/program_options.hpp>
|
||||
|
||||
#include <cstddef>
|
||||
#include <stdexcept>
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef OPENMW_NAVMESHTOOL_NAVMESH_H
|
||||
#define OPENMW_NAVMESHTOOL_NAVMESH_H
|
||||
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace DetourNavigator
|
||||
|
|
|
@ -1,13 +1,19 @@
|
|||
/// Program to test .nif files both on the FileSystem and in BSA archives.
|
||||
|
||||
#include <exception>
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <components/files/configurationmanager.hpp>
|
||||
#include <components/files/constrainedfilestream.hpp>
|
||||
#include <components/files/conversion.hpp>
|
||||
#include <components/misc/strings/algorithm.hpp>
|
||||
#include <components/nif/niffile.hpp>
|
||||
#include <components/vfs/archive.hpp>
|
||||
#include <components/vfs/bsaarchive.hpp>
|
||||
#include <components/vfs/filesystemarchive.hpp>
|
||||
#include <components/vfs/manager.hpp>
|
||||
|
|
|
@ -3,8 +3,18 @@
|
|||
|
||||
#include "narynode.hpp"
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class IdTableBase;
|
||||
}
|
||||
|
||||
namespace CSMFilter
|
||||
{
|
||||
class Node;
|
||||
class AndNode : public NAryNode
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
#include "notnode.hpp"
|
||||
|
||||
#include <apps/opencs/model/filter/node.hpp>
|
||||
#include <apps/opencs/model/filter/unarynode.hpp>
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class IdTableBase;
|
||||
}
|
||||
|
||||
CSMFilter::NotNode::NotNode(std::shared_ptr<Node> child)
|
||||
: UnaryNode(child, "not")
|
||||
{
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
#ifndef CSM_FILTER_NOTNODE_H
|
||||
#define CSM_FILTER_NOTNODE_H
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#include "unarynode.hpp"
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class IdTableBase;
|
||||
}
|
||||
|
||||
namespace CSMFilter
|
||||
{
|
||||
class Node;
|
||||
class NotNode : public UnaryNode
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
#include "ornode.hpp"
|
||||
|
||||
#include <apps/opencs/model/filter/narynode.hpp>
|
||||
#include <apps/opencs/model/filter/node.hpp>
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class IdTableBase;
|
||||
}
|
||||
|
||||
CSMFilter::OrNode::OrNode(const std::vector<std::shared_ptr<Node>>& nodes)
|
||||
: NAryNode(nodes, "or")
|
||||
{
|
||||
|
|
|
@ -3,8 +3,18 @@
|
|||
|
||||
#include "narynode.hpp"
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class IdTableBase;
|
||||
}
|
||||
|
||||
namespace CSMFilter
|
||||
{
|
||||
class Node;
|
||||
class OrNode : public NAryNode
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
#include "parser.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
#include <apps/opencs/model/world/idcollection.hpp>
|
||||
#include <apps/opencs/model/world/record.hpp>
|
||||
|
||||
#include <components/esm3/filter.hpp>
|
||||
#include <components/misc/strings/lower.hpp>
|
||||
|
||||
#include "../world/columns.hpp"
|
||||
|
|
|
@ -3,14 +3,11 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
namespace CSMFilter
|
||||
{
|
||||
class Node;
|
||||
}
|
||||
namespace CSMFilter
|
||||
{
|
||||
struct Token;
|
||||
}
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef CSM_PREFS_CATEGORY_H
|
||||
#define CSM_PREFS_CATEGORY_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
#include <QMenu>
|
||||
#include <QString>
|
||||
|
||||
#include <apps/opencs/model/filter/parser.hpp>
|
||||
#include <apps/opencs/model/world/universalid.hpp>
|
||||
|
||||
#include <components/misc/helpviewer.hpp>
|
||||
|
||||
#include "../../model/prefs/shortcut.hpp"
|
||||
|
|
|
@ -1,11 +1,21 @@
|
|||
#include "actor.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/MatrixTransform>
|
||||
#include <osg/Node>
|
||||
|
||||
#include <apps/opencs/model/world/actoradapter.hpp>
|
||||
#include <apps/opencs/model/world/idcollection.hpp>
|
||||
#include <apps/opencs/model/world/record.hpp>
|
||||
|
||||
#include <components/esm3/loadbody.hpp>
|
||||
#include <components/esm3/mappings.hpp>
|
||||
#include <components/misc/resourcehelpers.hpp>
|
||||
#include <components/resource/resourcemanager.hpp>
|
||||
#include <components/resource/resourcesystem.hpp>
|
||||
#include <components/resource/scenemanager.hpp>
|
||||
#include <components/sceneutil/attach.hpp>
|
||||
#include <components/sceneutil/skeleton.hpp>
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
|
||||
#include "../../model/world/actoradapter.hpp"
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class Group;
|
||||
}
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class Data;
|
||||
|
|
|
@ -1,13 +1,24 @@
|
|||
#include "brushdraw.hpp"
|
||||
|
||||
#include <limits>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
#include <osg/Array>
|
||||
#include <osg/GL>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/Group>
|
||||
#include <osg/Math>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
#include <osgUtil/IntersectionVisitor>
|
||||
#include <osgUtil/LineSegmentIntersector>
|
||||
|
||||
#include <components/esm3/loadland.hpp>
|
||||
|
||||
#include "../../model/world/cellcoordinates.hpp"
|
||||
#include "../widget/brushshapes.hpp"
|
||||
#include "mask.hpp"
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
#ifndef CSV_RENDER_BRUSHDRAW_H
|
||||
#define CSV_RENDER_BRUSHDRAW_H
|
||||
|
||||
#include <osg/Geometry>
|
||||
#include <osg/Group>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include "../widget/brushshapes.hpp"
|
||||
#include <components/esm3/loadland.hpp>
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class Geometry;
|
||||
class Group;
|
||||
}
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
#include "cameracontroller.hpp"
|
||||
|
||||
#include <cmath>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/Camera>
|
||||
#include <osg/ComputeBoundsVisitor>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Group>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Quat>
|
||||
|
||||
#include <osgUtil/IntersectionVisitor>
|
||||
#include <osgUtil/LineSegmentIntersector>
|
||||
|
||||
#include "../../model/prefs/shortcut.hpp"
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
#ifndef OPENCS_VIEW_CAMERACONTROLLER_H
|
||||
#define OPENCS_VIEW_CAMERACONTROLLER_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
namespace osg
|
||||
{
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
#include "cell.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
#include <osg/Callback>
|
||||
#include <osg/Group>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/Referenced>
|
||||
|
||||
#include <components/esm/defs.hpp>
|
||||
|
|
|
@ -6,18 +6,17 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include "../../model/world/cellcoordinates.hpp"
|
||||
#include "instancedragmodes.hpp"
|
||||
#include "terrainstorage.hpp"
|
||||
|
||||
class QModelIndex;
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class Group;
|
||||
class Geometry;
|
||||
}
|
||||
|
||||
namespace CSMWorld
|
||||
|
@ -35,12 +34,12 @@ namespace CSVRender
|
|||
class CellWater;
|
||||
class Pathgrid;
|
||||
class TagBase;
|
||||
class TerrainStorage;
|
||||
class Object;
|
||||
|
||||
class CellArrow;
|
||||
class CellBorder;
|
||||
class CellMarker;
|
||||
class CellWater;
|
||||
|
||||
class Cell
|
||||
{
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "tagbase.hpp"
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include "../../model/world/cellcoordinates.hpp"
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
#include "cellborder.hpp"
|
||||
|
||||
#include <osg/Array>
|
||||
#include <osg/GL>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/Group>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
#include <components/esm3/loadland.hpp>
|
||||
|
||||
|
|
|
@ -1,11 +1,24 @@
|
|||
#include "cellmarker.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <osg/AutoTransform>
|
||||
#include <osg/GL>
|
||||
#include <osg/Group>
|
||||
#include <osg/Material>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4f>
|
||||
#include <osgText/Text>
|
||||
#include <osgText/TextBase>
|
||||
|
||||
#include <components/misc/constants.hpp>
|
||||
|
||||
#include <apps/opencs/model/world/cellcoordinates.hpp>
|
||||
#include <apps/opencs/view/render/mask.hpp>
|
||||
#include <apps/opencs/view/render/tagbase.hpp>
|
||||
|
||||
CSVRender::CellMarkerTag::CellMarkerTag(CellMarker* marker)
|
||||
: TagBase(Mask_CellMarker)
|
||||
, mMarker(marker)
|
||||
|
|
|
@ -5,10 +5,9 @@
|
|||
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <QModelIndex>
|
||||
#include <QObject>
|
||||
|
||||
#include "../../model/world/record.hpp"
|
||||
class QModelIndex;
|
||||
|
||||
namespace osg
|
||||
{
|
||||
|
@ -22,6 +21,9 @@ namespace CSMWorld
|
|||
struct Cell;
|
||||
class CellCoordinates;
|
||||
class Data;
|
||||
|
||||
template <typename ESXRecordT>
|
||||
struct Record;
|
||||
}
|
||||
|
||||
namespace CSVRender
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#include "commands.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <apps/opencs/view/render/editmode.hpp>
|
||||
#include <apps/opencs/view/render/terrainselection.hpp>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
|
||||
#include "terrainshapemode.hpp"
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
#define CSV_RENDER_COMMANDS_HPP
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
#include <QUndoCommand>
|
||||
|
||||
#include "worldspacewidget.hpp"
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
class TerrainSelection;
|
||||
class WorldspaceWidget;
|
||||
|
||||
/*
|
||||
Current solution to force a redrawing of the terrain-selection grid
|
||||
|
|
|
@ -1,14 +1,33 @@
|
|||
#include "instanceselectionmode.hpp"
|
||||
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <apps/opencs/model/doc/document.hpp>
|
||||
#include <apps/opencs/model/world/data.hpp>
|
||||
#include <apps/opencs/model/world/universalid.hpp>
|
||||
#include <apps/opencs/view/render/mask.hpp>
|
||||
#include <apps/opencs/view/render/selectionmode.hpp>
|
||||
|
||||
#include <osg/Array>
|
||||
#include <osg/GL>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/Group>
|
||||
#include <osg/Math>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4f>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <QAction>
|
||||
#include <QMenu>
|
||||
#include <QPoint>
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include "../../model/world/commands.hpp"
|
||||
#include "../../model/world/idtable.hpp"
|
||||
|
||||
|
@ -16,8 +35,15 @@
|
|||
#include "object.hpp"
|
||||
#include "worldspacewidget.hpp"
|
||||
|
||||
namespace CSVWidget
|
||||
{
|
||||
class SceneToolbar;
|
||||
}
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
class TagBase;
|
||||
|
||||
InstanceSelectionMode::InstanceSelectionMode(
|
||||
CSVWidget::SceneToolbar* parent, WorldspaceWidget& worldspaceWidget, osg::Group* cellNode)
|
||||
: SelectionMode(parent, worldspaceWidget, Mask_Reference)
|
||||
|
|
|
@ -1,16 +1,32 @@
|
|||
#ifndef CSV_RENDER_INSTANCE_SELECTION_MODE_H
|
||||
#define CSV_RENDER_INSTANCE_SELECTION_MODE_H
|
||||
|
||||
#include <QPoint>
|
||||
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
class QAction;
|
||||
class QMenu;
|
||||
class QObject;
|
||||
class QPoint;
|
||||
|
||||
namespace CSVWidget
|
||||
{
|
||||
class SceneToolbar;
|
||||
}
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class PositionAttitudeTransform;
|
||||
class Group;
|
||||
class Vec3f;
|
||||
}
|
||||
|
||||
#include "instancedragmodes.hpp"
|
||||
#include "selectionmode.hpp"
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
class WorldspaceWidget;
|
||||
class InstanceSelectionMode : public SelectionMode
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
#include "lighting.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Switch>
|
||||
#include <osg/ValueObject>
|
||||
|
||||
#include <apps/opencs/model/prefs/category.hpp>
|
||||
#include <apps/opencs/model/prefs/setting.hpp>
|
||||
|
||||
#include <components/misc/constants.hpp>
|
||||
|
||||
#include "../../model/prefs/state.hpp"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "lightingbright.hpp"
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/Light>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
CSVRender::LightingBright::LightingBright() {}
|
||||
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
|
||||
#include "lighting.hpp"
|
||||
|
||||
#include <osg/Vec4f>
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class Light;
|
||||
class Group;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "lightingday.hpp"
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/Light>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
CSVRender::LightingDay::LightingDay() {}
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "lighting.hpp"
|
||||
|
||||
#include <osg/Vec4f>
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
class LightingDay : public Lighting
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "lightingnight.hpp"
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/Light>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
CSVRender::LightingNight::LightingNight() {}
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "lighting.hpp"
|
||||
|
||||
#include <osg/Vec4f>
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
class LightingNight : public Lighting
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
#include "object.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <osg/Depth>
|
||||
#include <osg/Group>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <osg/Geometry>
|
||||
#include <osg/Referenced>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <components/esm/defs.hpp>
|
||||
|
@ -13,11 +12,11 @@
|
|||
#include "tagbase.hpp"
|
||||
|
||||
class QModelIndex;
|
||||
class QUndoStack;
|
||||
|
||||
namespace osg
|
||||
{
|
||||
class PositionAttitudeTransform;
|
||||
class Geometry;
|
||||
class Group;
|
||||
class Node;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef CSV_RENDER_ORBITCAMERAPICKMODE_H
|
||||
#define CSV_RENDER_ORBITCAMERAPICKMODE_H
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "../widget/modebutton.hpp"
|
||||
|
||||
namespace CSMPrefs
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "pathgridmode.hpp"
|
||||
|
||||
#include <QPoint>
|
||||
#include <QIcon>
|
||||
|
||||
#include <components/sceneutil/pathgridutil.hpp>
|
||||
|
||||
|
@ -16,6 +16,23 @@
|
|||
#include "pathgridselectionmode.hpp"
|
||||
#include "worldspacewidget.hpp"
|
||||
|
||||
#include <apps/opencs/model/doc/document.hpp>
|
||||
#include <apps/opencs/model/prefs/category.hpp>
|
||||
#include <apps/opencs/model/prefs/setting.hpp>
|
||||
#include <apps/opencs/view/render/editmode.hpp>
|
||||
#include <apps/opencs/view/render/tagbase.hpp>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class QPoint;
|
||||
class QUndoStack;
|
||||
class QWidget;
|
||||
|
||||
namespace CSVRender
|
||||
{
|
||||
PathgridMode::PathgridMode(WorldspaceWidget* worldspaceWidget, QWidget* parent)
|
||||
|
|
|
@ -7,11 +7,6 @@
|
|||
|
||||
class QModelIndex;
|
||||
|
||||
namespace VFS
|
||||
{
|
||||
class Manager;
|
||||
}
|
||||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class Data;
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
#ifndef OPENCS_VIEW_SCENEWIDGET_H
|
||||
#define OPENCS_VIEW_SCENEWIDGET_H
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <QColor>
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
#include <QWidget>
|
||||
|
||||
#include <osg/Vec4f>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <osgViewer/CompositeViewer>
|
||||
#include <osgViewer/View>
|
||||
|
||||
#include "lightingbright.hpp"
|
||||
#include "lightingday.hpp"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include "tagbase.hpp"
|
||||
|
||||
#include <apps/opencs/view/render/mask.hpp>
|
||||
|
||||
CSVRender::TagBase::TagBase(Mask mask)
|
||||
: mMask(mask)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include <QIcon>
|
||||
#include <QWidget>
|
||||
|
||||
#include <osg/Group>
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
|
|
|
@ -1,16 +1,18 @@
|
|||
#include "terrainstorage.hpp"
|
||||
|
||||
#include <components/esm3/loadltex.hpp>
|
||||
#include <components/esm3terrain/storage.hpp>
|
||||
#include <components/resource/resourcesystem.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <apps/opencs/model/world/data.hpp>
|
||||
#include <apps/opencs/model/world/idcollection.hpp>
|
||||
#include <apps/opencs/model/world/land.hpp>
|
||||
#include <apps/opencs/model/world/landtexture.hpp>
|
||||
#include <apps/opencs/model/world/record.hpp>
|
||||
#include <components/resource/resourcesystem.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <iterator>
|
||||
#include <math.h>
|
||||
#include <memory>
|
||||
#include <osg/Vec4ub>
|
||||
#include <stdexcept>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#include <array>
|
||||
|
||||
#include <components/esm3/loadland.hpp>
|
||||
#include <components/esm3/loadltex.hpp>
|
||||
#include <components/esm3terrain/storage.hpp>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "worldspacewidget.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
|
||||
#include <QDragEnterEvent>
|
||||
#include <QDragMoveEvent>
|
||||
|
@ -8,6 +9,27 @@
|
|||
#include <QMouseEvent>
|
||||
#include <QToolTip>
|
||||
|
||||
#include <apps/opencs/model/doc/document.hpp>
|
||||
#include <apps/opencs/model/prefs/category.hpp>
|
||||
#include <apps/opencs/model/prefs/setting.hpp>
|
||||
#include <apps/opencs/model/world/columns.hpp>
|
||||
#include <apps/opencs/model/world/data.hpp>
|
||||
#include <apps/opencs/model/world/record.hpp>
|
||||
#include <apps/opencs/view/render/editmode.hpp>
|
||||
#include <apps/opencs/view/render/scenewidget.hpp>
|
||||
#include <apps/opencs/view/widget/modebutton.hpp>
|
||||
|
||||
#include <components/esm/defs.hpp>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/Group>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/Referenced>
|
||||
#include <osg/Viewport>
|
||||
#include <osgUtil/IntersectionVisitor>
|
||||
#include <osgViewer/View>
|
||||
|
||||
#include <osgUtil/LineSegmentIntersector>
|
||||
|
||||
#include "../../model/world/idtable.hpp"
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include "../../model/doc/document.hpp"
|
||||
|
||||
#include <apps/opencs/view/render/tagbase.hpp>
|
||||
|
||||
#include "instancedragmodes.hpp"
|
||||
#include "scenewidget.hpp"
|
||||
|
||||
|
@ -30,9 +32,7 @@ namespace CSVWidget
|
|||
|
||||
namespace CSVRender
|
||||
{
|
||||
class TagBase;
|
||||
class Cell;
|
||||
class CellArrow;
|
||||
class EditMode;
|
||||
|
||||
struct WorldspaceHitResult
|
||||
|
|
|
@ -1,10 +1,14 @@
|
|||
#include "droplineedit.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <QDropEvent>
|
||||
|
||||
#include "../../model/world/tablemimedata.hpp"
|
||||
#include "../../model/world/universalid.hpp"
|
||||
|
||||
#include <apps/opencs/model/world/columnbase.hpp>
|
||||
|
||||
#include "../world/dragdroputils.hpp"
|
||||
|
||||
CSVWidget::DropLineEdit::DropLineEdit(CSMWorld::ColumnBase::Display type, QWidget* parent)
|
||||
|
|
|
@ -12,7 +12,6 @@ namespace CSMDoc
|
|||
|
||||
namespace CSMWorld
|
||||
{
|
||||
class TableMimeData;
|
||||
class UniversalId;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,9 +19,13 @@
|
|||
#include "brushshapes.hpp"
|
||||
#include "scenetool.hpp"
|
||||
|
||||
#include "../../model/doc/document.hpp"
|
||||
#include "../../model/prefs/state.hpp"
|
||||
|
||||
namespace CSMDoc
|
||||
{
|
||||
class Document;
|
||||
}
|
||||
|
||||
CSVWidget::ShapeBrushSizeControls::ShapeBrushSizeControls(const QString& title, QWidget* parent)
|
||||
: QGroupBox(title, parent)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "scenetooltoggle2.hpp"
|
||||
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <QFrame>
|
||||
#include <QHBoxLayout>
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
#include "installationtargetpage.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include <components/files/configurationmanager.hpp>
|
||||
#include <components/files/conversion.hpp>
|
||||
|
||||
#include "mainwizard.hpp"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef INSTALLATIONTARGETPAGE_HPP
|
||||
#define INSTALLATIONTARGETPAGE_HPP
|
||||
|
||||
#include <QWizard>
|
||||
|
||||
#include "ui_installationtargetpage.h"
|
||||
|
||||
namespace Files
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
#include "mainwizard.hpp"
|
||||
|
||||
#include <QObject>
|
||||
#include <QPixmap>
|
||||
#include <QWidget>
|
||||
|
||||
Wizard::IntroPage::IntroPage(QWidget* parent)
|
||||
: QWizardPage(parent)
|
||||
{
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "ui_intropage.h"
|
||||
|
||||
#include <QWizard>
|
||||
|
||||
namespace Wizard
|
||||
{
|
||||
class MainWizard;
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
#ifndef LANGUAGESELECTIONPAGE_HPP
|
||||
#define LANGUAGESELECTIONPAGE_HPP
|
||||
|
||||
#include <QString>
|
||||
#include <QWizard>
|
||||
|
||||
#include "ui_languageselectionpage.h"
|
||||
|
||||
class QObject;
|
||||
class QWidget;
|
||||
|
||||
namespace Wizard
|
||||
{
|
||||
class MainWizard;
|
||||
|
|
|
@ -4,9 +4,11 @@
|
|||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
#include <QProcess>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include <components/files/qtconversion.hpp>
|
||||
#include <components/process/processinvoker.hpp>
|
||||
|
||||
#include "componentselectionpage.hpp"
|
||||
#include "conclusionpage.hpp"
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
#ifndef MAINWIZARD_HPP
|
||||
#define MAINWIZARD_HPP
|
||||
|
||||
#include <QProcess>
|
||||
#include <QWizard>
|
||||
|
||||
#include <components/process/processinvoker.hpp>
|
||||
|
||||
#ifndef Q_MOC_RUN
|
||||
#include <components/files/configurationmanager.hpp>
|
||||
|
||||
|
@ -12,6 +11,11 @@
|
|||
#include <components/config/launchersettings.hpp>
|
||||
#endif
|
||||
|
||||
namespace Process
|
||||
{
|
||||
class ProcessInvoker;
|
||||
}
|
||||
|
||||
namespace Wizard
|
||||
{
|
||||
class MainWizard : public QWizard
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#include <QTextCodec>
|
||||
#include <QTextStream>
|
||||
|
||||
#include <apps/wizard/inisettings.hpp>
|
||||
|
||||
Wizard::UnshieldWorker::UnshieldWorker(qint64 expectedMorrowindBsaSize, QObject* parent)
|
||||
: QObject(parent)
|
||||
, mExpectedMorrowindBsaSize(expectedMorrowindBsaSize)
|
||||
|
|
Loading…
Reference in a new issue