1
0
Commit Graph

97 Commits

Author SHA1 Message Date
madmaxoft@gmail.com
c52f03fe4a DistortedHeightmap: Added clay / sand / dirt selection on ocean floor
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1550 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 12:43:30 +00:00
madmaxoft@gmail.com
9be27992e2 Moved BlockEntities to a separate folder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28 19:12:47 +00:00
madmaxoft@gmail.com
bd910e78e2 DistortedHeightmap: Rewritten to use the optimized cPerlinNoise and linear upscaling
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1486 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-16 13:14:25 +00:00
madmaxoft@gmail.com
e7238456db Moved noise debugging into the Noise.* files
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1485 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-15 17:09:38 +00:00
madmaxoft@gmail.com
1118ae3033 Fixed 2D linear upscale to compile on Linux, added a test for it.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-15 15:55:04 +00:00
madmaxoft@gmail.com
464dcc3764 Noise3D generator is now using linear upscaling
Measured 30% performance increase.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1482 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-14 21:11:40 +00:00
madmaxoft@gmail.com
0a08ae14f6 LinearUpscale: postfixed with InPlace to differentiate from a future src/dst version
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1479 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 21:11:25 +00:00
madmaxoft@gmail.com
2038da8681 Noise3D: cleanup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1477 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 20:45:29 +00:00
madmaxoft@gmail.com
b1bd1001f7 DistortedHeightmap: Deserts are now covered with sand and mushroom islands with mycelium (patch contributed by STR_Warrior)
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1476 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 20:04:07 +00:00
madmaxoft@gmail.com
1927095d25 Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 17:55:49 +00:00
madmaxoft@gmail.com
4553886d64 DistortedHeightmap: Added info comment about the parameters table
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1473 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 16:15:21 +00:00
madmaxoft@gmail.com
8f2920a090 Converted the Noise3D generator to optimized noise and lerp
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1471 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-11 21:09:39 +00:00
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