mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +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,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 _GFXD3D11CARDPROFILER_H_
|
||||
#define _GFXD3D11CARDPROFILER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11CUBEMAP_H_
|
||||
#define _GFXD3D11CUBEMAP_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11DEVICE_H_
|
||||
#define _GFXD3D11DEVICE_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11ENUMTRANSLATE_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_D3D11_OCCLUSIONQUERY_H_
|
||||
#define _GFX_D3D11_OCCLUSIONQUERY_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11PRIMITIVEBUFFER_H_
|
||||
#define _GFXD3D11PRIMITIVEBUFFER_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_D3D11_QUERYFENCE_H_
|
||||
#define _GFX_D3D11_QUERYFENCE_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11SHADER_H_
|
||||
#define _GFXD3D11SHADER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11STATEBLOCK_H_
|
||||
#define _GFXD3D11STATEBLOCK_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_D3D_GFXD3D11TARGET_H_
|
||||
#define _GFX_D3D_GFXD3D11TARGET_H_
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _GFXD3D11TEXTUREARRAY_H_
|
||||
#define _GFXD3D11TEXTUREARRAY_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3DTEXTUREMANAGER_H_
|
||||
#define _GFXD3DTEXTUREMANAGER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXD3D11TEXTUREOBJECT_H_
|
||||
#define _GFXD3D11TEXTUREOBJECT_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXD3D_VERTEXBUFFER_H_
|
||||
#define _GFXD3D_VERTEXBUFFER_H_
|
||||
|
|
|
|||
|
|
@ -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 _SCREENSHOTD3D11_H_
|
||||
#define _SCREENSHOTD3D11_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _GFXNullDevice_H_
|
||||
#define _GFXNullDevice_H_
|
||||
|
|
|
|||
|
|
@ -19,21 +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 _BITMAPUTILS_H_
|
||||
#define _BITMAPUTILS_H_
|
||||
#ifndef _PLATFORM_H_
|
||||
#include "platform/platform.h"
|
||||
#endif
|
||||
#ifndef _TORQUE_TYPES_H_
|
||||
#include "platform/types.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _MMATHFN_H_
|
||||
|
||||
#include "math/mMathFn.h"
|
||||
#endif
|
||||
|
||||
extern void (*bitmapExtrude5551)(const void *srcMip, void *mip, U32 height, U32 width);
|
||||
extern void (*bitmapExtrudeRGB)(const void *srcMip, void *mip, U32 height, U32 width, U32 bpp);
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _CUBEMAP_SAVER_H_
|
||||
#define _CUBEMAP_SAVER_H_
|
||||
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
|
||||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -24,13 +24,12 @@
|
|||
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// https://github.com/Microsoft/DirectXTex
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DDSDATA_H_
|
||||
#define _DDSDATA_H_
|
||||
|
||||
#ifndef _TORQUE_TYPES_H_
|
||||
#include "platform/types.h"
|
||||
#endif
|
||||
|
||||
#include "core/util/fourcc.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,19 +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 _DDSFILE_H_
|
||||
#define _DDSFILE_H_
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
#ifndef _BITSET_H_
|
||||
|
||||
#include "core/bitSet.h"
|
||||
#endif
|
||||
#ifndef _TVECTOR_H_
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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 _GBITMAP_H_
|
||||
#define _GBITMAP_H_
|
||||
|
|
@ -26,22 +28,14 @@
|
|||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
||||
#ifndef _SWIZZLE_H_
|
||||
#include "core/util/swizzle.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXENUMS_H_
|
||||
#include "gfx/gfxEnums.h" // For the format
|
||||
#endif
|
||||
|
||||
#ifndef _PROFILER_H_
|
||||
#include "platform/profiler.h"
|
||||
#endif
|
||||
|
||||
//-------------------------------------- Forward decls.
|
||||
class Stream;
|
||||
class RectI;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _IMAGE_UTILS_H_
|
||||
#define _IMAGE_UTILS_H_
|
||||
|
||||
#ifndef _SWIZZLE_H_
|
||||
#include "core/util/swizzle.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _MMATHFN_H_
|
||||
|
||||
#include "math/mMathFn.h"
|
||||
#endif
|
||||
|
||||
struct DDSFile;
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
// +----------------------------------------------------------------------
|
||||
#pragma once
|
||||
#ifndef _H_IES_LOADER_H_
|
||||
#define _H_IES_LOADER_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _PNG_UTILS_H_
|
||||
#define _PNG_UTILS_H_
|
||||
|
||||
#ifndef _GFXENUMS_H_
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
|
||||
struct DeferredPNGWriterData; // This is used to avoid including png.h in this header
|
||||
class GBitmap;
|
||||
|
|
|
|||
|
|
@ -19,27 +19,22 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFONT_H_
|
||||
#define _GFONT_H_
|
||||
|
||||
//Includes
|
||||
#ifndef _RESOURCE_H_
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
#ifndef _PLATFORMFONT_H_
|
||||
#include "platform/platformFont.h"
|
||||
#endif
|
||||
#ifndef _GBITMAP_H_
|
||||
#include "gfx/bitmap/gBitmap.h"
|
||||
#endif
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
|
||||
#include "platform/platformFont.h"
|
||||
|
||||
#include "gfx/bitmap/gBitmap.h"
|
||||
|
||||
#include "gfx/gfxDevice.h"
|
||||
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
|
||||
GFX_DeclareTextureProfile(GFXFontTextureProfile);
|
||||
#define Font_Table_MAX 65536
|
||||
|
|
|
|||
|
|
@ -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 _GFXAPI_H_
|
||||
#define _GFXAPI_H_
|
||||
|
|
|
|||
|
|
@ -19,21 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXADAPTER_H_
|
||||
#define _GFXADAPTER_H_
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _UTIL_DELEGATE_H_
|
||||
#include "core/util/delegate.h"
|
||||
#endif
|
||||
|
||||
struct GFXAdapterLUID
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,20 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXCARDPROFILE_H_
|
||||
#define _GFXCARDPROFILE_H_
|
||||
|
||||
#ifndef _TDICTIONARY_H_
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
#include "gfx/gfxDevice.h"
|
||||
#include "core/util/str.h"
|
||||
|
||||
/// GFXCardProfiler provides a device independent wrapper around both the
|
||||
/// capabilities reported by the card/drivers and the exceptions recorded
|
||||
|
|
|
|||
|
|
@ -19,13 +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 _GFXCUBEMAP_H_
|
||||
#define _GFXCUBEMAP_H_
|
||||
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
|
||||
class GFXDevice;
|
||||
struct DDSFile;
|
||||
|
|
|
|||
|
|
@ -19,13 +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 _GFXDEBUGEVENT_H_
|
||||
#define _GFXDEBUGEVENT_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
/// See TorqueConfig.h to enable this.
|
||||
#ifdef TORQUE_ENABLE_GFXDEBUGEVENTS
|
||||
|
|
|
|||
|
|
@ -20,43 +20,31 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#define _GFXDEVICE_H_
|
||||
|
||||
#ifndef _GFXADAPTER_H_
|
||||
#include "gfx/gfxAdapter.h"
|
||||
#endif
|
||||
#ifndef _GFXTARGET_H_
|
||||
#include "gfx/gfxTarget.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
#ifndef _GFXSTATEBLOCK_H_
|
||||
#include "gfx/gfxStateBlock.h"
|
||||
#endif
|
||||
#ifndef _GFXSHADER_H_
|
||||
#include "gfx/gfxShader.h"
|
||||
#endif
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _TSIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
#ifndef _GFXDEVICESTATISTICS_H_
|
||||
#include "gfx/gfxDeviceStatistics.h"
|
||||
#endif
|
||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
||||
#include "math/util/frustum.h"
|
||||
#endif
|
||||
|
||||
#ifndef _PLATFORM_PLATFORMTIMER_H_
|
||||
#include "gfx/gfxTarget.h"
|
||||
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
|
||||
#include "gfx/gfxStateBlock.h"
|
||||
|
||||
#include "gfx/gfxShader.h"
|
||||
|
||||
#include "gfx/gfxCubemap.h"
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
|
||||
#include "core/util/tSignal.h"
|
||||
|
||||
#include "gfx/gfxDeviceStatistics.h"
|
||||
#include "math/util/frustum.h"
|
||||
|
||||
#include "platform/platformTimer.h"
|
||||
#endif
|
||||
|
||||
#include "gfxTextureArray.h"
|
||||
|
||||
class FontRenderBatcher;
|
||||
|
|
|
|||
|
|
@ -19,12 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _GFXDEVICESTATISTICS_H_
|
||||
#define _GFXDEVICESTATISTICS_H_
|
||||
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
// A class that hold a simple set of device stats.
|
||||
class GFXDeviceStatistics
|
||||
|
|
|
|||
|
|
@ -19,17 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_GFXDRAWER_H_
|
||||
#define _GFX_GFXDRAWER_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MPOLYHEDRON_H_
|
||||
#include "math/mPolyhedron.h"
|
||||
#endif
|
||||
|
||||
class FontRenderBatcher;
|
||||
class Frustum;
|
||||
|
|
|
|||
|
|
@ -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 _GFXENUMS_H_
|
||||
#define _GFXENUMS_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXFENCE_H_
|
||||
#define _GFXFENCE_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
|
||||
///
|
||||
class GFXFence : public GFXResource
|
||||
|
|
|
|||
|
|
@ -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 _GFXFONTBATCHER_H_
|
||||
#define _GFXFONTBATCHER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXFORMATUTILS_H_
|
||||
#define _GFXFORMATUTILS_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXINIT_H_
|
||||
#define _GFXINIT_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXOCCLUSIONQUERY_H_
|
||||
#define _GFXOCCLUSIONQUERY_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
|
||||
/// A geometry visibility query object.
|
||||
/// @see GFXDevice::createOcclusionQuery
|
||||
|
|
|
|||
|
|
@ -19,13 +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 _GFXPRIMITIVEBUFFER_H_
|
||||
#define _GFXPRIMITIVEBUFFER_H_
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
|
||||
#ifdef TORQUE_ENABLE_PROFILER
|
||||
#include "platform/profiler.h"
|
||||
|
|
|
|||
|
|
@ -19,17 +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 _GFXRESOURCE_H_
|
||||
#define _GFXRESOURCE_H_
|
||||
|
||||
#ifndef _TORQUE_TYPES_H_
|
||||
#include "platform/types.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
class GFXDevice;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,43 +19,31 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXSHADER_H_
|
||||
#define _GFXSHADER_H_
|
||||
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
#ifndef _TVECTOR_H_
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
#ifndef _ALIGNEDARRAY_H_
|
||||
|
||||
#include "core/util/tAlignedArray.h"
|
||||
#endif
|
||||
#ifndef _MMATRIX_H_
|
||||
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
#ifndef _COLOR_H_
|
||||
|
||||
#include "core/color.h"
|
||||
#endif
|
||||
#ifndef _REFBASE_H_
|
||||
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _PATH_H_
|
||||
|
||||
#include "core/util/path.h"
|
||||
#endif
|
||||
#ifndef _TSIGNAL_H_
|
||||
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
|
||||
class Point2I;
|
||||
class Point2F;
|
||||
|
|
|
|||
|
|
@ -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 _GFXSTATEBLOCK_H_
|
||||
#define _GFXSTATEBLOCK_H_
|
||||
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
#ifndef _COLOR_H_
|
||||
|
||||
#include "core/color.h"
|
||||
#endif
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct GFXSamplerStateDesc
|
||||
|
|
|
|||
|
|
@ -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 _GFXSTRINGENUMTRANSLATE_H_
|
||||
#define _GFXSTRINGENUMTRANSLATE_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -19,34 +19,26 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#define _GFXSTRUCTS_H_
|
||||
|
||||
#ifndef _COLOR_H_
|
||||
#include "core/color.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXCOLOR_H_
|
||||
|
||||
#include "gfx/gfxVertexColor.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _MMATH_H_
|
||||
|
||||
#include "math/mMath.h"
|
||||
#endif
|
||||
#ifndef _PROFILER_H_
|
||||
|
||||
#include "platform/profiler.h"
|
||||
#endif
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
#ifndef _REFBASE_H_
|
||||
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXTYPES_H_
|
||||
|
||||
#include "gfx/gfxVertexTypes.h"
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -19,23 +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 _GFXTARGET_H_
|
||||
#define _GFXTARGET_H_
|
||||
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
#ifndef _MPOINT3_H_
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
|
||||
#include "gfx/gfxResource.h"
|
||||
|
||||
#include "math/mPoint3.h"
|
||||
|
||||
class Point2I;
|
||||
class PlatformWindow;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,19 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXTEXTUREARRAY_H_
|
||||
#define _GFXTEXTUREARRAY_H_
|
||||
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
|
||||
#include "gfxTextureHandle.h"
|
||||
#endif
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,17 +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 _GFXTEXTUREHANDLE_H_
|
||||
#define _GFXTEXTUREHANDLE_H_
|
||||
|
||||
#ifndef _GFXTEXTUREOBJECT_H_
|
||||
#include "gfx/gfxTextureObject.h"
|
||||
#endif
|
||||
#ifndef _MPOINT2_H_
|
||||
#include "math/mPoint2.h"
|
||||
#endif
|
||||
|
||||
#include "math/mPoint2.h"
|
||||
|
||||
class GFXTextureProfile;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,28 +19,23 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXTEXTUREMANAGER_H_
|
||||
#define _GFXTEXTUREMANAGER_H_
|
||||
|
||||
#ifndef _GFXTEXTUREOBJECT_H_
|
||||
#include "gfx/gfxTextureObject.h"
|
||||
#endif
|
||||
#ifndef _GBITMAP_H_
|
||||
|
||||
#include "gfx/bitmap/gBitmap.h"
|
||||
#endif
|
||||
#ifndef _DDSFILE_H_
|
||||
|
||||
#include "gfx/bitmap/ddsFile.h"
|
||||
#endif
|
||||
#ifndef _RESOURCEMANAGER_H_
|
||||
|
||||
#include "core/resourceManager.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _TSIGNAL_H_
|
||||
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
|
||||
#include "gfxTextureHandle.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -19,25 +19,20 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXTEXTUREOBJECT_H_
|
||||
#define _GFXTEXTUREOBJECT_H_
|
||||
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
#ifndef _MPOINT3_H_
|
||||
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREPROFILE_H_
|
||||
|
||||
#include "gfx/gfxTextureProfile.h"
|
||||
#endif
|
||||
#ifndef _GFXRESOURCE_H_
|
||||
|
||||
#include "gfx/gfxResource.h"
|
||||
#endif
|
||||
|
||||
class Point2I;
|
||||
class GFXDevice;
|
||||
|
|
|
|||
|
|
@ -20,13 +20,12 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXTEXTUREPROFILE_H_
|
||||
#define _GFXTEXTUREPROFILE_H_
|
||||
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
class GFXTextureObject;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,14 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_GFXTRANSFORMSAVER_H_
|
||||
#define _GFX_GFXTRANSFORMSAVER_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
|
||||
/// Helper class to store viewport and matrix stack state, and restore it
|
||||
/// later.
|
||||
|
|
|
|||
|
|
@ -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 _GFXVERTEXBUFFER_H_
|
||||
#define _GFXVERTEXBUFFER_H_
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
|
||||
|
||||
//*****************************************************************************
|
||||
// GFXVertexBuffer - base vertex buffer class
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXVERTEXCOLOR_H_
|
||||
#define _GFXVERTEXCOLOR_H_
|
||||
|
||||
#ifndef _SWIZZLE_H_
|
||||
#include "core/util/swizzle.h"
|
||||
#endif
|
||||
|
||||
#include "core/color.h"
|
||||
|
||||
class GFXVertexColor
|
||||
|
|
|
|||
|
|
@ -19,17 +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 _GFXVERTEXFORMAT_H_
|
||||
#define _GFXVERTEXFORMAT_H_
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
|
||||
/// The known Torque vertex element semantics. You can use
|
||||
/// other semantic strings, but they will be interpreted as
|
||||
|
|
|
|||
|
|
@ -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 _GFXVERTEXTYPES_H_
|
||||
#define _GFXVERTEXTYPES_H_
|
||||
|
||||
#ifndef _GFXVERTEXFORMAT_H_
|
||||
#include "gfx/gfxVertexFormat.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXCOLOR_H_
|
||||
|
||||
#include "gfx/gfxVertexColor.h"
|
||||
#endif
|
||||
#ifndef _MPOINT2_H_
|
||||
|
||||
#include "math/mPoint2.h"
|
||||
#endif
|
||||
#ifndef _MPOINT3_H_
|
||||
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
|
||||
GFXDeclareVertexFormat( GFXVertexP )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLAPPLEFENCE_H_
|
||||
#define _GFXGLAPPLEFENCE_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXGLCUBEMAP_H_
|
||||
#define _GFXGLCUBEMAP_H_
|
||||
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
|
||||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLDEVICE_H_
|
||||
#define _GFXGLDEVICE_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLENUMTRANSLATE_H_
|
||||
#define _GFXGLENUMTRANSLATE_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFX_GL_OCCLUSIONQUERY_H_
|
||||
#define _GFX_GL_OCCLUSIONQUERY_H_
|
||||
|
||||
#ifndef _GFXOCCLUSIONQUERY_H_
|
||||
#include "gfx/gfxOcclusionQuery.h"
|
||||
#endif
|
||||
|
||||
class GFXGLOcclusionQuery : public GFXOcclusionQuery
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLPRIMITIVEBUFFER_H_
|
||||
#define _GFXGLPRIMITIVEBUFFER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLSHADER_H_
|
||||
#define _GFXGLSHADER_H_
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLSTATEBLOCK_H_
|
||||
#define _GFXGLSTATEBLOCK_H_
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _GFXGLTEXTUREARRAY_H_
|
||||
#define _GFXGLTEXTUREARRAY_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -26,9 +26,8 @@
|
|||
#include "gfx/gfxTextureObject.h"
|
||||
#include "gfx/gl/tGL/tGL.h"
|
||||
#include "gfx/gfxStateBlock.h"
|
||||
#ifndef _MRECT_H_
|
||||
#include "math/mRect.h"
|
||||
#endif
|
||||
|
||||
class GFXGLDevice;
|
||||
|
||||
class GFXGLTextureObject : public GFXTextureObject
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLTEXTURETARGET_H_
|
||||
#define _GFXGLTEXTURETARGET_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GFXGLVERTEXBUFFER_H_
|
||||
#define _GFXGLVERTEXBUFFER_H_
|
||||
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
|
||||
#include "gfx/gl/tGL/tGL.h"
|
||||
#include "gfx/gl/util/glFrameAllocatorLockableHelper.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _GFXGLWINDOWTARGET_H_
|
||||
#define _GFXGLWINDOWTARGET_H_
|
||||
|
|
|
|||
|
|
@ -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 _SCREENSHOTGL_H_
|
||||
#define _SCREENSHOTGL_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _PRIMBUILDER_H_
|
||||
#define _PRIMBUILDER_H_
|
||||
|
|
|
|||
|
|
@ -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 _SCREENSHOT_H_
|
||||
#define _SCREENSHOT_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -19,25 +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 _CUBEMAPDATA_H_
|
||||
#define _CUBEMAPDATA_H_
|
||||
|
||||
#ifndef _SIMOBJECT_H_
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXTARGET_H_
|
||||
#include "gfx/gfxTarget.h"
|
||||
#endif
|
||||
|
||||
#ifndef _SCENEMANAGER_H_
|
||||
#include "scene/sceneManager.h"
|
||||
#endif
|
||||
|
||||
#include "T3D/assets/ImageAsset.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,34 +19,22 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DEBUGDRAW_H_
|
||||
#define _DEBUGDRAW_H_
|
||||
|
||||
#ifndef _SIMOBJECT_H_
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
|
||||
#ifndef _PRIMBUILDER_H_
|
||||
#include "gfx/primBuilder.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFONT_H_
|
||||
#include "gfx/gFont.h"
|
||||
#endif
|
||||
|
||||
#ifndef _DATACHUNKER_H_
|
||||
#include "core/dataChunker.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MPOLYHEDRON_H_
|
||||
#include "math/mPolyhedron.h"
|
||||
#endif
|
||||
|
||||
|
||||
class GFont;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 __GFXSTATEBLOCKDATA_H_
|
||||
#define __GFXSTATEBLOCKDATA_H_
|
||||
|
||||
#ifndef _GFXSTATEBLOCK_H_
|
||||
#include "gfx/gfxStateBlock.h"
|
||||
#endif
|
||||
#ifndef _SIMOBJECT_H_
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
|
||||
#include "console/simObject.h"
|
||||
|
||||
class GFXSamplerStateData;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#ifndef _DISTANCE_FIELD_H_
|
||||
#define _DISTANCE_FIELD_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,7 @@
|
|||
#define TORQUE_GFX_UTIL_GFXFRUSTUMSAVER_H_
|
||||
|
||||
#include "platform/types.h"
|
||||
|
||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
||||
#include "math/util/frustum.h"
|
||||
#endif
|
||||
|
||||
class GFXFrustumSaver
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _SCREENSPACE_UTILS_H_
|
||||
#define _SCREENSPACE_UTILS_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _TRI_LIST_OPT_H_
|
||||
#define _TRI_LIST_OPT_H_
|
||||
|
|
|
|||
|
|
@ -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 _THEORATEXTURE_H_
|
||||
#define _THEORATEXTURE_H_
|
||||
|
|
|
|||
|
|
@ -19,24 +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 _THEORATEXTUREOBJECT_H_
|
||||
#define _THEORATEXTUREOBJECT_H_
|
||||
|
||||
#ifdef TORQUE_OGGTHEORA
|
||||
|
||||
#ifndef _SIMOBJECT_H_
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
|
||||
#ifndef _THEORATEXTURE_H_
|
||||
#include "gfx/video/theoraTexture.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
|
||||
|
||||
class SFXDescription;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _VIDEOCAPTURE_H_
|
||||
#define _VIDEOCAPTURE_H_
|
||||
|
||||
#ifndef _TSINGLETON_H_
|
||||
#include "core/util/tSingleton.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MPOINT2_H_
|
||||
#include "math/mPoint2.h"
|
||||
#endif
|
||||
|
||||
#ifndef _THREADSAFEDEQUE_H_
|
||||
#include "platform/threads/threadSafeDeque.h"
|
||||
#endif
|
||||
|
||||
|
||||
class GuiCanvas;
|
||||
class VideoFrameGrabber;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue