mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Compilation changes
Few compile time attempts to speed things up Swap include guards for pramga once Change compile options in the cmakeLists for source generate a pch small tweaks
This commit is contained in:
parent
0df3bea9ca
commit
68e762130d
1016 changed files with 2848 additions and 5532 deletions
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIBITMAPBUTTON_H_
|
||||
#define _GUIBITMAPBUTTON_H_
|
||||
|
|
|
|||
|
|
@ -19,14 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIBUTTONBASECTRL_H_
|
||||
#define _GUIBUTTONBASECTRL_H_
|
||||
|
||||
#ifndef _GUICONTROL_H_
|
||||
#include "gui/core/guiControl.h"
|
||||
#endif
|
||||
|
||||
|
||||
/// Base class for all button controls. Subclasses are mostly for specific
|
||||
/// rendering types.
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIBUTTONCTRL_H_
|
||||
#define _GUIBUTTONCTRL_H_
|
||||
|
||||
#ifndef _GUIBUTTONBASECTRL_H_
|
||||
#include "gui/buttons/guiButtonBaseCtrl.h"
|
||||
#endif
|
||||
|
||||
class GuiButtonCtrl : public GuiButtonBaseCtrl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUICHECKBOXCTRL_H_
|
||||
#define _GUICHECKBOXCTRL_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIICONBUTTON_H_
|
||||
#define _GUIICONBUTTON_H_
|
||||
|
||||
#ifndef _GUIBUTTONCTRL_H_
|
||||
#include "gui/buttons/guiButtonCtrl.h"
|
||||
#endif
|
||||
|
||||
#ifndef GFX_Texture_Manager_H_
|
||||
#include "gfx/gfxTextureManager.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUIRADIOCTRL_H_
|
||||
#define _GUIRADIOCTRL_H_
|
||||
|
||||
#ifndef _GUICHECKBOXCTRLL_H_
|
||||
#include "gui/buttons/guiCheckBoxCtrl.h"
|
||||
#endif
|
||||
|
||||
// the radio button renders exactly the same as the check box
|
||||
// the only difference is it sends messages to its siblings to
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUISWATCHBUTTONCTRL_H_
|
||||
#define _GUISWATCHBUTTONCTRL_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUITOGGLEBUTTONCTRL_H_
|
||||
#define _GUITOGGLEBUTTONCTRL_H_
|
||||
|
||||
#ifndef _GUIBUTTONCTRL_H_
|
||||
#include "gui/buttons/guiButtonCtrl.h"
|
||||
#endif
|
||||
|
||||
class GuiToggleButtonCtrl : public GuiButtonCtrl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _GUITOOLBOXBUTTON_H_
|
||||
#define _GUITOOLBOXBUTTON_H_
|
||||
|
||||
#ifndef _GUIBUTTONCTRL_H_
|
||||
#include "gui/buttons/guiButtonCtrl.h"
|
||||
#endif
|
||||
|
||||
#ifndef GFX_Texture_Manager_H_
|
||||
#include "gfx/gfxTextureManager.h"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue