1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

editorPath -> mapEditorPath

This commit is contained in:
Ivan Savenko 2022-12-28 17:59:16 +02:00
parent cd6a894417
commit 5f4a998435
3 changed files with 13 additions and 13 deletions

View File

@ -158,7 +158,7 @@ class VCMIDirsWIN32 final : public IVCMIDirs
std::vector<bfs::path> dataPaths() const override;
bfs::path clientPath() const override;
bfs::path editorPath() const override;
bfs::path mapEditorPath() const override;
bfs::path serverPath() const override;
bfs::path libraryPath() const override;
@ -349,7 +349,7 @@ std::vector<bfs::path> VCMIDirsWIN32::dataPaths() const
}
bfs::path VCMIDirsWIN32::clientPath() const { return binaryPath() / "VCMI_client.exe"; }
bfs::path VCMIDirsWIN32::editorPath() const { return binaryPath() / "VCMI_editor.exe"; }
bfs::path VCMIDirsWIN32::mapEditorPath() const { return binaryPath() / "VCMI_editor.exe"; }
bfs::path VCMIDirsWIN32::serverPath() const { return binaryPath() / "VCMI_server.exe"; }
bfs::path VCMIDirsWIN32::libraryPath() const { return "."; }
@ -361,7 +361,7 @@ class IVCMIDirsUNIX : public IVCMIDirs
{
public:
bfs::path clientPath() const override;
bfs::path editorPath() const override;
bfs::path mapEditorPath() const override;
bfs::path serverPath() const override;
virtual bool developmentMode() const;
@ -374,7 +374,7 @@ bool IVCMIDirsUNIX::developmentMode() const
}
bfs::path IVCMIDirsUNIX::clientPath() const { return binaryPath() / "vcmiclient"; }
bfs::path IVCMIDirsUNIX::editorPath() const { return binaryPath() / "vcmieditor"; }
bfs::path IVCMIDirsUNIX::mapEditorPath() const { return binaryPath() / "vcmieditor"; }
bfs::path IVCMIDirsUNIX::serverPath() const { return binaryPath() / "vcmiserver"; }
#ifdef VCMI_APPLE

View File

@ -39,7 +39,7 @@ public:
virtual boost::filesystem::path clientPath() const = 0;
// Full path to editor executable, including name (e.g. /usr/bin/vcmieditor)
virtual boost::filesystem::path editorPath() const = 0;
virtual boost::filesystem::path mapEditorPath() const = 0;
// Full path to server executable, including name (e.g. /usr/bin/vcmiserver)
virtual boost::filesystem::path serverPath() const = 0;