Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Traineratwot committed Jun 13, 2023
1 parent dea8583 commit 34ca5c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
5 changes: 2 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"type": "ic10",
"request": "launch",
"name": "Debug ic10",
"program": "${fileWorkspaceFolder}${pathSeparator}${fileBasenameNoExtension}.ic10",
"program": "${file}",
"stopOnEntry": true,
"trace": false
}

]
}
}
25 changes: 6 additions & 19 deletions example.ic10
Original file line number Diff line number Diff line change
@@ -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
alias rV2_gamma r11

define dhDish -2138748650

lb r2 dhDish Horizontal 0
mul r2 r0 deg2rad
2 changes: 2 additions & 0 deletions example.ic10.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[d0]
PrefabHash=-2138748650

0 comments on commit 34ca5c6

Please sign in to comment.