Commit Graph

1905 Commits

Author SHA1 Message Date
Astrash
5f3a2bb579 Autoformat 2023-10-27 14:26:48 +11:00
Astrash
9a94b26126 Optimize imports 2023-10-27 14:22:35 +11:00
Astrash
c3909ca1e0 Make error handler only handle compilation exceptions 2023-10-27 14:21:50 +11:00
Astrash
ff031df903 Function -> Callee & Add callee exception 2023-10-27 13:57:53 +11:00
Astrash
ceba9512c7 Make functions first class 2023-10-27 13:37:07 +11:00
Astrash
77dbe92ef7 Merge branch 'ver/6.4.0' into dev/terrascript-2 2023-10-23 13:29:57 +11:00
Astrash
1623a4f958 Move terrascript 2 to separate module 2023-10-23 13:28:26 +11:00
Astrash
375f0ba60f Change Type enum to interface
Also removes legacy v1 code from v2
2023-10-23 13:12:35 +11:00
Astrash
433d695e8b Re-add terrascript v1 module 2023-10-23 13:10:32 +11:00
Astrash
d139019e01 Validate returns inside if statements 2023-10-20 13:56:52 +11:00
Astrash
805f99f57a Make ore algorithm readable 2023-10-20 10:55:23 +11:00
Astrash
4e5b02ef42 Pass correct coords for ore block checks 2023-10-20 10:30:25 +11:00
Astrash
e80e998cec Only log warnings with debug logging 2023-10-20 10:03:04 +11:00
Zoë
4a537a56aa Merge pull request #415 from PolyhedralDev/dev/ore-v2
Add updated ore-v2
2023-10-18 00:33:15 +00:00
Zoë
4917160123 Update README.md 2023-10-17 18:32:00 -06:00
Astrashh
47f531089e Add slant locator (#413)
* Add slant locator addon

* Bump slant locator noise3d dependency version

* Fix slant locator dependency version range

* Actually fix slant locator dependency version range
2023-10-10 00:35:47 +00:00
Astrashh
abd83e8278 Add number predicate addon (#412) 2023-10-10 00:35:26 +00:00
Astrash
b5e7c7c112 Fix TOP locator 2023-10-10 09:44:53 +11:00
Zoë Gidiere
d71f7d4c36 clarify value and change default 2023-10-03 21:03:44 -06:00
Zoë Gidiere
84898a7a6b fixes 2023-10-03 20:03:46 -06:00
Zoë Gidiere
0c1a6efc72 refractor classes 2023-10-03 19:42:15 -06:00
Zoë Gidiere
200281f140 dep orev1 2023-10-03 11:58:32 -06:00
Zoë Gidiere
f1ea8074de config-ore-v2 2023-10-03 11:54:18 -06:00
Astrash
f896a9a278 Bump noise3d addon minor version 2023-10-03 11:01:50 +11:00
Astrash
79b3b34669 Add slant API for noise3d 2023-10-03 09:51:39 +11:00
Zoë
158deaa971 Merge pull request #408 from PolyhedralDev/dev/physics
Allows you to create a block with physics enabled
2023-10-01 19:07:15 -06:00
Astrash
e51e025e9c Implement cubic spline sampler 2023-10-02 11:14:43 +11:00
Zoë Gidiere
23f47de10a fix pack loading error 2023-09-29 23:35:17 -06:00
Zoë Gidiere
33d654dc8e impl fabric 2023-09-29 23:05:05 -06:00
Zoë Gidiere
f0c602d7e7 implement physics on the api side
we will see if platform changes are needed
2023-09-29 22:10:03 -06:00
Astrash
3f9ead0d66 Remove repeated code in cellular sampler 2023-09-27 13:39:51 +10:00
David W
5eeb5af6c4 Add cell center offset return to CELLULAR sampler (#407)
* Add offset lookup return to cellular sampler

* bump noise function plugin version

* revert version to 1.1.0

* rename OffsetNoiseLookup, switch axis orientation

* rename return type aswell in cellcampler
2023-09-21 22:23:49 +00:00
Astrash
08c1447967 Remove hardcoded print native java call 2023-09-12 14:22:37 +10:00
Astrash
37b5a2ec92 Use static ints instead of enum 2023-09-12 13:42:36 +10:00
Astrash
defb31e309 Mangle bytecode method names according to declaration scope 2023-09-12 11:24:30 +10:00
Astrash
0a46e9050d Simplify some logic 2023-09-12 09:53:18 +10:00
Astrash
002da30fd5 Improve codegen readability 2023-09-11 19:09:08 +10:00
Astrash
e177c9e792 Codegen implementation stuff & typed AST nodes 2023-09-11 18:09:35 +10:00
Astrash
b1bfe00bf3 Implement function and variable codegen 2023-09-08 11:36:40 +10:00
Astrash
9a75ee78a1 Salvage TerraScript codegen code from dead laptop 2023-08-08 07:39:47 +00:00
Astrash
0e9cbd8e2f Initial terrascript 2 commit 2023-08-05 15:53:01 +10:00
Astrash
772675639e Better error handling + other changes 2023-07-29 20:29:16 +10:00
Astrash
13300861ee Parse precedence via grammar 2023-07-29 12:03:33 +10:00
Astrash
719b9a06f4 Simplify code 2023-07-29 08:57:43 +10:00
Astrash
f5b115e618 Formatting & name changes 2023-07-27 12:52:15 +10:00
Astrash
e1e4a63517 Add basic user defined function support 2023-07-27 11:27:15 +10:00
Astrash
0dc1492c4d Handle functions in scope 2023-07-25 14:08:09 +10:00
Astrash
a184fe40d0 Name changes 2023-07-24 18:52:54 +10:00
Astrash
f462b8198b Move inLoop flag to ScopeBuilder 2023-07-24 18:05:43 +10:00
Astrash
de3b213deb Refactor some parsing logic 2023-07-24 17:31:06 +10:00