#include "object/display_effect.hpp"
#include "scripting/squirrel_util.hpp"
-#include "supertux/main.hpp"
+#include "supertux/globals.hpp"
#include "video/drawing_context.hpp"
static const float BORDER_SIZE = 75;
DisplayEffect::expose(HSQUIRRELVM vm, SQInteger table_idx)
{
if (name.empty()) return;
- expose_object(vm, table_idx, dynamic_cast<Scripting::DisplayEffect *>(this), name, false);
+ expose_object(vm, table_idx, dynamic_cast<scripting::DisplayEffect *>(this), name, false);
}
void
DisplayEffect::unexpose(HSQUIRRELVM vm, SQInteger table_idx)
{
if (name.empty()) return;
- Scripting::unexpose_object(vm, table_idx, name);
+ scripting::unexpose_object(vm, table_idx, name);
}
void