madmaxoft
70b0547499
Fixed a NULL ptr failure in GridStructGen.
...
When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
2014-05-15 16:03:45 +02:00
madmaxoft
56f7ad2cd9
Changed village generator defaults to more reasonable values.
2014-05-15 10:44:08 +02:00
madmaxoft
34e5f0c164
Changed village road generation to use multiple prefabs.
2014-05-15 10:43:54 +02:00
madmaxoft
f5fdbdaf29
VillageGen rewritten using BFSPieceGenerator.
...
Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params.
2014-05-15 00:14:06 +02:00
madmaxoft
3660ce6834
cPrefab can be constructed in code.
2014-05-15 00:12:01 +02:00
madmaxoft
9c8e8ef7ae
VillageGen: Added well placement and the general algorithm description.
2014-05-12 22:43:59 +02:00
madmaxoft
c0727c4265
Initial VillageGen implementation.
...
WIP, doesn't generate anything yet.
Ref.: 740.
2014-05-11 22:35:41 +02:00
Mattes D
7e71f1f7dc
Merge pull request #993 from mc-server/GridStructGen
...
Grid struct gen
2014-05-10 21:21:44 +02:00
STRWarrior
079f8cd535
Fixed the console saying no plugins are loaded.
2014-05-10 17:55:39 +02:00
Mattes D
ba847421bb
Merge pull request #995 from mc-server/Portal_Pigman
...
Portal zombie pigman
2014-05-10 17:24:35 +02:00
STRWarrior
4ca178f24a
Fixed compile problem.
2014-05-10 17:09:48 +02:00
STRWarrior
7f3683cfab
A portal block now chooses a number between 2000 and 0
2014-05-10 17:03:02 +02:00
STRWarrior
3b1f11bd6a
Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman.
2014-05-10 16:43:06 +02:00
Mattes D
a38d8b6513
Merge pull request #992 from mc-server/coverity_fixes
...
Coverity fixes
2014-05-09 21:20:27 +02:00
Mattes D
839cff62ad
Merged branch 'master' into GridStructGen.
2014-05-09 20:59:59 +02:00
Mattes D
a2e18f0e01
Fixed size_t in FireworksSerializer.
2014-05-09 20:32:27 +02:00
Mattes D
1a5a123301
Fixed message formatting.
2014-05-09 20:16:29 +02:00
Mattes D
a936736acd
Removed unused constants from MineShafts and Ravines.
2014-05-09 20:13:20 +02:00
Mattes D
294b7ca24a
Even more size_t fixes.
2014-05-09 20:05:00 +02:00
Mattes D
d67ea97a26
More size_t fixes.
2014-05-09 19:57:59 +02:00
Mattes D
0fc60edaeb
Removed an unused NetherFortGen variable.
2014-05-09 19:53:57 +02:00
Mattes D
b997fbaf45
Removed an unused macro.
2014-05-09 19:35:35 +02:00
Mattes D
5b54dc3eac
Build fixes after the last size_t batch.
2014-05-09 19:33:22 +02:00
worktycho
c4cd201f18
Range Check on schematic size
...
Fixes CID 55830
2014-05-09 17:39:13 +01:00
Mattes D
dd350bc1f3
World pre-generation distance is settable in world.ini.
2014-05-09 18:32:04 +02:00
Mattes D
56ad2c2124
Lighting thread disabled its chunkstays before deleting them.
2014-05-09 18:32:03 +02:00
Mattes D
fb58ef55be
Fixed MSVC 64-bit build warnings.
2014-05-09 18:32:03 +02:00
worktycho
99af4453ef
Check the height and width values read.
...
Fixes CID 55831
2014-05-09 17:30:47 +01:00
Mattes D
ea593dcaad
Ravines rewritten using cGridStructGen.
...
Ref.: #987 .
2014-05-09 18:30:39 +02:00
worktycho
17c7c31130
Initialise m_HasTeleported in both constructors
2014-05-09 16:56:29 +01:00
Mattes D
95ead1128f
cWormNestCaves rewritten using cGridStructGen.
...
Ref.: #987 .
2014-05-09 11:16:13 +02:00
Mattes D
14543aa3fc
Mineshafts generator rewritten to use GridStructGen.
2014-05-09 10:59:33 +02:00
Mattes D
ee680990ba
Fixed cGridStructGen.
...
Now cNetherFortGen works with the new architecture.
2014-05-08 21:10:55 +02:00
Mattes D
ccf44f18d1
Merge branch 'master' into GridStructGen
2014-05-08 20:17:31 +02:00
Mattes D
c4ea25e136
Fixed MSVC 64-bit build warnings.
2014-05-08 20:16:35 +02:00
madmaxoft
564261cfd9
cNetherFortGen uses cGridStructGen.
...
WIP, this doesn't work properly yet.
2014-05-07 22:34:06 +02:00
Mattes D
d1b719885d
Merge pull request #989 from Howaner/Anvil
...
Add repair cost to cItem, add custom name to NBTChunkSerializer and fix ...
2014-05-07 22:18:53 +02:00
Mattes D
d9cdd4441e
Merge pull request #853 from Howaner/Slabs
...
Grass now grows under up-side-down slabs
2014-05-07 22:18:23 +02:00
Howaner
c96a27f4ae
Superfluous method override.
2014-05-07 21:36:26 +02:00
Howaner
df71cc931b
Missing comma
2014-05-07 21:32:52 +02:00
Howaner
10e3c262db
Send item back to the client when the item get damage.
2014-05-07 21:00:21 +02:00
Howaner
fbb6404cc8
Change m_RepairCost to int.
2014-05-07 20:43:37 +02:00
Howaner
bc4a51781e
Add lava and water check to block handlers.
2014-05-07 20:37:36 +02:00
Tiger Wang
91b15b475a
Merge pull request #990 from Howaner/Entities
...
Fix MagmaCube save.
2014-05-07 16:43:34 +01:00
Howaner
36a2aa2f21
Rename CanChangeDirtToGrass to CanDirtGrowGrass
2014-05-07 12:59:48 +02:00
Howaner
f5fe368220
Merge branch 'master' into Slabs
2014-05-07 12:54:58 +02:00
Howaner
e86bf64867
Where is the problem with clang?
2014-05-07 12:45:20 +02:00
Howaner
80bcc43c7b
Fix MagmaCube save.
2014-05-07 12:43:21 +02:00
Howaner
d6cb6e0423
Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.
2014-05-07 12:30:30 +02:00
madmaxoft
da5db2ddf9
Initial cPrefabPiecePool refactoring.
...
Ref.: #986 .
2014-05-07 11:01:30 +02:00