Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/antopilo/Nuake
Browse files Browse the repository at this point in the history
  • Loading branch information
antopilo committed Apr 27, 2024
2 parents bf85573 + bff56e9 commit 0c74c4b
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
17 changes: 17 additions & 0 deletions Editor/src/Commands/CommandBuffer.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#pragma once

#include <vector>

namespace NuakeEditor
{
class CommandBuffer
{
private:

public:
CommandBuffer();
~CommandBuffer();


};
}
23 changes: 23 additions & 0 deletions Editor/src/Commands/Commands/Commands.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once
#include "../ICommand.h"

namespace NuakeEditor {

class SaveSceneCommand : ICommand
{
public:
void Execute() override;
};

class SaveProjectCommand : ICommand
{
public:
void Execute() override;
};

class SaveProjectCommand : ICommand
{
public:
void Execute() override;
};
}
11 changes: 11 additions & 0 deletions Editor/src/Commands/ICommand.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

namespace NuakeEditor
{
class ICommand
{
public:
virtual void Execute() = 0;
virtual void Undo() = 0;
};
}
4 changes: 2 additions & 2 deletions NuakeNet/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ project "NuakeNet"
}

postbuildcommands {
'{ECHO} Copying "%{wks.location}/NuakeNet/bin/%{cfg.buildcfg}/NuakeNet.dll" to "%{wks.location}/Editor"',
'{COPYFILE} "%{wks.location}/NuakeNet/bin/%{cfg.buildcfg}/NuakeNet.dll" "%{wks.location}/Editor"'
'{ECHO} Copying "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" to "%{wks.location}/Editor"',
'{COPYFILE} "%{wks.location}/NuakeNet/bin/$(Configuration)/NuakeNet.dll" "%{wks.location}/Editor"'
}

0 comments on commit 0c74c4b

Please sign in to comment.