0ad/source/tools/atlas/GameInterface/Handlers/BrushHandlers.cpp
Ykkrosh 001e951066 Autobuilder: Notify autologger of commits.
Interact.cpp: Added category to LOG calls.
Atlas: Renamed all handler source files, so they won't conflict with
other files of the same name. (Fixes bug #77)

This was SVN commit r3721.
2006-04-03 21:08:58 +00:00

21 lines
347 B
C++

#include "precompiled.h"
#include "MessageHandler.h"
#include "../Brushes.h"
namespace AtlasMessage {
MESSAGEHANDLER(Brush)
{
g_CurrentBrush.SetData(msg->width, msg->height, msg->data);
}
MESSAGEHANDLER(BrushPreview)
{
g_CurrentBrush.SetRenderEnabled(msg->enable);
msg->pos.GetWorldSpace(g_CurrentBrush.m_Centre);
}
}