Compare commits
2 Commits
d659dcde10
...
0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 1940d01d9b | |||
| 5c6fe5944a |
@@ -34,7 +34,7 @@ case "$OS" in
|
|||||||
WINDOWS)
|
WINDOWS)
|
||||||
EXEC_FILE="$PROJECT.exe"
|
EXEC_FILE="$PROJECT.exe"
|
||||||
SHARED_LIB_FILE="$PROJECT.dll"
|
SHARED_LIB_FILE="$PROJECT.dll"
|
||||||
LINKER_LIBS=""
|
LINKER_LIBS="-static -lstdc++ -lpthread"
|
||||||
;;
|
;;
|
||||||
LINUX)
|
LINUX)
|
||||||
EXEC_FILE="$PROJECT"
|
EXEC_FILE="$PROJECT"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net48</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<RootNamespace>Ougge</RootNamespace>
|
<RootNamespace>Ougge</RootNamespace>
|
||||||
<ImplicitUsings>disable</ImplicitUsings>
|
<ImplicitUsings>disable</ImplicitUsings>
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ void Engine::updateGameObjects(f64 deltaTime){
|
|||||||
game::GameObject& Engine::createGameObject(){
|
game::GameObject& Engine::createGameObject(){
|
||||||
auto pair = gameObjectPool.emplace(game::GameObject(mono.createObject(gameObjectClass)));
|
auto pair = gameObjectPool.emplace(game::GameObject(mono.createObject(gameObjectClass)));
|
||||||
game::GameObject& obj = pair.second;
|
game::GameObject& obj = pair.second;
|
||||||
gameObjectCtor(obj.getObjectHandle().getObject(), obj_id++, pair.first);
|
gameObjectCtor(obj.getObjectHandle().getObject(), ++obj_id, pair.first);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user