diff --git a/Editor/Tests/1.Multi-Statement.uf b/Builds/Tests/1.Multi-Statement.uf similarity index 100% rename from Editor/Tests/1.Multi-Statement.uf rename to Builds/Tests/1.Multi-Statement.uf diff --git a/Editor/Tests/2.BlockStatement.uf b/Builds/Tests/2.BlockStatement.uf similarity index 100% rename from Editor/Tests/2.BlockStatement.uf rename to Builds/Tests/2.BlockStatement.uf diff --git a/Editor/Tests/3.BinaryExpression.uf b/Builds/Tests/3.BinaryExpression.uf similarity index 100% rename from Editor/Tests/3.BinaryExpression.uf rename to Builds/Tests/3.BinaryExpression.uf diff --git a/Editor/Tests/4.Assignment.uf b/Builds/Tests/4.Assignment.uf similarity index 100% rename from Editor/Tests/4.Assignment.uf rename to Builds/Tests/4.Assignment.uf diff --git a/Editor/Tests/5.Conditionals.uf b/Builds/Tests/5.Conditionals.uf similarity index 100% rename from Editor/Tests/5.Conditionals.uf rename to Builds/Tests/5.Conditionals.uf diff --git a/Editor/Tests/6.Relations.uf b/Builds/Tests/6.Relations.uf similarity index 100% rename from Editor/Tests/6.Relations.uf rename to Builds/Tests/6.Relations.uf diff --git a/Editor/Tests/7.VariableDeclaration.uf b/Builds/Tests/7.VariableDeclaration.uf similarity index 100% rename from Editor/Tests/7.VariableDeclaration.uf rename to Builds/Tests/7.VariableDeclaration.uf diff --git a/Editor/Lectures/Lecture.4.gd b/Editor/Lectures/Lecture.4.gd index 21278fa..886bf8e 100644 --- a/Editor/Lectures/Lecture.4.gd +++ b/Editor/Lectures/Lecture.4.gd @@ -282,7 +282,11 @@ func test(entry): var introMessageFormatted = introMessage.format({"Name" : entry.Name}) print(introMessageFormatted) - var path = "res://Tests/{TestName}" + var path + if Engine.editor_hint() : + path = "res://Tests/{TestName}" + else : + path = "res://../Builds/Tests/{TestName}" var pathFormatted = path.format({"TestName" : entry.File}) var \ diff --git a/Editor/Lectures/Lecture.5.gd b/Editor/Lectures/Lecture.5.gd index 4284ff5..9d5df34 100644 --- a/Editor/Lectures/Lecture.5.gd +++ b/Editor/Lectures/Lecture.5.gd @@ -348,7 +348,11 @@ func test(entry): var introMessageFormatted = introMessage.format({"Name" : entry.Name}) tout(introMessageFormatted) - var path = "res://Tests/{TestName}" + var path + if Engine.editor_hint : + path = "res://../Tests/{TestName}" + else : + path = "res://../Builds/Tests/{TestName}" var pathFormatted = path.format({"TestName" : entry.File}) var \ diff --git a/Editor/Lectures/Lecture.6.gd b/Editor/Lectures/Lecture.6.gd index 0adf86c..371858b 100644 --- a/Editor/Lectures/Lecture.6.gd +++ b/Editor/Lectures/Lecture.6.gd @@ -357,7 +357,11 @@ func test(entry): var introMessageFormatted = introMessage.format({"Name" : entry.Name}) tout(introMessageFormatted) - var path = "res://Tests/{TestName}" + var path + if Engine.editor_hint : + path = "res://../Tests/{TestName}" + else : + path = "res://../Builds/Tests/{TestName}" var pathFormatted = path.format({"TestName" : entry.File}) var \ diff --git a/Editor/project.godot b/Editor/project.godot index c2dfcc3..8630c85 100644 --- a/Editor/project.godot +++ b/Editor/project.godot @@ -30,4 +30,9 @@ common/enable_pause_aware_picking=true [rendering] +quality/intended_usage/framebuffer_allocation=0 +quality/intended_usage/framebuffer_allocation.mobile=0 +quality/shadows/filter_mode=2 +quality/shadows/filter_mode.mobile=2 +quality/filters/msaa=1 environment/default_environment="res://default_env.tres" diff --git a/RDP_Class_cover_small.png b/RDP_Class_cover_small.png new file mode 100644 index 0000000..4f31dad Binary files /dev/null and b/RDP_Class_cover_small.png differ diff --git a/Readme.md b/Readme.md index 27500fc..0e96df9 100644 --- a/Readme.md +++ b/Readme.md @@ -1 +1,7 @@ -# Language Studies \ No newline at end of file +# Language Studies + + +A set of material done while following [Dmitry Soshnikov's](https://t.co/UL7NQyykPu) courses + +Currently I'm in the process of completing +![Building a parser from scratch](https://i.imgur.com/rEzWwGs.png) \ No newline at end of file diff --git a/build_engine.bat b/build_engine.bat index 2872469..9212cef 100644 --- a/build_engine.bat +++ b/build_engine.bat @@ -1,5 +1,3 @@ cd Engine\gd\ -scons -j%NUMBER_OF_PROCESSORS% platform=windows - -exit \ No newline at end of file +scons -j%NUMBER_OF_PROCESSORS% platform=windows \ No newline at end of file diff --git a/build_engine.release.bat b/build_engine.release.bat new file mode 100644 index 0000000..0b284e5 --- /dev/null +++ b/build_engine.release.bat @@ -0,0 +1,2 @@ +cd Engine\gd\ +scons -j%NUMBER_OF_PROCESSORS% platform=windows tools=no target=release bits=64 \ No newline at end of file diff --git a/build_project.bat b/build_project.bat new file mode 100644 index 0000000..d1c661d --- /dev/null +++ b/build_project.bat @@ -0,0 +1,14 @@ +set CUR_YYYY=%date:~10,4% +set CUR_MM=%date:~4,2% +set CUR_DD=%date:~7,2% +set CUR_HH=%time:~0,2% +if %CUR_HH% lss 10 (set CUR_HH=0%time:~1,1%) +set CUR_NN=%time:~3,2% +set CUR_SS=%time:~6,2% +set CUR_MS=%time:~9,2% +set SUBFILENAME=%CUR_YYYY%%CUR_MM%%CUR_DD%-%CUR_HH%%CUR_NN%%CUR_SS% + +cd Builds +mkdir %SUBFILENAME% +cd ..\Editor +start ..\Engine\gd\bin\godot.windows.opt.64.exe --export "Windows Desktop" "..\Builds\%SUBFILENAME%\LangStudies.exe" diff --git a/debug.bat b/debug.bat new file mode 100644 index 0000000..be6df30 --- /dev/null +++ b/debug.bat @@ -0,0 +1,3 @@ +start Engine\gd\bin\godot.windows.tools.64.exe --path Editor/ + +