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
d851c47acd
cWorld: Temporary fix for FS #338
...
The pickups get spawned with zero speed, not to mess up their physics simulation. Marked as temporary, remove when physics are completed.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1474 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 16:23: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
25cda4e8b4
cItems: Added runtime bounds-checking to avoid server crashes with badly written plugins.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1472 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12 15:58:29 +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
2bd03871c7
Added generic LinearInterpolation in 1D, 2D and 3D.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1470 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-11 21:08:20 +00:00
madmaxoft@gmail.com
8d0b607feb
Noise: Fixed optimized Cubic noise calculation
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1469 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-11 21:06:03 +00:00
madmaxoft@gmail.com
4ac29d4cc5
Tiny formatting fix of rev 1463
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1467 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09 19:09:27 +00:00
madmaxoft@gmail.com
6c66e19f94
Noise: Added an efficient 3D cubic noise generation
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1466 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09 19:07:09 +00:00
madmaxoft@gmail.com
7e02ec87b9
Fixed a few out-of-bounds reads
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1465 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09 19:06:16 +00:00
nielsbreu@gmail.com
7dc9b2ce8d
Fixed error while compiling.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1464 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09 15:08:20 +00:00
nielsbreu@gmail.com
4e44c4b33a
function SpawnItemPickups is now exported to Lua. Lua is able to create a Items object.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1463 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09 14:32:27 +00:00
madmaxoft@gmail.com
da85eb9db2
Added 1.5.2 compatibility.
...
FS #372
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1461 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08 11:10:55 +00:00
madmaxoft@gmail.com
7cbf36bf17
Refactored window clicking code to use different click actions
...
First part of solving FS #371 ; should fix #370 .
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1459 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-08 09:45:07 +00:00
madmaxoft@gmail.com
a3717ba324
Please keep the lists alpha-sorted
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1458 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-07 20:27:43 +00:00
faketruth
3d9362d1a3
Sand can fall through snow.
...
Patch courtesy of InHavk
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1457 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-07 20:02:04 +00:00
madmaxoft@gmail.com
3292a0118f
Replaced MIN / MAX with std::min and std::max (pt 2)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1456 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-07 19:59:45 +00:00
madmaxoft@gmail.com
959797dbcf
Replaced MIN / MAX with std::min and std::max
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1455 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-07 19:59:17 +00:00
madmaxoft@gmail.com
8aa88e7815
Protocol132: Replaced magic numbers with symbolic packet names
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1454 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-07 08:24:06 +00:00
madmaxoft@gmail.com
5d4591de47
Fixed player teleporting too far away ("Entity lost")
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1452 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-06 18:32:22 +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
1e350218cc
Lighting: Fixed underwater lighting (FS #369 )
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1444 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 14:48:18 +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
keyboard.osh@gmail.com
accb2971f1
Entity: Now entites inside a cobweb slow down their speed
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1442 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05 04:52:04 +00:00
keyboard.osh@gmail.com
c1e6fb454f
Explosion: Switched from a cube to a sphere. Implemented using cBlockArea and moved block changing code to ChunkMap
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1441 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-04 06:25:58 +00:00
madmaxoft@gmail.com
d55416a649
StringUtils: Fixed StringSplit to work with multiple delimiters
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1438 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01 17:02:09 +00:00
madmaxoft@gmail.com
bdc06b6e74
FastNBT: Added cFastNBTTag::GetName()
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1437 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01 17:00:05 +00:00
madmaxoft@gmail.com
7741de1dbf
File: Added file rename and deletion functions
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01 16:59:36 +00:00
keyboard.osh@gmail.com
75a254fccb
TNT: Added physics to TNT entity
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1435 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 20:22:15 +00:00
madmaxoft@gmail.com
46fef2a18a
Fixed compilation on Linux
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1434 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 19:40:39 +00:00
madmaxoft@gmail.com
b4e9137475
Entity: fixed mass declaration
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1432 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 19:01:46 +00:00
madmaxoft@gmail.com
5c6164b55a
Fixed most of client slowdowns caused by sending too many block changes (bad condition in FastSetBlock)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1431 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 18:54:56 +00:00
keyboard.osh@gmail.com
55b8495bf3
cEntity: Added mass to entities.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1430 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 18:54:43 +00:00
madmaxoft@gmail.com
a0f7dea3be
Added dtAdmin damage type for use in plugins
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1429 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 18:40:26 +00:00
madmaxoft@gmail.com
912f93a544
Pickup: Fixed a possible crash when a pickup went up above the world.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1428 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 15:30:06 +00:00
keyboard.osh@gmail.com
9e38229b0d
Added support for sending velocity and rotation in PACKET_SPAWN_MOB and PACKET_SPAWN_OBJECT
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1427 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 05:08:29 +00:00
keyboard.osh@gmail.com
16370ff4eb
Added initialization of rotation in cEntity.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1426 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 05:05:10 +00:00
keyboard.osh@gmail.com
d48a4507c9
Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1425 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 04:49:55 +00:00
keyboard.osh@gmail.com
4767a90b67
Increased Maximum speed to 78 blocks per second
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1424 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-28 04:15:45 +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
384e6603c4
Fixed server stopping after #363 fix
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1422 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 21:14:31 +00:00
madmaxoft@gmail.com
8418c7ba9a
Fixed a deadlock
...
FS #363
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1421 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-27 21:05:34 +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