Commit graph

55 commits

Author SHA1 Message Date
Sebastian Morr c6bd66559a Preparations for async commands 2020-09-24 10:10:14 +02:00
Sebastian Morr 5031009dd5 Allow multiple level sets, pull out default order into "sequence" file 2020-09-22 16:12:03 +02:00
Sebastian Morr 9f657b012f Show indented lines in the description as monospace 2020-09-22 10:54:37 +02:00
Sebastian Morr 24f194872b Add a theme resource, which applies fonts/styles to all Control elements 2020-09-21 17:00:00 +02:00
Sebastian Morr b2ac12c4ed Pull out TextEditor scene, it handles the TCP server 2020-09-21 15:40:31 +02:00
Sebastian Morr 260beefbe9 Put everything into nested Control nodes 2020-09-21 15:25:54 +02:00
Sebastian Morr cc54f33c78 Add a level sequence, show congrats after level, deal with empty puzzle dirs 2020-09-16 16:18:18 +02:00
Sebastian Morr d3149784cb Live-reload level list when clicking dropdown 2020-09-15 16:31:41 +02:00
bleeptrack b84bb48004 Restructuring of goal/start scripts 2020-09-15 12:36:22 +02:00
Sebastian Morr 148b1be477 Make level dropdown font prettier, too 2020-09-14 19:37:51 +02:00
Sebastian Morr e9c3217015 Make command dropdown prettier 2020-09-14 19:36:58 +02:00
Sebastian Morr d555612791 Show level name above description 2020-09-14 19:29:51 +02:00
Sebastian Morr b1d2536bcc Clear button, show arrow target if there's no node, add some goals 2020-09-14 15:35:30 +02:00
Sebastian Morr cb2bb767db Properly support symrefs in refs/ 2020-09-13 21:55:24 +02:00
Sebastian Morr 8a6f957c61 Rename CommitMessage to TextEditor, because it's more general now 2020-09-13 18:44:27 +02:00
Sebastian Morr 078c1612ac fake-editor sends filename now, so that we can write tag descriptions, for example 2020-09-13 18:40:44 +02:00
bleeptrack 4c79dd24a7 Next Level Button and Switch to Bash for Commands 2020-09-11 13:12:12 +02:00
Sebastian Morr 7c82381e8d Write win scripts for all levels (with a short, fun trip to quote hell) 2020-09-11 12:23:26 +02:00
Sebastian Morr 2aefdf8391 Fix all warnings 2020-09-11 10:33:44 +02:00
Sebastian Morr 41260bc93c Load next level when win condition is fulfilled 2020-09-10 12:47:18 +02:00
bleeptrack 39d952528f Win Script test for blob level 2020-09-10 12:03:46 +02:00
Sebastian Morr 75679c8bb1 Use Perl for the fake-editor :D 2020-09-09 18:32:57 +02:00
Sebastian Morr 4099030fcd Use bundled sh.exe, expand %TEMP% per-user 2020-09-09 17:59:56 +02:00
bleeptrack 5ac3523817 Hardcoded windows paths for testing 2020-09-09 13:25:00 +02:00
Sebastian Morr 724a5fff03 Add some switches that set proper paths for Windows 2020-09-09 11:48:42 +02:00
Sebastian Morr 2711d6ed8b Fix all warnings and errors 2020-09-08 20:26:14 +02:00
Sebastian Morr 3460e37d82 Hide read/write messages behind game.debug flag 2020-09-08 20:13:49 +02:00
Sebastian Morr f09abe36e9 Move all exec operations to the Shell class 2020-09-08 16:46:12 +02:00
Sebastian Morr 5a8c377160 Copy fake-editor to /tmp when starting (the original might be in a .pck file) 2020-09-08 16:36:52 +02:00
Sebastian Morr 4fff68253c Allow exported Linux builds to run
When referring to local game files, we always need to use "res://".
2020-09-08 16:27:36 +02:00
Sebastian Morr 579f18736a Introduce Shell class with a cd method and a run method
game.exec is now the only point in the code that calls OS.execute.
shell.run is the only point that refers to /bin/sh.
2020-09-08 16:08:40 +02:00
Sebastian Morr 132d7eea32 Convert space indentation to tabs 2020-09-04 14:57:37 +02:00
bleeptrack 00247318a6 Changed Level description to sh scripts 2020-09-04 11:40:42 +02:00
Sebastian Morr f2b88d893e No hardcoded level list 2020-09-04 09:58:11 +02:00
Sebastian Morr 8e70be0b93 Attempt to fix the Linux export
The exported version still doesn't run for some reason?
2020-09-04 01:32:05 +02:00
Sebastian Morr 7373984d47 Extract terminal in its own scene, add a few proper levels with a description 2020-09-03 19:22:46 +02:00
Sebastian Morr 75bf6ed86a Make Repository into a container, so we can resize them conveniently 2020-09-03 17:50:03 +02:00
Sebastian Morr ca8aae560c Better colors and fonts 2020-09-01 21:25:24 +02:00
Sebastian Morr 590408e54c Implement very stupid history 2020-09-01 19:59:07 +02:00
Sebastian Morr 8ee7abbc82 Add some shortcut buttons for fun 2020-09-01 19:51:14 +02:00
Sebastian Morr 5161a8563e Only update graph when hitting button or sending command, for now 2020-09-01 19:32:33 +02:00
Sebastian Morr 2a0e2e46bb Use scripts to create levels, add level selector 2020-09-01 19:20:51 +02:00
Sebastian Morr 1b5cbe9cb0 Set up goal and active level from template repos 2020-09-01 18:26:43 +02:00
Sebastian Morr eb53163676 Move repository to its own scene 2020-09-01 17:24:21 +02:00
Sebastian Morr 7f3b8d1bca Remove unused callback functions 2020-09-01 16:48:22 +02:00
Sebastian Morr 01cf45dee4 Implement server that listens for connection from fake-editor script
As well as a commit message editor! \o/
2020-09-01 15:14:01 +02:00
Sebastian Morr 80cbff92a1 Run commands in the terminal using /bin/sh
And some hacks that set the EDITOR and the PATH.
2020-09-01 14:03:18 +02:00
Sebastian Morr f3c311be58 Indent using tabs, which is Godot's default behavior
This should make it easier for new people to contribute.
2020-08-24 16:49:39 +02:00
Sebastian Morr 2f94af8e60 Add a terminal 2020-06-10 18:25:41 +02:00
Sebastian Morr 6e62e80ea0 Don't delete built binaries 2020-03-18 20:32:49 +01:00