Commit graph

9 commits

Author SHA1 Message Date
Starbeamrainbowlabs d0e59b4cd7
worldeditadditions: add core @module defs, correct comment formatting errors 2024-01-02 16:59:51 +00:00
Starbeamrainbowlabs edbb6db264
//rotate: zero out param2 of source
Actually copying over and hanlding param2 properly ref rotation will require //orient+ first
2023-12-19 23:37:15 +00:00
Starbeamrainbowlabs 54c66e0dc9
//rotate: fix bug in which regions are accidentally cut off 2023-12-16 00:35:52 +00:00
Starbeamrainbowlabs 0ac76bc694
//rotate: update pos1/pos2 to bound target region
...unfortunately this has exposed a nasty bug!
2023-12-16 00:01:34 +00:00
Starbeamrainbowlabs 45f4261c04
//rotate: use temp dest table system
this should prevent segfaults.... but it didn't completely on my system
on second thought, I think it's a problem on my end rather than with the command itself
....or with MT 5.8.

Who knows? Maybe if I ignore it, it will go away.
2023-12-15 02:12:27 +00:00
Starbeamrainbowlabs 9f8cb4d5da
//rotate: add comments on what needs doing to wrangle it into shape 2023-12-14 00:31:12 +00:00
Starbeamrainbowlabs 27aa3a9c8f
It works!! ....but the output seems off when non 90° increments
...probably due to the wiping and rotation overlapping
2023-12-13 23:20:32 +00:00
Starbeamrainbowlabs 74a8996afc
//rotate: start implementing a frontend
This is more complicated than I expected.
We've got a new parser and a state machine for the args, but we now need to put these values to use and pass them to worldeditadditions.rotate().
NOTE TO SELF: BE REAL CAREFUL WITH ORIGIN HANDLING.
We MUST NOT pull from sorted pos1/2 by accident! Though I doubt this would be an issue since weac.pos.get(player_name, i) is a thing
2023-12-10 03:16:28 +00:00
Starbeamrainbowlabs 6d5f2033e1
rotate: initial UNTESTED implementation
It doesn't have a chat command interface yet.

.....I REALLY need to learn Quaternions, but they don't currently make sense to me
2023-11-29 00:36:23 +00:00