1
0
forked from 0ad/0ad

Additional cleaning up of logging: removed LOG_CATEGORY macro definitions.

This was SVN commit r8792.
This commit is contained in:
historic_bruno 2010-12-05 08:50:33 +00:00
parent 19dbbb816d
commit 1201956b93
13 changed files with 1 additions and 26 deletions

View File

@ -44,8 +44,6 @@
#include <boost/algorithm/string/predicate.hpp>
#define LOG_CATEGORY L"graphics"
CMapReader::CMapReader()
: xml_reader(0), m_PatchesPerSide(0)

View File

@ -24,7 +24,6 @@ IGUIScrollBar
#include "CGUIScrollBarVertical.h"
#include "ps/CLogger.h"
#define LOG_CATEGORY L"gui"
CGUIScrollBarVertical::CGUIScrollBarVertical()

View File

@ -34,8 +34,6 @@ CInput
#include "ps/CLogger.h"
#include "ps/Globals.h"
#define LOG_CATEGORY L"gui"
//-------------------------------------------------------------------
// Constructor / Destructor

View File

@ -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();

View File

@ -39,8 +39,6 @@
#include "scripting/ScriptingHost.h"
#include "scriptinterface/ScriptInterface.h"
#define LOG_CATEGORY L"Console"
CConsole* g_Console = 0;
CConsole::CConsole()

View File

@ -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>

View File

@ -37,9 +37,6 @@
#include "renderer/VertexArray.h"
#define LOG_CATEGORY L"graphics"
///////////////////////////////////////////////////////////////////////////////////////////////
// FixedFunctionModelRenderer implementation

View File

@ -40,9 +40,6 @@
#include "renderer/VertexArray.h"
#define LOG_CATEGORY L"graphics"
///////////////////////////////////////////////////////////////////////////////////////////////
// HWLightingModelRenderer implementation

View File

@ -40,9 +40,6 @@
#include "renderer/VertexArray.h"
#define LOG_CATEGORY L"graphics"
///////////////////////////////////////////////////////////////////////////////////////////////
// InstancingModelRenderer implementation

View File

@ -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.

View File

@ -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");

View File

@ -30,7 +30,6 @@
#include "maths/Quaternion.h"
#include "lib/res/graphics/ogl_tex.h"
#define LOG_CATEGORY L"Cinema"
namespace AtlasMessage {

View File

@ -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();