diff --git a/.gitignore b/.gitignore index 2eea525..de410db 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.env \ No newline at end of file +.env +build/ \ No newline at end of file diff --git a/example.env b/example.env index 5232231..0d33b0f 100644 --- a/example.env +++ b/example.env @@ -1,3 +1,4 @@ LOVE2D_EXE=C:/Program Files/LOVE/love.exe DOSBOX_X_EXE=C:/DOSBox-X/dosbox-x.exe -DOSBOX_X_CPU=pentium_ii \ No newline at end of file +DOSBOX_X_CPU=pentium_ii +GAME_NAME=example \ No newline at end of file diff --git a/game/platform/dos.lua b/game/platform/dos.lua index 020864e..0fc5b75 100644 --- a/game/platform/dos.lua +++ b/game/platform/dos.lua @@ -1,4 +1,4 @@ -local platform = {} +local platform = { isNative = false } function platform.init() -- TODO: NOOP diff --git a/game/platform/native.lua b/game/platform/native.lua index 5b9d639..be35531 100644 --- a/game/platform/native.lua +++ b/game/platform/native.lua @@ -1,4 +1,4 @@ -local platform = { mouse = {} } +local platform = { isNative = true, mouse = {} } local screenWidth = 320 local screenHeight = 200