386 Commits

Author SHA1 Message Date
dfsek
a68b85c522 elevation tweaks & general cleanup 2020-12-30 00:03:02 -07:00
dfsek
447c82f74a StructureFunction returns boolean based on pass/fail 2020-12-27 21:08:48 -07:00
dfsek
8db263e19b fix EOF issues 2020-12-27 20:55:01 -07:00
dfsek
7cf34dbd8a allow single statement loops 2020-12-27 20:52:35 -07:00
dfsek
283495832f Add else if and else 2020-12-27 20:42:42 -07:00
dfsek
f6312a01d7 reimplement locate command 2020-12-27 00:27:58 -07:00
dfsek
c7d43142f2 remove structure bound 2020-12-26 22:43:51 -07:00
dfsek
c4da858095 reimplement structure probability collections 2020-12-26 22:22:17 -07:00
dfsek
5ff47bad18 improve cache configs 2020-12-26 21:36:15 -07:00
dfsek
bc17597923 Implement structure caching mechanism 2020-12-25 22:39:52 -07:00
dfsek
5db1494341 implement script structures with chunkification(tm) 2020-12-25 20:43:41 -07:00
dfsek
cccb706ad5 pass random to structure gen 2020-12-25 20:22:19 -07:00
dfsek
c6d7d1a947 implement PullFunction 2020-12-25 17:46:29 -07:00
dfsek
9685dbbb9d Fix IntermediateBuffer 2020-12-25 17:46:22 -07:00
dfsek
4b5013231c implement Marks 2020-12-25 15:26:58 -07:00
dfsek
1c579e8e5b improve ParseException 2020-12-25 12:08:22 -07:00
dfsek
bbab6e39ff enforce scope definitions in for loop declarations 2020-12-25 02:51:52 -07:00
dfsek
2e68a0db5d parser cleanup 2020-12-25 02:40:29 -07:00
dfsek
abc59901c1 Add for loops 2020-12-25 00:12:28 -07:00
dfsek
aaa0c99524 Add FailKeyword 2020-12-24 23:10:14 -07:00
dfsek
0780539326 reimplement sapling override 2020-12-24 14:58:53 -07:00
dfsek
c8434e73ef implement robust equals and hashcode in Vector3 2020-12-24 02:49:27 -07:00
dfsek
058ec9f24d store structures in Buffer 2020-12-24 02:40:28 -07:00
dfsek
7127943298 remove chunk apply method 2020-12-24 02:17:46 -07:00
dfsek
9adc03d56b Reimplement structure trees with TerraScripts 2020-12-24 02:06:19 -07:00
dfsek
5d6b060dee Add math functions 2020-12-24 02:06:05 -07:00
dfsek
1c316e52a9 Exporting 2020-12-23 23:02:58 -07:00
dfsek
76afd54d3c use epsilon for numeric equals 2020-12-23 15:19:33 -07:00
dfsek
7fe7dac57a implement RecursionsFunction 2020-12-23 15:09:42 -07:00
dfsek
63e59692e2 Implement StructureFunction and temp RandomFunction 2020-12-23 03:08:31 -07:00
dfsek
405a96034c Load structure scripts into registry 2020-12-23 02:35:07 -07:00
dfsek
e9dc7428b8 document new tokens 2020-12-23 01:43:53 -07:00
dfsek
b4342a36aa implement break, return, and continue 2020-12-23 01:37:51 -07:00
dfsek
1158ae958a refactor rotations, reimplement RotationUtil 2020-12-22 22:48:31 -07:00
dfsek
062c9b5efb Pass rotation to Item#apply 2020-12-22 22:41:51 -07:00
dfsek
66e8647517 rework loaders to allow traversing filenames 2020-12-22 20:11:01 -07:00
dfsek
f47b975fe7 implement block & check functions 2020-12-22 17:32:17 -07:00
dfsek
e5d9ae62fa more cleanup 2020-12-22 15:13:01 -07:00
dfsek
9c1eab04b9 Cleanup & fix grouping related operator precedence issues 2020-12-22 14:49:58 -07:00
dfsek
72d4370878 fix various tokenizer issues 2020-12-22 02:58:42 -07:00
dfsek
88da796923 Implement variable reassignment and while loops 2020-12-22 02:39:53 -07:00
dfsek
2ab4ed871c check if var/function is already defined in scope. 2020-12-22 02:20:46 -07:00
dfsek
0ecd275c56 Fix comment whitespace tokenizer issues 2020-12-22 02:13:35 -07:00
dfsek
4f40bcbe5e Implement variables 2020-12-22 02:00:40 -07:00
dfsek
cb7b3de48c better type checking for function args 2020-12-21 22:30:02 -07:00
dfsek
13fbb9bf54 Implement boolean binary operations AND and OR 2020-12-21 21:08:43 -07:00
dfsek
be8ed913e5 allow grouping binary operations 2020-12-21 20:55:51 -07:00
dfsek
fe17683d27 cleanup, refactor, remove logging 2020-12-21 20:36:48 -07:00
dfsek
7d72a91bb7 implement comparison operators 2020-12-21 20:31:57 -07:00
dfsek
7a75f20a2c implement operator precedence 2020-12-21 16:22:08 -07:00