1
0
Commit Graph

85 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
205ee49c79 DistortedHeightmap: Optimized by linear interpolation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1451 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 16:46:48 +00:00
madmaxoft@gmail.com
7004622e8b DistortedHeightmap: Small optimizations, memory leak fix.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1449 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 12:20:25 +00:00
madmaxoft@gmail.com
27d0e01160 DistortedHeightmap: Slight speed increase
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1448 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 07:59:59 +00:00
madmaxoft@gmail.com
e88cdf8da7 Re-worked generator subobject ownership, added a cache for the CompositionGen
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1447 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 19:56:45 +00:00
madmaxoft@gmail.com
6b35c64658 Fixed Biomal CompoGen to set heightmap correctly when underwater
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1446 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 16:33:58 +00:00
madmaxoft@gmail.com
270560a198 Added the DistortedHeightmap height and composition generator.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1445 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 16:27:08 +00:00
madmaxoft@gmail.com
d303a60e11 ChunkDesc: Added heightmap verification (DEBUG-only), not used yet
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1443 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 11:42:09 +00:00
madmaxoft@gmail.com
b934d030d3 Noise3D: Re-fixed composition, finally no fake-tree remnants
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1423 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 21:32:37 +00:00
madmaxoft@gmail.com
9794f8ddcb Noise3D: Fixed composition when reusing the buffer (caused chopped trees)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1420 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 21:01:45 +00:00
madmaxoft@gmail.com
ac8db4d16b Noise3D made into Composable - both a HeightGen and a CompositionGen
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1419 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 19:46:25 +00:00
madmaxoft@gmail.com
f34cbb9e76 Noise3D: Made settable through INI, added slight height control, added basic compositing
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1417 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 16:41:20 +00:00
madmaxoft@gmail.com
ead418967f Noise3D: Shifted to normal groundlevel, added water on sealevel
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1416 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 14:47:59 +00:00
madmaxoft@gmail.com
fb58acf27c New terrain generator - Noise3D.
A testbed for a generator based on 3D noise.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1414 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 13:38:40 +00:00
madmaxoft@gmail.com
c40eb92de3 Initial version of "DistortedMembraneOverhangs"
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1412 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-25 19:29:56 +00:00
madmaxoft@gmail.com
7387f05650 Added the initial version of DirectOverhangs
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1411 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 20:30:30 +00:00
madmaxoft@gmail.com
2fa4993cad MultiStepMap BiomeGen: made 3x faster by using 2D noise instead of 3D noise.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1410 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 14:35:13 +00:00
madmaxoft@gmail.com
7d039dfa90 Added a (commented-out) performance test for biome generator
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1409 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-24 14:34:24 +00:00
madmaxoft@gmail.com
0e7b64eed2 HeiGenBiomal: interpolate in 4x4 blocks on float values
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1406 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 20:12:04 +00:00
madmaxoft@gmail.com
9fdc7219f0 Fixed underwater sand / dirt generator noise frequency
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1405 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:59:41 +00:00
madmaxoft@gmail.com
d852ea78f9 Generator: Added notes of failed optimization attempts
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1404 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 19:27:15 +00:00
madmaxoft@gmail.com
8687931a97 Added a (commented-out) performance test for cHeiGenBiomal and cCompoGenBiomal
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1401 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22 18:56:36 +00:00
madmaxoft@gmail.com
a49c004278 Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-13 21:02:10 +00:00
madmaxoft@gmail.com
cc26f16463 Added cItemGrid to represent an XY grid of items; converted chests to use cItemGrid.
http://forum.mc-server.org/showthread.php?tid=831

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1380 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-10 19:52:03 +00:00
madmaxoft@gmail.com
34f93de4f9 Mineshafts: randomized start position, tweaked default generator parameters; removed debugging glass pillars.
Mineshafts can be considered finished.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1366 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 21:53:28 +00:00
madmaxoft@gmail.com
502935c061 Mineshafts: Added random loot to generated chests and fixed chest direction
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 21:21:57 +00:00
madmaxoft@gmail.com
98afdb03a8 Mineshafts: Added a (nonworking) mob spawner in cobweb spider nests.
Since MCServer doesn't support spawners yet, it has a default pig inside and doesn't spawn anything.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1362 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 17:03:28 +00:00
madmaxoft@gmail.com
318f7df037 MineShafts: made cobwebs less thick
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1361 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 16:53:02 +00:00
madmaxoft@gmail.com
c1177929df MineShafts: added random torches, fixed beams on chunk boundaries
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1344 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01 11:32:22 +00:00
madmaxoft@gmail.com
59f3adf210 MineShafts: Added tracks to corridors
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1342 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 19:23:09 +00:00
madmaxoft@gmail.com
41e0927843 cChunkDesc: Added the RandomFillRelCuboid() function
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1341 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 19:05:41 +00:00
madmaxoft@gmail.com
1a440c8ac7 MineShafts: Limited the mineshafts generation into a settable-size cuboid
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1340 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 18:26:02 +00:00
madmaxoft@gmail.com
25742dcd7a MineShafts: Added (empty) chests and spiderwebs around (still missing) spawners
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1338 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 18:01:21 +00:00
madmaxoft@gmail.com
d441096d62 MineShafts: User-settable chance of individual pieces' occurence. Staircase-only mineshafts, yay :)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1336 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 17:10:17 +00:00
madmaxoft@gmail.com
f9d02b70fd MineShafts: Staircases have further connections behind them.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1335 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 16:48:52 +00:00
madmaxoft@gmail.com
8dd5080b78 MineShafts: Added staircases; added floors to mineshafts going through water
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1334 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 16:23:54 +00:00
madmaxoft@gmail.com
394933fc47 Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 16:22:35 +00:00
madmaxoft@gmail.com
387d19a5da MineShafts: Set the default GridSize to 256
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1332 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30 21:05:10 +00:00
madmaxoft@gmail.com
2a5addbcd7 MineShafts: Added branching crossings
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1331 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30 21:04:33 +00:00
madmaxoft@gmail.com
ad10b8718f ChunkDesc: Extended the interface, RelCuboid functions now take either a cCuboid or a set of 6 coords.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1330 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30 21:03:56 +00:00
madmaxoft@gmail.com
d8635f812c MineShafts: added supports in corridors
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1329 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30 11:59:59 +00:00
madmaxoft@gmail.com
55eaa3e175 MineShafts: Added branching corridors
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1328 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-30 10:55:20 +00:00
madmaxoft@gmail.com
674ed9d43a MineShafts: implemented basic corridors, without any embellishments or branching yet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1326 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 20:54:24 +00:00
madmaxoft@gmail.com
c76092e329 ChunkDesc: Cuboid-based manipulation
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1324 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 20:47:51 +00:00
madmaxoft@gmail.com
a4963b69ef MineShafts: backup commit with initial work, still unusable.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1321 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29 16:46:58 +00:00
madmaxoft@gmail.com
ae371e891f Made MultiStepMap BioGen the default
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1308 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 16:08:20 +00:00
madmaxoft@gmail.com
5462f43bae Fixed rounding error in MultiStepMap BioGen, introduced in rev 1289.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1307 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 16:07:51 +00:00
madmaxoft@gmail.com
f41b33ba80 Re-tweaked WormNestCaves for more reasonable cave sizes
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1298 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 21:49:33 +00:00
madmaxoft@gmail.com
3f372ea466 WormNestCaves: tweaked a bit not to produce the single-block holes in the floor
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1296 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-22 14:54:59 +00:00
madmaxoft@gmail.com
f8ae3e6f62 HeiGenBiomal: added a fast but ugly-looking optimization, disabled by default.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1292 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 20:41:19 +00:00
madmaxoft@gmail.com
d627e3a2e5 Alpha-sorted the generators in ComposableGenerator
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1291 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-20 11:00:55 +00:00