mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 14:14:33 +00:00
Compilation changes
Few compile time attempts to speed things up Swap include guards for pramga once Change compile options in the cmakeLists for source generate a pch small tweaks
This commit is contained in:
parent
0df3bea9ca
commit
68e762130d
1016 changed files with 2848 additions and 5532 deletions
|
|
@ -19,17 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DISPATCHER_H_
|
||||
#define _DISPATCHER_H_
|
||||
|
||||
#ifndef _MESSAGE_H_
|
||||
#include "util/messaging/message.h"
|
||||
#endif
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
#include "console/console.h"
|
||||
#endif
|
||||
|
||||
/// @addtogroup msgsys Message System
|
||||
// @{
|
||||
|
|
|
|||
|
|
@ -19,22 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _EVENTMANAGER_H_
|
||||
#define _EVENTMANAGER_H_
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
#include "console/console.h"
|
||||
#endif
|
||||
|
||||
#ifndef _DISPATCHER_H_
|
||||
#include "util/messaging/dispatcher.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TSIMPLEHASHTABLE_H
|
||||
#include "core/tSimpleHashTable.h"
|
||||
#endif
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/// Listener class used by the EventManager to dispatch messages to specific
|
||||
|
|
|
|||
|
|
@ -19,17 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _MESSAGE_H_
|
||||
#define _MESSAGE_H_
|
||||
|
||||
#ifndef _SIMBASE_H_
|
||||
#include "console/simBase.h"
|
||||
#endif
|
||||
|
||||
#ifndef _NETCONNECTION_H_
|
||||
#include "sim/netConnection.h"
|
||||
#endif
|
||||
|
||||
// Forward Refs
|
||||
class MessageQueue;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
#include "console/simBase.h"
|
||||
#include "util/messaging/dispatcher.h"
|
||||
#include "util/messaging/scriptMsgListener.h"
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _MESSAGEFORWARDER_H_
|
||||
#define _MESSAGEFORWARDER_H_
|
||||
|
|
|
|||
|
|
@ -21,13 +21,12 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "console/simBase.h"
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SCRIPTMSGLISTENER_H_
|
||||
#define _SCRIPTMSGLISTENER_H_
|
||||
|
||||
#ifndef _DISPATCHER_H_
|
||||
#include "util/messaging/dispatcher.h"
|
||||
#endif
|
||||
|
||||
/// @addtogroup msgsys Message System
|
||||
// @{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue