summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 05724a14a..2a63e9080 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -1,11 +1,11 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2004-2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -243,10 +243,11 @@ class LocalPlayer final : public Being,
static void setAfkMessage(std::string message);
- bool navigateTo(const int x, const int y);
+ bool navigateTo(const Position& to);
void navigateClean();
+
void imitateEmote(const Being *const being,
const unsigned char action) const;
@@ -390,8 +391,8 @@ class LocalPlayer final : public Being,
void addSpMessage(const int change);
- static bool checAttackPermissions(const Being *const target)
- A_WARN_UNUSED;
+ static bool checkAttackPermissions(const Being *const target)
+ A_WARN_UNUSED;
void updateStatus() const;
@@ -486,8 +487,7 @@ class LocalPlayer final : public Being,
time_t mPingTime;
time_t mAfkTime;
time_t mActivityTime;
- int mNavigateX;
- int mNavigateY;
+ Position mNavigateDest;
BeingId mNavigateId;
int mCrossX;
int mCrossY;
@@ -531,7 +531,7 @@ class LocalPlayer final : public Being,
// Tells if the path was set using mouse
bool mPathSetByMouse;
bool mWaitPing;
- bool mShowNavigePath;
+ bool mShowNavigatePath;
bool mAllowRename;
bool mFreezed;
};