Commit graph

510 commits

Author SHA1 Message Date
Sebastian Morr
86e4af0cdf Use "checkout" instead of "restore" in a level
Restore is so new that not all Git versions might have it.
2020-10-12 19:23:10 +02:00
bleeptrack
656bf67cf3 Update action to deploy to GH pages 2020-10-09 11:26:59 +02:00
Sebastian Morr
c24da2bc76 Remove some unneeded print statements 2020-10-06 18:53:53 +02:00
Sebastian Morr
ec841ce485 Fix loading old-style levels in exported versions of the game 2020-10-06 18:53:31 +02:00
Sebastian Morr
0421ec3030 Predefined list of Git subcommands, empty description strings
Older versions of Git have a different format for the output of
`git help -a`, and we didn't find a good way to list all subcommands and
descriptions. So we're hand-coding them for now.
2020-10-06 18:42:28 +02:00
bleeptrack
37cbd390d5 Levelscript push fix 2020-10-06 17:36:20 +02:00
bleeptrack
8501e598a4 Changes for OSX 2020-10-06 16:50:31 +02:00
Sebastian Morr
c3066b4560 Add a CI definitions file 2020-10-06 15:30:26 +02:00
bleeptrack
a0a7202684 Autosizing of completions 2020-10-06 12:30:24 +02:00
bleeptrack
e7404200dd shortcut to delete words in terminal 2020-10-06 11:51:10 +02:00
bleeptrack
c400653f9d Textedit save shortcut 2020-10-06 11:34:12 +02:00
Sebastian Morr
812bf48b55 Add all new levels 2020-10-06 10:51:12 +02:00
Sebastian Morr
8c4c4feeef Fix opening things in file browser, fix [code] highlighting 2020-10-06 10:38:31 +02:00
Sebastian Morr
f3ff5c5147 Rename chapters into "internals" and "intro" 2020-10-01 15:03:02 +02:00
Sebastian Morr
70fe577788 Select correct entries in level selector when clicking them 2020-10-01 14:56:24 +02:00
bleeptrack
56995440a2 Prior positioning of nodes for better layout 2020-10-01 13:11:29 +02:00
Sebastian Morr
1eb0e0ef9f Add bad-layout level 2020-10-01 12:43:38 +02:00
Sebastian Morr
e1fee5e4f0 Add LevelRepo class - I forgot :P 2020-10-01 12:24:47 +02:00
Sebastian Morr
8198921b1a Fix sandbox mode by connecting the terminal's signal 2020-10-01 10:07:43 +02:00
Sebastian Morr
e974342693 Automatically switch on simplified view when there are >= 3 commits 2020-09-30 22:41:28 +02:00
Sebastian Morr
aec32e115c Add more levels in the new format 2020-09-30 22:20:42 +02:00
Sebastian Morr
065ca2a233 Allow having an arbitrary number of repos in a level 2020-09-30 21:36:11 +02:00
Sebastian Morr
91a57c49d7 Load new level format 2020-09-30 18:10:05 +02:00
Sebastian Morr
08db98f41c Add a simple level file parser 2020-09-30 17:46:43 +02:00
Sebastian Morr
c178a5c63e Refactor Level class so that we don't need to copy shell scripts 2020-09-29 20:36:57 +02:00
Sebastian Morr
3291f0a78b Move win condition to Level class, move sound muting back to main 2020-09-29 20:01:25 +02:00
Sebastian Morr
2c4f8cb26e Move level construction stuff to Level class 2020-09-29 19:50:58 +02:00
Sebastian Morr
f20310df3a Load level information into classes 2020-09-29 19:40:17 +02:00
Sebastian Morr
3270bb64d0 Fix a problem where the global_shell was in a non-existing directory 2020-09-29 18:36:24 +02:00
Sebastian Morr
473d7508c2 Handle --sandbox on its own (create blank repo) and --sandbox=. 2020-09-29 18:21:39 +02:00
Sebastian Morr
e439135ec9 When game is run with --sandbox, switch to sandbox 2020-09-29 17:52:31 +02:00
Sebastian Morr
6e8a310a7a Allow path of repository to be editable when property is on 2020-09-29 17:20:24 +02:00
Sebastian Morr
4b988717e6 Use simple pager for long output 2020-09-29 17:05:04 +02:00
Sebastian Morr
78f324bf68 Put temp files in user://tmp/ 2020-09-29 16:12:58 +02:00
Sebastian Morr
44214d2fdf Move exec, crash, and file IO to "helpers" autoload node 2020-09-29 14:54:07 +02:00
Sebastian Morr
685af0ede6 Make dropdowns non-focussable 2020-09-29 14:28:41 +02:00
Sebastian Morr
5f2823fab4 Rename a few container nodes to have more pleasant names 2020-09-29 14:27:36 +02:00
Sebastian Morr
f6ec691ece Convert level dropdowns to OptionButtons 2020-09-28 19:02:12 +02:00
Sebastian Morr
5a0ff96324 Add a chapter select button 2020-09-28 18:40:41 +02:00
Sebastian Morr
c33d817551 Theme for Trees, remove [...] button 2020-09-28 18:25:44 +02:00
bleeptrack
374db542f3 Adding command description to completions 2020-09-28 17:39:16 +02:00
bleeptrack
d2c95b8db0 Adding tab to complete shortcut 2020-09-28 17:10:21 +02:00
bleeptrack
d498c2340b Autocomplete for filenames 2020-09-28 16:52:00 +02:00
Sebastian Morr
ec537a3a1f Persistent command history 2020-09-28 16:18:06 +02:00
Sebastian Morr
bc9ff128fe Only autocomplete subcommands from history, sorted by frequency 2020-09-28 16:00:42 +02:00
Sebastian Morr
0a3e97167c Close completions after running a command 2020-09-27 21:50:14 +02:00
bleeptrack
dafc5126f1 poll git commands from help page 2020-09-25 12:29:48 +02:00
Sebastian Morr
ed56385d14 Basic completion framework 2020-09-25 12:04:45 +02:00
Sebastian Morr
df0215a8ab Refer to child nodes via their path in code directly
This helps making the scene self-contained.
2020-09-25 10:40:38 +02:00
Sebastian Morr
5f375377f7 Fix all warnings 2020-09-24 11:15:00 +02:00