Files
0ad/source/tools/atlas/GameInterface/Handlers/MessageHandler.cpp
T
Ykkrosh 549150fe38 Atlas: simple camera control and terrain editing.
Terrain: added terrain-editing code to CTerrain, for better
encapsulation or something.
Console: simplified screen resizing.
Game/etc: removed some unnecessary header file inclusions.

This was SVN commit r2459.
2005-07-03 16:25:48 +00:00

19 lines
393 B
C++

#include "precompiled.h"
#include "MessageHandler.h"
namespace AtlasMessage
{
handlers& GetHandlers()
{
// Make sure this is initialised when it's first required, rather than
// hoping to be lucky with static initialisation order.
// (TODO: But is it safe to be sticking things into STL containers during
// static initialisation?)
static handlers h;
return h;
}
}