mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-21 00:23:02 +00:00
549150fe38
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.
19 lines
393 B
C++
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;
|
|
}
|
|
|
|
}
|