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>
|
||||
|
||||
#define LOG_CATEGORY L"graphics"
|
||||
|
||||
|
||||
CMapReader::CMapReader()
|
||||
: xml_reader(0), m_PatchesPerSide(0)
|
||||
|
@ -24,7 +24,6 @@ IGUIScrollBar
|
||||
#include "CGUIScrollBarVertical.h"
|
||||
|
||||
#include "ps/CLogger.h"
|
||||
#define LOG_CATEGORY L"gui"
|
||||
|
||||
|
||||
CGUIScrollBarVertical::CGUIScrollBarVertical()
|
||||
|
@ -34,8 +34,6 @@ CInput
|
||||
#include "ps/CLogger.h"
|
||||
#include "ps/Globals.h"
|
||||
|
||||
#define LOG_CATEGORY L"gui"
|
||||
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Constructor / Destructor
|
||||
|
@ -71,8 +71,6 @@ that of Atlas depending on commandline parameters.
|
||||
#include "scripting/ScriptingHost.h"
|
||||
#include "simulation2/Simulation2.h"
|
||||
|
||||
#define LOG_CATEGORY L"main"
|
||||
|
||||
extern bool g_GameRestarted;
|
||||
|
||||
void kill_mainloop();
|
||||
|
@ -39,8 +39,6 @@
|
||||
#include "scripting/ScriptingHost.h"
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
|
||||
#define LOG_CATEGORY L"Console"
|
||||
|
||||
CConsole* g_Console = 0;
|
||||
|
||||
CConsole::CConsole()
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "ps/ConfigDB.h"
|
||||
#include "ps/Filesystem.h"
|
||||
#include "ps/CLogger.h"
|
||||
#define LOG_CATEGORY L"graphics"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -37,9 +37,6 @@
|
||||
#include "renderer/VertexArray.h"
|
||||
|
||||
|
||||
#define LOG_CATEGORY L"graphics"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// FixedFunctionModelRenderer implementation
|
||||
|
||||
|
@ -40,9 +40,6 @@
|
||||
#include "renderer/VertexArray.h"
|
||||
|
||||
|
||||
#define LOG_CATEGORY L"graphics"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// HWLightingModelRenderer implementation
|
||||
|
||||
|
@ -40,9 +40,6 @@
|
||||
#include "renderer/VertexArray.h"
|
||||
|
||||
|
||||
#define LOG_CATEGORY L"graphics"
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// InstancingModelRenderer implementation
|
||||
|
||||
|
@ -54,8 +54,6 @@
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
#include "simulation2/Simulation2.h"
|
||||
|
||||
#define LOG_CATEGORY L"script"
|
||||
|
||||
// rationale: the function table is now at the end of the source file to
|
||||
// avoid the need for forward declarations for every function.
|
||||
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include "ps/Filesystem.h"
|
||||
#include "scriptinterface/ScriptInterface.h"
|
||||
|
||||
#define LOG_CATEGORY L"scriptinghost"
|
||||
|
||||
ScriptingHost::ScriptingHost()
|
||||
{
|
||||
m_ScriptInterface = new ScriptInterface("Engine", "GUI");
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "maths/Quaternion.h"
|
||||
#include "lib/res/graphics/ogl_tex.h"
|
||||
|
||||
#define LOG_CATEGORY L"Cinema"
|
||||
|
||||
namespace AtlasMessage {
|
||||
|
||||
|
@ -46,7 +46,6 @@
|
||||
#include "simulation2/components/ICmpSelectable.h"
|
||||
#include "simulation2/components/ICmpTemplateManager.h"
|
||||
|
||||
#define LOG_CATEGORY L"editor"
|
||||
|
||||
namespace AtlasMessage {
|
||||
|
||||
@ -234,7 +233,7 @@ BEGIN_COMMAND(SetObjectSettings)
|
||||
}
|
||||
|
||||
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);
|
||||
CSimulation2* simulation = view->GetSimulation2();
|
||||
|
Loading…
Reference in New Issue
Block a user