Small small small changes.

This commit is contained in:
Kapendev 2025-04-04 20:35:41 +03:00
parent c8aead3fa7
commit c027170fd3
6 changed files with 11 additions and 9 deletions

7
examples/.closed Normal file
View file

@ -0,0 +1,7 @@
# This file is used by: https://github.com/Kapendev/closed
-I=../source
-o=../example
# No Joka :(
-I=../../joka/source
-L=-L../../raylib/lib
-L=-lraylib

View file

@ -1 +0,0 @@
-t=TRUE

View file

@ -1,8 +1,6 @@
-t=TRUE
-I=../../../parin/source
# Would be nice if joka was here...
# This file is used by: https://github.com/Kapendev/closed
-I=../../source
# HAHAHA IT FORCES YOU TO LINK WITH RAYLIB. Also no Joka :(
-I=../../../joka/source
# HAHAHA IT FORCES YOU TO LINK WITH RAYLIB. Fix that.
-L=-L../../../raylib/lib
-L=-lraylib

View file

@ -1 +0,0 @@
-t=TRUE

View file

@ -1 +0,0 @@
-t=TRUE

View file

@ -1298,7 +1298,7 @@ void openWindow(int width, int height, const(IStr)[] args, IStr title = "Parin")
// Ready resources.
if (args.length) {
foreach (arg; args) engineState.envArgsBuffer.append(arg);
engineState.assetsPath.append(pathConcat(args[0].pathDir, "assets"));
engineState.assetsPath.append(pathConcat(args[0].pathDirName, "assets"));
}
engineState.loadTextBuffer.reserve(8192);
engineState.saveTextBuffer.reserve(8192);