1
0
Commit Graph

124 Commits

Author SHA1 Message Date
Alexander Harkness
755fe9cb21 WaveNoise not used, removing. 2013-11-16 18:54:01 +00:00
Alexander Harkness
45aebbd5ab This is a copy-paste fail, right? 2013-11-16 18:52:48 +00:00
Alexander Harkness
9ac95fc24a Got rid of yet another unused variable. 2013-11-16 18:50:33 +00:00
Alexander Harkness
c1880e1162 Got rid of another unused variable. 2013-11-16 18:47:25 +00:00
Alexander Harkness
eb77bfc1b3 Those variables weren't used.
It seems strange for them to be there, is the code written wrong?
2013-11-16 18:46:06 +00:00
Alexander Harkness
5687ca7bad Fixed another one... 2013-11-16 18:44:19 +00:00
Alexander Harkness
a319973e50 Fixed yet another unsigned integer comparison. 2013-11-16 18:43:40 +00:00
Alexander Harkness
f217981de9 Fixed another unsigned integer comparison. 2013-11-16 18:34:54 +00:00
Alexander Harkness
574e8f1419 Fixed unsigned integer comparison. 2013-11-16 18:27:30 +00:00
Alexander Harkness
5337fee8e0 Fixed a warning about brackets.
Is this the right way round? This is how C++ interprets it, so it should be changed if this is the wrong way round.
2013-11-16 18:26:46 +00:00
Alexander Harkness
ab676060fa Revert "Silenced another warning."
This reverts commit dc94b92753.
2013-11-16 17:54:18 +00:00
Alexander Harkness
33e1439c80 Revert "Silenced yet another not completed enum warning."
This reverts commit 444e6e4fa7.
2013-11-16 17:53:55 +00:00
Alexander Harkness
2f2fe8ab0c Revert "Fixed another one."
This reverts commit 3328c80aec.
2013-11-16 17:53:27 +00:00
Alexander Harkness
3328c80aec Fixed another one. 2013-11-14 07:42:54 +00:00
Alexander Harkness
444e6e4fa7 Silenced yet another not completed enum warning. 2013-11-14 07:42:03 +00:00
Alexander Harkness
dc94b92753 Silenced another warning. 2013-11-14 07:38:59 +00:00
madmaxoft
9e9198e090 cIniFile doesn't store filename internally anymore. 2013-10-25 11:15:44 +02:00
madmaxoft
a9e70c84b5 CompoGen and HeiGen read their settings in their respective Initialize() functions. 2013-10-11 10:18:01 +02:00
madmaxoft
85eb85dbf9 Generator: Renamed cBiomeGenerator's Initialize() to InitializeBiomeGen().
This will allow initializing generators that implement both cBiomeGenerator and other generators.
2013-10-10 15:49:24 +02:00
Mattes D
ba8152608f Merge pull request #193 from tigerw/bugfixes
Startup messages revision.
2013-10-01 02:40:13 -07:00
Tiger Wang
cc5c56d545 Minor startup streamlining
* LOGD'd unneeded debugging messages, streamlining startup
+ Added a basic timer for how long in seconds it took to start up
+ Added two checks for plural (plugin/s, second/s)
2013-09-28 20:36:01 +01:00
madmaxoft
0b8f47face Removed cChunkDesc::SetChunkCoords() from Lua API. 2013-09-25 09:02:49 +02:00
Tiger Wang
d4f8a057dd Generation and simulation defaults
...are no longer set, instead, the server operator is told to set them.
2013-08-14 22:26:15 +01:00
Tiger Wang
303b1a9c45 Buncha bugfixes [SEE DESC]
Fixed generation values not being written
Fixed piston being able to push water
Fixed ice creating a non-source block (still doesn't update though)
Removed problematic piston code
2013-08-14 11:44:02 +01:00
Tiger Wang
93f5a4388c Removed unneeded case clause 2013-08-11 15:21:31 +01:00
Alexander Harkness
53e22b1185 Changed everyting to Unix line endings. 2013-07-29 12:13:03 +01:00
madmaxoft@gmail.com
9dd0486faf Added the End height and composition generators.
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 18:41:08 +00:00
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