mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
Compilation changes
Few compile time attempts to speed things up Swap include guards for pramga once Change compile options in the cmakeLists for source generate a pch small tweaks
This commit is contained in:
parent
0df3bea9ca
commit
68e762130d
1016 changed files with 2848 additions and 5532 deletions
|
|
@ -19,14 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _CREATOR_H_
|
||||
#define _CREATOR_H_
|
||||
|
||||
#ifndef _GUIARRAYCTRL_H_
|
||||
#include "gui/core/guiArrayCtrl.h"
|
||||
#endif
|
||||
|
||||
|
||||
/// Creator tree from old editor. Not used in current editor.
|
||||
class CreatorTree : public GuiArrayCtrl
|
||||
|
|
|
|||
|
|
@ -19,16 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#define _EDITTSCTRL_H_
|
||||
|
||||
#ifndef _GUITSCONTROL_H_
|
||||
#include "gui/3d/guiTSControl.h"
|
||||
#endif
|
||||
#ifndef _GIZMO_H_
|
||||
|
||||
#include "gizmo.h"
|
||||
#endif
|
||||
|
||||
class TerrainBlock;
|
||||
class MissionArea;
|
||||
|
|
|
|||
|
|
@ -19,16 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _EDITOR_H_
|
||||
#define _EDITOR_H_
|
||||
|
||||
#ifndef _MMATRIX_H_
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
#ifndef _GUICONTROL_H_
|
||||
|
||||
#include "gui/core/guiControl.h"
|
||||
#endif
|
||||
|
||||
class GameBase;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,16 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _EDITORICONREGISTRY_H_
|
||||
#define _EDITORICONREGISTRY_H_
|
||||
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
|
||||
#include "console/engineAPI.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,34 +19,21 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GIZMO_H_
|
||||
#define _GIZMO_H_
|
||||
|
||||
#ifndef _SIMBASE_H_
|
||||
#include "console/simBase.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MMATRIX_H_
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
|
||||
#ifndef _COLOR_H_
|
||||
#include "core/color.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GUITYPES_H_
|
||||
#include "gui/core/guiTypes.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MATHUTILS_H_
|
||||
#include "math/mathUtils.h"
|
||||
#endif
|
||||
|
||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
||||
#include "console/dynamicTypes.h"
|
||||
#endif
|
||||
|
||||
|
||||
enum GizmoMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUICONVEXSHAPEEDITORCTRL_H_
|
||||
#define _GUICONVEXSHAPEEDITORCTRL_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
#ifndef _UNDO_H_
|
||||
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
#ifndef _GIZMO_H_
|
||||
|
||||
#include "gui/worldEditor/gizmo.h"
|
||||
#endif
|
||||
#ifndef _CONVEXSHAPE_H_
|
||||
|
||||
#include "T3D/convexShape.h"
|
||||
#endif
|
||||
|
||||
class GameBase;
|
||||
class GuiConvexEditorUndoAction;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIDECALEDITORCTRL_H_
|
||||
#define _GUIDECALEDITORCTRL_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
#ifndef _UNDO_H_
|
||||
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
#ifndef _DECALINSTANCE_H_
|
||||
|
||||
#include "T3D/decal/decalInstance.h"
|
||||
#endif
|
||||
|
||||
class GameBase;
|
||||
class Gizmo;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIMISSIONAREA_H_
|
||||
#define _GUIMISSIONAREA_H_
|
||||
|
||||
#ifndef _GUIBITMAPCTRL_H_
|
||||
#include "gui/controls/guiBitmapCtrl.h"
|
||||
#endif
|
||||
#ifndef _GUITYPES_H_
|
||||
#include "gui/guiTypes.h"
|
||||
#endif
|
||||
#ifndef _MISSIONAREA_H_
|
||||
|
||||
#include "gui/core/guiTypes.h"
|
||||
|
||||
#include "T3D/missionArea.h"
|
||||
#endif
|
||||
#ifndef _UNDO_H_
|
||||
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
|
||||
class GBitmap;
|
||||
class TerrainBlock;
|
||||
|
|
|
|||
|
|
@ -19,16 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIMISSIONAREAEDITORCTRL_H_
|
||||
#define _GUIMISSIONAREAEDITORCTRL_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
#ifndef _MISSIONAREA_H_
|
||||
|
||||
#include "T3D/missionArea.h"
|
||||
#endif
|
||||
|
||||
class GuiMissionAreaEditorCtrl : public EditTSCtrl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,23 +19,17 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUITERRPREVIEWCTRL_H_
|
||||
#define _GUITERRPREVIEWCTRL_H_
|
||||
|
||||
#ifndef _GUICONTROL_H_
|
||||
#include "gui/core/guiControl.h"
|
||||
#endif
|
||||
#ifndef _GUITSCONTROL_H_
|
||||
#include "gui/3d/guiTSControl.h"
|
||||
#endif
|
||||
#ifndef _GFX_GFXDRAWER_H_
|
||||
#include "gfx/gfxDrawUtil.h"
|
||||
#endif
|
||||
#ifndef _TERRAINEDITOR_H_
|
||||
#include "gui/worldEditor/terrainEditor.h"
|
||||
#endif
|
||||
|
||||
#include "gui/3d/guiTSControl.h"
|
||||
#include "gfx/gfxDrawUtil.h"
|
||||
|
||||
#include "gui/worldEditor/terrainEditor.h"
|
||||
|
||||
class GuiTerrPreviewCtrl : public GuiControl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,18 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _TSELECTION_H_
|
||||
#define _TSELECTION_H_
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MMATRIX_H_
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
|
||||
|
||||
template <class T>
|
||||
class Selection : public Vector<T>
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _TERRAINACTIONS_H_
|
||||
#define _TERRAINACTIONS_H_
|
||||
|
||||
#ifndef _TERRAINEDITOR_H_
|
||||
#include "gui/worldEditor/terrainEditor.h"
|
||||
#endif
|
||||
#ifndef _GUIFILTERCTRL_H_
|
||||
|
||||
#include "gui/editor/guiFilterCtrl.h"
|
||||
#endif
|
||||
#ifndef _UNDO_H_
|
||||
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
#ifndef _NOISE2D_H_
|
||||
|
||||
#include "util/noise2d.h"
|
||||
#endif
|
||||
|
||||
class TerrainAction
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,21 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _TERRAINEDITOR_H_
|
||||
#define _TERRAINEDITOR_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
#ifndef _TERRDATA_H_
|
||||
|
||||
#include "terrain/terrData.h"
|
||||
#endif
|
||||
#ifndef _UNDO_H_
|
||||
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// Each 2D grid position must be associated with a terrainBlock
|
||||
struct GridPoint
|
||||
|
|
|
|||
|
|
@ -22,10 +22,7 @@
|
|||
|
||||
#ifndef _EDITOR_TOOL_
|
||||
#define _EDITOR_TOOL_
|
||||
|
||||
#ifndef _WORLDEDITOR_H_
|
||||
#include "gui/worldEditor/worldEditor.h"
|
||||
#endif
|
||||
|
||||
class EditorTool : public SimObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,16 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUI_WORLDEDITOR_UNDOACTIONS_H_
|
||||
#define _GUI_WORLDEDITOR_UNDOACTIONS_H_
|
||||
|
||||
#ifndef _UNDO_H_
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
#ifndef _CONSOLE_SIMOBJECTMEMENTO_H_
|
||||
#include "console/simObjectMemento.h"
|
||||
#endif
|
||||
|
||||
// Need full definition visible for SimObjectPtr<GuiInspectorField>
|
||||
#include "gui/editor/inspector/field.h"
|
||||
|
|
|
|||
|
|
@ -19,42 +19,24 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _WORLDEDITOR_H_
|
||||
#define _WORLDEDITOR_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
|
||||
#ifndef _CONSOLETYPES_H_
|
||||
#include "console/consoleTypes.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TSIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
|
||||
#ifndef _CONSOLE_SIMOBJECTMEMENTO_H_
|
||||
#include "console/simObjectMemento.h"
|
||||
#endif
|
||||
|
||||
#ifndef _UNDO_H_
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
|
||||
#ifndef _SIMPATH_H_
|
||||
#include "scene/simPath.h"
|
||||
#endif
|
||||
|
||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
||||
#include "console/dynamicTypes.h"
|
||||
#endif
|
||||
|
||||
|
||||
class SceneObject;
|
||||
class WorldEditorSelection;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _WORLDEDITORSELECTION_H_
|
||||
#define _WORLDEDITORSELECTION_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue