1
0
Commit Graph

2107 Commits

Author SHA1 Message Date
worktycho
3e25852382 Removed assert that is now informed by type system 2014-06-11 10:04:34 +01:00
madmaxoft
1ff1a93866 Initial Mesa Bryce implementation. 2014-06-10 22:59:45 +02:00
madmaxoft
c259dad7b8 Fixed clang warnings about abs() in Noise.cpp.
MSVC provides a float overload of abs(), clang does not. Using the proper fabs().
2014-06-10 18:27:17 +02:00
madmaxoft
366ecf9dfd Fixed a race condition when adding a player to a world. 2014-06-10 18:25:53 +02:00
madmaxoft
6c43799cc5 Fixed gcc compilation. 2014-06-10 09:20:32 +02:00
madmaxoft
9ff0ef87d4 Added an experimental height generator, Mountains. 2014-06-09 23:40:51 +02:00
madmaxoft
bead36f5ed Added cRidgedMultiNoise, fixed cPerlinNoise. 2014-06-09 23:38:50 +02:00
madmaxoft
2b45e720ad Added Y coord checks and documentation to cBlockDoorHandler. 2014-06-09 21:35:46 +02:00
madmaxoft
dcc71a3b7b Merge remote-tracking branch 'howaner/Redstone' 2014-06-09 21:20:26 +02:00
madmaxoft
02b509b81d ToLua can now be run in pure-lua mode.
See the src/Bindings/AllToLua_lua.bat for usage example.
2014-06-09 17:05:22 +02:00
madmaxoft
ec0976f9b0 Fixed a crash when creating negative-size blockareas.
Now the server emits a warning instead and continues execution.
2014-06-09 00:49:02 +02:00
Mattes D
af4a21ea06 Fixed deadlock when moving players to other worlds.
Fixes #1039, fixes #851
2014-06-08 21:58:30 +02:00
Mattes D
b904223b9d Added queue for adding entities to cWorld.
This alone doesn't work properly yet, further changes to cPlayer are needed.
2014-06-08 21:58:29 +02:00
madmaxoft
28b82d5bbb Proper fix for long interaction.
Fixes #1078 and #1038.
2014-06-08 11:32:52 +02:00
madmaxoft
0544b96f80 docs/Generator: Added the easy Finishers. 2014-06-07 13:59:51 +02:00
madmaxoft
ec40c7c83a Added RainbowRoads finisher generator. 2014-06-07 13:59:50 +02:00
Tiger Wang
d5649df326 Further improvements on redstone speed
Based on suggestions of @worktycho
* Repeaters now walk their data structure only when needed
* Fixed a bug with cChunkData returning an incorrect value for whether a
meta had changed
2014-06-07 10:39:36 +01:00
archshift
b768e54ce8 Fixed mob hitbox sizes, removed TODOs
Measured bat and blaze in vanilla, updated values.
Cavespiders are, in fact, passive in the day.
2014-06-07 00:40:01 -07:00
Tiger Wang
5f56773dde Further reduced redstone idle CPU consumption
* Repeaters and wires are no longer unnecessarily ticked
* Fixed #1063, likely addressed #1062
* Fixed bugs regarding duplicate values
2014-06-06 20:36:50 +01:00
Tiger Wang
22236a103a Redstone fixes and improvements [SEE DESC]
Haha, see desc.

* Improved redstone speed through a marking dirty system. Only a select
few devices are still continuously simulated
* Fixed redstone crashing with recent piston changes
2014-06-04 23:23:22 +01:00
Mattes D
c11488ccd7 Merge pull request #1011 from SphinxC0re/SomeWarningFixes
Fixed some warnings
2014-06-04 18:02:45 +02:00
Howaner
33fbdedea3 Fix itemframe break. 2014-06-04 15:16:30 +02:00
worktycho
c94d0c8144 derp 2014-06-04 11:39:21 +01:00
worktycho
ae37dfec8d Fixed bad coordinate 2014-06-04 11:29:08 +01:00
worktycho
98c575ebc2 Make sure m_StackSizeToBeUsedInRepair Always has a valid value 2014-06-04 11:12:06 +01:00
worktycho
85be62a8cd Removed unused field test 2014-06-04 11:02:17 +01:00
worktycho
87c4d0ea57 Initialise m_Callbacks field to NULL in empty constructor. 2014-06-04 10:58:09 +01:00
Tiger Wang
9ef4b9d52d Exploded creepers drop nothing, part of #1058 2014-06-04 09:27:50 +01:00
Tiger Wang
c4e0da2d0a Fixed mob loading, part of #1058 2014-06-04 09:22:19 +01:00
Tiger Wang
8e57f75622 Fixed #1057 2014-06-04 09:21:44 +01:00
Julian Laubstein
8604dedfdf Update IncrementalRedstoneSimulator.cpp 2014-06-04 10:20:20 +02:00
madmaxoft
c0015d01c6 Player permissions aren't logged to console anymore.
This was only logspam on most servers and there are alternative ways to list players' permissions.
2014-06-03 19:50:27 +02:00
madmaxoft
492f99eaeb Merge remote-tracking branch 'howaner/Inventory' 2014-06-03 19:30:01 +02:00
madmaxoft
d92520016d Fixed OnProjectileHitBlock bindings.
Also sorted the various cLuaState::Push() functions.
2014-06-03 19:29:23 +02:00
Mattes D
0c5492946b Merge pull request #1028 from mc-server/pistonfixes
Piston fixes
2014-06-03 19:02:40 +02:00
Mattes D
60786cb06d Merge pull request #1052 from mc-server/UnderwaterBaseGen
Underwater base gen
2014-06-02 21:49:47 +02:00
Tiger Wang
5fc7592cba Merge remote-tracking branch 'origin/pistonfixes'
Conflicts:
	src/Chunk.cpp
2014-06-02 19:49:14 +01:00
STRWarrior
b9ca7bd120 Small tweak for mobs
Mobs move a bit smoother and aren't able to move allot when in air.
2014-06-02 14:16:36 +02:00
madmaxoft
b7dc4177d0 cBlockArea reading hotfix.
This should fix the crashes introduced with chunksparsing. Not the most performant solution, but at least it should work.
Ref.: #1056
2014-06-02 14:07:36 +02:00
madmaxoft
23b0823108 Update UnderwaterBase prefabs.
Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights.
2014-06-01 22:02:58 +02:00
Tiger Wang
a84f107400 Suggestions two 2014-06-01 20:00:11 +01:00
Mattes D
61edb83ce5 Merge pull request #844 from mc-server/ProjectileHitBlock
OnProjectileHitBlock tweak.
2014-06-01 20:10:03 +02:00
worktycho
750333855c abort does not take a parameter. 2014-06-01 17:23:02 +01:00
worktycho
476fdc9952 Use abort in SIGSEGV and SIGABRT handlers
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01 17:05:51 +01:00
STRWarrior
319169eafb Made a_BlockHitPos a reference 2014-06-01 14:06:47 +02:00
madmaxoft
046c149797 Updated UnderwaterBase prefabs. 2014-06-01 10:07:57 +02:00
madmaxoft
75fe89b8ae Updated AlchemistVillage prefabs. 2014-06-01 09:27:54 +02:00
Howaner
12f3c0fcdf Players can't set items in the result slot, when they shift a item. 2014-06-01 00:50:35 +02:00
Howaner
a18b6c2311 Add HandleSmeltItem() call for achievements. 2014-06-01 00:43:09 +02:00
Howaner
5368e66486 Missing return; 2014-06-01 00:29:17 +02:00