Mercurial > games > semicongine
changeset 1105:4b5891a79f88
add: default application name
author | sam <sam@basx.dev> |
---|---|
date | Fri, 12 Apr 2024 19:44:27 +0700 |
parents | ed79529e70a3 |
children | ed3896a10762 |
files | semicongine/engine.nim |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,