Editor improvements
- Can now copy nuake.net dll in debug build - Scrolling outside the viewport wont move the editor cam - Can now double click to to open .sln files - Right arrow now works in file system panel
This commit is contained in:
@@ -216,7 +216,7 @@ namespace Nuake
|
||||
return m_EntityToManagedObjects.find(entity.GetID()) != m_EntityToManagedObjects.end();
|
||||
}
|
||||
|
||||
void ScriptingEngineNet::GenerateSolution(const std::string& path, const std::string& projectName)
|
||||
void ScriptingEngineNet::CopyNuakeNETAssemblies(const std::string& path)
|
||||
{
|
||||
// Create .Net directory in projects folder.
|
||||
const auto netDirectionPath = '/' + m_NetDirectory + '/';
|
||||
@@ -236,6 +236,11 @@ namespace Nuake
|
||||
{
|
||||
std::filesystem::copy_file(fileToCopy, netDir + fileToCopy, std::filesystem::copy_options::overwrite_existing);
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptingEngineNet::GenerateSolution(const std::string& path, const std::string& projectName)
|
||||
{
|
||||
CopyNuakeNETAssemblies(path);
|
||||
|
||||
// Generate premake5 templates
|
||||
// ----------------------------------------
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace Nuake {
|
||||
Coral::ManagedObject GetEntityScript(const Entity& entity);
|
||||
bool HasEntityScriptInstance(const Entity& entity);
|
||||
|
||||
void CopyNuakeNETAssemblies(const std::string& path);
|
||||
void GenerateSolution(const std::string& path, const std::string& projectName);
|
||||
void CreateEntityScript(const std::string& path, const std::string& entityName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user