Additional cleaning up of logging: removed LOG_CATEGORY macro definitions.
This was SVN commit r8792.
This commit is contained in:
parent
19dbbb816d
commit
1201956b93
@ -44,8 +44,6 @@
|
|||||||
|
|
||||||
#include <boost/algorithm/string/predicate.hpp>
|
#include <boost/algorithm/string/predicate.hpp>
|
||||||
|
|
||||||
#define LOG_CATEGORY L"graphics"
|
|
||||||
|
|
||||||
|
|
||||||
CMapReader::CMapReader()
|
CMapReader::CMapReader()
|
||||||
: xml_reader(0), m_PatchesPerSide(0)
|
: xml_reader(0), m_PatchesPerSide(0)
|
||||||
|
@ -24,7 +24,6 @@ IGUIScrollBar
|
|||||||
#include "CGUIScrollBarVertical.h"
|
#include "CGUIScrollBarVertical.h"
|
||||||
|
|
||||||
#include "ps/CLogger.h"
|
#include "ps/CLogger.h"
|
||||||
#define LOG_CATEGORY L"gui"
|
|
||||||
|
|
||||||
|
|
||||||
CGUIScrollBarVertical::CGUIScrollBarVertical()
|
CGUIScrollBarVertical::CGUIScrollBarVertical()
|
||||||
|
@ -34,8 +34,6 @@ CInput
|
|||||||
#include "ps/CLogger.h"
|
#include "ps/CLogger.h"
|
||||||
#include "ps/Globals.h"
|
#include "ps/Globals.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"gui"
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
// Constructor / Destructor
|
// Constructor / Destructor
|
||||||
|
@ -71,8 +71,6 @@ that of Atlas depending on commandline parameters.
|
|||||||
#include "scripting/ScriptingHost.h"
|
#include "scripting/ScriptingHost.h"
|
||||||
#include "simulation2/Simulation2.h"
|
#include "simulation2/Simulation2.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"main"
|
|
||||||
|
|
||||||
extern bool g_GameRestarted;
|
extern bool g_GameRestarted;
|
||||||
|
|
||||||
void kill_mainloop();
|
void kill_mainloop();
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include "scripting/ScriptingHost.h"
|
#include "scripting/ScriptingHost.h"
|
||||||
#include "scriptinterface/ScriptInterface.h"
|
#include "scriptinterface/ScriptInterface.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"Console"
|
|
||||||
|
|
||||||
CConsole* g_Console = 0;
|
CConsole* g_Console = 0;
|
||||||
|
|
||||||
CConsole::CConsole()
|
CConsole::CConsole()
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include "ps/ConfigDB.h"
|
#include "ps/ConfigDB.h"
|
||||||
#include "ps/Filesystem.h"
|
#include "ps/Filesystem.h"
|
||||||
#include "ps/CLogger.h"
|
#include "ps/CLogger.h"
|
||||||
#define LOG_CATEGORY L"graphics"
|
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -37,9 +37,6 @@
|
|||||||
#include "renderer/VertexArray.h"
|
#include "renderer/VertexArray.h"
|
||||||
|
|
||||||
|
|
||||||
#define LOG_CATEGORY L"graphics"
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// FixedFunctionModelRenderer implementation
|
// FixedFunctionModelRenderer implementation
|
||||||
|
|
||||||
|
@ -40,9 +40,6 @@
|
|||||||
#include "renderer/VertexArray.h"
|
#include "renderer/VertexArray.h"
|
||||||
|
|
||||||
|
|
||||||
#define LOG_CATEGORY L"graphics"
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// HWLightingModelRenderer implementation
|
// HWLightingModelRenderer implementation
|
||||||
|
|
||||||
|
@ -40,9 +40,6 @@
|
|||||||
#include "renderer/VertexArray.h"
|
#include "renderer/VertexArray.h"
|
||||||
|
|
||||||
|
|
||||||
#define LOG_CATEGORY L"graphics"
|
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// InstancingModelRenderer implementation
|
// InstancingModelRenderer implementation
|
||||||
|
|
||||||
|
@ -54,8 +54,6 @@
|
|||||||
#include "scriptinterface/ScriptInterface.h"
|
#include "scriptinterface/ScriptInterface.h"
|
||||||
#include "simulation2/Simulation2.h"
|
#include "simulation2/Simulation2.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"script"
|
|
||||||
|
|
||||||
// rationale: the function table is now at the end of the source file to
|
// rationale: the function table is now at the end of the source file to
|
||||||
// avoid the need for forward declarations for every function.
|
// avoid the need for forward declarations for every function.
|
||||||
|
|
||||||
|
@ -27,8 +27,6 @@
|
|||||||
#include "ps/Filesystem.h"
|
#include "ps/Filesystem.h"
|
||||||
#include "scriptinterface/ScriptInterface.h"
|
#include "scriptinterface/ScriptInterface.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"scriptinghost"
|
|
||||||
|
|
||||||
ScriptingHost::ScriptingHost()
|
ScriptingHost::ScriptingHost()
|
||||||
{
|
{
|
||||||
m_ScriptInterface = new ScriptInterface("Engine", "GUI");
|
m_ScriptInterface = new ScriptInterface("Engine", "GUI");
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
#include "maths/Quaternion.h"
|
#include "maths/Quaternion.h"
|
||||||
#include "lib/res/graphics/ogl_tex.h"
|
#include "lib/res/graphics/ogl_tex.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"Cinema"
|
|
||||||
|
|
||||||
namespace AtlasMessage {
|
namespace AtlasMessage {
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
#include "simulation2/components/ICmpSelectable.h"
|
#include "simulation2/components/ICmpSelectable.h"
|
||||||
#include "simulation2/components/ICmpTemplateManager.h"
|
#include "simulation2/components/ICmpTemplateManager.h"
|
||||||
|
|
||||||
#define LOG_CATEGORY L"editor"
|
|
||||||
|
|
||||||
namespace AtlasMessage {
|
namespace AtlasMessage {
|
||||||
|
|
||||||
@ -234,7 +233,7 @@ BEGIN_COMMAND(SetObjectSettings)
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Set(player_id_t player, const std::set<CStr>& selections)
|
void Set(player_id_t player, const std::set<CStr>& UNUSED(selections))
|
||||||
{
|
{
|
||||||
View* view = View::GetView(msg->view);
|
View* view = View::GetView(msg->view);
|
||||||
CSimulation2* simulation = view->GetSimulation2();
|
CSimulation2* simulation = view->GetSimulation2();
|
||||||
|
Loading…
Reference in New Issue
Block a user