Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of https://github.com/SamJBarney/MCServer into MobSpawning | Samuel Barney | 2013-10-24 | 1 | -250/+109 |
|\ | |||||
| * | Implemented UnboundedRel BlockLight and SkyLight. | madmaxoft | 2013-10-22 | 1 | -250/+109 |
| | | | | | | | | Also unified the various UnboundedRel operations to use the same underlying structure. | ||||
* | | Removed my hackish Light functions | Samuel Barney | 2013-10-24 | 1 | -96/+0 |
| | | |||||
* | | Invalid light value is now 127 | Samuel Barney | 2013-10-23 | 1 | -5/+5 |
| | | |||||
* | | Added two new unbounded del functions to deal with looking up the lighting. | Samuel Barney | 2013-10-21 | 1 | -11/+100 |
| | | |||||
* | | Swapped which block is checked for light first. | Samuel Barney | 2013-10-21 | 1 | -4/+4 |
| | | |||||
* | | Current Mob Spawning code. | Samuel Barney | 2013-10-21 | 1 | -7/+22 |
|/ | |||||
* | replacing dynamic_cast by c-style cast | mgueydan | 2013-09-09 | 1 | -11/+4 |
| | |||||
* | replacing C-style cast by dynamic_cast | mgueydan | 2013-09-08 | 1 | -1/+1 |
| | |||||
* | Replacing chunCk by chunk | mgueydan | 2013-09-08 | 1 | -1/+1 |
| | |||||
* | replacing asserts by ASSERTs | mgueydan | 2013-09-08 | 1 | -3/+3 |
| | |||||
* | renaming the cChunk::getRandomBlock method + removing a buggy working log | mgueydan | 2013-09-08 | 1 | -2/+2 |
| | |||||
* | Adding glue to call everything done in last commits - now the mobs are spawning | mgueydan | 2013-09-08 | 1 | -0/+61 |
| | |||||
* | Disabeling current mob spawning and tick | mgueydan | 2013-09-08 | 1 | -2/+6 |
| | |||||
* | Adding an Empty shell that would launch mob spawner - not called yet | mgueydan | 2013-09-08 | 1 | -0/+37 |
| | |||||
* | Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more) | mgueydan | 2013-09-07 | 1 | -0/+39 |
| | |||||
* | Fixed the extreme strain on the world tick thread. | madmaxoft | 2013-08-19 | 1 | -0/+5 |
| | | | | Block changes were sent even with empty changesets, causing a lot of lost CPU cycles. | ||||
* | Moved entities into the Entities subfolder. | madmaxoft | 2013-08-19 | 1 | -2/+2 |
| | |||||
* | cChunk::SetBlock() now uses cChunk::FastSetBlock() for the common code path. | madmaxoft | 2013-08-19 | 1 | -69/+11 |
| | |||||
* | Removed an unused CriticalSection from cChunk. | madmaxoft | 2013-08-19 | 1 | -19/+5 |
| | | | | Fixes #109 | ||||
* | Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting. | madmaxoft | 2013-08-18 | 1 | -0/+36 |
| | | | | Untested yet, so might not work. | ||||
* | Removed SetServerBlock griefing. | madmaxoft | 2013-08-18 | 1 | -55/+0 |
| | |||||
* | Properly fixed piston non-animation | Tiger Wang | 2013-08-18 | 1 | -0/+55 |
| | | | | Fixes #57 | ||||
* | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 2013-07-07 | 1 | -58/+58 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 2013-06-25 | 1 | -1/+1 |
| | | | | | | Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Furnaces light up visually when they're cooking | madmaxoft@gmail.com | 2013-06-20 | 1 | -2/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it. | madmaxoft@gmail.com | 2013-06-13 | 1 | -11/+25 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 2013-06-12 | 1 | -1/+3 |
| | | | | | | FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers | madmaxoft@gmail.com | 2013-06-04 | 1 | -2/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented proper player crouching. | madmaxoft@gmail.com | 2013-06-04 | 1 | -2/+2 |
| | | | | | | Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved BlockEntities to a separate folder | madmaxoft@gmail.com | 2013-05-28 | 1 | -7/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Block entities now receive the cChunk param in their Tick() function | madmaxoft@gmail.com | 2013-05-28 | 1 | -1/+1 |
| | | | | | | They can safely access that chunk and any of its neighbors during ticking. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1526 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunk: Added the GetRelNeighborChunkAdjustCoords() function | madmaxoft@gmail.com | 2013-05-28 | 1 | -0/+66 |
| | | | | | | Not only does it return the proper neighbor chunk, but also it adjusts the relative coords to be in that returned chunk. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1523 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-only | madmaxoft@gmail.com | 2013-05-28 | 1 | -1/+103 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Implemented droppers | madmaxoft@gmail.com | 2013-05-26 | 1 | -0/+123 |
| | | | | | | Added a common ancestor class "DropSpenser" that has the common code for dropper and dispenser and is Lua-accessible, too. The Debuggers plugin now triggers both droppers and dispensers when rclking them with a redstone torch. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1514 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed entity chunking. | madmaxoft@gmail.com | 2013-05-19 | 1 | -1/+3 |
| | | | | | | Sand simulator was off, sand in negative coords wouldn't fall properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@1489 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed pickup logging | madmaxoft@gmail.com | 2013-05-17 | 1 | -0/+4 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1487 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added logging to pickup collection when a player is near and when collecting. | madmaxoft@gmail.com | 2013-05-13 | 1 | -0/+9 |
| | | | | | | This should help fix the inactive pickups bug, http://forum.mc-server.org/showthread.php?tid=434&pid=8019#pid8019 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1480 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed player teleporting too far away ("Entity lost") | madmaxoft@gmail.com | 2013-05-06 | 1 | -3/+7 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1452 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed most of client slowdowns caused by sending too many block changes (bad condition in FastSetBlock) | madmaxoft@gmail.com | 2013-04-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1431 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a few possible crashes with out-of-bounds Y coords | madmaxoft@gmail.com | 2013-04-27 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 2013-04-13 | 1 | -18/+124 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed chunk possibly writing to uninitialized memory | madmaxoft@gmail.com | 2013-04-09 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1376 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Mineshafts: Added random loot to generated chests and fixed chest direction | madmaxoft@gmail.com | 2013-04-06 | 1 | -2/+8 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a debugging log for melon-growing to catch FS #349 | madmaxoft@gmail.com | 2013-04-03 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Proper fix for FS #347. Also unification of ticking block entities. | madmaxoft@gmail.com | 2013-04-01 | 1 | -26/+9 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed block update queueing and water meta change not propagated to clients. | madmaxoft@gmail.com | 2013-03-22 | 1 | -17/+57 |
| | | | | | | Fixes FS #333. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 2013-03-18 | 1 | -0/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 2013-03-15 | 1 | -12/+24 |
| | | | | | | Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Small performance improvements in fluid simulator. | madmaxoft@gmail.com | 2013-03-14 | 1 | -26/+33 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fix for the Vaporize fluid simulator when loading chunks. | madmaxoft@gmail.com | 2013-03-14 | 1 | -0/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1271 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 2013-03-09 | 1 | -0/+6 |
| | | | | | | Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 2013-03-03 | 1 | -3/+15 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators are woken up upon chunk load | madmaxoft@gmail.com | 2013-03-03 | 1 | -0/+39 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Floody fluid simulator has been converted to use direct chunk access | madmaxoft@gmail.com | 2013-03-02 | 1 | -0/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1236 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 2013-03-01 | 1 | -13/+16 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=617&pid=6626#pid6626 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1233 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed previous commit. | madmaxoft@gmail.com | 2013-02-28 | 1 | -1/+1 |
| | | | | | | I'm too sleepy and shouldn't be let around the sources :P git-svn-id: http://mc-server.googlecode.com/svn/trunk@1230 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed a bug in cChunk::QueueTickBlockNeighbors() that caused the tick thread to overload easily | madmaxoft@gmail.com | 2013-02-28 | 1 | -3/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1229 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Simulators now have direct access to the cChunk object in the WakeUp() call | madmaxoft@gmail.com | 2013-02-28 | 1 | -63/+103 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added new hooks: OnChunkAvailable(), OnChunkUnloaded() and OnChunkUnloading(). Modified OnChunkGenerated() signature. | madmaxoft@gmail.com | 2013-02-05 | 1 | -0/+2 |
| | | | | | | http://forum.mc-server.org/showthread.php?tid=464&pid=6312#pid6312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1193 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Dispensers can dispense items and liquids now | luksor111@gmail.com | 2012-12-26 | 1 | -1/+63 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 2012-12-21 | 1 | -6/+6 |
| | | | | | | Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 2012-12-19 | 1 | -0/+15 |
| | | | | | | | | Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al. | madmaxoft@gmail.com | 2012-12-14 | 1 | -2/+118 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1073 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed an unused obsolete function chain - cWorld::GetChunkBlockData() | madmaxoft@gmail.com | 2012-11-11 | 1 | -12/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed FS #268 - if a block entity breaking is disallowed by a plugin, the entire blockentity is sent back to the client | madmaxoft@gmail.com | 2012-11-11 | 1 | -6/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1031 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made DeepSnow remove flowers and mushrooms while snowing. | luksor111@gmail.com | 2012-10-22 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1001 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) | madmaxoft@gmail.com | 2012-10-21 | 1 | -0/+84 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 2012-10-21 | 1 | -0/+31 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 2012-10-20 | 1 | -0/+13 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed unused [Physics].Water section from settings.ini. | madmaxoft@gmail.com | 2012-10-19 | 1 | -10/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed DelayedFluidSimulator. | madmaxoft@gmail.com | 2012-10-15 | 1 | -1/+1 |
| | | | | | | Floody fluid simulator is now woken up properly across chunk borders. git-svn-id: http://mc-server.googlecode.com/svn/trunk@966 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Floody fluid simulator now dries up correctly, too. | madmaxoft@gmail.com | 2012-10-14 | 1 | -16/+72 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Preparation for multiple fluid simulators. | madmaxoft@gmail.com | 2012-10-13 | 1 | -2/+0 |
| | | | | | | | | | Moved all simulators into a subfolder. Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator. Moved original fluid simulation into cClassicFluidSimulator. Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff) git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | All blockticking is now done in cBlockHandlers | madmaxoft@gmail.com | 2012-10-07 | 1 | -95/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@942 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Completely removed the old (buggy) redstone simulator. | madmaxoft@gmail.com | 2012-10-06 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@937 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 2012-10-06 | 1 | -0/+53 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed saplings not growing into trees | madmaxoft@gmail.com | 2012-10-03 | 1 | -3/+3 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@924 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 2012-10-03 | 1 | -31/+1 |
| | | | | | | Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 2012-10-01 | 1 | -6/+3 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Beds can be slept in now (it doesn't change the time though) | faketruth | 2012-09-29 | 1 | -0/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Unified folder name-casing | madmaxoft@gmail.com | 2012-09-29 | 1 | -1/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 2012-09-25 | 1 | -0/+16 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 2012-09-24 | 1 | -0/+1852 |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 |