diff --git a/.vscode/launch.json b/.vscode/launch.json index 5ca9b3f..869aa6d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,10 +5,9 @@ "type": "ic10", "request": "launch", "name": "Debug ic10", - "program": "${fileWorkspaceFolder}${pathSeparator}${fileBasenameNoExtension}.ic10", + "program": "${file}", "stopOnEntry": true, "trace": false } - ] -} \ No newline at end of file +} diff --git a/example.ic10 b/example.ic10 index 0133c1b..c6a5e23 100644 --- a/example.ic10 +++ b/example.ic10 @@ -1,19 +1,6 @@ -alias nighttime r0 -alias b r1 -alias a r2 -alias nighttime_memory d0 -alias east_daylight_sensor d1 -alias west_daylight_sensor d2 -l nighttime db Setting -start: -s db Setting nighttime -bdns d0 skip_to_yield -s nighttime_memory Setting nighttime -skip_to_yield: -yield -l a east_daylight_sensor Activate -seqz nighttime a -l a west_daylight_sensor Activate -seqz b a -and nighttime nighttime b -j start \ No newline at end of file +alias rV2_gamma r11 + +define dhDish -2138748650 + +lb r2 dhDish Horizontal 0 +mul r2 r0 deg2rad \ No newline at end of file diff --git a/example.ic10.toml b/example.ic10.toml new file mode 100644 index 0000000..61d3aff --- /dev/null +++ b/example.ic10.toml @@ -0,0 +1,2 @@ +[d0] +PrefabHash=-2138748650