mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +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
|
|
@ -1,543 +0,0 @@
|
||||||
/* zconf.h -- configuration of the zlib compression library
|
|
||||||
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
|
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* @(#) $Id$ */
|
|
||||||
|
|
||||||
#ifndef ZCONF_H
|
|
||||||
#define ZCONF_H
|
|
||||||
|
|
||||||
/*
|
|
||||||
* If you *really* need a unique prefix for all types and library functions,
|
|
||||||
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
|
||||||
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
|
||||||
* this permanently in zconf.h using "./configure --zprefix".
|
|
||||||
*/
|
|
||||||
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
|
|
||||||
# define Z_PREFIX_SET
|
|
||||||
|
|
||||||
/* all linked symbols and init macros */
|
|
||||||
# define _dist_code z__dist_code
|
|
||||||
# define _length_code z__length_code
|
|
||||||
# define _tr_align z__tr_align
|
|
||||||
# define _tr_flush_bits z__tr_flush_bits
|
|
||||||
# define _tr_flush_block z__tr_flush_block
|
|
||||||
# define _tr_init z__tr_init
|
|
||||||
# define _tr_stored_block z__tr_stored_block
|
|
||||||
# define _tr_tally z__tr_tally
|
|
||||||
# define adler32 z_adler32
|
|
||||||
# define adler32_combine z_adler32_combine
|
|
||||||
# define adler32_combine64 z_adler32_combine64
|
|
||||||
# define adler32_z z_adler32_z
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# define compress z_compress
|
|
||||||
# define compress2 z_compress2
|
|
||||||
# define compressBound z_compressBound
|
|
||||||
# endif
|
|
||||||
# define crc32 z_crc32
|
|
||||||
# define crc32_combine z_crc32_combine
|
|
||||||
# define crc32_combine64 z_crc32_combine64
|
|
||||||
# define crc32_combine_gen z_crc32_combine_gen
|
|
||||||
# define crc32_combine_gen64 z_crc32_combine_gen64
|
|
||||||
# define crc32_combine_op z_crc32_combine_op
|
|
||||||
# define crc32_z z_crc32_z
|
|
||||||
# define deflate z_deflate
|
|
||||||
# define deflateBound z_deflateBound
|
|
||||||
# define deflateCopy z_deflateCopy
|
|
||||||
# define deflateEnd z_deflateEnd
|
|
||||||
# define deflateGetDictionary z_deflateGetDictionary
|
|
||||||
# define deflateInit z_deflateInit
|
|
||||||
# define deflateInit2 z_deflateInit2
|
|
||||||
# define deflateInit2_ z_deflateInit2_
|
|
||||||
# define deflateInit_ z_deflateInit_
|
|
||||||
# define deflateParams z_deflateParams
|
|
||||||
# define deflatePending z_deflatePending
|
|
||||||
# define deflatePrime z_deflatePrime
|
|
||||||
# define deflateReset z_deflateReset
|
|
||||||
# define deflateResetKeep z_deflateResetKeep
|
|
||||||
# define deflateSetDictionary z_deflateSetDictionary
|
|
||||||
# define deflateSetHeader z_deflateSetHeader
|
|
||||||
# define deflateTune z_deflateTune
|
|
||||||
# define deflate_copyright z_deflate_copyright
|
|
||||||
# define get_crc_table z_get_crc_table
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# define gz_error z_gz_error
|
|
||||||
# define gz_intmax z_gz_intmax
|
|
||||||
# define gz_strwinerror z_gz_strwinerror
|
|
||||||
# define gzbuffer z_gzbuffer
|
|
||||||
# define gzclearerr z_gzclearerr
|
|
||||||
# define gzclose z_gzclose
|
|
||||||
# define gzclose_r z_gzclose_r
|
|
||||||
# define gzclose_w z_gzclose_w
|
|
||||||
# define gzdirect z_gzdirect
|
|
||||||
# define gzdopen z_gzdopen
|
|
||||||
# define gzeof z_gzeof
|
|
||||||
# define gzerror z_gzerror
|
|
||||||
# define gzflush z_gzflush
|
|
||||||
# define gzfread z_gzfread
|
|
||||||
# define gzfwrite z_gzfwrite
|
|
||||||
# define gzgetc z_gzgetc
|
|
||||||
# define gzgetc_ z_gzgetc_
|
|
||||||
# define gzgets z_gzgets
|
|
||||||
# define gzoffset z_gzoffset
|
|
||||||
# define gzoffset64 z_gzoffset64
|
|
||||||
# define gzopen z_gzopen
|
|
||||||
# define gzopen64 z_gzopen64
|
|
||||||
# ifdef _WIN32
|
|
||||||
# define gzopen_w z_gzopen_w
|
|
||||||
# endif
|
|
||||||
# define gzprintf z_gzprintf
|
|
||||||
# define gzputc z_gzputc
|
|
||||||
# define gzputs z_gzputs
|
|
||||||
# define gzread z_gzread
|
|
||||||
# define gzrewind z_gzrewind
|
|
||||||
# define gzseek z_gzseek
|
|
||||||
# define gzseek64 z_gzseek64
|
|
||||||
# define gzsetparams z_gzsetparams
|
|
||||||
# define gztell z_gztell
|
|
||||||
# define gztell64 z_gztell64
|
|
||||||
# define gzungetc z_gzungetc
|
|
||||||
# define gzvprintf z_gzvprintf
|
|
||||||
# define gzwrite z_gzwrite
|
|
||||||
# endif
|
|
||||||
# define inflate z_inflate
|
|
||||||
# define inflateBack z_inflateBack
|
|
||||||
# define inflateBackEnd z_inflateBackEnd
|
|
||||||
# define inflateBackInit z_inflateBackInit
|
|
||||||
# define inflateBackInit_ z_inflateBackInit_
|
|
||||||
# define inflateCodesUsed z_inflateCodesUsed
|
|
||||||
# define inflateCopy z_inflateCopy
|
|
||||||
# define inflateEnd z_inflateEnd
|
|
||||||
# define inflateGetDictionary z_inflateGetDictionary
|
|
||||||
# define inflateGetHeader z_inflateGetHeader
|
|
||||||
# define inflateInit z_inflateInit
|
|
||||||
# define inflateInit2 z_inflateInit2
|
|
||||||
# define inflateInit2_ z_inflateInit2_
|
|
||||||
# define inflateInit_ z_inflateInit_
|
|
||||||
# define inflateMark z_inflateMark
|
|
||||||
# define inflatePrime z_inflatePrime
|
|
||||||
# define inflateReset z_inflateReset
|
|
||||||
# define inflateReset2 z_inflateReset2
|
|
||||||
# define inflateResetKeep z_inflateResetKeep
|
|
||||||
# define inflateSetDictionary z_inflateSetDictionary
|
|
||||||
# define inflateSync z_inflateSync
|
|
||||||
# define inflateSyncPoint z_inflateSyncPoint
|
|
||||||
# define inflateUndermine z_inflateUndermine
|
|
||||||
# define inflateValidate z_inflateValidate
|
|
||||||
# define inflate_copyright z_inflate_copyright
|
|
||||||
# define inflate_fast z_inflate_fast
|
|
||||||
# define inflate_table z_inflate_table
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# define uncompress z_uncompress
|
|
||||||
# define uncompress2 z_uncompress2
|
|
||||||
# endif
|
|
||||||
# define zError z_zError
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# define zcalloc z_zcalloc
|
|
||||||
# define zcfree z_zcfree
|
|
||||||
# endif
|
|
||||||
# define zlibCompileFlags z_zlibCompileFlags
|
|
||||||
# define zlibVersion z_zlibVersion
|
|
||||||
|
|
||||||
/* all zlib typedefs in zlib.h and zconf.h */
|
|
||||||
# define Byte z_Byte
|
|
||||||
# define Bytef z_Bytef
|
|
||||||
# define alloc_func z_alloc_func
|
|
||||||
# define charf z_charf
|
|
||||||
# define free_func z_free_func
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# define gzFile z_gzFile
|
|
||||||
# endif
|
|
||||||
# define gz_header z_gz_header
|
|
||||||
# define gz_headerp z_gz_headerp
|
|
||||||
# define in_func z_in_func
|
|
||||||
# define intf z_intf
|
|
||||||
# define out_func z_out_func
|
|
||||||
# define uInt z_uInt
|
|
||||||
# define uIntf z_uIntf
|
|
||||||
# define uLong z_uLong
|
|
||||||
# define uLongf z_uLongf
|
|
||||||
# define voidp z_voidp
|
|
||||||
# define voidpc z_voidpc
|
|
||||||
# define voidpf z_voidpf
|
|
||||||
|
|
||||||
/* all zlib structs in zlib.h and zconf.h */
|
|
||||||
# define gz_header_s z_gz_header_s
|
|
||||||
# define internal_state z_internal_state
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__MSDOS__) && !defined(MSDOS)
|
|
||||||
# define MSDOS
|
|
||||||
#endif
|
|
||||||
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
|
|
||||||
# define OS2
|
|
||||||
#endif
|
|
||||||
#if defined(_WINDOWS) && !defined(WINDOWS)
|
|
||||||
# define WINDOWS
|
|
||||||
#endif
|
|
||||||
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
|
||||||
# ifndef WIN32
|
|
||||||
# define WIN32
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
|
|
||||||
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
|
|
||||||
# ifndef SYS16BIT
|
|
||||||
# define SYS16BIT
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
|
|
||||||
* than 64k bytes at a time (needed on systems with 16-bit int).
|
|
||||||
*/
|
|
||||||
#ifdef SYS16BIT
|
|
||||||
# define MAXSEG_64K
|
|
||||||
#endif
|
|
||||||
#ifdef MSDOS
|
|
||||||
# define UNALIGNED_OK
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __STDC_VERSION__
|
|
||||||
# ifndef STDC
|
|
||||||
# define STDC
|
|
||||||
# endif
|
|
||||||
# if __STDC_VERSION__ >= 199901L
|
|
||||||
# ifndef STDC99
|
|
||||||
# define STDC99
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
|
|
||||||
# define STDC
|
|
||||||
#endif
|
|
||||||
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
|
|
||||||
# define STDC
|
|
||||||
#endif
|
|
||||||
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
|
|
||||||
# define STDC
|
|
||||||
#endif
|
|
||||||
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
|
|
||||||
# define STDC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
|
|
||||||
# define STDC
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef STDC
|
|
||||||
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
|
|
||||||
# define const /* note: need a more gentle solution here */
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(ZLIB_CONST) && !defined(z_const)
|
|
||||||
# define z_const const
|
|
||||||
#else
|
|
||||||
# define z_const
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef Z_SOLO
|
|
||||||
# ifdef _WIN64
|
|
||||||
typedef unsigned long long z_size_t;
|
|
||||||
# else
|
|
||||||
typedef unsigned long z_size_t;
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# define z_longlong long long
|
|
||||||
# if defined(NO_SIZE_T)
|
|
||||||
typedef unsigned NO_SIZE_T z_size_t;
|
|
||||||
# elif defined(STDC)
|
|
||||||
# include <stddef.h>
|
|
||||||
typedef size_t z_size_t;
|
|
||||||
# else
|
|
||||||
typedef unsigned long z_size_t;
|
|
||||||
# endif
|
|
||||||
# undef z_longlong
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Maximum value for memLevel in deflateInit2 */
|
|
||||||
#ifndef MAX_MEM_LEVEL
|
|
||||||
# ifdef MAXSEG_64K
|
|
||||||
# define MAX_MEM_LEVEL 8
|
|
||||||
# else
|
|
||||||
# define MAX_MEM_LEVEL 9
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
|
|
||||||
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
|
|
||||||
* created by gzip. (Files created by minigzip can still be extracted by
|
|
||||||
* gzip.)
|
|
||||||
*/
|
|
||||||
#ifndef MAX_WBITS
|
|
||||||
# define MAX_WBITS 15 /* 32K LZ77 window */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The memory requirements for deflate are (in bytes):
|
|
||||||
(1 << (windowBits+2)) + (1 << (memLevel+9))
|
|
||||||
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
|
|
||||||
plus a few kilobytes for small objects. For example, if you want to reduce
|
|
||||||
the default memory requirements from 256K to 128K, compile with
|
|
||||||
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
|
|
||||||
Of course this will generally degrade compression (there's no free lunch).
|
|
||||||
|
|
||||||
The memory requirements for inflate are (in bytes) 1 << windowBits
|
|
||||||
that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
|
|
||||||
for small objects.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Type declarations */
|
|
||||||
|
|
||||||
#ifndef OF /* function prototypes */
|
|
||||||
# ifdef STDC
|
|
||||||
# define OF(args) args
|
|
||||||
# else
|
|
||||||
# define OF(args) ()
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The following definitions for FAR are needed only for MSDOS mixed
|
|
||||||
* model programming (small or medium model with some far allocations).
|
|
||||||
* This was tested only with MSC; for other MSDOS compilers you may have
|
|
||||||
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
|
|
||||||
* just define FAR to be empty.
|
|
||||||
*/
|
|
||||||
#ifdef SYS16BIT
|
|
||||||
# if defined(M_I86SM) || defined(M_I86MM)
|
|
||||||
/* MSC small or medium model */
|
|
||||||
# define SMALL_MEDIUM
|
|
||||||
# ifdef _MSC_VER
|
|
||||||
# define FAR _far
|
|
||||||
# else
|
|
||||||
# define FAR far
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# if (defined(__SMALL__) || defined(__MEDIUM__))
|
|
||||||
/* Turbo C small or medium model */
|
|
||||||
# define SMALL_MEDIUM
|
|
||||||
# ifdef __BORLANDC__
|
|
||||||
# define FAR _far
|
|
||||||
# else
|
|
||||||
# define FAR far
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(WINDOWS) || defined(WIN32)
|
|
||||||
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
|
||||||
* This is not mandatory, but it offers a little performance increase.
|
|
||||||
*/
|
|
||||||
# ifdef ZLIB_DLL
|
|
||||||
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
|
|
||||||
# ifdef ZLIB_INTERNAL
|
|
||||||
# define ZEXTERN extern __declspec(dllexport)
|
|
||||||
# else
|
|
||||||
# define ZEXTERN extern __declspec(dllimport)
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# endif /* ZLIB_DLL */
|
|
||||||
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
|
||||||
* define ZLIB_WINAPI.
|
|
||||||
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
|
||||||
*/
|
|
||||||
# ifdef ZLIB_WINAPI
|
|
||||||
# ifdef FAR
|
|
||||||
# undef FAR
|
|
||||||
# endif
|
|
||||||
# ifndef WIN32_LEAN_AND_MEAN
|
|
||||||
# define WIN32_LEAN_AND_MEAN
|
|
||||||
# endif
|
|
||||||
# include <windows.h>
|
|
||||||
/* No need for _export, use ZLIB.DEF instead. */
|
|
||||||
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
|
||||||
# define ZEXPORT WINAPI
|
|
||||||
# ifdef WIN32
|
|
||||||
# define ZEXPORTVA WINAPIV
|
|
||||||
# else
|
|
||||||
# define ZEXPORTVA FAR CDECL
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined (__BEOS__)
|
|
||||||
# ifdef ZLIB_DLL
|
|
||||||
# ifdef ZLIB_INTERNAL
|
|
||||||
# define ZEXPORT __declspec(dllexport)
|
|
||||||
# define ZEXPORTVA __declspec(dllexport)
|
|
||||||
# else
|
|
||||||
# define ZEXPORT __declspec(dllimport)
|
|
||||||
# define ZEXPORTVA __declspec(dllimport)
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef ZEXTERN
|
|
||||||
# define ZEXTERN extern
|
|
||||||
#endif
|
|
||||||
#ifndef ZEXPORT
|
|
||||||
# define ZEXPORT
|
|
||||||
#endif
|
|
||||||
#ifndef ZEXPORTVA
|
|
||||||
# define ZEXPORTVA
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef FAR
|
|
||||||
# define FAR
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__MACTYPES__)
|
|
||||||
typedef unsigned char Byte; /* 8 bits */
|
|
||||||
#endif
|
|
||||||
typedef unsigned int uInt; /* 16 bits or more */
|
|
||||||
typedef unsigned long uLong; /* 32 bits or more */
|
|
||||||
|
|
||||||
#ifdef SMALL_MEDIUM
|
|
||||||
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
|
|
||||||
# define Bytef Byte FAR
|
|
||||||
#else
|
|
||||||
typedef Byte FAR Bytef;
|
|
||||||
#endif
|
|
||||||
typedef char FAR charf;
|
|
||||||
typedef int FAR intf;
|
|
||||||
typedef uInt FAR uIntf;
|
|
||||||
typedef uLong FAR uLongf;
|
|
||||||
|
|
||||||
#ifdef STDC
|
|
||||||
typedef void const *voidpc;
|
|
||||||
typedef void FAR *voidpf;
|
|
||||||
typedef void *voidp;
|
|
||||||
#else
|
|
||||||
typedef Byte const *voidpc;
|
|
||||||
typedef Byte FAR *voidpf;
|
|
||||||
typedef Byte *voidp;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
|
|
||||||
# include <limits.h>
|
|
||||||
# if (UINT_MAX == 0xffffffffUL)
|
|
||||||
# define Z_U4 unsigned
|
|
||||||
# elif (ULONG_MAX == 0xffffffffUL)
|
|
||||||
# define Z_U4 unsigned long
|
|
||||||
# elif (USHRT_MAX == 0xffffffffUL)
|
|
||||||
# define Z_U4 unsigned short
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef Z_U4
|
|
||||||
typedef Z_U4 z_crc_t;
|
|
||||||
#else
|
|
||||||
typedef unsigned long z_crc_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
|
||||||
# define Z_HAVE_UNISTD_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
|
|
||||||
# define Z_HAVE_STDARG_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef STDC
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# include <sys/types.h> /* for off_t */
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# include <stdarg.h> /* for va_list */
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
# ifndef Z_SOLO
|
|
||||||
# include <stddef.h> /* for wchar_t */
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
|
|
||||||
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
|
|
||||||
* though the former does not conform to the LFS document), but considering
|
|
||||||
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
|
|
||||||
* equivalently requesting no 64-bit operations
|
|
||||||
*/
|
|
||||||
#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
|
|
||||||
# undef _LARGEFILE64_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef Z_HAVE_UNISTD_H
|
|
||||||
# ifdef __WATCOMC__
|
|
||||||
# define Z_HAVE_UNISTD_H
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
#ifndef Z_HAVE_UNISTD_H
|
|
||||||
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
|
|
||||||
# define Z_HAVE_UNISTD_H
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
#ifndef Z_SOLO
|
|
||||||
# if defined(Z_HAVE_UNISTD_H)
|
|
||||||
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
|
|
||||||
# ifdef VMS
|
|
||||||
# include <unixio.h> /* for off_t */
|
|
||||||
# endif
|
|
||||||
# ifndef z_off_t
|
|
||||||
# define z_off_t off_t
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
|
|
||||||
# define Z_LFS64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
|
|
||||||
# define Z_LARGE64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
|
|
||||||
# define Z_WANT64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(SEEK_SET) && !defined(Z_SOLO)
|
|
||||||
# define SEEK_SET 0 /* Seek from beginning of file. */
|
|
||||||
# define SEEK_CUR 1 /* Seek from current position. */
|
|
||||||
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef z_off_t
|
|
||||||
# define z_off_t long
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
|
||||||
# define z_off64_t off64_t
|
|
||||||
#else
|
|
||||||
# if defined(_WIN32) && !defined(__GNUC__)
|
|
||||||
# define z_off64_t __int64
|
|
||||||
# else
|
|
||||||
# define z_off64_t z_off_t
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* MVS linker does not support external names larger than 8 bytes */
|
|
||||||
#if defined(__MVS__)
|
|
||||||
#pragma map(deflateInit_,"DEIN")
|
|
||||||
#pragma map(deflateInit2_,"DEIN2")
|
|
||||||
#pragma map(deflateEnd,"DEEND")
|
|
||||||
#pragma map(deflateBound,"DEBND")
|
|
||||||
#pragma map(inflateInit_,"ININ")
|
|
||||||
#pragma map(inflateInit2_,"ININ2")
|
|
||||||
#pragma map(inflateEnd,"INEND")
|
|
||||||
#pragma map(inflateSync,"INSY")
|
|
||||||
#pragma map(inflateSetDictionary,"INSEDI")
|
|
||||||
#pragma map(compressBound,"CMBND")
|
|
||||||
#pragma map(inflate_table,"INTABL")
|
|
||||||
#pragma map(inflate_fast,"INFA")
|
|
||||||
#pragma map(inflate_copyright,"INCOPY")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* ZCONF_H */
|
|
||||||
|
|
@ -426,75 +426,52 @@ if (NOT TORQUE_NET_CURL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
################# Executable Generation ###################
|
################# Executable Generation ###################
|
||||||
|
|
||||||
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_SHARED)
|
set(TORQUE_COMPILE_DEFINITIONS ${TORQUE_COMPILE_DEFINITIONS} TORQUE_SHARED)
|
||||||
|
add_library(TorqueEngine SHARED ${TORQUE_SOURCE_FILES})
|
||||||
# Build the main engine library
|
target_compile_definitions(TorqueEngine PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
|
||||||
add_library(TorqueEngine SHARED ${TORQUE_SOURCE_FILES})
|
target_link_libraries(TorqueEngine ${TORQUE_LINK_LIBRARIES} ${TORQUE_LINK_THIRDPARTY})
|
||||||
target_compile_definitions(TorqueEngine PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
|
target_include_directories(TorqueEngine PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
|
||||||
target_link_libraries(TorqueEngine ${TORQUE_LINK_LIBRARIES} ${TORQUE_LINK_THIRDPARTY})
|
set(TORQUE_SOURCE_FILES "main/main.cpp")
|
||||||
target_include_directories(TorqueEngine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
|
set(TORQUE_LINK_LIBRARIES TorqueEngine)
|
||||||
|
|
||||||
set(TORQUE_SOURCE_FILES "main/main.cpp")
|
|
||||||
set(TORQUE_LINK_LIBRARIES TorqueEngine)
|
|
||||||
else()
|
else()
|
||||||
if(NOT TORQUE_TESTING)
|
if(NOT TORQUE_TESTING)
|
||||||
set(TORQUE_SOURCE_FILES "main/main.cpp" ${TORQUE_SOURCE_FILES})
|
set(TORQUE_SOURCE_FILES "main/main.cpp" ${TORQUE_SOURCE_FILES})
|
||||||
endif()
|
|
||||||
endif (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
|
||||||
|
|
||||||
if (APPLE)
|
|
||||||
add_executable(${TORQUE_APP_NAME} MACOSX_BUNDLE
|
|
||||||
${TORQUE_SOURCE_FILES})
|
|
||||||
|
|
||||||
target_sources(${TORQUE_APP_NAME} PRIVATE "${TORQUE_APP_ROOT_DIRECTORY}/source/App.xcassets")
|
|
||||||
|
|
||||||
set_source_files_properties( "${TORQUE_APP_ROOT_DIRECTORY}/source/App.xcassets" PROPERTIES
|
|
||||||
MACOSX_PACKAGE_LOCATION Resources)
|
|
||||||
|
|
||||||
set_target_properties(${TORQUE_APP_NAME} PROPERTIES
|
|
||||||
MACOSX_BUNDLE true
|
|
||||||
MACOSX_BUNDLE_INFO_PLIST "${TORQUE_APP_ROOT_DIRECTORY}/source/Info.plist"
|
|
||||||
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.torque3d.${TORQUE_APP_NAME}"
|
|
||||||
INSTALL_RPATH "@executable_path/../Frameworks"
|
|
||||||
XCODE_ATTRIBUTE_SKIP_INSTALL NO
|
|
||||||
BUILD_WITH_INSTALL_RPATH ON
|
|
||||||
XCODE_ATTRIBUTE_INSTALL_PATH "/Applications"
|
|
||||||
XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon"
|
|
||||||
XCODE_ATTRIBUTE_LINKER_DISPLAYS_MANGLED_NAMES[variant=Debug] YES
|
|
||||||
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH[variant=Debug] YES
|
|
||||||
XCODE_ATTRIBUTE_ENABLE_TESTABILITY[variant=Debug] YES
|
|
||||||
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=Debug] parent
|
|
||||||
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=RelWithDebInfo] parent
|
|
||||||
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=Release] resource)
|
|
||||||
|
|
||||||
elseif (WIN32)
|
|
||||||
add_executable(${TORQUE_APP_NAME} WIN32 ${TORQUE_SOURCE_FILES})
|
|
||||||
|
|
||||||
set(TORQUE_CXX_FLAGS_COMMON_DEFAULT "-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS /MP /Ob2 /Oi /Ot /Oy /GT /Zi /W4 /nologo /GF /EHsc /GS- /Gy- /Qpar- /fp:precise /fp:except- /GR /Zc:wchar_t-" )
|
|
||||||
if( TORQUE_CPU_X32 )
|
|
||||||
set(TORQUE_CXX_FLAGS_COMMON_DEFAULT "${TORQUE_CXX_FLAGS_COMMON_DEFAULT} /arch:SSE2")
|
|
||||||
endif()
|
endif()
|
||||||
set(TORQUE_CXX_FLAGS_COMMON ${TORQUE_CXX_FLAGS_COMMON_DEFAULT} CACHE STRING "")
|
endif (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
mark_as_advanced(TORQUE_CXX_FLAGS_COMMON)
|
|
||||||
|
if (APPLE)
|
||||||
set(TORQUE_CXX_FLAGS_EXECUTABLES "/wd4018 /wd4100 /wd4121 /wd4127 /wd4130 /wd4244 /wd4245 /wd4389 /wd4511 /wd4512 /wd4800 /wd4995" CACHE STRING "")
|
add_executable(${TORQUE_APP_NAME} MACOSX_BUNDLE ${TORQUE_SOURCE_FILES})
|
||||||
mark_as_advanced(TORQUE_CXX_FLAGS_EXECUTABLES)
|
|
||||||
|
target_sources(${TORQUE_APP_NAME} PRIVATE "${TORQUE_APP_ROOT_DIRECTORY}/source/App.xcassets")
|
||||||
set(TORQUE_CXX_FLAGS "${TORQUE_CXX_FLAGS_COMMON_DEFAULT} ${TORQUE_CXX_FLAGS_EXECUTABLES}" CACHE STRING "")
|
set_source_files_properties("${TORQUE_APP_ROOT_DIRECTORY}/source/App.xcassets" PROPERTIES
|
||||||
mark_as_advanced(TORQUE_CXX_FLAGS)
|
MACOSX_PACKAGE_LOCATION Resources)
|
||||||
|
|
||||||
# NOTE: On Windows, /Zc:wchar_t- is necessary otherwise you get unicode errors
|
set_target_properties(${TORQUE_APP_NAME} PROPERTIES
|
||||||
set_target_properties(${TORQUE_APP_NAME} PROPERTIES COMPILE_FLAGS "${TORQUE_CXX_FLAGS}")
|
MACOSX_BUNDLE true
|
||||||
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
MACOSX_BUNDLE_INFO_PLIST "${TORQUE_APP_ROOT_DIRECTORY}/source/Info.plist"
|
||||||
set_target_properties(TorqueEngine PROPERTIES COMPILE_FLAGS "${TORQUE_CXX_FLAGS_COMMON_DEFAULT}")
|
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.torque3d.${TORQUE_APP_NAME}"
|
||||||
endif (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
INSTALL_RPATH "@executable_path/../Frameworks"
|
||||||
|
XCODE_ATTRIBUTE_SKIP_INSTALL NO
|
||||||
|
BUILD_WITH_INSTALL_RPATH ON
|
||||||
|
XCODE_ATTRIBUTE_INSTALL_PATH "/Applications"
|
||||||
|
XCODE_ATTRIBUTE_ASSETCATALOG_COMPILER_APPICON_NAME "AppIcon"
|
||||||
|
XCODE_ATTRIBUTE_LINKER_DISPLAYS_MANGLED_NAMES[variant=Debug] YES
|
||||||
|
XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH[variant=Debug] YES
|
||||||
|
XCODE_ATTRIBUTE_ENABLE_TESTABILITY[variant=Debug] YES
|
||||||
|
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=Debug] parent
|
||||||
|
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=RelWithDebInfo] parent
|
||||||
|
XCODE_ATTRIBUTE_SDL_FILE_DIR[variant=Release] resource)
|
||||||
|
|
||||||
|
elseif (WIN32)
|
||||||
|
add_executable(${TORQUE_APP_NAME} WIN32 ${TORQUE_SOURCE_FILES})
|
||||||
else()
|
else()
|
||||||
add_executable(${TORQUE_APP_NAME} ${TORQUE_SOURCE_FILES})
|
add_executable(${TORQUE_APP_NAME} ${TORQUE_SOURCE_FILES})
|
||||||
|
set_target_properties(${TORQUE_APP_NAME} PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
|
||||||
# NOTE: On Linux, we set the rpath to ./ so that shared objects next to the executable are used
|
|
||||||
set_target_properties(${TORQUE_APP_NAME} PROPERTIES LINK_FLAGS "-Wl,-rpath,./")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
################# Architecture Detection ###################
|
||||||
|
|
||||||
string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" ARCH)
|
string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" ARCH)
|
||||||
|
|
||||||
|
|
@ -540,7 +517,204 @@ if(IS_ARM)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# Match projectGenerator naming for executables
|
if(IS_X86)
|
||||||
|
target_compile_options(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
/arch:SSE2 # Safe baseline for all configs - dispatch handles ISA upgrades at runtime
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
|
if(IS_X86)
|
||||||
|
target_compile_options(TorqueEngine PRIVATE
|
||||||
|
/arch:SSE2
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
################# Compile Flags ###################
|
||||||
|
# All flags use target_compile_options with generator expressions so they are
|
||||||
|
# per-configuration and never bleed across build types. The old flat
|
||||||
|
# COMPILE_FLAGS string on the target has been removed entirely.
|
||||||
|
|
||||||
|
# ----- Windows (MSVC) -----
|
||||||
|
if (MSVC)
|
||||||
|
# Warnings we suppress engine-wide - all pre-existing
|
||||||
|
set(_TORQUE_MSVC_WARNINGS
|
||||||
|
/wd4018 # signed/unsigned mismatch
|
||||||
|
/wd4100 # unreferenced formal parameter
|
||||||
|
/wd4121 # alignment sensitive to packing
|
||||||
|
/wd4127 # conditional expression is constant
|
||||||
|
/wd4130 # logical op on address of string literal
|
||||||
|
/wd4244 # conversion, possible loss of data
|
||||||
|
/wd4245 # signed/unsigned mismatch on return/init
|
||||||
|
/wd4267 # conversion possible loss of data
|
||||||
|
/wd4389 # signed/unsigned mismatch on comparison
|
||||||
|
/wd4511 # copy constructor could not be generated
|
||||||
|
/wd4512 # assignment operator could not be generated
|
||||||
|
/wd4800 # forcing value to bool
|
||||||
|
/wd4995 # deprecated function
|
||||||
|
)
|
||||||
|
|
||||||
|
# Flags that are correct for every configuration
|
||||||
|
set(_TORQUE_MSVC_ALL
|
||||||
|
/MP # Parallel compilation - single biggest build speed win
|
||||||
|
/FS # Synchronous PDB writes - required when using /MP
|
||||||
|
/nologo # Suppress banner
|
||||||
|
/W3 # Warning level 3 (W4 slows compilation noticeably)
|
||||||
|
/WX- # Warnings are not errors
|
||||||
|
/EHsc # Standard C++ exception handling only
|
||||||
|
/GR # RTTI - required for dynamic_cast throughout the engine
|
||||||
|
/GF # String pooling
|
||||||
|
/Gy # Function-level linking (dead-code stripping at link time)
|
||||||
|
/Zc:wchar_t- # Engine-wide ABI requirement
|
||||||
|
/fp:precise # Consistent FP across the codebase
|
||||||
|
/fp:except- # No FP exception overhead
|
||||||
|
/bigobj # >64k sections - consoleObject.h template depth needs this
|
||||||
|
/Qpar- # Disable auto-paralleliser (causes subtle correctness bugs)
|
||||||
|
/NODEFAULTLIB
|
||||||
|
${_TORQUE_MSVC_WARNINGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
# Debug - prioritise compilation speed and debuggability over all else
|
||||||
|
set(_TORQUE_MSVC_DEBUG
|
||||||
|
/Od # No optimisation - fastest to compile, cleanest call stacks
|
||||||
|
/Ob0 # No inlining - keeps debugger call stacks honest
|
||||||
|
/RTCs # Runtime checks: stack corruption + uninitialised variables
|
||||||
|
/GS # Buffer security checks
|
||||||
|
/Zi # Embed debug info in .obj - avoids PDB contention with /MP
|
||||||
|
/MDd # Debug CRT
|
||||||
|
)
|
||||||
|
|
||||||
|
# RelWithDebInfo - ship-like speed, but still inspectable in a debugger
|
||||||
|
set(_TORQUE_MSVC_RELWITHDEBINFO
|
||||||
|
/O2 # Maximise speed (implies /Ob2 /Oi /Ot)
|
||||||
|
/Ob1 # Only inline functions explicitly marked - preserves some stack info
|
||||||
|
/Oi # Intrinsic replacements for common functions
|
||||||
|
/Ot # Favour fast code over small code
|
||||||
|
/Gw # Package global data for linker dead-stripping
|
||||||
|
/GS- # No buffer security checks
|
||||||
|
/Zi # Debug info in .obj (not a separate PDB) - safer with /MP
|
||||||
|
/MD # Release CRT
|
||||||
|
)
|
||||||
|
|
||||||
|
# Release - maximum runtime performance
|
||||||
|
set(_TORQUE_MSVC_RELEASE
|
||||||
|
/O2 # Maximise speed
|
||||||
|
/Ob2 # Inline any suitable function
|
||||||
|
/Oi # Intrinsic functions
|
||||||
|
/Ot # Favour fast code
|
||||||
|
/Oy # Omit frame pointers (marginal perf gain; hurts external profiling)
|
||||||
|
/Gw # Package global data
|
||||||
|
/GS- # No buffer security checks
|
||||||
|
/MD # Release CRT
|
||||||
|
)
|
||||||
|
|
||||||
|
target_compile_options(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
${_TORQUE_MSVC_ALL}
|
||||||
|
$<$<CONFIG:Debug>:${_TORQUE_MSVC_DEBUG}>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:${_TORQUE_MSVC_RELWITHDEBINFO}>
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_MSVC_RELEASE}>
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_options(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Debug>:/DEBUG:FASTLINK /INCREMENTAL>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:/INCREMENTAL /DEBUG:FASTLINK /OPT:REF /OPT:ICF>
|
||||||
|
$<$<CONFIG:Release>:/INCREMENTAL>
|
||||||
|
)
|
||||||
|
|
||||||
|
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
|
target_compile_options(TorqueEngine PRIVATE
|
||||||
|
${_TORQUE_MSVC_ALL}
|
||||||
|
$<$<CONFIG:Debug>:${_TORQUE_MSVC_DEBUG}>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:${_TORQUE_MSVC_RELWITHDEBINFO}>
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_MSVC_RELEASE}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
endif (MSVC)
|
||||||
|
|
||||||
|
# ----- GCC / Clang (Linux and macOS) -----
|
||||||
|
if (UNIX)
|
||||||
|
# Flags correct for every configuration on GCC/Clang
|
||||||
|
set(_TORQUE_UNIX_ALL
|
||||||
|
-Wno-unused-parameter
|
||||||
|
-Wno-sign-compare
|
||||||
|
-Wno-reorder
|
||||||
|
-fno-exceptions # Engine does not use C++ exceptions
|
||||||
|
-fmessage-length=0 # No line-wrapping in compiler messages
|
||||||
|
-pipe # Use pipes instead of temp files - faster compilation
|
||||||
|
-Wno-type-limits # constant conditional expression
|
||||||
|
-Wno-unused-value
|
||||||
|
-Wno-deprecated-declarations
|
||||||
|
-Wno-conversion # possible loss of data
|
||||||
|
-Wno-sign-conversion
|
||||||
|
-Wno-old-style-cast # if legacy codebase
|
||||||
|
-Wno-invalid-offsetof # offsetof non-standard-layout
|
||||||
|
)
|
||||||
|
|
||||||
|
# Debug
|
||||||
|
set(_TORQUE_UNIX_DEBUG
|
||||||
|
-O0 # No optimisation - fastest to compile
|
||||||
|
-g3 # Maximum debug info (includes macros)
|
||||||
|
-fno-omit-frame-pointer # Keep frame pointers for sane stack traces
|
||||||
|
-fno-inline # No inlining - keeps call stacks clean
|
||||||
|
)
|
||||||
|
|
||||||
|
# RelWithDebInfo
|
||||||
|
set(_TORQUE_UNIX_RELWITHDEBINFO
|
||||||
|
-O2
|
||||||
|
-g1 # Minimal debug info - line numbers only
|
||||||
|
-fno-omit-frame-pointer # Keep frame pointers so profilers work
|
||||||
|
)
|
||||||
|
|
||||||
|
# Release
|
||||||
|
set(_TORQUE_UNIX_RELEASE
|
||||||
|
-O3
|
||||||
|
-g0 # No debug info
|
||||||
|
-fomit-frame-pointer
|
||||||
|
-DNDEBUG
|
||||||
|
)
|
||||||
|
|
||||||
|
# LTO in Release only - significantly extends link time so keep it out of Debug/RWD
|
||||||
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
|
list(APPEND _TORQUE_UNIX_ALL
|
||||||
|
-Wno-shorten-64-to-32
|
||||||
|
-Wno-implicit-int-conversion
|
||||||
|
-Wno-implicit-float-conversion
|
||||||
|
-Wno-nonportable-include-path
|
||||||
|
)
|
||||||
|
set(_TORQUE_UNIX_RELEASE_LINK -flto=thin) # ThinLTO: much faster than full LTO, near-equivalent results
|
||||||
|
else()
|
||||||
|
set(_TORQUE_UNIX_RELEASE_LINK -flto)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_compile_options(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
${_TORQUE_UNIX_ALL}
|
||||||
|
$<$<CONFIG:Debug>:${_TORQUE_UNIX_DEBUG}>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:${_TORQUE_UNIX_RELWITHDEBINFO}>
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_UNIX_RELEASE}>
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_options(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_UNIX_RELEASE_LINK}>
|
||||||
|
)
|
||||||
|
|
||||||
|
if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
|
target_compile_options(TorqueEngine PRIVATE
|
||||||
|
${_TORQUE_UNIX_ALL}
|
||||||
|
$<$<CONFIG:Debug>:${_TORQUE_UNIX_DEBUG}>
|
||||||
|
$<$<CONFIG:RelWithDebInfo>:${_TORQUE_UNIX_RELWITHDEBINFO}>
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_UNIX_RELEASE}>
|
||||||
|
)
|
||||||
|
target_link_options(TorqueEngine PRIVATE
|
||||||
|
$<$<CONFIG:Release>:${_TORQUE_UNIX_RELEASE_LINK}>
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
endif (UNIX)
|
||||||
|
|
||||||
|
################# Output Naming (MSVC) ###################
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
set(OUTPUT_CONFIG DEBUG MINSIZEREL RELWITHDEBINFO)
|
set(OUTPUT_CONFIG DEBUG MINSIZEREL RELWITHDEBINFO)
|
||||||
set(OUTPUT_SUFFIX DEBUG MINSIZE OPTIMIZEDDEBUG)
|
set(OUTPUT_SUFFIX DEBUG MINSIZE OPTIMIZEDDEBUG)
|
||||||
foreach(INDEX RANGE 2)
|
foreach(INDEX RANGE 2)
|
||||||
|
|
@ -552,9 +726,10 @@ if(MSVC)
|
||||||
set_property(TARGET TorqueEngine PROPERTY ${CONF}_OUTPUT_NAME ${TORQUE_APP_NAME})
|
set_property(TARGET TorqueEngine PROPERTY ${CONF}_OUTPUT_NAME ${TORQUE_APP_NAME})
|
||||||
endif (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
endif (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
|
||||||
endforeach()
|
endforeach()
|
||||||
# Set Visual Studio startup project
|
|
||||||
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${TORQUE_APP_NAME})
|
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${TORQUE_APP_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
################# Folder Organisation ###################
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
foreach (TORQUE_LIBRARY ${TORQUE_LINK_LIBRARIES})
|
foreach (TORQUE_LIBRARY ${TORQUE_LINK_LIBRARIES})
|
||||||
|
|
@ -564,8 +739,6 @@ foreach (TORQUE_LIBRARY ${TORQUE_LINK_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
set_target_properties(${TORQUE_LIBRARY} PROPERTIES
|
set_target_properties(${TORQUE_LIBRARY} PROPERTIES
|
||||||
FOLDER "Libraries")
|
FOLDER "Libraries")
|
||||||
# remove warnings from 3rd parties.
|
|
||||||
#target_compile_options(${TORQUE_LIBRARY} PRIVATE "-w")
|
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
target_compile_definitions(${TORQUE_APP_NAME} PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
|
target_compile_definitions(${TORQUE_APP_NAME} PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
|
||||||
|
|
@ -589,7 +762,23 @@ target_link_options(${TORQUE_APP_NAME} PUBLIC ${TORQUE_LINK_OPTIONS})
|
||||||
if (TORQUE_TARGET_PROPERTIES)
|
if (TORQUE_TARGET_PROPERTIES)
|
||||||
set_target_properties(${TORQUE_APP_NAME} PROPERTIES ${TORQUE_TARGET_PROPERTIES})
|
set_target_properties(${TORQUE_APP_NAME} PROPERTIES ${TORQUE_TARGET_PROPERTIES})
|
||||||
endif (TORQUE_TARGET_PROPERTIES)
|
endif (TORQUE_TARGET_PROPERTIES)
|
||||||
target_include_directories(${TORQUE_APP_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
|
target_include_directories(${TORQUE_APP_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
|
||||||
|
|
||||||
|
target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
|
||||||
|
<vector>
|
||||||
|
<string>
|
||||||
|
<map>
|
||||||
|
<memory>
|
||||||
|
<algorithm>
|
||||||
|
<type_traits>
|
||||||
|
<cstring>
|
||||||
|
<cstdlib>
|
||||||
|
<cstdio>
|
||||||
|
<cmath>
|
||||||
|
<cstdint>
|
||||||
|
<cmath>
|
||||||
|
"console/engineObject.h"
|
||||||
|
)
|
||||||
|
|
||||||
if(TORQUE_TESTING)
|
if(TORQUE_TESTING)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AIAIMTARGET_H_
|
#ifndef _AIAIMTARGET_H_
|
||||||
#define _AIAIMTARGET_H_
|
#define _AIAIMTARGET_H_
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AICONTROLLER_H_
|
#ifndef _AICONTROLLER_H_
|
||||||
#define _AICONTROLLER_H_
|
#define _AICONTROLLER_H_
|
||||||
#include "navigation/coverPoint.h"
|
#include "navigation/coverPoint.h"
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AICOVER_H_
|
#ifndef _AICOVER_H_
|
||||||
#define _AICOVER_H_
|
#define _AICOVER_H_
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AIGOAL_H_
|
#ifndef _AIGOAL_H_
|
||||||
#define _AIGOAL_H_
|
#define _AIGOAL_H_
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,11 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AIINFO_H_
|
#ifndef _AIINFO_H_
|
||||||
#define _AIINFO_H_
|
#define _AIINFO_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class AIController;
|
class AIController;
|
||||||
struct AIInfo
|
struct AIInfo
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
#ifndef _AINAVIGATION_H_
|
#ifndef _AINAVIGATION_H_
|
||||||
#define _AINAVIGATION_H_
|
#define _AINAVIGATION_H_
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifndef SCENE_H
|
#ifndef SCENE_H
|
||||||
#include "console/engineAPI.h"
|
#include "console/engineAPI.h"
|
||||||
|
|
||||||
#ifndef _NETOBJECT_H_
|
|
||||||
#include "sim/netObject.h"
|
#include "sim/netObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ITICKABLE_H_
|
|
||||||
#include "core/iTickable.h"
|
#include "core/iTickable.h"
|
||||||
#endif
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef GAME_MODE_H
|
#ifndef GAME_MODE_H
|
||||||
#include "gameMode.h"
|
#include "gameMode.h"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifndef SCENE_GROUP_H
|
#ifndef SCENE_GROUP_H
|
||||||
#define SCENE_GROUP_H
|
#define SCENE_GROUP_H
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class SceneGroup : public SceneObject
|
class SceneGroup : public SceneObject
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,21 +19,13 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _ACCUMULATIONVOLUME_H_
|
|
||||||
#define _ACCUMULATIONVOLUME_H_
|
|
||||||
|
|
||||||
#ifndef _SCENEPOLYHEDRALSPACE_H_
|
|
||||||
#include "scene/scenePolyhedralSpace.h"
|
#include "scene/scenePolyhedralSpace.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MSILHOUETTEEXTRACTOR_H_
|
|
||||||
#include "math/mSilhouetteExtractor.h"
|
#include "math/mSilhouetteExtractor.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
/// A volume in space that blocks visibility.
|
/// A volume in space that blocks visibility.
|
||||||
class AccumulationVolume : public ScenePolyhedralSpace
|
class AccumulationVolume : public ScenePolyhedralSpace
|
||||||
|
|
@ -97,5 +89,3 @@ class AccumulationVolume : public ScenePolyhedralSpace
|
||||||
void buildSilhouette( const SceneCameraState& cameraState, Vector< Point3F >& outPoints ) override;
|
void buildSilhouette( const SceneCameraState& cameraState, Vector< Point3F >& outPoints ) override;
|
||||||
void setTransform( const MatrixF& mat ) override;
|
void setTransform( const MatrixF& mat ) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // !_AccumulationVolume_H_
|
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _AICLIENT_H_
|
#ifndef _AICLIENT_H_
|
||||||
#define _AICLIENT_H_
|
#define _AICLIENT_H_
|
||||||
|
|
||||||
#ifndef _AICONNECTION_H_
|
|
||||||
#include "T3D/aiConnection.h"
|
#include "T3D/aiConnection.h"
|
||||||
#endif
|
|
||||||
#ifndef _TVECTOR_H_
|
|
||||||
#include "core/util/tVector.h"
|
#include "core/util/tVector.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class ShapeBase;
|
class ShapeBase;
|
||||||
class Player;
|
class Player;
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _AICONNECTION_H_
|
#ifndef _AICONNECTION_H_
|
||||||
#define _AICONNECTION_H_
|
#define _AICONNECTION_H_
|
||||||
|
|
||||||
#ifndef _GAMECONNECTION_H_
|
|
||||||
#include "T3D/gameBase/gameConnection.h"
|
#include "T3D/gameBase/gameConnection.h"
|
||||||
#endif
|
|
||||||
#ifndef _MOVEMANAGER_H_
|
|
||||||
#include "T3D/gameBase/moveManager.h"
|
#include "T3D/gameBase/moveManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,13 +24,12 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _AIPLAYER_H_
|
#ifndef _AIPLAYER_H_
|
||||||
#define _AIPLAYER_H_
|
#define _AIPLAYER_H_
|
||||||
|
|
||||||
#ifndef _PLAYER_H_
|
|
||||||
#include "T3D/player.h"
|
#include "T3D/player.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TORQUE_NAVIGATION_ENABLED
|
#ifdef TORQUE_NAVIGATION_ENABLED
|
||||||
#include "navigation/navPath.h"
|
#include "navigation/navPath.h"
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
#ifndef CPP_ASSET_H
|
#ifndef CPP_ASSET_H
|
||||||
#define CPP_ASSET_H
|
#define CPP_ASSET_H
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class CppAsset : public AssetBase
|
class CppAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef CUBEMAP_ASSET_H
|
#ifndef CUBEMAP_ASSET_H
|
||||||
#define CUBEMAP_ASSET_H
|
#define CUBEMAP_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,15 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
#ifndef _EXAMPLE_ASSET_H_
|
#ifndef _EXAMPLE_ASSET_H_
|
||||||
#define _EXAMPLE_ASSET_H_
|
#define _EXAMPLE_ASSET_H_
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class ExampleAsset : public AssetBase
|
class ExampleAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef GUI_ASSET_H
|
#ifndef GUI_ASSET_H
|
||||||
#define GUI_ASSET_H
|
#define GUI_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,25 +22,14 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef GAME_OBJECT_ASSET_H
|
#ifndef GAME_OBJECT_ASSET_H
|
||||||
#define GAME_OBJECT_ASSET_H
|
#define GAME_OBJECT_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class GameObjectAsset : public AssetBase
|
class GameObjectAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -21,37 +21,24 @@
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _ASSET_PTR_H_
|
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
|
||||||
#ifndef _GBITMAP_H_
|
|
||||||
#include "gfx/bitmap/gBitmap.h"
|
#include "gfx/bitmap/gBitmap.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
#ifndef _NETCONNECTION_H_
|
|
||||||
#include "sim/netConnection.h"
|
#include "sim/netConnection.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATTEXTURETARGET_H_
|
|
||||||
#include "materials/matTextureTarget.h"
|
#include "materials/matTextureTarget.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "assetMacroHelpers.h"
|
#include "assetMacroHelpers.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ImageAsset.h"
|
#include "ImageAsset.h"
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
#include <gui/controls/guiBitmapCtrl.h>
|
#include <gui/controls/guiBitmapCtrl.h>
|
||||||
|
|
||||||
#ifdef TORQUE_TOOLS
|
#ifdef TORQUE_TOOLS
|
||||||
|
|
|
||||||
|
|
@ -22,27 +22,16 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef LEVEL_ASSET_H
|
#ifndef LEVEL_ASSET_H
|
||||||
#define LEVEL_ASSET_H
|
#define LEVEL_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
#include "T3D/assets/ImageAsset.h"
|
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
#include "T3D/assets/ImageAsset.h"
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
#include <gui/controls/guiBitmapCtrl.h>
|
#include <gui/controls/guiBitmapCtrl.h>
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -23,34 +23,17 @@
|
||||||
|
|
||||||
#ifndef MATERIALASSET_H
|
#ifndef MATERIALASSET_H
|
||||||
#define MATERIALASSET_H
|
#define MATERIALASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _NETCONNECTION_H_
|
|
||||||
#include "sim/netConnection.h"
|
#include "sim/netConnection.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "materials/matTextureTarget.h"
|
#include "materials/matTextureTarget.h"
|
||||||
#include "materials/materialDefinition.h"
|
#include "materials/materialDefinition.h"
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef PARTICLE_ASSET_H
|
#ifndef PARTICLE_ASSET_H
|
||||||
#define PARTICLE_ASSET_H
|
#define PARTICLE_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef POSTEFFECT_ASSET_H
|
#ifndef POSTEFFECT_ASSET_H
|
||||||
#define POSTEFFECT_ASSET_H
|
#define POSTEFFECT_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "postFx/postEffect.h"
|
#include "postFx/postEffect.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,26 +22,14 @@
|
||||||
#ifndef SCRIPT_ASSET_H
|
#ifndef SCRIPT_ASSET_H
|
||||||
#define SCRIPT_ASSET_H
|
#define SCRIPT_ASSET_H
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_PTR_H_
|
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class ScriptAsset : public AssetBase
|
class ScriptAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -21,32 +21,19 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef SHAPE_ANIMATION_ASSET_H
|
#ifndef SHAPE_ANIMATION_ASSET_H
|
||||||
#define SHAPE_ANIMATION_ASSET_H
|
#define SHAPE_ANIMATION_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPE_H_
|
|
||||||
#include "ts/tsShape.h"
|
#include "ts/tsShape.h"
|
||||||
#endif
|
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ASSET_PTR_H_
|
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "assetMacroHelpers.h"
|
#include "assetMacroHelpers.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,32 +21,20 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef SHAPE_ASSET_H
|
#ifndef SHAPE_ASSET_H
|
||||||
#define SHAPE_ASSET_H
|
#define SHAPE_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TSSHAPE_H_
|
|
||||||
#include "ts/tsShape.h"
|
#include "ts/tsShape.h"
|
||||||
#endif
|
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _ASSET_PTR_H_
|
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
|
||||||
#ifndef MATERIALASSET_H
|
#ifndef MATERIALASSET_H
|
||||||
#include "MaterialAsset.h"
|
#include "MaterialAsset.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -57,9 +45,8 @@
|
||||||
#ifdef TORQUE_TOOLS
|
#ifdef TORQUE_TOOLS
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _BITSTREAM_H_
|
|
||||||
#include "core/stream/bitStream.h"
|
#include "core/stream/bitStream.h"
|
||||||
#endif
|
|
||||||
#include "assetMacroHelpers.h"
|
#include "assetMacroHelpers.h"
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class ShapeAsset : public AssetBase
|
class ShapeAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -22,59 +22,32 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef SOUND_ASSET_H
|
#ifndef SOUND_ASSET_H
|
||||||
#define SOUND_ASSET_H
|
#define SOUND_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_PTR_H_
|
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _BITSTREAM_H_
|
|
||||||
#include "core/stream/bitStream.h"
|
#include "core/stream/bitStream.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXRESOURCE_H_
|
|
||||||
#include "sfx/sfxResource.h"
|
#include "sfx/sfxResource.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXDESCRIPTION_H_
|
#ifndef _SFXDESCRIPTION_H_
|
||||||
#include "sfx/sfxDescription.h"
|
#include "sfx/sfxDescription.h"
|
||||||
#endif // !_SFXDESCRIPTION_H_
|
#endif // !_SFXDESCRIPTION_H_
|
||||||
|
|
||||||
|
|
||||||
#ifndef _SFXTRACK_H_
|
|
||||||
#include "sfx/sfxTrack.h"
|
#include "sfx/sfxTrack.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXPROFILE_H_
|
#ifndef _SFXPROFILE_H_
|
||||||
#include "sfx/sfxProfile.h"
|
#include "sfx/sfxProfile.h"
|
||||||
#endif // !_SFXPROFILE_H_
|
#endif // !_SFXPROFILE_H_
|
||||||
|
|
||||||
#ifndef _RESOURCEMANAGER_H_
|
|
||||||
#include "core/resourceManager.h"
|
#include "core/resourceManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXPLAYLIST_H_
|
|
||||||
#include "sfx/sfxPlayList.h"
|
#include "sfx/sfxPlayList.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXTYPES_H_
|
|
||||||
#include "sfx/sfxTypes.h"
|
#include "sfx/sfxTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "assetMacroHelpers.h"
|
#include "assetMacroHelpers.h"
|
||||||
class SFXResource;
|
class SFXResource;
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "SoundAsset.h"
|
#include "SoundAsset.h"
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TORQUE_TOOLS
|
#ifdef TORQUE_TOOLS
|
||||||
class GuiInspectorTypeSoundAssetPtr : public GuiInspectorTypeFileName
|
class GuiInspectorTypeSoundAssetPtr : public GuiInspectorTypeFileName
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,9 @@
|
||||||
#ifndef LEVEL_ASSET_H
|
#ifndef LEVEL_ASSET_H
|
||||||
#include "LevelAsset.h"
|
#include "LevelAsset.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class SubSceneAsset : public LevelAsset
|
class SubSceneAsset : public LevelAsset
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -22,30 +22,15 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifndef TERRAINASSET_H
|
#ifndef TERRAINASSET_H
|
||||||
#define TERRAINASSET_H
|
#define TERRAINASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//#include "terrain/terrData.h"
|
//#include "terrain/terrData.h"
|
||||||
#include "assets/assetPtr.h"
|
#include "assets/assetPtr.h"
|
||||||
|
|
|
||||||
|
|
@ -22,38 +22,19 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#ifndef TERRAINMATERIALASSET_H
|
#ifndef TERRAINMATERIALASSET_H
|
||||||
#define TERRAINMATERIALASSET_H
|
#define TERRAINMATERIALASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TERRMATERIAL_H_
|
|
||||||
#include "terrain/terrMaterial.h"
|
#include "terrain/terrMaterial.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MATERIALDEFINITION_H_
|
|
||||||
#include "materials/materialDefinition.h"
|
#include "materials/materialDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
class TerrainMaterialAsset : public AssetBase
|
class TerrainMaterialAsset : public AssetBase
|
||||||
|
|
|
||||||
|
|
@ -22,22 +22,12 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#ifndef STATE_MACHINE_ASSET_H
|
#ifndef STATE_MACHINE_ASSET_H
|
||||||
#define STATE_MACHINE_ASSET_H
|
#define STATE_MACHINE_ASSET_H
|
||||||
|
|
||||||
#ifndef _ASSET_BASE_H_
|
|
||||||
#include "assets/assetBase.h"
|
#include "assets/assetBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_DEFINITION_H_
|
|
||||||
#include "assets/assetDefinition.h"
|
#include "assets/assetDefinition.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _STRINGUNIT_H_
|
#include "core/strings/stringUnit.h"
|
||||||
#include "string/stringUnit.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _ASSET_FIELD_TYPES_H_
|
|
||||||
#include "assets/assetFieldTypes.h"
|
#include "assets/assetFieldTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,18 +24,13 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _CAMERA_H_
|
#ifndef _CAMERA_H_
|
||||||
#define _CAMERA_H_
|
#define _CAMERA_H_
|
||||||
|
|
||||||
#ifndef _SHAPEBASE_H_
|
|
||||||
#include "T3D/shapeBase.h"
|
#include "T3D/shapeBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
|
||||||
#include "console/dynamicTypes.h"
|
#include "console/dynamicTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
class CameraData: public ShapeBaseData
|
class CameraData: public ShapeBaseData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
#ifndef _CAMERASPLINE_H_
|
#ifndef _CAMERASPLINE_H_
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,16 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _CONTAINERQUERY_H_
|
#ifndef _CONTAINERQUERY_H_
|
||||||
#define _CONTAINERQUERY_H_
|
#define _CONTAINERQUERY_H_
|
||||||
|
|
||||||
#ifndef _MPOINT3_H_
|
|
||||||
#include "math/mPoint3.h"
|
#include "math/mPoint3.h"
|
||||||
#endif
|
|
||||||
#ifndef _STRINGTABLE_H_
|
|
||||||
#include "core/stringTable.h"
|
#include "core/stringTable.h"
|
||||||
#endif
|
|
||||||
#ifndef _MBOX_H_
|
|
||||||
#include "math/mBox.h"
|
#include "math/mBox.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class SceneObject;
|
class SceneObject;
|
||||||
class WaterObject;
|
class WaterObject;
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,18 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _CONVEXSHAPE_H_
|
#ifndef _CONVEXSHAPE_H_
|
||||||
#define _CONVEXSHAPE_H_
|
#define _CONVEXSHAPE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _CONVEX_H_
|
|
||||||
#include "collision/convex.h"
|
#include "collision/convex.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/MaterialAsset.h"
|
#include "T3D/assets/MaterialAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DEBRIS_H_
|
#ifndef _DEBRIS_H_
|
||||||
#define _DEBRIS_H_
|
#define _DEBRIS_H_
|
||||||
|
|
@ -31,9 +33,7 @@
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ShapeAsset.h"
|
#include "T3D/assets/ShapeAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,17 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DECALDATA_H_
|
#ifndef _DECALDATA_H_
|
||||||
#define _DECALDATA_H_
|
#define _DECALDATA_H_
|
||||||
|
|
||||||
#ifndef _SIMDATABLOCK_H_
|
|
||||||
#include "console/simDatablock.h"
|
#include "console/simDatablock.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATERIALDEFINITION_H_
|
|
||||||
#include "materials/materialDefinition.h"
|
#include "materials/materialDefinition.h"
|
||||||
#endif
|
|
||||||
#ifndef _MRECT_H_
|
|
||||||
#include "math/mRect.h"
|
#include "math/mRect.h"
|
||||||
#endif
|
|
||||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
|
||||||
#include "console/dynamicTypes.h"
|
#include "console/dynamicTypes.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/MaterialAsset.h"
|
#include "T3D/assets/MaterialAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,16 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DECALDATAFILE_H_
|
#ifndef _DECALDATAFILE_H_
|
||||||
#define _DECALDATAFILE_H_
|
#define _DECALDATAFILE_H_
|
||||||
|
|
||||||
#ifndef _DATACHUNKER_H_
|
|
||||||
#include "core/dataChunker.h"
|
#include "core/dataChunker.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TVECTOR_H_
|
|
||||||
#include "core/util/tVector.h"
|
#include "core/util/tVector.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _DECALSPHERE_H_
|
|
||||||
#include "T3D/decal/decalSphere.h"
|
#include "T3D/decal/decalSphere.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
class Stream;
|
class Stream;
|
||||||
class DecalData;
|
class DecalData;
|
||||||
|
|
|
||||||
|
|
@ -19,17 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DECALINSTANCE_H_
|
#ifndef _DECALINSTANCE_H_
|
||||||
#define _DECALINSTANCE_H_
|
#define _DECALINSTANCE_H_
|
||||||
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _DECALDATA_H_
|
|
||||||
#include "T3D/decal/decalData.h"
|
#include "T3D/decal/decalData.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
struct DecalVertex;
|
struct DecalVertex;
|
||||||
class SceneRenderState;
|
class SceneRenderState;
|
||||||
|
|
|
||||||
|
|
@ -19,50 +19,30 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DECALMANAGER_H_
|
#ifndef _DECALMANAGER_H_
|
||||||
#define _DECALMANAGER_H_
|
#define _DECALMANAGER_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
|
||||||
#include "math/util/frustum.h"
|
#include "math/util/frustum.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXDEVICE_H_
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CLIPPEDPOLYLIST_H_
|
|
||||||
#include "collision/clippedPolyList.h"
|
#include "collision/clippedPolyList.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _DECALDATAFILE_H_
|
|
||||||
#include "decalDataFile.h"
|
#include "decalDataFile.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _DECALINSTANCE_H_
|
|
||||||
#include "decalInstance.h"
|
#include "decalInstance.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TSIGNAL_H_
|
|
||||||
#include "core/util/tSignal.h"
|
#include "core/util/tSignal.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _DATACHUNKER_H_
|
|
||||||
#include "core/dataChunker.h"
|
#include "core/dataChunker.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
//#define DECALMANAGER_DEBUG
|
//#define DECALMANAGER_DEBUG
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,18 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _DECALSPHERE_H_
|
#ifndef _DECALSPHERE_H_
|
||||||
#define _DECALSPHERE_H_
|
#define _DECALSPHERE_H_
|
||||||
|
|
||||||
#ifndef _TVECTOR_H_
|
|
||||||
#include "core/util/tVector.h"
|
#include "core/util/tVector.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MSPHERE_H_
|
|
||||||
#include "math/mSphere.h"
|
#include "math/mSphere.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
class DecalInstance;
|
class DecalInstance;
|
||||||
class SceneZoneSpaceManager;
|
class SceneZoneSpaceManager;
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,16 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _RENDERMESHEXAMPLE_H_
|
#ifndef _RENDERMESHEXAMPLE_H_
|
||||||
#define _RENDERMESHEXAMPLE_H_
|
#define _RENDERMESHEXAMPLE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/MaterialAsset.h"
|
#include "T3D/assets/MaterialAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,18 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _RENDEROBJECTEXAMPLE_H_
|
#ifndef _RENDEROBJECTEXAMPLE_H_
|
||||||
#define _RENDEROBJECTEXAMPLE_H_
|
#define _RENDEROBJECTEXAMPLE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXSTATEBLOCK_H_
|
|
||||||
#include "gfx/gfxStateBlock.h"
|
#include "gfx/gfxStateBlock.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BaseMatInstance;
|
class BaseMatInstance;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _RENDERSHAPEEXAMPLE_H_
|
#ifndef _RENDERSHAPEEXAMPLE_H_
|
||||||
#define _RENDERSHAPEEXAMPLE_H_
|
#define _RENDERSHAPEEXAMPLE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
#include "ts/tsShapeInstance.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ShapeAsset.h"
|
#include "T3D/assets/ShapeAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _CAMERAFXMGR_H_
|
#ifndef _CAMERAFXMGR_H_
|
||||||
#define _CAMERAFXMGR_H_
|
#define _CAMERAFXMGR_H_
|
||||||
|
|
@ -26,12 +28,9 @@
|
||||||
#ifndef _TORQUE_LIST_
|
#ifndef _TORQUE_LIST_
|
||||||
#include "core/util/tList.h"
|
#include "core/util/tList.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _MPOINT3_H_
|
|
||||||
#include "math/mPoint3.h"
|
#include "math/mPoint3.h"
|
||||||
#endif
|
|
||||||
#ifndef _MMATRIX_H_
|
|
||||||
#include "math/mMatrix.h"
|
#include "math/mMatrix.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
// Abstract camera effect template
|
// Abstract camera effect template
|
||||||
|
|
|
||||||
|
|
@ -24,22 +24,19 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _EXPLOSION_H_
|
#ifndef _EXPLOSION_H_
|
||||||
#define _EXPLOSION_H_
|
#define _EXPLOSION_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPE_H_
|
|
||||||
#include "ts/tsShape.h"
|
#include "ts/tsShape.h"
|
||||||
#endif
|
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _LIGHTINFO_H_
|
|
||||||
#include "lighting/lightInfo.h"
|
#include "lighting/lightInfo.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ShapeAsset.h"
|
#include "T3D/assets/ShapeAsset.h"
|
||||||
#include "T3D/assets/SoundAsset.h"
|
#include "T3D/assets/SoundAsset.h"
|
||||||
|
|
|
||||||
|
|
@ -24,28 +24,21 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _FOLIAGEREPLICATOR_H_
|
#ifndef _FOLIAGEREPLICATOR_H_
|
||||||
#define _FOLIAGEREPLICATOR_H_
|
#define _FOLIAGEREPLICATOR_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GBITMAP_H_
|
|
||||||
#include "gfx/bitmap/gBitmap.h"
|
#include "gfx/bitmap/gBitmap.h"
|
||||||
#endif
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
|
||||||
#include "math/util/frustum.h"
|
#include "math/util/frustum.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#pragma warning( push, 4 )
|
#pragma warning( push, 4 )
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,16 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _SHAPEREPLICATOR_H_
|
#ifndef _SHAPEREPLICATOR_H_
|
||||||
#define _SHAPEREPLICATOR_H_
|
#define _SHAPEREPLICATOR_H_
|
||||||
|
|
||||||
#ifndef _TSSTATIC_H_
|
|
||||||
#include "T3D/tsStatic.h"
|
#include "T3D/tsStatic.h"
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
#include "ts/tsShapeInstance.h"
|
||||||
#endif
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define AREA_ANIMATION_ARC (1.0f / 360.0f)
|
#define AREA_ANIMATION_ARC (1.0f / 360.0f)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,31 +19,23 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GROUNDCOVER_H_
|
#ifndef _GROUNDCOVER_H_
|
||||||
#define _GROUNDCOVER_H_
|
#define _GROUNDCOVER_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
|
||||||
#include "math/util/frustum.h"
|
#include "math/util/frustum.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFX_GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATTEXTURETARGET_H_
|
|
||||||
#include "materials/matTextureTarget.h"
|
#include "materials/matTextureTarget.h"
|
||||||
#endif
|
|
||||||
#ifndef _SHADERFEATURE_H_
|
|
||||||
#include "shaderGen/shaderFeature.h"
|
#include "shaderGen/shaderFeature.h"
|
||||||
#endif
|
|
||||||
#ifndef SHAPE_ASSET_H
|
#ifndef SHAPE_ASSET_H
|
||||||
#include "T3D/assets/ShapeAsset.h"
|
#include "T3D/assets/ShapeAsset.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,21 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LIGHTNING_H_
|
#ifndef _LIGHTNING_H_
|
||||||
#define _LIGHTNING_H_
|
#define _LIGHTNING_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _TORQUE_LIST_
|
#ifndef _TORQUE_LIST_
|
||||||
#include "core/util/tList.h"
|
#include "core/util/tList.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
#ifndef _ENGINEAPI_H_
|
|
||||||
#include "console/engineAPI.h"
|
#include "console/engineAPI.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,16 +25,14 @@
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PARTICLE_H_
|
#ifndef _PARTICLE_H_
|
||||||
#define _PARTICLE_H_
|
#define _PARTICLE_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ImageAsset.h"
|
#include "T3D/assets/ImageAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,22 +27,15 @@
|
||||||
|
|
||||||
#ifndef _H_PARTICLE_EMITTER
|
#ifndef _H_PARTICLE_EMITTER
|
||||||
#define _H_PARTICLE_EMITTER
|
#define _H_PARTICLE_EMITTER
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _PARTICLE_H_
|
|
||||||
#include "T3D/fx/particle.h"
|
#include "T3D/fx/particle.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class RenderPassManager;
|
class RenderPassManager;
|
||||||
class ParticleData;
|
class ParticleData;
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,12 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PARTICLEEMITTERDUMMY_H_
|
#ifndef _PARTICLEEMITTERDUMMY_H_
|
||||||
#define _PARTICLEEMITTERDUMMY_H_
|
#define _PARTICLEEMITTERDUMMY_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class ParticleEmitterData;
|
class ParticleEmitterData;
|
||||||
class ParticleEmitter;
|
class ParticleEmitter;
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,17 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PRECIPITATION_H_
|
#ifndef _PRECIPITATION_H_
|
||||||
#define _PRECIPITATION_H_
|
#define _PRECIPITATION_H_
|
||||||
|
|
||||||
#include "gfx/gfxDevice.h"
|
#include "gfx/gfxDevice.h"
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ImageAsset.h"
|
#include "T3D/assets/ImageAsset.h"
|
||||||
#include "T3D/assets/SoundAsset.h"
|
#include "T3D/assets/SoundAsset.h"
|
||||||
|
|
|
||||||
|
|
@ -19,21 +19,16 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _RIBBON_H_
|
#ifndef _RIBBON_H_
|
||||||
#define _RIBBON_H_
|
#define _RIBBON_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "materials/materialParameters.h"
|
#include "materials/materialParameters.h"
|
||||||
#include "math/util/matrixSet.h"
|
#include "math/util/matrixSet.h"
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,11 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _RIBBON_NODE_H_
|
#ifndef _RIBBON_NODE_H_
|
||||||
#define _RIBBON_NODE_H_
|
#define _RIBBON_NODE_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class RibbonData;
|
class RibbonData;
|
||||||
class Ribbon;
|
class Ribbon;
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,12 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _SPLASH_H_
|
#ifndef _SPLASH_H_
|
||||||
#define _SPLASH_H_
|
#define _SPLASH_H_
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _TORQUE_LIST_
|
#ifndef _TORQUE_LIST_
|
||||||
#include "core/util/tList.h"
|
#include "core/util/tList.h"
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _WINDEMITTER_H_
|
#ifndef _WINDEMITTER_H_
|
||||||
#define _WINDEMITTER_H_
|
#define _WINDEMITTER_H_
|
||||||
|
|
|
||||||
|
|
@ -24,29 +24,23 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMEBASE_H_
|
#ifndef _GAMEBASE_H_
|
||||||
#define _GAMEBASE_H_
|
#define _GAMEBASE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _PROCESSLIST_H_
|
|
||||||
#include "T3D/gameBase/processList.h"
|
#include "T3D/gameBase/processList.h"
|
||||||
#endif
|
|
||||||
#ifndef _TICKCACHE_H_
|
|
||||||
#include "T3D/gameBase/tickCache.h"
|
#include "T3D/gameBase/tickCache.h"
|
||||||
#endif
|
|
||||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
|
||||||
#include "console/dynamicTypes.h"
|
#include "console/dynamicTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef __SCENEMANAGER_H__
|
#ifndef __SCENEMANAGER_H__
|
||||||
#include "scene/sceneManager.h"
|
#include "scene/sceneManager.h"
|
||||||
#define __SCENEMANAGER_H__
|
#define __SCENEMANAGER_H__
|
||||||
#endif
|
#endif
|
||||||
#ifndef _IDISPLAYDEVICE_H_
|
|
||||||
#include "platform/output/IDisplayDevice.h"
|
#include "platform/output/IDisplayDevice.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class NetConnection;
|
class NetConnection;
|
||||||
class ProcessList;
|
class ProcessList;
|
||||||
|
|
|
||||||
|
|
@ -24,25 +24,20 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMECONNECTION_H_
|
#ifndef _GAMECONNECTION_H_
|
||||||
#define _GAMECONNECTION_H_
|
#define _GAMECONNECTION_H_
|
||||||
|
|
||||||
#ifndef _SIMBASE_H_
|
|
||||||
#include "console/simBase.h"
|
#include "console/simBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _NETCONNECTION_H_
|
|
||||||
#include "sim/netConnection.h"
|
#include "sim/netConnection.h"
|
||||||
#endif
|
|
||||||
#ifndef _MOVEMANAGER_H_
|
|
||||||
#include "T3D/gameBase/moveManager.h"
|
#include "T3D/gameBase/moveManager.h"
|
||||||
#endif
|
|
||||||
#ifndef _BITVECTOR_H_
|
|
||||||
#include "core/bitVector.h"
|
#include "core/bitVector.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
enum GameConnectionConstants
|
enum GameConnectionConstants
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,18 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMECONNECTIONEVENTS_H_
|
#ifndef _GAMECONNECTIONEVENTS_H_
|
||||||
#define _GAMECONNECTIONEVENTS_H_
|
#define _GAMECONNECTIONEVENTS_H_
|
||||||
|
|
||||||
#ifndef _SIMBASE_H_
|
|
||||||
#include "console/simBase.h"
|
#include "console/simBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GAMECONNECTION_H_
|
|
||||||
#include "T3D/gameBase/gameConnection.h"
|
#include "T3D/gameBase/gameConnection.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SFXPROFILE_H_
|
|
||||||
#include "sfx/sfxProfile.h"
|
#include "sfx/sfxProfile.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _BITSTREAM_H_
|
|
||||||
#include "core/stream/bitStream.h"
|
#include "core/stream/bitStream.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/SoundAsset.h"
|
#include "T3D/assets/SoundAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,17 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMEPROCESS_H_
|
#ifndef _GAMEPROCESS_H_
|
||||||
#define _GAMEPROCESS_H_
|
#define _GAMEPROCESS_H_
|
||||||
|
|
||||||
#ifndef _PLATFORM_H_
|
|
||||||
#include "platform/platform.h"
|
#include "platform/platform.h"
|
||||||
#endif
|
|
||||||
#ifndef _PROCESSLIST_H_
|
|
||||||
#include "T3D/gameBase/processList.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#include "T3D/gameBase/processList.h"
|
||||||
|
|
||||||
class GameBase;
|
class GameBase;
|
||||||
class GameConnection;
|
class GameConnection;
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _MOVELIST_H_
|
#ifndef _MOVELIST_H_
|
||||||
#define _MOVELIST_H_
|
#define _MOVELIST_H_
|
||||||
|
|
||||||
#ifndef _TVECTOR_H_
|
|
||||||
#include "core/util/tVector.h"
|
#include "core/util/tVector.h"
|
||||||
#endif
|
|
||||||
#ifndef _MOVEMANAGER_H_
|
|
||||||
#include "T3D/gameBase/moveManager.h"
|
#include "T3D/gameBase/moveManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BitStream;
|
class BitStream;
|
||||||
class ResizeBitStream;
|
class ResizeBitStream;
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,12 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _MOVEMANAGER_H_
|
#ifndef _MOVEMANAGER_H_
|
||||||
#define _MOVEMANAGER_H_
|
#define _MOVEMANAGER_H_
|
||||||
|
|
||||||
#ifndef _PLATFORM_H_
|
|
||||||
#include "platform/platform.h"
|
#include "platform/platform.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
enum MoveConstants {
|
enum MoveConstants {
|
||||||
MaxTriggerKeys = 6,
|
MaxTriggerKeys = 6,
|
||||||
|
|
|
||||||
|
|
@ -24,16 +24,14 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PROCESSLIST_H_
|
#ifndef _PROCESSLIST_H_
|
||||||
#define _PROCESSLIST_H_
|
#define _PROCESSLIST_H_
|
||||||
|
|
||||||
#ifndef _SIM_H_
|
|
||||||
#include "console/sim.h"
|
#include "console/sim.h"
|
||||||
#endif
|
|
||||||
#ifndef _TSIGNAL_H_
|
|
||||||
#include "core/util/tSignal.h"
|
#include "core/util/tSignal.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,14 +19,13 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMEPROCESS_STD_H_
|
#ifndef _GAMEPROCESS_STD_H_
|
||||||
#define _GAMEPROCESS_STD_H_
|
#define _GAMEPROCESS_STD_H_
|
||||||
|
|
||||||
//#include "T3D/gameBase/processList.h"
|
//#include "T3D/gameBase/processList.h"
|
||||||
#ifndef _GAMEPROCESS_H_
|
|
||||||
#include "T3D/gameBase/gameProcess.h"
|
#include "T3D/gameBase/gameProcess.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class GameBase;
|
class GameBase;
|
||||||
class GameConnection;
|
class GameConnection;
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,11 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _MOVELIST_STD_H_
|
#ifndef _MOVELIST_STD_H_
|
||||||
#define _MOVELIST_STD_H_
|
#define _MOVELIST_STD_H_
|
||||||
|
|
||||||
#ifndef _MOVELIST_H_
|
|
||||||
#include "T3D/gameBase/moveList.h"
|
#include "T3D/gameBase/moveList.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class StdMoveList : public MoveList
|
class StdMoveList : public MoveList
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,12 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _TICKCACHE_H_
|
#ifndef _TICKCACHE_H_
|
||||||
#define _TICKCACHE_H_
|
#define _TICKCACHE_H_
|
||||||
|
|
||||||
#ifndef _PLATFORM_H_
|
|
||||||
#include "platform/platform.h"
|
#include "platform/platform.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
struct Move;
|
struct Move;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,19 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMEFUNCTIONS_H_
|
#ifndef _GAMEFUNCTIONS_H_
|
||||||
#define _GAMEFUNCTIONS_H_
|
#define _GAMEFUNCTIONS_H_
|
||||||
|
|
||||||
#ifndef _MPOINT3_H_
|
|
||||||
#include "math/mPoint3.h"
|
#include "math/mPoint3.h"
|
||||||
#endif
|
|
||||||
#ifndef _MMATRIX_H_
|
|
||||||
#include "math/mMatrix.h"
|
#include "math/mMatrix.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTARGET_H_
|
|
||||||
#include "gfx/gfxTarget.h"
|
#include "gfx/gfxTarget.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
|
||||||
#include "math/util/frustum.h"
|
#include "math/util/frustum.h"
|
||||||
#endif
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
struct CameraQuery;
|
struct CameraQuery;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,8 @@
|
||||||
#define GAME_MODE_H
|
#define GAME_MODE_H
|
||||||
|
|
||||||
#ifdef TORQUE_TOOLS
|
#ifdef TORQUE_TOOLS
|
||||||
#ifndef _GUI_INSPECTOR_TYPES_H_
|
|
||||||
#include "gui/editor/guiInspectorTypes.h"
|
#include "gui/editor/guiInspectorTypes.h"
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SUB_SCENE_H
|
#ifndef SUB_SCENE_H
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GAMETSCTRL_H_
|
#ifndef _GAMETSCTRL_H_
|
||||||
#define _GAMETSCTRL_H_
|
#define _GAMETSCTRL_H_
|
||||||
|
|
||||||
#ifndef _GAME_H_
|
|
||||||
#include "app/game.h"
|
#include "app/game.h"
|
||||||
#endif
|
|
||||||
#ifndef _GUITSCONTROL_H_
|
|
||||||
#include "gui/3d/guiTSControl.h"
|
#include "gui/3d/guiTSControl.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class ProjectileData;
|
class ProjectileData;
|
||||||
class GameBase;
|
class GameBase;
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,15 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _TORQUE_T3D_GROUNDPLANE_H_
|
#ifndef _TORQUE_T3D_GROUNDPLANE_H_
|
||||||
#define _TORQUE_T3D_GROUNDPLANE_H_
|
#define _TORQUE_T3D_GROUNDPLANE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/MaterialAsset.h"
|
#include "T3D/assets/MaterialAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
||||||
// GuiMaterialPreview Control for Material Editor Written by Travis Vroman of Gaslight Studios
|
// GuiMaterialPreview Control for Material Editor Written by Travis Vroman of Gaslight Studios
|
||||||
// Updated 2-14-09
|
// Updated 2-14-09
|
||||||
// Portions based off Constructor viewport code.
|
// Portions based off Constructor viewport code.
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GUIMATERIALPREVIEW_H_
|
#ifndef _GUIMATERIALPREVIEW_H_
|
||||||
#define _GUIMATERIALPREVIEW_H_
|
#define _GUIMATERIALPREVIEW_H_
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _GUIOBJECTVIEW_H_
|
#ifndef _GUIOBJECTVIEW_H_
|
||||||
#define _GUIOBJECTVIEW_H_
|
#define _GUIOBJECTVIEW_H_
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _ITEM_H_
|
#ifndef _ITEM_H_
|
||||||
#define _ITEM_H_
|
#define _ITEM_H_
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LEVELINFO_H_
|
#ifndef _LEVELINFO_H_
|
||||||
#define _LEVELINFO_H_
|
#define _LEVELINFO_H_
|
||||||
|
|
@ -35,10 +37,7 @@
|
||||||
#ifndef _SFXCOMMON_H_
|
#ifndef _SFXCOMMON_H_
|
||||||
#include "sfx/sfxCommon.h"
|
#include "sfx/sfxCommon.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ImageAsset.h"
|
#include "T3D/assets/ImageAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,20 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LIGHTANIMDATA_H_
|
#ifndef _LIGHTANIMDATA_H_
|
||||||
#define _LIGHTANIMDATA_H_
|
#define _LIGHTANIMDATA_H_
|
||||||
|
|
||||||
#ifndef _SIMDATABLOCK_H_
|
|
||||||
#include "console/simDatablock.h"
|
#include "console/simDatablock.h"
|
||||||
#endif
|
|
||||||
#ifndef _CONSOLETYPES_H_
|
|
||||||
#include "console/consoleTypes.h"
|
#include "console/consoleTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _MMATRIX_H_
|
|
||||||
#include "math/mMatrix.h"
|
#include "math/mMatrix.h"
|
||||||
#endif
|
|
||||||
#ifndef _MPOINT3_H_
|
|
||||||
#include "math/mPoint3.h"
|
#include "math/mPoint3.h"
|
||||||
#endif
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class LightInfo;
|
class LightInfo;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,25 +24,20 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LIGHTBASE_H_
|
#ifndef _LIGHTBASE_H_
|
||||||
#define _LIGHTBASE_H_
|
#define _LIGHTBASE_H_
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _LIGHTINFO_H_
|
|
||||||
#include "lighting/lightInfo.h"
|
#include "lighting/lightInfo.h"
|
||||||
#endif
|
|
||||||
#ifndef _ITICKABLE_H_
|
|
||||||
#include "core/iTickable.h"
|
#include "core/iTickable.h"
|
||||||
#endif
|
|
||||||
#ifndef _LIGHTFLAREDATA_H_
|
|
||||||
#include "T3D/lightFlareData.h"
|
#include "T3D/lightFlareData.h"
|
||||||
#endif
|
|
||||||
#ifndef _LIGHTANIMDATA_H_
|
|
||||||
#include "T3D/lightAnimData.h"
|
#include "T3D/lightAnimData.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class LightAnimData;
|
class LightAnimData;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,20 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LIGHTDESCRIPTION_H_
|
#ifndef _LIGHTDESCRIPTION_H_
|
||||||
#define _LIGHTDESCRIPTION_H_
|
#define _LIGHTDESCRIPTION_H_
|
||||||
|
|
||||||
#ifndef _SIMDATABLOCK_H_
|
|
||||||
#include "console/simDatablock.h"
|
#include "console/simDatablock.h"
|
||||||
#endif
|
|
||||||
#ifndef _CONSOLETYPES_H_
|
|
||||||
#include "console/consoleTypes.h"
|
#include "console/consoleTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
#ifndef _LIGHTANIMDATA_H_
|
|
||||||
#include "T3D/lightAnimData.h"
|
#include "T3D/lightAnimData.h"
|
||||||
#endif
|
|
||||||
#ifndef _LIGHTFLAREDATA_H_
|
|
||||||
#include "T3D/lightFlareData.h"
|
#include "T3D/lightFlareData.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
struct LightState
|
struct LightState
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,31 +19,24 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _LIGHTFLAREDATA_H_
|
#ifndef _LIGHTFLAREDATA_H_
|
||||||
#define _LIGHTFLAREDATA_H_
|
#define _LIGHTFLAREDATA_H_
|
||||||
|
|
||||||
#ifndef _SIMDATABLOCK_H_
|
|
||||||
#include "console/simDatablock.h"
|
#include "console/simDatablock.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXTEXTUREHANDLE_H_
|
|
||||||
#include "gfx/gfxTextureHandle.h"
|
#include "gfx/gfxTextureHandle.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _CONSOLETYPES_H_
|
|
||||||
#include "console/consoleTypes.h"
|
#include "console/consoleTypes.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXSTATEBLOCK_H_
|
|
||||||
#include "gfx/gfxStateBlock.h"
|
#include "gfx/gfxStateBlock.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXOCCLUSIONQUERY_H_
|
|
||||||
#include "gfx/gfxOcclusionQuery.h"
|
#include "gfx/gfxOcclusionQuery.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ImageAsset.h"
|
#include "T3D/assets/ImageAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,19 +22,11 @@
|
||||||
|
|
||||||
#ifndef IBL_UTILS_H_
|
#ifndef IBL_UTILS_H_
|
||||||
#define IBL_UTILS_H_
|
#define IBL_UTILS_H_
|
||||||
|
|
||||||
#ifndef _GFXTARGET_H_
|
|
||||||
#include "gfx/gfxTarget.h"
|
#include "gfx/gfxTarget.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _GFXCUBEMAP_H_
|
|
||||||
#include "gfx/gfxCubemap.h"
|
#include "gfx/gfxCubemap.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
namespace IBLUtilities
|
namespace IBLUtilities
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -26,20 +26,14 @@
|
||||||
#ifndef REFLECTIONPROBE_H
|
#ifndef REFLECTIONPROBE_H
|
||||||
#include "T3D/lighting/reflectionProbe.h"
|
#include "T3D/lighting/reflectionProbe.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
|
||||||
#endif
|
|
||||||
#include "lighting/lightInfo.h"
|
|
||||||
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
|
|
||||||
|
#include "ts/tsShapeInstance.h"
|
||||||
|
|
||||||
|
#include "lighting/lightInfo.h"
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BaseMatInstance;
|
class BaseMatInstance;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,24 +22,16 @@
|
||||||
|
|
||||||
#ifndef REFLECTIONPROBE_H
|
#ifndef REFLECTIONPROBE_H
|
||||||
#define REFLECTIONPROBE_H
|
#define REFLECTIONPROBE_H
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
|
||||||
#endif
|
|
||||||
#include "lighting/lightInfo.h"
|
|
||||||
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
|
|
||||||
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
|
|
||||||
|
#include "ts/tsShapeInstance.h"
|
||||||
|
|
||||||
|
#include "lighting/lightInfo.h"
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BaseMatInstance;
|
class BaseMatInstance;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,20 +26,14 @@
|
||||||
#ifndef REFLECTIONPROBE_H
|
#ifndef REFLECTIONPROBE_H
|
||||||
#include "T3D/lighting/reflectionProbe.h"
|
#include "T3D/lighting/reflectionProbe.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
|
||||||
#endif
|
|
||||||
#include "lighting/lightInfo.h"
|
|
||||||
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
|
|
||||||
|
#include "ts/tsShapeInstance.h"
|
||||||
|
|
||||||
|
#include "lighting/lightInfo.h"
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BaseMatInstance;
|
class BaseMatInstance;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,20 +26,14 @@
|
||||||
#ifndef REFLECTIONPROBE_H
|
#ifndef REFLECTIONPROBE_H
|
||||||
#include "T3D/lighting/reflectionProbe.h"
|
#include "T3D/lighting/reflectionProbe.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _TSSHAPEINSTANCE_H_
|
|
||||||
#include "ts/tsShapeInstance.h"
|
|
||||||
#endif
|
|
||||||
#include "lighting/lightInfo.h"
|
|
||||||
|
|
||||||
#ifndef _RENDERPASSMANAGER_H_
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
|
|
||||||
|
#include "ts/tsShapeInstance.h"
|
||||||
|
|
||||||
|
#include "lighting/lightInfo.h"
|
||||||
#include "renderInstance/renderPassManager.h"
|
#include "renderInstance/renderPassManager.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class BaseMatInstance;
|
class BaseMatInstance;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,12 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _MISSIONAREA_H_
|
#ifndef _MISSIONAREA_H_
|
||||||
#define _MISSIONAREA_H_
|
#define _MISSIONAREA_H_
|
||||||
|
|
||||||
#ifndef _NETOBJECT_H_
|
|
||||||
#include "sim/netObject.h"
|
#include "sim/netObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class MissionArea : public NetObject
|
class MissionArea : public NetObject
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,25 +19,20 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _MISSIONMARKER_H_
|
#ifndef _MISSIONMARKER_H_
|
||||||
#define _MISSIONMARKER_H_
|
#define _MISSIONMARKER_H_
|
||||||
|
|
||||||
#ifndef _BITSTREAM_H_
|
|
||||||
#include "core/stream/bitStream.h"
|
#include "core/stream/bitStream.h"
|
||||||
#endif
|
|
||||||
#ifndef _SIMBASE_H_
|
|
||||||
#include "console/simBase.h"
|
#include "console/simBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _SHAPEBASE_H_
|
|
||||||
#include "T3D/shapeBase.h"
|
#include "T3D/shapeBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _MATHIO_H_
|
|
||||||
#include "math/mathIO.h"
|
#include "math/mathIO.h"
|
||||||
#endif
|
|
||||||
#ifndef _COLOR_H_
|
|
||||||
#include "core/color.h"
|
#include "core/color.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class MissionMarkerData : public ShapeBaseData
|
class MissionMarkerData : public ShapeBaseData
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXSTATEBLOCK_H_
|
|
||||||
#include "gfx/gfxStateBlock.h"
|
#include "gfx/gfxStateBlock.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXVERTEXBUFFER_H_
|
|
||||||
#include "gfx/gfxVertexBuffer.h"
|
#include "gfx/gfxVertexBuffer.h"
|
||||||
#endif
|
|
||||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
|
||||||
#include "gfx/gfxPrimitiveBuffer.h"
|
#include "gfx/gfxPrimitiveBuffer.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// This class implements a basic SceneObject that can exist in the world at a
|
// This class implements a basic SceneObject that can exist in the world at a
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@
|
||||||
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
// Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
|
||||||
// Copyright (C) 2015 Faust Logic, Inc.
|
// Copyright (C) 2015 Faust Logic, Inc.
|
||||||
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _OBJECTTYPES_H_
|
#ifndef _OBJECTTYPES_H_
|
||||||
#define _OBJECTTYPES_H_
|
#define _OBJECTTYPES_H_
|
||||||
|
|
|
||||||
|
|
@ -19,19 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _OCCLUSIONVOLUME_H_
|
#ifndef _OCCLUSIONVOLUME_H_
|
||||||
#define _OCCLUSIONVOLUME_H_
|
#define _OCCLUSIONVOLUME_H_
|
||||||
|
|
||||||
#ifndef _SCENEPOLYHEDRALSPACE_H_
|
|
||||||
#include "scene/scenePolyhedralSpace.h"
|
#include "scene/scenePolyhedralSpace.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _MSILHOUETTEEXTRACTOR_H_
|
|
||||||
#include "math/mSilhouetteExtractor.h"
|
#include "math/mSilhouetteExtractor.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// A volume in space that blocks visibility.
|
/// A volume in space that blocks visibility.
|
||||||
class OcclusionVolume : public ScenePolyhedralSpace
|
class OcclusionVolume : public ScenePolyhedralSpace
|
||||||
|
|
|
||||||
|
|
@ -19,18 +19,14 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PATHCAMERA_H_
|
#ifndef _PATHCAMERA_H_
|
||||||
#define _PATHCAMERA_H_
|
#define _PATHCAMERA_H_
|
||||||
|
|
||||||
#ifndef _SHAPEBASE_H_
|
|
||||||
#include "T3D/shapeBase.h"
|
#include "T3D/shapeBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CAMERASPLINE_H_
|
|
||||||
#include "T3D/cameraSpline.h"
|
#include "T3D/cameraSpline.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
struct PathCameraData: public ShapeBaseData {
|
struct PathCameraData: public ShapeBaseData {
|
||||||
|
|
|
||||||
|
|
@ -2,21 +2,17 @@
|
||||||
// Torque Game Engine
|
// Torque Game Engine
|
||||||
// Copyright (C) GarageGames.com, Inc.
|
// Copyright (C) GarageGames.com, Inc.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PATHSHAPE_H_
|
#ifndef _PATHSHAPE_H_
|
||||||
#define _PATHSHAPE_H_
|
#define _PATHSHAPE_H_
|
||||||
|
|
||||||
#ifndef _STATICSHAPE_H_
|
|
||||||
#include "T3D/staticShape.h"
|
#include "T3D/staticShape.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CAMERASPLINE_H_
|
|
||||||
#include "T3D/cameraSpline.h"
|
#include "T3D/cameraSpline.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _SIMPATH_H_
|
|
||||||
#include "scene/simPath.h"
|
#include "scene/simPath.h"
|
||||||
#endif
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
struct PathShapeData: public StaticShapeData {
|
struct PathShapeData: public StaticShapeData {
|
||||||
typedef StaticShapeData Parent;
|
typedef StaticShapeData Parent;
|
||||||
|
|
|
||||||
|
|
@ -27,16 +27,11 @@
|
||||||
|
|
||||||
#ifndef _H_PHYSICALZONE
|
#ifndef _H_PHYSICALZONE
|
||||||
#define _H_PHYSICALZONE
|
#define _H_PHYSICALZONE
|
||||||
|
|
||||||
#ifndef _SCENEOBJECT_H_
|
|
||||||
#include "scene/sceneObject.h"
|
#include "scene/sceneObject.h"
|
||||||
#endif
|
|
||||||
#ifndef _EARLYOUTPOLYLIST_H_
|
|
||||||
#include "collision/earlyOutPolyList.h"
|
#include "collision/earlyOutPolyList.h"
|
||||||
#endif
|
|
||||||
#ifndef _MPOLYHEDRON_H_
|
|
||||||
#include "math/mPolyhedron.h"
|
#include "math/mPolyhedron.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class Convex;
|
class Convex;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,13 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _T3D_PHYSICS_PHYSICSBODY_H_
|
#ifndef _T3D_PHYSICS_PHYSICSBODY_H_
|
||||||
#define _T3D_PHYSICS_PHYSICSBODY_H_
|
#define _T3D_PHYSICS_PHYSICSBODY_H_
|
||||||
|
|
||||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
|
||||||
#include "T3D/physics/physicsCommon.h"
|
#include "T3D/physics/physicsCommon.h"
|
||||||
#endif
|
|
||||||
#ifndef _T3D_PHYSICS_PHYSICSOBJECT_H_
|
|
||||||
#include "T3D/physics/physicsObject.h"
|
#include "T3D/physics/physicsObject.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class PhysicsCollision;
|
class PhysicsCollision;
|
||||||
class SceneObject;
|
class SceneObject;
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,11 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
#ifndef _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
||||||
#define _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
#define _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
||||||
|
|
||||||
#ifndef _REFBASE_H_
|
|
||||||
#include "core/util/refBase.h"
|
#include "core/util/refBase.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
class Point3F;
|
class Point3F;
|
||||||
#ifndef USE_TEMPLATE_MATRIX
|
#ifndef USE_TEMPLATE_MATRIX
|
||||||
|
|
|
||||||
|
|
@ -19,23 +19,17 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||||
#define _T3D_PHYSICSCOMMON_H_
|
#define _T3D_PHYSICSCOMMON_H_
|
||||||
|
|
||||||
#ifndef _MPOINT3_H_
|
|
||||||
#include "math/mPoint3.h"
|
#include "math/mPoint3.h"
|
||||||
#endif
|
|
||||||
#ifndef _MQUAT_H_
|
|
||||||
#include "math/mQuat.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _MMATRIX_H_
|
|
||||||
#include "math/mMatrix.h"
|
|
||||||
#endif
|
|
||||||
#ifndef _REFBASE_H_
|
|
||||||
#include "core/util/refBase.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#include "math/mQuat.h"
|
||||||
|
|
||||||
|
#include "math/mMatrix.h"
|
||||||
|
|
||||||
|
#include "core/util/refBase.h"
|
||||||
|
|
||||||
/// Helper structure which defines the state of a single physics body.
|
/// Helper structure which defines the state of a single physics body.
|
||||||
struct PhysicsState
|
struct PhysicsState
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#ifndef _PHYSICS_DEBRIS_H_
|
#ifndef _PHYSICS_DEBRIS_H_
|
||||||
#define _PHYSICS_DEBRIS_H_
|
#define _PHYSICS_DEBRIS_H_
|
||||||
|
|
@ -26,12 +27,8 @@
|
||||||
#ifndef __RESOURCE_H__
|
#ifndef __RESOURCE_H__
|
||||||
#include "core/resource.h"
|
#include "core/resource.h"
|
||||||
#endif
|
#endif
|
||||||
#ifndef _GAMEBASE_H_
|
|
||||||
#include "T3D/gameBase/gameBase.h"
|
#include "T3D/gameBase/gameBase.h"
|
||||||
#endif
|
|
||||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
|
||||||
#include "T3D/physics/physicsCommon.h"
|
#include "T3D/physics/physicsCommon.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "T3D/assets/ShapeAsset.h"
|
#include "T3D/assets/ShapeAsset.h"
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue