24f8fbc92a
Converted API over to use new World.
...
This breaks backwards compatibility for all getWorld() methods, but
shim methods were added for binary compatibility with method calls that
use LocalWorld.
2014-04-05 03:04:21 -07:00
e0fd804f70
Standardized file headers.
2014-04-04 15:23:11 -07:00
1fd1e7aaf8
Moved RegionSelectors and RegionIterators into subpackages.
2014-04-03 18:32:51 -07:00
22798f49c8
Reduced some code duplication in the regions.
2013-08-06 11:50:34 -04:00
c838ef7b25
Moved the polygonization code to the specific regions that are being polygonized.
...
Also, maxPoints no longer has confusing semantics.
2013-08-06 11:50:33 -04:00
3f1a2bfc39
Fix off by one error when calculating Poly2D region dimensions.
2012-12-05 18:32:16 -05:00
d43e233a42
Slightly improve FlatRegion iteration
2012-04-16 08:48:24 +02:00
a7b49ff793
Add minimum/maximumY to FlatRegion and fix a typo in Polygonal2DRegion
2012-04-16 08:45:53 +02:00
842c469285
Make regions Cloneable
2012-03-31 09:04:54 -07:00
03f7d4ecfb
Added getChunkCubes() to Region to get 16^3 chunks a region overlaps with
2012-03-29 21:14:45 -07:00
bbda908093
Remove error-prone redundancy in Polygonal2D min/max management
2012-03-26 07:44:04 +02:00
a23e9b857f
Add FlatRegion interface and an associated iterator
2012-03-17 09:26:05 +01:00
8506bb437e
Deprecate expand/contract(Vector) in favor of varargs versions
...
This keeps things simpler by not dealing with redundant implementations
for single change and multiple changes.
This also let regions handle related changes in a more efficient way
(for example recalculates region components only when needed).
2012-03-15 08:31:39 +01:00
373e4b90c9
Clean up some stray 128 values and update the defaults
2012-03-01 20:47:19 -08:00
06e9a3b175
Removed Polygonal2DRegionIterator.
2012-01-23 02:00:24 +01:00
8aa65fd7f4
License block changes
...
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
3a828c9759
Added Region.shift
...
- Provided a default implementation using expand+contract in AbstractRegion
- Overrid the implementation in the subtypes
2012-01-03 17:40:36 +01:00
4d708a5003
Extracted an AbstractRegion class with some common functionality of all the region types.
2012-01-03 16:35:19 +01:00
2cc0087524
Made Polygonal2DRegion(LocalWorld) invoke one of the other constructors.
2012-01-03 16:09:38 +01:00
7c71617dbf
Renamed Polygonal2DRegion.getMin/MaxY to getMinimum/MaximumY.
2012-01-03 04:44:34 +01:00
b05a72fea1
Made the fields in Polygonal2DRegion private.
2012-01-03 03:20:19 +01:00
f2e26b07ec
Some region selection fixes
...
- CuboidSelection no longer deals with IncompleteRegionExceptions
- Fixed Polygonal2DSelection not passing its region to the selector
- Fixed Polygonal2DRegion not cloning the list it receives in its constructor
- Gave PolygonalRegionSelector a new constructor where it takes a list of points
2012-01-01 14:50:26 +01:00
7d503fdc5c
//sel poly now keeps the previous selection, converting its outline into a polygon if necessary.
...
This loses some blocks, if anyone cares
2011-12-27 12:07:11 +01:00
98216e2762
Added support for non-128 worldheights
2011-12-13 04:50:53 +01:00
11245014c8
Added @Override annotations.
2011-11-29 20:17:50 +01:00
7e13b60a51
Cleanup
2011-11-23 04:48:40 +01:00
da6e6da024
Cleanup. Added toString override for polygonal regions.
2011-08-24 18:27:18 -04:00
26d07b4ca4
Fixed polygonal edges with explicit test for point-on-line segment
...
Closes pull #136
2011-08-24 00:19:00 -07:00
66dcc99809
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 02:00:48 -05:00
582b98dad0
More file moving.
2011-05-01 01:30:33 -07:00