viluon / cccitygen Goto Github PK
View Code? Open in Web Editor NEWComputerCraft Procedural City Generation Framework
License: GNU General Public License v3.0
ComputerCraft Procedural City Generation Framework
License: GNU General Public License v3.0
As of now, Grid3D can only be resized when created. That means Window cannot be implemented, because it extends Wall which extends Structure which extends Grid3D, and Window needs to be reoriented when Window:fitToWall()
is called.
This issue has been derived from #1
Currently, cccitygen uses a customized version of dofile()
to load files. That is, honestly, a terrible solution. For these tasks, require()
(unavailable in the ComputerCraft environment) should be used instead.
This issue has been derived from #1
These tasks have to be made into issues:
Note: The fact that a task here is checked means that it has been made into an issue, it doesn't mean it's solved.
An interface for method chaining of constructors. ISupportsConstructorChain would set the __call
metamethod to the constructor of the implementing class, which would allow constructs like
local a, b, c = Point3D ( 1, 2, 3 ) ( 2, 3, 4 ) ( 3, 4, 5 )
This issue has been derived from #1
Add overloads for easier manipulation with Point3D.
__tostring
__len
math.sqrt( self.x ^ 2 + self.y ^ 2 + self.z ^ 2 )
__add
and __sub
__mul
and __div
__mod
__pow
__eq
__lt
__le
Note: The comparison metamethods should simply compare the x, y and z values, and return true if all of the conditions match.
This issue has been derived from #1
An interface generalizing the :duplicate()
method. Many classes currently implement the :duplicate()
method (in fact, all classes should have one). An interface could however generalize this. The constructor for the interface would have to require information on how should the actual class constructor receive arguments (what fields in what order).
This issue has been derived from #1
Rooms should use Spacing for population of Buildings.
How should non-rectangular Rooms be handled? What about hallways and such?
Possible solutions:
This issue has been derived from #1
Should the Wall object that serves as a floor/ceiling in a Room be limited only to the inner area of the Room? As it is now, the borders of floors and ceilings overlap with the room's walls, which means that floors and ceilings have to be built first and walls "on top" of them.
This issue has been derived from #1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.