Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-08-14 | CheckBasicStyle checks the src folder as well. | madmaxoft | 1 | -1/+1 | |
2014-08-05 | Refactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly | Tycho | 1 | -1/+5 | |
2014-07-30 | Exported the beacon. | Howaner | 1 | -0/+5 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -3/+3 | |
2014-07-24 | Added a queue for setting chunk data. | madmaxoft | 1 | -10/+4 | |
Fixes #1196. | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -6/+6 | |
2014-07-17 | Fixed spaces around single-line comments. | madmaxoft | 1 | -1/+0 | |
There should be at least two spaces in front and one space after //-style comments. | |||||
2014-07-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -2/+2 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-13 | Changed BroadcastSoundEffect function to take floating pos. | Howaner | 1 | -1/+1 | |
2014-07-10 | Fixed style consistency. | madmaxoft | 1 | -2/+2 | |
2014-07-10 | Implemented support for forced chunk ticking. | madmaxoft | 1 | -4/+26 | |
Fixes #1160. | |||||
2014-06-27 | Added generic entity-collecting. | Mattes D | 1 | -1/+1 | |
Now any cEntity can be collected, not only cPickups. This should help PR #1098. | |||||
2014-06-21 | Fixed invalid iterators | Tiger Wang | 1 | -1/+0 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -1/+2 | |
2014-06-14 | Added generic Allocation Pool Interface | Tycho | 1 | -1/+1 | |
2014-06-14 | fixed spaces | Tycho | 1 | -1/+1 | |
2014-06-12 | Removed unnessicary indirection from Entity iterator list | Tycho | 1 | -1/+1 | |
2014-06-12 | Portals animate and delay correctly | Tiger Wang | 1 | -1/+1 | |
2014-06-05 | Redstone fixes and improvements [SEE DESC] | Tiger Wang | 1 | -1/+8 | |
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-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -0/+1 | |
2014-05-25 | Hopefully fixed piston duplication issues | Tiger Wang | 1 | -2/+2 | |
* Fixes #879 * Fixes #714 | |||||
2014-05-24 | Implemented style changes | Tycho | 1 | -2/+2 | |
2014-05-23 | Implemented Allocation Pool use by cChunkData | Tycho | 1 | -1/+2 | |
2014-05-21 | Changed cChunkData::SetMeta to return a bool indicating whether the value changed | Tycho | 1 | -3/+3 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 1 | -6/+6 | |
2014-05-10 | Fixed stupid error | Tycho | 1 | -1/+1 | |
2014-05-10 | Fixed bug in setting metas | Tycho | 1 | -1/+7 | |
2014-04-27 | Redstone simulator now directly accesses cChunk | Tiger Wang | 1 | -5/+4 | |
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes | |||||
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -16/+16 | |
2014-04-25 | Implemented comments | Tiger Wang | 1 | -4/+4 | |
2014-04-18 | Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does. | jfhumann | 1 | -1/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -1/+1 | |
2014-04-07 | Maybe speed improvements? | Tiger Wang | 1 | -1/+1 | |
* Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block | |||||
2014-04-07 | Blocklight and skylight now compressed | Tiger Wang | 1 | -4/+4 | |
2014-04-05 | Nibbletypes are compressed | Tiger Wang | 1 | -1/+1 | |
+ Added nibble compression * Fixed an off by one | |||||
2014-04-04 | Speed and memory improvements | Tiger Wang | 1 | -1/+1 | |
* Changed array to be continuous, so no more layer splitting | |||||
2014-03-23 | Sort of implementation of chunk sparsing | Tiger Wang | 1 | -1/+1 | |
Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed' | |||||
2014-03-07 | Add Lua Bindings for FlowerPotEntity.h and add documentation. | Howaner | 1 | -2/+2 | |
2014-03-07 | Add Flower Pots | Howaner | 1 | -1/+6 | |
2014-02-24 | Removed an unused member variable from cChunk. | madmaxoft | 1 | -1/+0 | |
2014-02-23 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -4/+4 | |
2014-02-23 | Add Heads completely | Howaner | 1 | -1/+6 | |
2014-02-19 | Rename SkullEntity to MobHeadEntity | Howaner | 1 | -4/+4 | |
2014-02-18 | Add Heads completely | Howaner | 1 | -1/+6 | |
2014-02-18 | Added cWorld:SetAreaBiome() API function. | madmaxoft | 1 | -0/+8 | |
Fixes #675. | |||||
2014-02-15 | Sizeable speed improvements to redstone | Tiger Wang | 1 | -2/+12 | |
+ Moved all simulator data into individual chunks * Cleaned up parameters for functions and some code * Fixed repeaters powering off faster than they power on The main issue before was that, although the redstone simulator stored blocks to be simulated in individual cChunks, other data, such as powered lists, and etcetera, were global regardless of which chunk was being simulated. Therefore, with worlds with lots of redstone, each tick saw the ticking of chunks, which themselves iterated through the entire dataset needlessly, creating LOTS of lag. Should be better now :) | |||||
2014-02-08 | Initial ChunkStay code. | madmaxoft | 1 | -54/+56 | |
2014-02-07 | Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later). | STRWarrior | 1 | -1/+1 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -1/+1 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-18 | Basic command block implementation | andrew | 1 | -6/+10 | |
2013-12-30 | Fixed compilation in VC2008. | madmaxoft | 1 | -23/+0 | |
Also removed an unused inline header file (yuck). | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -23/+0 | |
2013-12-22 | Implented BroadcastParticleEffect | STRWarrior | 1 | -0/+1 | |
2013-12-15 | This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions. | STRWarrior | 1 | -0/+2 | |
2013-12-14 | Implemented note block playing and fixed wire | Tiger Wang | 1 | -1/+5 | |
Game of Thrones music in Minecraft, here I come! | |||||
2013-12-07 | Renamed animation function | Tiger Wang | 1 | -1/+1 | |
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know. | |||||
2013-12-06 | Fixed duplication glitch with QueueSetBlock | Tiger Wang | 1 | -3/+4 | |
If a coordinate was queued, and then the block there was broken, it would reappear: double items! Also now just sets meta if previous and current blocktypes matched. | |||||
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 1 | -3/+3 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-20 | Added cWorld:ForEachBlockEntityInChunk() and cWorld:DoWithBlockEntityAt() functions. | madmaxoft | 1 | -0/+6 | |
Also exported them to the Lua API. | |||||
2013-11-18 | Redstone Megacommit [SEE DESC] | Tiger Wang | 1 | -0/+3 | |
+ Updated BlockID - look for yourself * Improved button, repeater, lever, and comparator code -> simplification and splitting of some stuff from the redstone simulator file * Fixed buttons not breaking when in an invalid game state * Fixed QueueSetBlock -> improved (AGAIN) piston code + Rewrote redstone simulator Fixes: #57, #58, #205, and part of #131. Fixes FS issues: 281, 116, and 102 | |||||
2013-10-29 | Changes based on madmaxoft's nitpicker notes. | Samuel Barney | 1 | -1/+1 | |
2013-10-29 | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 1 | -0/+3 | |
2013-10-27 | Added cChunk::UnboundedRelGetBlockLights(). | madmaxoft | 1 | -0/+5 | |
This queries both BlockLight and SkyLight for the specified block. | |||||
2013-10-24 | Removed my hackish Light functions | Samuel Barney | 1 | -2/+0 | |
2013-10-22 | Implemented UnboundedRel BlockLight and SkyLight. | madmaxoft | 1 | -8/+15 | |
Also unified the various UnboundedRel operations to use the same underlying structure. | |||||
2013-10-21 | Added two new unbounded del functions to deal with looking up the lighting. | Samuel Barney | 1 | -0/+3 | |
2013-09-08 | renaming the cChunk::getRandomBlock method + removing a buggy working log | mgueydan | 1 | -1/+1 | |
2013-09-08 | Adding an Empty shell that would launch mob spawner - not called yet | mgueydan | 1 | -0/+8 | |
2013-09-07 | Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more) | mgueydan | 1 | -0/+4 | |
2013-08-19 | Added forgotten initialisation | Tiger Wang | 1 | -1/+1 | |
2013-08-19 | Fixed uninitialised thingummies | Tiger Wang | 1 | -1/+1 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-19 | Removed an unused CriticalSection from cChunk. | madmaxoft | 1 | -1/+0 | |
Fixes #109 | |||||
2013-08-18 | Implemented cWorld:QueueSetBlock(), as requested for delayed blocksetting. | madmaxoft | 1 | -0/+24 | |
Untested yet, so might not work. | |||||
2013-08-18 | Removed SetServerBlock griefing. | madmaxoft | 1 | -2/+0 | |
2013-08-18 | Properly fixed piston non-animation | Tiger Wang | 1 | -0/+2 | |
Fixes #57 | |||||
2013-07-07 | Improved function names for protocol packet sending; alpha-sorted the function lists | madmaxoft@gmail.com | 1 | -14/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1659 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-13 | Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it. | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-12 | Added cWorld::SetSignLines(), re-exported to Lua manually to avoid ghost return values | madmaxoft@gmail.com | 1 | -1/+3 | |
FS #364 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1582 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | Implemented proper player crouching. | madmaxoft@gmail.com | 1 | -1/+1 | |
Fixes FS #365 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1553 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-28 | cChunk: Added the GetRelNeighborChunkAdjustCoords() function | madmaxoft@gmail.com | 1 | -0/+7 | |
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 | |||||
2013-05-28 | Chunk / ChunkMap: Added support for unbounded querying blocktype-only or blockmeta-only | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-26 | Implemented droppers | madmaxoft@gmail.com | 1 | -0/+12 | |
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 | |||||
2013-05-25 | Fixed the cWorld:DoWithChestAt(), DoWithDispenserAt() and DoWithFurnaceAt() callbacks binding. | madmaxoft@gmail.com | 1 | -2/+2 | |
They are now doing what the comment said they are doing. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1506 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -5/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-01 | Proper fix for FS #347. Also unification of ticking block entities. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1348 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | Fixed block update queueing and water meta change not propagated to clients. | madmaxoft@gmail.com | 1 | -0/+3 | |
Fixes FS #333. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-18 | Added support for the packet #28 (0x1C): ENTITY_VELOCITY | keyboard.osh@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1283 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-15 | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 1 | -14/+15 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-14 | Small performance improvements in fluid simulator. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1276 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Simulators are woken up upon chunk load | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1248 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-02 | Rewritten SandSimulator to use direct chunk access; and sand falling on torches now creates a pickup. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1240 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-02 | Floody fluid simulator has been converted to use direct chunk access | madmaxoft@gmail.com | 1 | -1/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1236 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-01 | New fire simulator, fully rewritten to the new scheme of things, directly accessing chunk data. | madmaxoft@gmail.com | 1 | -15/+24 | |
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 | |||||
2013-02-28 | Simulators now have direct access to the cChunk object in the WakeUp() call | madmaxoft@gmail.com | 1 | -4/+18 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1227 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-27 | Fixed slab usage in creative mode | luksor111@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1112 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-26 | Dispensers can dispense items and liquids now | luksor111@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1105 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-19 | Added dispensers (they can't dispense items yet) | luksor111@gmail.com | 1 | -4/+6 | |
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 | |||||
2012-12-14 | cChunk now tracks its neighbors as direct pointers; used in UnboundedRelGetBlock et al. | madmaxoft@gmail.com | 1 | -4/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1073 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-11 | Removed an unused obsolete function chain - cWorld::GetChunkBlockData() | madmaxoft@gmail.com | 1 | -3/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1036 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Top blocks are now snowed over, either normally, or in deep snow (patch contributed by funmaker, Luksor and Sebi) | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1000 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-21 | Added jukeboxes (patch contributed by Luksor) | madmaxoft@gmail.com | 1 | -19/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-20 | Made cWorld's block query functions more orthogonal, added GetBlockInfo() returning all info on a block. | madmaxoft@gmail.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@986 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Floody fluid simulator now dries up correctly, too. | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -4/+3 | |
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 | |||||
2012-09-29 | Beds can be slept in now (it doesn't change the time though) | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@911 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-25 | Added the block dig animation packet (patch contributed by l0udPL) | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@892 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+1 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-31 | Progress on the 1.3.2 protocol. | madmaxoft@gmail.com | 1 | -1/+1 | |
Sometimes the client lets the player through, but most of the times the connection breaks for no apparent reason. git-svn-id: http://mc-server.googlecode.com/svn/trunk@812 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -7/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-26 | git-svn-id: http://mc-server.googlecode.com/svn/trunk@795 0a769ca7-a7f5-676a-18bf-c427514a06d6 | madmaxoft@gmail.com | 1 | -0/+2 | |
2012-08-25 | cWorld doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@789 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-25 | Removed cPackets from cChunk. | madmaxoft@gmail.com | 1 | -4/+11 | |
Also decoupled a possible deadlock in player login code. git-svn-id: http://mc-server.googlecode.com/svn/trunk@788 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | cPickup doesn't use cPackets. | madmaxoft@gmail.com | 1 | -0/+2 | |
Also, Lua API change, OnCollectItem -> OnCollectPickup; first param is cPlayer to match other callbacks. git-svn-id: http://mc-server.googlecode.com/svn/trunk@786 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Another handful of packets rewritten. | madmaxoft@gmail.com | 1 | -0/+3 | |
Also changed cItem::m_ItemID into m_ItemType of type short. Easier handling. m_ItemID kept for compatibility reasons (Lua-interface etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@756 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -1/+0 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | Leaves decay properly - if they are not connected to a log | madmaxoft@gmail.com | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@644 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Removed the deprecated GetBlockEntity(), added several enumerators to replace it. | madmaxoft@gmail.com | 1 | -1/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@629 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-17 | Fixed leaves blockticking - must touch neighboring chunks, too, instead of self at wrong places. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-16 | Exported cWorld::ForEachEntity and cWorld::ForEachEntityInChunk; no idea if they actually work | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@620 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -271/+271 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-09 | Cacti grow by themselves and by bonemeal | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@583 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-08 | Sugarcane grows and can be grown using bonemeal. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@578 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Bonemeal works on crops, melons, pumpkins, saplings and grass. Plant growing has been refactored into separate functions callable from Lua, too. | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@573 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | BlockChecking split into a separate function | madmaxoft@gmail.com | 1 | -1/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@571 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-07 | Repeaters' delays can be set by rclk | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@570 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-06 | Grass spreads to adjacent dirt blocks. Doesn't check dest light yet. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@563 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Added support for SetNextBlockTick() function callable from Lua | madmaxoft@gmail.com | 1 | -0/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@527 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Fixed blocktick distribution | madmaxoft@gmail.com | 1 | -12/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@525 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-30 | Farmland gets hydrated and dehydrated. Fixed an off-by-one error in neighbor-chunk manipulation. | madmaxoft@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@522 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-29 | Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later. | madmaxoft@gmail.com | 1 | -8/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -24/+35 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-10 | Added the "/regeneratechunk" command that regenerates either current chunk or a chunk specified with x, z parameters. TODO: permissions - we don't want guests erasing our chunks! | madmaxoft@gmail.com | 1 | -2/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@454 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-16 | That didn't work.. I forgot some cChunk functions were changed. Now it should compile again | faketruth | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@417 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Unified the chunk data to use the BLOCKDATA datatype. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@413 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -168/+47 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-13 | Small optimizations in the SetNibble() and GetNibble() functions; removed unused lighting functions from cChunk | madmaxoft@gmail.com | 1 | -3/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@408 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Completely integrated the new axis ordering. Will update worlds accordingly | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@396 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Was using "#else if" which is not valid apparently, now using "#elif" | faketruth | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@391 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | You can change axis ordering by setting AXIS_ORDER to AXIS_ORDER_XZY in cChunk.h !THIS WILL SCREW UP YOUR WORLDS THOUGH! | faketruth | 1 | -13/+22 | |
Still need to update world storage schemes, converters and such git-svn-id: http://mc-server.googlecode.com/svn/trunk@390 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Using more of the index functions in cChunk, so it should be easy enough to flip the axis ordering now | faketruth | 1 | -4/+31 | |
Added some more functions that use Vector3i for block coordinates in cChunk git-svn-id: http://mc-server.googlecode.com/svn/trunk@389 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -1/+1 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-05 | ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :) | madmaxoft@gmail.com | 1 | -6/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | Should have complete support for 256 blocks high worlds. Old save files are converted to new ones at load. | faketruth | 1 | -1/+1 | |
BACK UP YOUR WORLD! git-svn-id: http://mc-server.googlecode.com/svn/trunk@358 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | The world can now truly be made higher by incrementing cChunk::c_ChunkHeight to 256. !!HOWEVER THIS WILL DESTROY YOUR SAVED WORLD!! | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@357 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-04 | Changed signed char to unsigned char in block packets, so we can receive height up to 255 | faketruth | 1 | -1/+2 | |
Blocks placed above 128 limit don't become obsidian anymore. This was due to the cChunk::MakeIndex() function return 0 when outside of bounds, it now returns an 'error constant' git-svn-id: http://mc-server.googlecode.com/svn/trunk@356 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-03 | Got rid of some hardcoded numbers, now using hardcoded variables! woo | faketruth | 1 | -4/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@355 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-01 | New redstone simulator. Should work without crashes! | faketruth | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@345 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Server uses ~40% less CPU now | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@339 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | New cChunkStay class for temporarily keeping chunks loaded even when then have no clients. For now unused, will be used by generator and lighting in the future. | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@330 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Plain pointer cChunkPtr finishing touches; removed cChunk's critical sections | madmaxoft@gmail.com | 1 | -14/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@325 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | Made cChunkPtr a plain old pointer again, since it's safe now | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@324 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-23 | cChunk: removed unused code | madmaxoft@gmail.com | 1 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@323 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Removed cChunkPtrs from everywhere but internal cChunkMap usage. Now we should finally be threadsafe :) | madmaxoft@gmail.com | 1 | -2/+8 | |
Also fixed a threading issue when a player connecting might have gotten stuck in "Downloading world" forever git-svn-id: http://mc-server.googlecode.com/svn/trunk@304 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-21 | Fixed heightmap optimization from rev 302; removed a few more cChunkPtrs | madmaxoft@gmail.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@303 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -2/+24 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Substantial cWorld::FastSetBlock() speed up by queueing all such calls and processing them later chunk-wise (makes growing trees in the generator fast again) | madmaxoft@gmail.com | 1 | -1/+16 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@295 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Re-implemented tree-growing. May produce artefacts on old-world / new-world boundaries. | madmaxoft@gmail.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@293 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 1 | -1/+1 | |
Note that this commit breaks foliage generation - there are no trees in the chunks generated! git-svn-id: http://mc-server.googlecode.com/svn/trunk@292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -2/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. | madmaxoft@gmail.com | 1 | -4/+4 | |
cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly | madmaxoft@gmail.com | 1 | -3/+49 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Restored chest and furnace functionality as it was (it's basically working but joined chests show single-chest window) | madmaxoft@gmail.com | 1 | -0/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@263 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-14 | Slight cleanup - removed old code, some additional comments on dangerous functions | madmaxoft@gmail.com | 1 | -10/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@261 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -36/+93 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | Removed unused code | madmaxoft@gmail.com | 1 | -3/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-08 | MTRand class is not created in each tick, therefore much improving tick-thread time (now uses ~5 % CPU instead of one full core) | madmaxoft@gmail.com | 1 | -2/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@245 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | Old code begone! ChunkMap cleanup | madmaxoft@gmail.com | 1 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@189 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-19 | Terrain generation is synchronous again, async generation has bugs. | faketruth | 1 | -2/+2 | |
Made some funky smart pointer things for chunks. Fixed a bug where the client would override the player position on the server and back again, resulting in sending too many chunks to the client which it doesn't even need. Fixed some compiler warnings in cPickup.cpp git-svn-id: http://mc-server.googlecode.com/svn/trunk@164 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-01 | Fixed the numchunks console command. | faketruth | 1 | -0/+5 | |
Added some form of reference counting to cChunk to make sure it's not referenced when deleting it. Right now it's only needed due to the generation of chunks in a separate thread and adding it to the spread light list in cWorld git-svn-id: http://mc-server.googlecode.com/svn/trunk@161 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-31 | Made a couple of functions in cChunk inline, this should speed up several block operations on chunks | faketruth | 1 | -1/+14 | |
Players should not spawn in the ground anymore. When an entity was added to cWorld twice (which shouldn't happen actually), the server would crash when the entity is destroyed, this should be fixed now. git-svn-id: http://mc-server.googlecode.com/svn/trunk@158 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | - Linux compatible fixes including updated makefile | mtilden@gmail.com | 1 | -1/+1 | |
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Moved the actual world generation from cChunk.cpp to a more isolated file cWorldGenerator.cpp | faketruth | 1 | -15/+7 | |
New generators should inherit cWorldGenerator and implement their own generation algorithms git-svn-id: http://mc-server.googlecode.com/svn/trunk@117 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed | faketruth | 1 | -1/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O | faketruth | 1 | -0/+1 | |
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues. Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage() Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading. git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-22 | Digging leaves with shears now drops leaves | lapayo94@gmail.com | 1 | -0/+2 | |
Falling Sand now notifies water around Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition) Pistons donĀ“t drop water and lava items anymore when stopping water/lava implemented Getter for lava and water simulator IsBlockWater and IsBlockLava function in Defines.h git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -4/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-21 | Compiles for linux | faketruth | 1 | -1/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@6 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+127 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |