0ad/source/tools/atlas/GameInterface/Handlers/CameraCtrl.cpp
Ykkrosh 4a7d0e9038 Config: Changed -e to -entgraph (to avoid conflicts with -editor).
Premake: Don't compile Atlas when compiling ScEd, though I can't
remember why.
Atlas: Load existing maps.

This was SVN commit r2720.
2005-09-14 05:37:52 +00:00

24 lines
349 B
C++

#include "precompiled.h"
#include "MessageHandler.h"
#include "../GameLoop.h"
#include <assert.h>
namespace AtlasMessage {
MESSAGEHANDLER(ScrollConstant)
{
if (msg->dir < 0 || msg->dir > 3)
{
debug_warn("ScrollConstant: invalid direction");
}
else
{
g_GameLoop->input.scrollSpeed[msg->dir] = msg->speed;
}
}
}