# HG changeset patch # User sam # Date 1712925867 -25200 # Node ID 4b5891a79f88dee48fdcecb23972935aed49cba9 # Parent ed79529e70a39bf60760c9e1b2bfd77721c5ffc8 add: default application name diff -r ed79529e70a3 -r 4b5891a79f88 semicongine/engine.nim --- a/semicongine/engine.nim Fri Apr 12 19:36:38 2024 +0700 +++ b/semicongine/engine.nim Fri Apr 12 19:44:27 2024 +0700 @@ -1,3 +1,4 @@ +import std/compilesettings import std/algorithm import std/monotimes import std/options @@ -78,7 +79,7 @@ proc initEngine*( - applicationName: string, + applicationName = querySetting(projectName), debug = DEBUG, showFps = DEBUG, exitHandler: proc(engine: var Engine) = nil,