mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +00:00
commit
c37f6ea6d8
2 changed files with 2 additions and 2 deletions
|
@ -3386,7 +3386,7 @@ void SceneEditor::update(float dt)
|
||||||
else if (cursorOffset.x < oldPosition.x-10)
|
else if (cursorOffset.x < oldPosition.x-10)
|
||||||
right = false;
|
right = false;
|
||||||
else
|
else
|
||||||
noSide++;
|
noSide = 1;
|
||||||
if (cursorOffset.y > oldPosition.y+10)
|
if (cursorOffset.y > oldPosition.y+10)
|
||||||
down = true;
|
down = true;
|
||||||
else if (cursorOffset.y < oldPosition.y-10)
|
else if (cursorOffset.y < oldPosition.y-10)
|
||||||
|
|
|
@ -10409,7 +10409,7 @@ static const struct {
|
||||||
#undef MK_ALIAS
|
#undef MK_ALIAS
|
||||||
#define MK_FUNC(base, getter, prefix, suffix) luaRegister(prefix##_##suffix),
|
#define MK_FUNC(base, getter, prefix, suffix) luaRegister(prefix##_##suffix),
|
||||||
#define MK_STR(s) #s
|
#define MK_STR(s) #s
|
||||||
#define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix)"_"MK_STR(alias), l_##prefix##_##suffix},
|
#define MK_ALIAS(prefix, suffix, alias) {MK_STR(prefix) "_" MK_STR(alias), l_##prefix##_##suffix},
|
||||||
|
|
||||||
EXPAND_FUNC_PROTOTYPES
|
EXPAND_FUNC_PROTOTYPES
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue