summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-26Fixed Minor typos.narroo3-9/+12
2014-03-25Added a comment about the behavior of doors under mirros. Simply put, the current implementation of MetaMirror causes glitchy behavior. The door class itself needs to be edited. (I've got an idea on that....)narroo1-2/+8
2014-03-25Fixed spelling; Rotater to Rotator.narroo15-46/+46
2014-03-25Changed Rotater to Rotator. Added partial sign post rotation support.narroo2-0/+12
2014-03-24Added MetaRotate/Mirror Support for a number of classes.narroo12-84/+295
2014-03-12Fixed missing comment terminator.madmaxoft1-1/+1
2014-03-12M_PI MSVC Fixandrew2-2/+2
2014-03-12Vector3: Length() should always return a floatandrew1-9/+9
2014-03-12Fixed Lua string return values.madmaxoft1-4/+0
Fixes #773.
2014-03-12Moved Lua API registering into a separate function.madmaxoft4-2/+17
This will allow us to use Lua as lite-config files as well, should we want to.
2014-03-11Matrix4: Removed enumandrew2-22/+24
2014-03-11Unified Matrix4 codeandrew7-233/+230
2014-03-11LineCoeff Docandrew1-4/+20
2014-03-11TakeDamage now has the cThrownSnowballEntity instead of the creator's object.STRWarrior1-1/+1
2014-03-11Snowballs now actualy hurt other entities.STRWarrior2-2/+25
3 damage for blazes and 1 for the ender dragon. Otherwise 0
2014-03-11Unified Vector classesandrew32-401/+300
2014-03-11Using ```const Vector3i &```STRWarrior2-3/+3
2014-03-12Renamed cBlockArea Offset to WEOffset.madmaxoft3-8/+9
Even in getters / setters.
2014-03-11Renamed m_Offset to m_WEOffsetSTRWarrior3-8/+9
2014-03-10Removed debugging output.madmaxoft1-1/+3
Kept it commented-out for later revisions, if needed.
2014-03-10Revert "Fixed some warnings"madmaxoft1-10/+7
This reverts commit 4cb0b82d1df560ad32c92eede91f466c75a87c87.
2014-03-10Fixed compileTiger Wang1-1/+2
2014-03-10This allows a blockarea to have an Offset.STRWarrior3-0/+47
2014-03-10POCPieces: Added height.madmaxoft1-17/+20
Now the pieces connect in different heights, too, creating a true 3D maze.
2014-03-10Fixed MSVC2008 compilation.madmaxoft1-4/+4
2014-03-09Removed uneeded meta obtainTiger Wang1-3/+1
2014-03-09A working POCPiece generator.madmaxoft5-6/+359
2014-03-09Hardened cCuboid with asserts for its assumptions.madmaxoft2-3/+11
2014-03-09ChunkDef: Replaced enums with static const ints.madmaxoft1-10/+6
This makes them easier to use in std::min et al.
2014-03-09Added cCuboid::Engulf().madmaxoft2-0/+37
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft2-9/+30
2014-03-09Fixed #778 - stack overflow.comTiger Wang1-1/+1
2014-03-09Silenced useless MSVC warnings in cMetaRotater.madmaxoft1-0/+21
2014-03-09Hotfix for MSVC compilation.madmaxoft1-0/+1
2014-03-09!= FACE_NONETiger Wang1-1/+1
2014-03-09PieceGenerator can connect two connectors of the same type.madmaxoft2-60/+338
Also added extensive debugging output and a test.
2014-03-09Added BlockFaceToString() translation function.madmaxoft1-0/+20
2014-03-09Added Vector3i::Move().madmaxoft2-17/+82
2014-03-09Added the first skeleton code for PieceGenerator.madmaxoft2-0/+545
This is a WIP and won't work / isn't used at all.
2014-03-09Hexified coloursTiger Wang1-16/+16
2014-03-09Fixed data length issuesTiger Wang2-3/+4
2014-03-09Demonstrated issues with GetDataLength()Tiger Wang2-5/+11
2014-03-09Improved formatting of username tabcompleteTiger Wang1-7/+7
2014-03-09Moved firework handler to separate functionTiger Wang2-48/+48
* Also simplified and improved readability of code
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang4-65/+23
2014-03-09Fix Linux compileTiger Wang1-2/+3
2014-03-09Fixed some warningsTycho1-7/+10
2014-03-09FIxed int in testTycho1-1/+1
2014-03-09Adjusted style of switch/caseJan-Fabian Humann3-45/+15
2014-03-09TNT explodes when consumed by fireTiger Wang1-6/+19
Fixed FS#406
2014-03-09Slight plugin messaging changesTiger Wang1-0/+13
- Clients are not allowed to register duplicate channels - Clients are not allowed to use channels that were not registered
2014-03-08Added staticTycho1-1/+1
2014-03-08Added tons more asserts to bytebufferTycho1-7/+17
2014-03-08Enabled self test of bytebufferTycho1-1/+1
2014-03-08Changed if-else to switch-caseJan-Fabian Humann3-39/+33
2014-03-08Split cClientHandle::HandleEntityAction() into three seperate functions HandleEntityCrouch, HandleEntityLeaveBed and HandleEntitySprinting.Jan-Fabian Humann5-32/+98
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho10-28/+26
2014-03-08Actually Fixed ByteBufferTycho1-3/+3
2014-03-08Moved returnsworktycho1-3/+3
2014-03-08Change TNT Fuse to ticksHowaner9-21/+20
2014-03-08cBlockInfo-related changes from #723andrew3-11/+21
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner6-18/+78
2014-03-07Fixed cBlockArea schematic string saving signature.madmaxoft3-9/+12
2014-03-07Move env code part 1worktycho1-10/+0
2014-03-07Added support to overide CMake build type with env varsTycho1-0/+8
2014-03-07WarningsTycho2-1/+3
2014-03-07WarningsTycho11-29/+42
2014-03-07Added some commentsandrew2-1/+6
2014-03-07Fixed warningsTycho2-3/+21
2014-03-07Fixed warningsTycho3-1/+5
2014-03-07Fixed a typo.madmaxoft1-4/+4
2014-03-07Fixed water/lava interactionandrew3-4/+69
2014-03-07Add Lua Bindings for FlowerPotEntity.h and add documentation.Howaner10-14/+18
2014-03-07Added cBlockArea serialization to string.madmaxoft3-38/+202
Fixes #665.
2014-03-07Add Flower PotsHowaner17-87/+401
2014-03-06Fix commentHowaner1-1/+1
2014-03-06Broadcast the Equipped Item, if the Slot is changed.Howaner1-0/+6
2014-03-05Add SendBlockTo to cWorldInterfaceHowaner9-10/+18
2014-03-05Set tnt step sound to step.grassHowaner1-1/+1
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner10-6/+102
2014-03-05Implemented vanilla-like fluid simulatorandrew6-17/+238
2014-03-04Fixed some gcc warnings in Defines.h.madmaxoft1-3/+3
2014-03-04Manually exported cCompositeChat modifiers.madmaxoft2-7/+268
This adds chaining support to them. Fixes #755.
2014-03-04cLuaState: Made public the GetStackValue() functions.madmaxoft2-54/+61
2014-03-04Fixed an assert in map-loading.madmaxoft1-3/+1
The maps were loaded too soon, the world wasn't initialized yet.
2014-03-03Fixed previous weather changes.madmaxoft2-4/+5
cWorld::GetDefaultWeatherInterval() returns -1 for unknown weather.
2014-03-02Removed if conditionandrew1-4/+1
2014-03-02ReformattedTycho10-20/+20
2014-03-02Reformated MetaRotaterTycho1-19/+30
2014-03-02Add cancelling to WeatherChanging event.Howaner2-13/+43
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew11-73/+70
2014-03-02Fixed MSVC warnings in DeprecatedBindings.madmaxoft1-8/+76
2014-03-02More documentation (thanks to madmaxoft) and use GetBlockTypeMetaHowaner2-6/+10
2014-03-02Added blockface mirroring and rotating.madmaxoft1-0/+50
2014-03-02Add Trapdoor Functions to cWorld and fix Trapdoor Redstone BugsHowaner4-6/+49
2014-03-02GetById => Getandrew3-22/+22
2014-03-02Creeper fixestonibm192-10/+34
- Fixed explosion time (1.5s, according to minecraftwiki) - Creeper explodes if right clicked with flint and steel
2014-03-02Reverted BlockVineworktycho1-3/+27
2014-03-02Removed g_BlockXXX arraysandrew4-440/+4
2014-03-02Manually exported g_Block tablesandrew4-0/+445
2014-03-02Exported cBlockInfoandrew2-3/+9
2014-03-02Added more documentation for FastNBT parser.madmaxoft1-3/+45
2014-03-01ChunkDesc warns about StructureGen's deprecation.madmaxoft1-0/+2
2014-03-01Unified StructureGens and FinisherGens.madmaxoft10-163/+128
Now they are all Finishers. Fixes #398.
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew33-73/+91
2014-03-01Fixed errorsTycho2-2/+2
2014-03-01Revesed typedefTycho1-1/+1
2014-03-01Implemented RotationsTycho11-170/+28
2014-03-01Final implementation of MetaRotaterTycho1-45/+51
2014-03-01Refactored global block property arraysandrew2-0/+477
2014-03-01Exported cScoreboard::ForEachTeamandrew3-1/+34
2014-03-01Shortened enumsandrew4-58/+58
2014-03-01Exported cScoreboard::ForEachObjectiveandrew3-4/+43
2014-03-01Exported and documented cScoreboardandrew4-49/+70
2014-03-01Forgotten changes to cChunkInterface.madmaxoft1-2/+2
2014-03-01Removed cBlockHandler forward declaration from cChunkInterface.madmaxoft1-9/+22
Wasn't needed. Also reformatted the code.
2014-03-01Improved comments in float size check.madmaxoft1-2/+2
2014-02-28Use switch in GetStepSoundHowaner2-8/+6
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft7-5/+78
2014-02-28Documented the changes in cJukeboxEntity.madmaxoft1-2/+3
2014-02-28Moved common cGroupManager code to a separate function.madmaxoft3-12/+30
This fixes my concerns in PR #709.
2014-02-28Fix Double Slabs, fix Slab Meta and add more things to burnableHowaner3-13/+37
2014-02-28Better fix for the 32-bit float reading.madmaxoft1-4/+5
2014-02-27Removed unneeded includes in Player.cppTiger Wang1-7/+0
2014-02-27Fixed compileTiger Wang2-3/+2
2014-02-27added mooshroom to cow conversiontonibm191-0/+2
2014-02-27Added some Metadate rotaters using templated MixinTycho10-16/+168
2014-02-27Added a "nooutbuf" cmdline param.madmaxoft2-13/+18
This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio.
2014-02-27Fixed crash and some warnings in map handling.madmaxoft2-3/+5
Fixes #728.
2014-02-27Fixed sheep ASSERTing sometimesTiger Wang1-8/+18
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang14-84/+591
+ Added fireworks
2014-02-26Fixed a gcc warning in FastNBT.h.madmaxoft1-2/+11
2014-02-26Attempted fix for several GCC warnings.madmaxoft3-3/+15
2014-02-26Added more utility functions to cCuboid.madmaxoft2-4/+105
GetVolume(), Expand(), ClampX(), ClampY(), ClampZ()
2014-02-24Added useful parameter overloads to cBlockArea Lua API.madmaxoft2-0/+133
2014-02-24Fixed tolua export for Byte.madmaxoft1-0/+7
No longer treated as an unknown class.
2014-02-24Fixed compilation in MSVC (forward class definitions).madmaxoft2-0/+2
2014-02-24BlockEntities is warnings freeTycho6-3/+11
2014-02-24Fixed Formatting, added compiler warning suppressing methods, fixed commentsTheJumper5-3/+6
2014-02-24Fixed MCServer not compiling with C++03 compilersSTRWarrior3-12/+12
2014-02-24Small improvements to boats.STRWarrior1-3/+7
2014-02-24Removed an unused member variable from cChunk.madmaxoft2-8/+0
2014-02-24Fixed crash in cBlockArea rotation.madmaxoft1-6/+6
Fixes #720.
2014-02-24Fixed a possible crash in cWorld::WakeUpSimulatorsInArea().madmaxoft1-0/+4
The Y coords weren't checked.
2014-02-23fixed globals.h warningsTycho3-2/+11
2014-02-23Use the ItemCategorie::IsSword() Method.Howaner2-20/+1
2014-02-23No Sword Block Destroying in Creative ModeHowaner2-0/+29
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper29-40/+515
2014-02-23BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-23Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2-29/+110
They no longer require the ghost output params.
2014-02-23Rename SkullEntity to MobHeadEntityHowaner23-256/+254
2014-02-23Add break to Protocol17x.cpp and use new comment delimiterHowaner2-7/+8
2014-02-23Add Heads completelyHowaner14-7/+154
2014-02-23Add Skulls/HeadsHowaner13-5/+354
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper25-81/+417
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper4-10/+17
2014-02-23Fixed Compiling IssuesTheJumper3-10/+31
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper10-35/+248
2014-02-23Added cBlockArea::GetVolume, exported to Lua API.madmaxoft1-27/+30
2014-02-23Maps: Improvementsandrew7-13/+26
2014-02-23Added cBlockArea:GetSize() and :GetOrigin() to Lua API.madmaxoft1-0/+64
These don't have a direct C++ equivalent, but are rather useful for the plugins.
2014-02-23Finally corrected the Enchantment constants.TheJumper18-50/+17
2014-02-23Manually exported DoWithMapandrew4-2/+11
2014-02-23Documented and exported cMapManagerandrew2-3/+6
2014-02-22Changed formatting againTheJumper1-1/+1
2014-02-22Changed formatting, encapsuled armor drop, introduced better static Enchantment IDsTheJumper10-56/+80
2014-02-22Documented and exported cMapandrew3-9/+53
2014-02-22Fixed Looting segment fault - a_Killer can be NULLTheJumper17-19/+83
2014-02-22Semi-working implementation of cMap::UpdatePixelandrew2-11/+95
2014-02-22Mooshroom.cpp: Added right click interactionTheJumper2-1/+38
2014-02-22Monster.h: Added doxy-comments for drop methodsTheJumper1-0/+3
2014-02-22Monster.cpp: Fixed Formatting in AddRandomUncommonDropItemTheJumper1-1/+1
2014-02-22Changed killer detection by using cEntity methodsTheJumper3-3/+3
2014-02-22Added static Enchantment Constants, Replaced cryptic Looting IDTheJumper18-17/+49
2014-02-21Better Jukebox APIHowaner3-16/+52
2014-02-21Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper23-37/+144
2014-02-21Remove users.ini generation in Player.cpp and use the CheckUsers() FunctionHowaner1-6/+1
2014-02-21Remove old Output FinishHowaner1-2/+0
2014-02-21Unicode :-(Howaner1-1/+1
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner5-2/+61
2014-02-21Split cMap::UpdateClientandrew2-73/+114
2014-02-20cClientHandle manages the client-registered plugin channels.madmaxoft2-36/+123
Fixes #706.
2014-02-20Removed problematic utf8.madmaxoft1-2/+2
2014-02-20Bad UTF-8 o.OHowaner1-2/+2
2014-02-20Remove typeinfo import in IncrementalRedstoneSimulatorHowaner1-2/+0
2014-02-20Fix CauldronHowaner1-8/+11
2014-02-20Add Wolf Heal with FoodHowaner1-10/+34
2014-02-20Disabled the leak finder.madmaxoft2-2/+6
2014-02-20Add Pressure Plate SoundHowaner1-0/+9
2014-02-20Add Light weighted pressure platesHowaner3-10/+24
2014-02-20Add Hay Bale to BurnableHowaner1-0/+1
2014-02-20Add 'Meta < 3' to CauldronHowaner1-5/+8
2014-02-20BlockBed.cpp: Fixed space at if statementTheJumper1-1/+1
Added a space after an if statement and before the first bracket to keep up code conventions.
2014-02-20BlockBed.cpp: Fixed Multiple people in one bed.TheJumper1-7/+18
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-20Thread safe cMap managerandrew7-17/+275
2014-02-20Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().madmaxoft2-29/+110
They no longer require the ghost output params.
2014-02-19cMapDecorator: Implemented random rotationsandrew2-13/+18
2014-02-19Add BlockNewLeaves.h and rename Darkoac to DarkoakHowaner5-15/+57
2014-02-19Add new Trees (without Generator)Howaner6-0/+34
2014-02-19Rename SkullEntity to MobHeadEntityHowaner23-256/+254
2014-02-19Documented cMapandrew3-7/+31
2014-02-19Add break to Protocol17x.cpp and use new comment delimiterHowaner2-7/+8
2014-02-18De-breaked stuffTiger Wang1-2/+0
2014-02-18Fixed possible ASSERT failureTiger Wang1-1/+1
2014-02-18Changed BlockFace type to eBlockFaceTiger Wang3-26/+27
2014-02-18Add Heads completelyHowaner14-7/+154
2014-02-18Map decorators; Map clientsandrew12-45/+351
2014-02-18The cuboid for cWorld::SetAreaBiome() doesn't need sorting.madmaxoft2-2/+7
2014-02-18Added cWorld:SetAreaBiome() API function.madmaxoft6-3/+164
Fixes #675.
2014-02-18Added a bit more documentation to cForEachChunkProvider.madmaxoft2-5/+33
2014-02-18Added a braceTiger Wang1-0/+2
==== { } { __ } { | | } ==== REMOVE ALL THE BRACES!!
2014-02-18Properly exported and documented paintingsTiger Wang3-2/+4
2014-02-18Added an explanatory commentTiger Wang1-0/+2
2014-02-18Comments & new BLOCK_FACE constantsTiger Wang1-7/+10
2014-02-18Implemented paintings, fixes #689Tiger Wang15-3/+226
+ Implemented paintings
2014-02-18Used new BLOCK_FACE constantsTiger Wang1-7/+8
Also added more comments
2014-02-18Implemented item frames, a part of #689Tiger Wang7-2/+233
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Added cPluginManager:GetPluginsPath() to the Lua API.madmaxoft2-1/+5
2014-02-17Add Lua plugin path to package.path and .cpath.madmaxoft3-0/+37
Fixes #693.
2014-02-17Add Skulls/HeadsHowaner13-5/+354
2014-02-17Improved formattingtonibm191-2/+2
2014-02-17Map item handler; Fixed several bugsandrew13-29/+195
2014-02-17Fixed a memory leak in CompositeChat.madmaxoft1-0/+3
2014-02-16Links sent via chat messages are clickable.madmaxoft4-9/+34
Fixes #658.
2014-02-16Implemented cCompositeChat::ParseText(), incl. self-test.madmaxoft2-1/+211
2014-02-16Fixed cBoundingBox self-test code-style.madmaxoft1-10/+10
Also made the class name unique and the global variable static, to avoid linkage problems with other self-tests
2014-02-16Now mobs can't escape from fences.tonibm191-2/+2
2014-02-16Fixes to previous commitTiger Wang1-9/+10
2014-02-16Slight cleanup of wolf codeTiger Wang1-23/+7
2014-02-16Fixed minor formatting issues from #682Tiger Wang3-16/+3
- Removed unused PlaySoundEffect * Simplified and parenthesised code
2014-02-16Add Locale to ClientHandleHowaner5-3/+11
2014-02-16Fixed a glaring bug with chunk cross-simulatingTiger Wang1-9/+17
* A chunk's redstone blocks list is no longer touched if AddBlock was being called with another chunk's coordinates * Fixed chunk boundary checks
2014-02-16Replace random Float Generation and broadcast the Exp Pickup SoundHowaner2-9/+4
2014-02-16Add Exp Bottle EffectsHowaner4-1/+23
2014-02-16Set max. Players in the Tablist to 60Howaner1-1/+1
2014-02-16Disable Hunger DeathHowaner1-1/+7
2014-02-15Removed the unnecessary LoopPlayersAndBroadcastChat() functions.madmaxoft4-23/+19
2014-02-15Implemented cCompositeChat.madmaxoft18-21/+671
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-15Added a 'default:' for SimChunk()'s switchTiger Wang1-0/+1
2014-02-15A fix and an improvementTiger Wang2-23/+43
* Fixed a special case with the wrong ChunkX/Z values being used to calculate a relative position * Simplified data structure adding and removing operations (no more pointers!) - Removed one character of whitespace :D
2014-02-15If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/NotchSTRWarrior1-0/+6
2014-02-15cMap::UpdateRadiusandrew4-16/+121
2014-02-15Fixed TNT fizzing everywhereTiger Wang2-2/+2
2014-02-15Sizeable speed improvements to redstoneTiger Wang3-83/+127
+ 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-15Add more Sounds to Redstone SimulatorHowaner1-1/+23
2014-02-15Add Fence Gate to Redstone SimulatorHowaner2-0/+31
2014-02-15Fixed typographical errorTiger Wang1-2/+1
2014-02-15Removed debug messages againTiger Wang1-6/+0
2014-02-15Exported cWorld::BroadcastParticleEffect.STRWarrior1-1/+1
2014-02-14EmptyMap item handlerandrew3-4/+52
2014-02-14Send map when selectedandrew7-27/+114
2014-02-13Added proper debug messagesTiger Wang1-3/+8
2014-02-13Fancy stuff with constant referencesTiger Wang1-2/+2
2014-02-13IDCount Serializationandrew7-3/+191
2014-02-13Implementation of in-game mapsandrew13-0/+596
2014-02-12Added more missing GetClassStatic()sTiger Wang2-0/+4
2014-02-12Removed some unneeded BroadcastWholeWindow()sTiger Wang4-23/+2
2014-02-12Changed inheritance a bitTiger Wang8-33/+54
* cBlockEntityWithItems now inherits from cBlockEntityWindowOwner
2014-02-12Made player jump reset less ambiguousTiger Wang1-1/+2
2014-02-12Simplified Attack() tracingTiger Wang1-1/+6
2014-02-12Fixed #573STRWarrior1-4/+4
2014-02-12Improved pressure platesTiger Wang2-1/+5
+ Two (or more) pressure plates can be triggered at the same time * Fixed issues caused by pressure plates not being in the sources list
2014-02-11Fixed #190Tiger Wang1-2/+67
+ Hoppers now collect pickups above them
2014-02-11Fixed #627Tiger Wang5-21/+12
- Attack() is now called from cAggressive instead of cMonster * Monsters can no longer attack through walls * Should fix last remnants of player damage after teleporting (that both STR and bearbin contributed fixes to :P)
2014-02-11Fixed #612Tiger Wang2-0/+16
* Chests send contents updates to client
2014-02-11Fixed formatting. Moved UnloadUnusedChunks from public to private.narroo2-4/+10
2014-02-11cWorld:ChunkStay() accepts nils as callbacks.madmaxoft1-5/+3
Also removed leftover debug logging.
2014-02-11Added cLuaState::CheckParamFunctionOrNil().madmaxoft2-2/+37
Also fixed error reporting for the two function-checking functions.
2014-02-11Fixed formatting of previous commit.narroo2-2/+7
2014-02-11More gcc warnings fixed.madmaxoft2-4/+5
2014-02-11Made cChunkStay's destructor virtual.madmaxoft1-1/+1
2014-02-11Fixed gcc warnings in Item.h.madmaxoft1-21/+21
2014-02-11Fixed nested plugin function calls.madmaxoft1-6/+9
2014-02-11Fixed bug #385. UnloadUnusedChunks now has the same interface asnarroo2-1/+25
SaveAllChunks. Meaning, QueueUnloadUnusedChunks and the supporting cTaskUnloadUnusedChunks has been added. Use QueueUnloadUnusedChunks from now on to prevent deadlocking.
2014-02-10Added LuaChunkStay to Bindings sources.madmaxoft1-36/+47
This should fix *nix compilation. Also alpha-sorted the lists.
2014-02-10Rewritten Lua ChunkStay API into a single function, cWorld:ChunkStay().madmaxoft9-87/+213
This fixes problems with indeterminate class object lifespan (Lua-GC) and forgetting to disable it or keep it until ready.
2014-02-10cLuaState: Stack traces don't include ghost 0-th element.madmaxoft1-1/+1
2014-02-10Added cPluginLua::cOperation.madmaxoft1-1/+27
This class should be used to lock-and-access the plugin's LuaState. cPluginLua::GetLuaState() is unsafe and by this commit obsolete.
2014-02-10Added additional parenthasiesworktycho1-2/+1
2014-02-10Fixed stupid mistax in conditionalworktycho1-2/+1
boats can't be placed if the face is not block_face_none and not block_face_YM, not if it is only not one.
2014-02-10Maybe fixed boat placingtonibm191-1/+1
2014-02-09First working version of cLuaChunkStay.madmaxoft4-17/+92
It works, but has random failures, probably due to threading issues.
2014-02-09Initial Lua cChunkStay export.madmaxoft4-1/+123
2014-02-09cLuaState::cRef can be unbound and re-bound.madmaxoft2-9/+60
This will allow us to store Lua references as member variables in classes and initialize those later than in the constructor.
2014-02-09Added AllToLua.pkg to MSVC project files.madmaxoft1-0/+2
MSVC ignores the file when compiling and it makes it easier to open it up for editing.
2014-02-09Fixed compile and some warnings in MSVSTiger Wang7-17/+6
2014-02-09"reload" is back.STRWarrior1-0/+7
2014-02-09Split "reload" in "reloadplugins" and "reloadgroups".STRWarrior1-2/+5
2014-02-09Fixed a boat ASSERTTiger Wang1-2/+8
2014-02-09The console reload command also reloads the groups.STRWarrior1-0/+1
2014-02-08Moved a forgotten comment back to its place.madmaxoft1-2/+2
2014-02-08Fixed lighting thread queueing.madmaxoft1-2/+4
2014-02-08Fixed ChunkStay initialization.madmaxoft1-1/+1
2014-02-08Fixed gcc compilation.madmaxoft1-1/+1
2014-02-08Initial ChunkStay code.madmaxoft11-406/+560
2014-02-08Fixed cWorld:TryGetHeight() API.madmaxoft1-1/+5
2014-02-08Fixed comment.STRWarrior1-1/+1
2014-02-07Renamed cRedstoneManager to cRedstoneSimulator and renamed cRedstoneSimulator to cIncrementalRedstoneSimulator (Might change later).STRWarrior10-1826/+1822
2014-02-07Fixed some end of linesSTRWarrior2-2/+2
2014-02-07Implemented an easy way of adding new redstone simulators.STRWarrior6-9/+122
Also added a "noop" redstone simulator that does the same as the fluid version.
2014-02-07Moved Gamemode setting into General root tagTiger Wang1-1/+1
2014-02-07Added sender name to PM if prefixes disabledTiger Wang2-2/+2
* Also moved the PVP setting into Mechanics
2014-02-07Improved chat messaging functionsTiger Wang9-111/+155
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
2014-02-07WebAdmin is stopped properly on server shutdown / restart.madmaxoft3-36/+55
Fixes #272.
2014-02-07Fixed wiki link in auto-generated settings.ini.madmaxoft1-1/+2
2014-02-06Server internally uses new functionsTiger Wang4-17/+13
2014-02-06Added more chat functionsTiger Wang4-27/+46
2014-02-05Change Output to stderrworktycho1-4/+3
2014-02-05Removed deprecated HasCommand functionSTRWarrior4-36/+1
2014-02-05Modified automatic test for boundingBoxTycho1-7/+26
2014-02-05Simplified shutdownTycho1-4/+0
2014-02-05Added support to start up MCServer and then immediatly sut it down in travisTycho1-0/+4
2014-02-05Fixed most of the reordering warningsTycho12-33/+33
2014-02-05Forgot extra lines.STRWarrior1-0/+4
2014-02-05Improvements:STRWarrior6-22/+69
Adds a function in cRoot that allows you to reload all the groups permissions. Note: Players don't automatically load their new permissions. You can use cPlayer::LoadPermissionsFromDisk for that.
2014-02-05Improved the signedness conversion.madmaxoft1-2/+2
2014-02-05Reduced max explosions per tickTiger Wang1-1/+1
2014-02-05Fixed explosions bugTiger Wang3-32/+13
* Fixed bug where explosions would sometimes never be sent
2014-02-05Fixed annoying creative on fire bugTiger Wang2-0/+20
2014-02-05Added cPluginManager:LogStackTrace() to the Lua API.madmaxoft1-0/+11
Fixes #637.
2014-02-05Fixed a bunch of MSVS warningsTiger Wang6-7/+8
* Possibly also fixed some bugs with pathfinding and TNT, though unlikely
2014-02-04Added more SendMessageXXX() functionsTiger Wang3-47/+62
2014-02-04Crypto: Removed unused member, fixed gcc warning.madmaxoft2-6/+4
2014-02-04Added dtExplosion to damage<->string functions.madmaxoft1-1/+2
2014-02-04Protocol 1.7: Fixed a signed / unsigned comparison warning.madmaxoft1-2/+2
2014-02-04Fixed a gcc warning in ManualBindings.madmaxoft1-2/+2
Constructor member order...
2014-02-04Removed a useless check in cLuaState.madmaxoft1-3/+1
2014-02-04Fixed a warning in cItem in gcc.madmaxoft1-1/+1
Constructor member order...
2014-02-04Protocol 1.7 uses char for blockface.madmaxoft1-2/+2
That should fix #644 on RasPi.
2014-02-04Fix gcc not having operator ++ on enumsTycho1-6/+7
2014-02-04Improved Type safety of eBlockFaceTycho76-174/+194
May Fix #640
2014-02-04Fixed chest placement.madmaxoft1-2/+4
Fixes #624.
2014-02-04Blank lines and indentation.tonibm191-0/+4
Also removed GetClosestPlayer documentation
2014-02-04Fixed calling plugins with userdata params.madmaxoft1-0/+1
2014-02-04Removed a leftover debug message.madmaxoft1-1/+0
2014-02-04Fixed error handling in cPluginManager:CallPlugin() API.madmaxoft1-2/+5
Fixed: When the called function malfunctioned, the entire plugin's call was aborted.
2014-02-04Improved error resistance in cPluginManager:CallPlugin().madmaxoft1-0/+8
Fixed: If the call failed, all the next plugin calls would fail as well.
2014-02-03Greatly improved TNT propulsion chancesTiger Wang1-1/+1
2014-02-03Pickup constructor no longer exportedTiger Wang3-4/+8
It didn't do anything without Initialize() exported, anyway, pickups are spawned with cWorld.
2014-02-03Added SendMessageXXX() to cPlayerTiger Wang2-1/+72
As requested by @bearbin, one no longer needs to download a file that links to Core. The server does it! Hopefully this encourages standards compliance.
2014-02-03Partial fix for #130Tiger Wang1-0/+1
2014-02-03Fixed #491Tiger Wang1-2/+14
2014-02-03Fixed a crash bugTiger Wang2-11/+5
2014-02-03Named the different quartz block.STRWarrior2-1/+6
2014-02-03Fixed #626Tiger Wang3-13/+38
* Fixed consumption of carrots and potatoes
2014-02-03Fixed issues with farmlandTiger Wang2-1/+3
* Fixed farmland reversion checks not taking into account carrots and potatoes * Fixed #623
2014-02-03Server now handles join messages alsoTiger Wang2-10/+18
* Revised as well hook documentation
2014-02-03Fogot to save BiogenTycho1-4/+4
2014-02-03Fixed Compile errorsTycho3-6/+6
c++11 introduces scoped enums, so the code didn't fail in clang
2014-02-03Removed unused lookupsTycho1-2/+0
2014-02-03Increased Type safety of BiomesTycho8-16/+31
Changed a number of funcictions from using integers to store biomes to using EMCSBiome Note that switching from an int to an Enum is a non-breaking chang to the lua bindings
2014-02-03Not exporting FindClosestPlayertonibm191-1/+1
2014-02-03Fixed compilationtonibm191-1/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm196-3/+13
2014-02-03Fixed some issues.STRWarrior1-1/+2
Meta wasn't set if the block wasn't a pillar. Fixed typo.
2014-02-03Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks.STRWarrior2-4/+4
2014-02-03This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars.STRWarrior3-5/+74
2014-02-03Fixed socket leaking.madmaxoft1-0/+5
2014-02-03Inversed conditionTiger Wang1-25/+28
2014-02-03SocketThreads: Fixed sending to closed socket.madmaxoft1-1/+6
2014-02-03Groups.ini can contain spaces around commas in values.madmaxoft1-21/+25
This includes Permissions, Inherits and Commands. Also fixed an unlikely but possible crash with group colors.
2014-02-02Fixed multiple invalid permission nodesTiger Wang1-2/+2
New players can build as default now
2014-02-02Fixed #624Tiger Wang2-0/+7
2014-02-02Added IsBlockWaterOrIce()Tiger Wang2-10/+12
2014-02-02Uncommented pickup spawner codeTiger Wang1-3/+7
2014-02-02Revert "Added LOGREPLACELINE for line replacement"Tiger Wang5-94/+16
This reverts commit 7d03876a3e11aedff0201a8330bfdb2b5523fc5e.
2014-02-02Revert "Improved code"Tiger Wang4-19/+13
This reverts commit d8aa0b0ec7a2ebea2fc157c623ae8cd7d0b6ba1c.
2014-02-02Revert "Added a comment"Tiger Wang1-1/+1
This reverts commit 7ae5631d89426df6f05b6c8ba656ba02b9d15f93.
2014-02-02Revert "Properly initialised variables"Tiger Wang4-13/+10
This reverts commit 02e752789399ad1b65a0443534ea6a8721efd78c.
2014-02-02Revert "Fixed issues with insufficient console space"Tiger Wang3-114/+29
This reverts commit 6b18add09b5e9d6d6c2a61e90bdd7011f56f4c82.
2014-02-02Revert "A newline issue is resolved"Tiger Wang2-1/+3
This reverts commit 397208145ebe5c95ebf32f2985f6800634932230.
2014-02-02Revert "Fixed Linux compile"Tiger Wang1-2/+1
This reverts commit 5becfe850a2b4827a21e8ede989545334efbbead.
2014-02-02Revert "Another Linux fix"Tiger Wang1-6/+0
This reverts commit 6f660b379ecbc091b9bd92093e0dad01a4f6bf38.
2014-02-02Revert "Again improved LogReplaceLine"Tiger Wang2-80/+77
This reverts commit dd325d742db9db54a25460fcacd093e7cc6f44f0.
2014-02-02TNT improvementsTiger Wang2-37/+116
+ Added entity damage + Added entity propulsion * Fixed #67 and fixed #230
2014-02-02Possibly fixed #618Tiger Wang1-2/+2
2014-02-02Fixed dark oak and acacia placement.madmaxoft1-0/+1
Fixes #621.
2014-02-02Added missing filesTycho3-0/+39
2014-02-02Changed Signiture of OnUpdateTycho20-37/+65
2014-02-02Creative players take Plugin damageTiger Wang2-3/+4
2014-02-02Fixed #620Tiger Wang1-1/+2
2014-02-02Added saving of angry flag.Kirill Kirilenko2-0/+7
2014-02-02Fixed sitting tag.Kirill Kirilenko2-5/+5
2014-02-01Again improved LogReplaceLineTiger Wang2-77/+80
* Fixed issues on Linux with cursor positioning * Made preprocessor blocks more readable * Improved reliability of line clearing on Windows - Removed an *unneeded* variable
2014-02-01Added checks for ice into IsBlockWater()Tiger Wang2-3/+10
* This fixes players spawning in vast oceans of ice, as opposed to the previous water
2014-02-01Split cCoord template into one and two data typesTiger Wang2-12/+34
2014-02-01Monster's nominal speed was increased.Kirill Kirilenko1-1/+1
2014-02-01Changed Signiture of OnDiggingTycho4-7/+7
2014-02-01Fixed teleport to air, if owner is flying.Kirill Kirilenko1-0/+1
2014-02-01Added saving of collar's color.Kirill Kirilenko2-4/+11
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho12-16/+27
2014-02-01Removed register keyword from Messinne TwisterTycho1-26/+26
Removed register as it is meaningless in c++ and causes a depreciated warning in clang 3.4 in c++ mode for va_copy
2014-02-01Changed pointers to referencesTycho60-249/+247
2014-02-01Removed "player destroying" hookdaniel09166-48/+1
2014-02-01Another Linux fixTiger Wang1-0/+6
2014-02-01Fixed Linux compileTiger Wang1-1/+2
2014-02-01A newline issue is resolvedTiger Wang2-3/+1
2014-02-01Changed signitures of Several BLockHandler MethodsTycho55-196/+209
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-02-01Fixed issues with insufficient console spaceTiger Wang3-29/+114
2014-01-31Properly initialised variablesTiger Wang4-10/+13
2014-01-31Added reading saved state of the wolf (sitting or standing).Kirill Kirilenko1-0/+6
2014-01-31Inversed condition.STRWarrior1-1/+1
2014-01-31Wolf: If Owner tag is missing a normal ownerless wolf will spawn.STRWarrior1-9/+6
2014-01-31Fixed cLineBlockTracer:Trace() signature.madmaxoft1-13/+27
2014-01-31Added cPluginManager:BindCommand() form to the API.madmaxoft1-1/+4
That's the canonical way to call static functions.
2014-01-31Added cChunkDest::UpdateHeightmap()madmaxoft2-17/+48
This function is necessary for plugins manipulating the generated chunks, they need to update the heightmap before it is passed back to the generator.
2014-01-31Added a commentTiger Wang1-1/+1
2014-01-31Improved codeTiger Wang4-13/+19
* Fixed some issues * Fixed standard violation
2014-01-30Fixed bad variable.STRWarrior1-1/+1
2014-01-30Check if the tag is found.STRWarrior1-0/+5
2014-01-30Fixes #606STRWarrior2-2/+9
2014-01-30Attempt at implementing #563tonibm191-2/+1
Not tested (I don't have RasPi)
2014-01-29Lua: Fixed an error in table-functions callbacks.madmaxoft1-1/+5
2014-01-29Added LOGREPLACELINE for line replacementTiger Wang5-16/+94
2014-01-29Fixed redstone simulator crash found in #570Tiger Wang3-18/+25
2014-01-29Did what xoft saidtonibm194-5/+3
2014-01-29Rewritten code.tonibm1912-152/+25
Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
2014-01-29Fixed sheeptonibm191-18/+17
2014-01-29Fixed a copypasta error...tonibm194-1/+5
2014-01-29Now mobs follow you when holding their breed itemtonibm1910-5/+153
2014-01-29Limited sign lines to 15 chars.madmaxoft1-4/+5
Fixes #598.
2014-01-29Plugin files are loaded in alphabetical order.madmaxoft1-17/+35
Except for the Info.lua file which gets loaded always last. Implements #597.
2014-01-29Removed debug message when a firework entity hit a solid block.STRWarrior1-2/+0
2014-01-29Bottle o' Enchanting spawns an experience orb.STRWarrior1-1/+2
2014-01-29Added 1.7.4 to the list of supported protocols.madmaxoft1-1/+1
2014-01-29Protocol 1.7: Encryption is enabled only with auth.madmaxoft1-1/+1
2014-01-28Protocol 1.7: Forced encryption on all connections.madmaxoft4-15/+120
This is for testing purposes only, to find bugs in the encryption. Once the encryption is deemed stable, it will be enabled only for servers with enabled Authentication.
2014-01-28Crypto: Added public key encryption / decryption.madmaxoft2-0/+106
2014-01-28Fixed an error in Crypto.madmaxoft1-2/+2
2014-01-28Fixed timing on *nix.madmaxoft2-2/+2
2014-01-28Renamed Farmer functions and added doxycommentsSTRWarrior2-17/+20
2014-01-28Villager: NoCountDown and Action function don't check VillagersShouldHarvestCrops anymore because it shoudn't even be activated anywhere.STRWarrior1-10/+0
2014-01-28Fixed a slight bug in RSA encryption code.madmaxoft1-2/+1
2014-01-27Villager doesn't check the environment for crops if it doesn't need to.STRWarrior1-0/+5
2014-01-27The world can now be configured wether farmers should be able to harvest crops.STRWarrior3-0/+14
2014-01-27Villager: Few more comments.STRWarrior2-4/+9
2014-01-27Squashed common code.madmaxoft1-14/+7
2014-01-27CleanupSTRWarrior2-31/+65
Most code in Tick is now split up in different functions.
2014-01-27Fixed Linux compilation.madmaxoft1-1/+2
2014-01-27Rewritten networking to use non-blocking sockets.madmaxoft4-62/+176
This fixes #592.
2014-01-27Villagers: Harvesting is more rare.STRWarrior1-1/+1
2014-01-27Villager: Farmers can't place crops on blocks other then farmland.STRWarrior1-1/+7
2014-01-27SIGABRT exits with failure.Tiger Wang1-0/+1
2014-01-27Fixed compiler error.STRWarrior1-1/+1
2014-01-27Villager: Farmer: Crops finding is more random.STRWarrior1-18/+19
2014-01-27Added GetCropsPos and DidFindCrops functions.STRWarrior1-0/+6
2014-01-27Villagers: Farmers now replant the crops.STRWarrior2-1/+17
2014-01-27Villagers: Fixed only gettings the crops block when farming.STRWarrior1-2/+2
2014-01-27Villagers don't look for new crops when they already found one.STRWarrior1-11/+9
Slight cleanup.
2014-01-27E_BLOCK_POTATOES isn't an solid block. Villagers were floating above them.STRWarrior1-0/+1
2014-01-27Villagers: Farmers can also harvest carrots and potatoes.STRWarrior2-9/+38
2014-01-27Makes farmers farm crops.STRWarrior2-1/+76
2014-01-26Fixed client packet parsing.madmaxoft2-15/+56
When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541. Also modified comm logging, now each direction can be turned on separately.
2014-01-26cByteBuffer has more self-tests.madmaxoft1-6/+29
2014-01-26Item-loading now checks for weird bytes.madmaxoft1-3/+9
2014-01-26Fixed Byte-order reading.madmaxoft1-2/+4
The functions would fail on bytes that were above 127.
2014-01-26Added SIGABRT to catchers listTiger Wang1-1/+6
2014-01-26Removed cWorld IncludeTycho3-3/+0
2014-01-26Refactored GetPlacementBlockTypeMetaTycho7-11/+12
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho21-263/+310
2014-01-26Fixed bug where wolfs would teleport while they were sitting.STRWarrior1-1/+4
2014-01-26Small fix since the new AI and a new small feature.STRWarrior1-6/+27
You get particles when trying to tame wolfs. They don't walk anymore when they are sitting.
2014-01-26Fixed segmentation fault on villager damageTiger Wang1-1/+1
It occurred when attack was environmental.
2014-01-26Reduced unnecessary echoes (thanks xoft)Tiger Wang1-5/+3
2014-01-26Added support for overide in c++11 supporting varients of gcc/clangTycho1-2/+4
2014-01-25Did what xoft recommendedTiger Wang2-2/+6
2014-01-25Rail speed tweakTiger Wang1-2/+2
2014-01-25Implemented sheeps eating grass.STRWarrior2-1/+41
2014-01-25Improved AllToLua UI experienceTiger Wang1-2/+8
2014-01-25First attempt at Implementing InterfacesTycho19-38/+80
2014-01-25Two minor changesTiger Wang2-6/+4
2014-01-25Implemented fall damage for mobsTiger Wang5-11/+41
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
2014-01-25Attack() is no longer always calledTiger Wang1-1/+1
2014-01-25dded dependecy on Blocks to GeneratorTycho1-1/+1
2014-01-25Added RSA encryption to crypto wrappers.madmaxoft2-0/+39
2014-01-25Stupid Mistake fixedTycho1-2/+2
2014-01-25Implemented pickup combiningTiger Wang1-0/+55
* Fixes FS393 * Part of #131
2014-01-25Mob bugfixesTiger Wang6-26/+54
* Mobs no longer require constant line-of-sight to a player to remain aggravated * Fixed an ASSERT * Fixed mobs jumping * Fixed Idle state not properly using AI + Added FILE_IO_PREFIX to favicon loading + Implemented #563
2014-01-25Comm logging is available in both Debug and Release modes.madmaxoft3-16/+16
2014-01-25Added cFile::Flush().madmaxoft2-20/+34
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
2014-01-25Fixed exportsTycho3-7/+1
2014-01-25Protocol17: Comm logging shows the data left over from previous parse.madmaxoft1-2/+15
2014-01-25Switched cEvent to GetOSErrorStringTycho3-18/+14
2014-01-25Extracted cSocket::GetErrorString into GetOSErrorStringTycho6-59/+62
2014-01-25Added dependecy output to Bindings/BindingsDependencies.txtTycho1-0/+7
2014-01-25Reformatted Bindings DependeciesTycho1-28/+58
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09166-0/+94
Hooks: HOOK_PLAYER_DESTROYING HOOK_PLAYER_DESTROYED Idea from: https://github.com/mc-server/MCServer/issues/473
2014-01-25All mobs now drown (fixes #54)Tiger Wang6-127/+137
* Implemented mob drowning * Iron Golems and squids are excluded
2014-01-25Fixed a generator bugTiger Wang2-1/+9
2014-01-25Zombies and skeletons use AITiger Wang2-9/+15
2014-01-24Fixed *nix compilation for previous commit.madmaxoft1-2/+2
2014-01-24Added per-connection comm logging in debug mode.madmaxoft3-1/+93
It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter.
2014-01-24Miscellaneous improvementsTiger Wang3-28/+17
2014-01-24Changed a condition to IsGameModeTiger Wang1-2/+1
2014-01-24Fixed a possible deadlock on client disconnect.madmaxoft1-9/+0
2014-01-24Fixed a failure in cSquid.madmaxoft1-1/+2
Probably due to rounding errors the squid was querying out-of-chunk coords.
2014-01-24Made wolves compatible with new AI codeTiger Wang2-11/+26
2014-01-24Monsters no longer check for direct line of sightTiger Wang1-10/+2
2014-01-24Large reworking of mob code [SEE DESC]Tiger Wang7-242/+334
+ Implemented better pathfinding - Removed lots of unused variables, functions, etc. * Changed some variable types * Other miscellaneous fixes, and also completes the previous PRs
2014-01-24Fixed mobs too close to player not tickingTiger Wang1-2/+2
A condition would never be fulfilled. A number squared was compared to -1, but there is nothing that, multiplied by itself, gives -1.
2014-01-24Implemented creeper abilitiesTiger Wang2-2/+50
* Creepers now explode with a sound effect * Creepers drop a music disc on the unlikely event of being killed by a skeleton's arrow Inspired by @maniak89's PR #132.
2014-01-24Removed unused ReferenceManagerTiger Wang4-122/+1
2014-01-24Added more minecart powered rail directionsTiger Wang3-80/+63
2014-01-24Fixed Win nightbuilds not producing PDBs.madmaxoft1-0/+7
2014-01-24Fixed a few compile-time and runtime warnings in ScoreboardSerializer.madmaxoft1-8/+4
2014-01-24Fixed crash with failed entity-loading.madmaxoft2-3/+9
This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308
2014-01-24Fixed flint&steel failure on the Y world edges.madmaxoft1-0/+4
2014-01-24Fixed indentation once and for all.Mike Hunsinger2-46/+46
2014-01-24Fixed indentation and doxygen comments... For real this time.Mike Hunsinger2-15/+15
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger3-18/+16
2014-01-23Fixed a warning in ScoreboardSerializer.madmaxoft1-2/+2
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft13-157/+630
2014-01-23Make clean now effects BindingsTycho1-0/+2
2014-01-23Fixed 1.5.x scoreboard packet IDsandrew1-3/+3
2014-01-23Removed Bindings folder subcmake on *nixTycho1-1/+2
2014-01-23BugfixesTycho2-12/+9
2014-01-23added dependecies for bindings regenTycho2-14/+46
2014-01-23Switched cEvent to use strerror_r for error messagesTycho1-6/+18
2014-01-23Fixed a bug in LeakFinder.madmaxoft1-3/+8
2014-01-23Fixed crash while calling disabled plugins.madmaxoft1-1/+1
2014-01-23Fixed scoreboard.dat structureandrew1-5/+6
2014-01-23Fixed scoreboard serializationandrew1-35/+26
2014-01-23Improved code safety for the Compact world storage.Mattes D1-104/+72
That was a huge chunk of smelly code.
2014-01-23Minor style improvements for the merged PR.Mattes D1-4/+4
2014-01-23Command block fixes 2andrew6-40/+104
2014-01-23Removed extra lineMike Hunsinger1-2/+0
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger4-57/+101
2014-01-22Replacing CryptoPP with PolarSSL.madmaxoft1-1/+1
This is only the CMake modification to build with PolarSSL, the actual MCS code doesn't compile at all yet.
2014-01-22Authenticator: Reduced logging levels.madmaxoft1-4/+4
2014-01-22Fixed spelling errorTycho4-3/+3
2014-01-22Added manual bindings for moved functionsTycho3-2/+71
2014-01-22formatting changesTycho2-6/+26
2014-01-22Fixed compilation on VC2008tonibm191-0/+1
2014-01-22cWorld now saves/loads the scoreboardandrew4-15/+44
2014-01-21Implemented cPluginManager:CallPlugin() API.madmaxoft7-214/+471
This function supersedes cPlugin:Call(), is safer to use in regards to multithreading and once again removes the need for the cPlugin class being exported at all.
2014-01-21Scoreboard SendTo()andrew4-6/+74
2014-01-21Scoreboard protocol supportandrew17-23/+321
2014-01-20Fix a crash but somewhere...Alexander Harkness1-2/+1
2014-01-20Actually implemented interfacesTycho4-21/+33
2014-01-20Moved Schematic file methods to seperate classTycho4-175/+177
2014-01-20Seperated BlockArea From WorldTycho4-14/+20
If anyone can come up with a better name for the interface I'll change it, It contians to methods which do compleatly unrelated things
2014-01-20Scoreboard serializationandrew3-14/+92
2014-01-20Scoreboard deserializationandrew7-48/+599
2014-01-19Changed the cWorld::ScheduleTask() signature.madmaxoft3-151/+181
Now it takes the delay in ticks as an argument, and a cTask descendant as the task to run. Lua API has been updated similarly.
2014-01-19cLuaState can now check function params.madmaxoft2-0/+37
2014-01-19Added Inifile and OSSupport LinkingTycho1-0/+2
2014-01-19Removed unneeded paramtersTiger Wang9-15/+23
2014-01-19Begin implementing ascending railsTiger Wang2-2/+45
2014-01-19Added one more direction into collision checksTiger Wang1-26/+51
* Added direction XM_XP * Improved performance, thanks STR and xoft
2014-01-19Rewritten SocketThreads for proper shutdown scenario.madmaxoft8-178/+189
This fixes #560 and #390.
2014-01-19Minecart improvements and fixesTiger Wang1-33/+43
* Fixed curved rails * Fixed detector rails in certain situations * Fixed powered rails and others passing bad meta to SnapToRail()
2014-01-19Fixed weird meta with curved railsTiger Wang1-5/+15
2014-01-19Switched EnchantmentSerilizer to namespaceTycho7-17/+23
2014-01-19Spilt Writing of Enchantments to seperate classTycho8-90/+116
Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier
2014-01-19SocketThreads: Removed unused code.madmaxoft2-53/+3
2014-01-19Added more rail functionalityTiger Wang3-18/+22
2014-01-19Scoreboard improvementsandrew3-116/+79
2014-01-19Changed SendBlockEntity format slightlyTiger Wang9-42/+55
* Writing NBT is now in Protocol, not BlockEntity files * Fixed a last output bug
2014-01-19Basic scoreboard implementationandrew5-1/+576
2014-01-19Implemented MC|Brand responseTiger Wang1-3/+9
2014-01-19Improved command blocksTiger Wang11-5/+124
* Their command and previous output are displayed on the client * They have a BlockHandler implementation, so you can't place blocks on them anymore + As a side effect, implemented UpdateBlockEntity
2014-01-19Exported cFloater to the Lua API.STRWarrior2-3/+8
2014-01-18Fixed compiler error.STRWarrior1-3/+3
2014-01-18Minecart collision and general improvementsTiger Wang2-70/+242
+ Implemented collision on one type of rail * Improved curved rails somewhat * Fixed a crash bug
2014-01-18Command block fixesandrew3-43/+17
2014-01-18HTTP connections aren't kept alive unless explicitly enabled.madmaxoft4-37/+58
Only the client can decide that the connection can be kept alive, we must close the socket if the client doesn't indicate keepalive support. This will provide a fix for #390 when #560 is fixed; until then the issue remains, just it's no longer HTTPServer's fault.
2014-01-18Fixed iterators bugTycho1-2/+1
2014-01-18Removed the particles when a mob spawns.STRWarrior1-3/+0
2014-01-18Parse the MC|AdvCdm plugin messageandrew4-1/+70
2014-01-18Alpha-sorted the finishers.madmaxoft1-4/+4
2014-01-18Command blocks: Execute()andrew5-18/+42
2014-01-18switched to using m_WorldAge rather than m_TickIDTycho2-9/+3
2014-01-18Command block (de)serializationandrew6-21/+122
2014-01-18Fixed errors.STRWarrior2-2/+2
2014-01-18Basic command block implementationandrew11-33/+395
2014-01-18Renamed cFinishGenNetherSprinkleFoliage to cFinishGenNetherClumpFoliage. Fixed typo'sSTRWarrior3-10/+10
2014-01-18Some tweaks.STRWarrior1-5/+18
Everything generates more often. Fire can only spawn on ForeverBurning blocks.
2014-01-18Fixed bug where only brown mushrooms would spawn.STRWarrior1-3/+3
2014-01-18It now actualy works.STRWarrior1-20/+42
2014-01-17First attempt at creating a clumb version NetherFinisher.STRWarrior2-22/+63
2014-01-17Added user setting compression factorTycho10-22/+33
2014-01-17Increased tick count to longTycho2-3/+3
2014-01-17Changed std to c++11 in clang to fix va_copy issuesTycho1-4/+0
2014-01-17Implemented xsofts suggestion for a saturating counter in the schedulerTycho2-5/+8
2014-01-17Fixed SIGABRT_COMPAT on other architectures.madmaxoft1-0/+2
2014-01-17Removed internal cEntity::GetRot() usage.madmaxoft23-43/+43
2014-01-17Protocol 1.7: More output on unknown packets / protocol states.madmaxoft1-4/+21
2014-01-16Fixed block break packet numberTiger Wang1-1/+1
2014-01-16Changed newline character because of issuesTiger Wang2-4/+13
2014-01-16Removed CustomCopy()Tiger Wang2-24/+1
2014-01-16Really did what xoft wantedTiger Wang1-5/+8
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Fixed SIGPIPE on cSocket::Send().madmaxoft3-12/+13
2014-01-16Fixed #535Tiger Wang1-1/+1
2014-01-16Protocol 1.7: Unknown packets are dumped to log in Debug mode.madmaxoft1-1/+14
2014-01-16Disabled excessive entity-related logging in Debug mode.madmaxoft2-3/+26
2014-01-16Fixed whitespace in previous commit.madmaxoft1-1/+1
2014-01-16Removed obsoleted functionsTiger Wang34-74/+67
2014-01-16Finished exporting cWorld:ScheduleTask() to Lua API.madmaxoft1-1/+15
2014-01-16Possibly did what xoft wantedTiger Wang3-10/+25
2014-01-16CMake: Fixed output paths for all MSVC versions.madmaxoft1-7/+9
2014-01-16Changed GetContent function.STRWarrior1-1/+1
2014-01-16Added packet diagnostics to 1.7 protocol.madmaxoft2-30/+40
When the packet is mis-interpreted, a log message is output about the packet type and lengths.
2014-01-16Yet another attempt at VarArgs.madmaxoft1-10/+15
2014-01-16Another VarArgs fix.madmaxoft6-39/+37
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
2014-01-15OBSOLETE'd obsolete functionsTiger Wang1-2/+2
2014-01-15Implemented custom names and loreTiger Wang4-35/+107
+ Added custom names and lore + Added saving and loading + Added writing and parsing of NBT
2014-01-15Implemented Ctrl-Q drop stackTiger Wang3-3/+20
Also fixed an issue with TossItems not respecting count.
2014-01-15Using a 2nd argument instead of va_copy().madmaxoft6-30/+42
This seems to be the only reasonable C++03-only solution.
2014-01-15Fixed varargs modification.madmaxoft1-1/+5
Ref.: #541.
2014-01-15Furnace minecarts now stop being active after a while.STRWarrior2-2/+19
2014-01-15First implementation for furnace minecarts.STRWarrior2-1/+23
2014-01-14added cWorld::ScheduleTask FunctionTycho3-4/+121
ScheduleTask schedules a SceduledTask object to be run x ticks in the future. In is exported to lua, fixes #150
2014-01-14Yes newline at end of file :DTiger Wang1-1/+5
2014-01-14CMake: Added postfix for profiled exemadmaxoft1-0/+4
2014-01-13Final improvements to MinecartsTiger Wang3-93/+292
* Fixed curved rails being a little broken + Implemented detector rails + Implemented block collisions on rails * Fixed snapping to rail - Removed minecart physics conditions in Entity.cpp as minecarts use their own simulator when on rails Fixes #148 and #217; partially implemented #215. This is Cave Johnson, and we're done here.
2014-01-13Removed shutdown() from socket closing.madmaxoft1-4/+0
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite. Fixes #537.
2014-01-13Added handshake processing to protocol 1.7.madmaxoft2-2/+29
This fixes #495
2014-01-13Generating the bindings outputs a message at the end.madmaxoft1-0/+8
2014-01-13cCreeper is no longer available in API.madmaxoft3-14/+1
Has been replaced by cMonster.
2014-01-13CMake: Removed leftover debugging output.madmaxoft1-1/+0
2014-01-13CMake: Added resources to windows projects.madmaxoft1-1/+14
2014-01-13Added a generic .user file for MSVC.madmaxoft1-0/+167
This brings in the default debugging settings for the MSVC project, when generated by CMake.
2014-01-13Detaching improvementsTiger Wang4-4/+34
* Players now search for an area around themselves to teleport to when detaching from something
2014-01-13Fixed wire, rail, and pressure plate unpoweringTiger Wang1-3/+4
2014-01-12Fixed server crash.STRWarrior1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior7-17/+18
2014-01-12Moved the win resources into a separate subfolder.madmaxoft5-0/+22
This will allow us to use them in CMake builds.
2014-01-12CMake generates Bindings when not existant (win)madmaxoft1-0/+10
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior7-10/+33
2014-01-12Fixed settings plugin generation after IniFileTiger Wang1-3/+3
2014-01-12Added cWorld::SpawnMinecart.STRWarrior2-0/+27
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang4-132/+191
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2014-01-12Disabled a useless MSVC warning in Bindings.cpp.madmaxoft1-0/+6
2014-01-11Lua errors display stack trace.madmaxoft2-3/+27
Fixes #418.
2014-01-11Removed internal methods from public cLuaState interface.madmaxoft3-119/+103
PushFunction(), CallFunction() and GetReturn() are not to be called independently, but rather only by using the Call() templated overrides. Push() needs to be left in the public part, it is used for pushing results in the ManualBindings. Preparation for #418.
2014-01-11Fixed rails poweringTiger Wang1-0/+2
2014-01-11Removed an unused file.madmaxoft2-130/+0
2014-01-11Removed unused variables.madmaxoft1-2/+0
The Lua API calls had no side-effects, either.
2014-01-11Did some stuff with the vectorsTiger Wang1-32/+17
2014-01-11Fixed glowstone drop countandrew1-2/+2
2014-01-11Fixed a door bug and reduced codeTiger Wang1-19/+1
Doors wouldn't get powered by repeaters, and some blocks, like glass, were viable middle blocks when they shouldn't have been.
2014-01-11Renamed g_TorchPlaceable...Tiger Wang6-71/+71
...to g_FullyOccupiesVoxel, as recommended by @bearbin
2014-01-10Globals.h needs to be first includeBill Derouin1-1/+1
2014-01-10Fixed doors, fixes #453Tiger Wang1-38/+8
2014-01-10Decoupled cChunkGenerator from cWorld and cRoot.madmaxoft10-50/+188
Now the chunk generator can be used by other projects without depending on the two hugest structures in MCS.
2014-01-10Major refactoring of redstoneTiger Wang4-186/+181
This commit is a refactoring of the redstone code, mainly the functions handling the removal of invalid blocks from power supplier data structures. Its aim is to improve performance and potentially reduce the memory footprint of the data structures. It works to reduce the amount of GetBlock()s triggered every tick. Before, a GetBlock() was requested for every single item in the data lists, as well as for every single redstone block in a chunk. Following these changes, the AddBlock() event is utilised more effectively to only update the lists when needed (a block is changed), as well as to insert the block type (and update it when needed) alongside the coordinates into the main redstone simulator chunkdata list. In short, a single GetBlock() is now cached, with this cache being updated when the simulator is awoken due to a block change. At least, I *hope* that this is what it does :P
2014-01-10Include Biome enum in ChunkDefBill Derouin1-2/+1
Can't forward declare an enum
2014-01-10Added newlines at ends of filesBill Derouin2-2/+2
2014-01-10Fixed generator adding values to ini file.madmaxoft2-1/+3
2014-01-10Added cFinishGenNetherSprinkleFoliage.STRWarrior3-2/+73
2014-01-10Fixed missing externalsBill Derouin1-1/+2
Turns out you actually have to include the .cpp in the project file
2014-01-10Fixed recurring pattern.STRWarrior1-1/+1
2014-01-09Move biome definition to separate filesBill Derouin8-222/+241
2014-01-09Exported cClientHandle::SendPluginMessage() to Lua.madmaxoft1-0/+30
2014-01-09Fixed wrong packet number for PluginMessage packet.madmaxoft1-1/+1
2014-01-09Fixed chunk borders.STRWarrior1-3/+3
2014-01-09Added cClientHandle::SendPluginMessage().madmaxoft9-0/+50
It is not yet exported in the API, though.
2014-01-09Composition generator creating moved to a separate function.madmaxoft2-61/+83
Also it forces the defaults into the INI file.
2014-01-09Height generator creating moved info HeiGen.cpp.madmaxoft3-54/+82
The generator also explicitly sets the default back into the INI file.
2014-01-08Speed-up. I got about 40 extra ch/sSTRWarrior1-9/+14
2014-01-08A couple touchupsBill Derouin1-2/+3
2014-01-08WormNestCaves now remove soul sand.STRWarrior1-0/+1
2014-01-08NetherGen: Now generates SoulSand.STRWarrior1-1/+11
2014-01-08Fixed AppendVPrintf() handling for large strings.madmaxoft1-6/+4
This caused a failure in server favicons.
2014-01-07Graceful shutdown on SIGTERMTiger Wang1-0/+5
2014-01-07Add missing plugin errorBill Derouin1-0/+12
Previously, if a plugin was included but the folder had no lua files, the error given was ambiguous. Now, it explicitly describes lack of lua files. See issue #512 P.S. This probably isn't the best way, but this is where the fix can be made.
2014-01-07Fixed faviconsTiger Wang4-18/+8
2014-01-07Plugin messages are received and handed to plugins.madmaxoft8-2/+68
Note that MCS doesn't currently handle any channel registrations, this will come later on.
2014-01-07Avoid making copies of favicon stringBill Derouin2-2/+2
2014-01-07Disabled an unneeded MSVC warning.madmaxoft1-4/+7
Also sorted the enabled warnings by their numerical code for easier searching..
2014-01-07Removed a debugging log output in cPluginManager:AddHook().madmaxoft1-1/+0
2014-01-07More MSVC warning fixes.madmaxoft9-11/+11
2014-01-07LuaState can push strings with embedded NULs.madmaxoft1-1/+1
This also marginally improves performance, since a strlen() isn't called (inside lua_pushstring()), the string length is stored in the AString object directly.
2014-01-07A few more touch upsBill Derouin2-12/+2
2014-01-07A few touch upsBill Derouin2-2/+5
2014-01-07Removed unused lineBill Derouin1-1/+0
2014-01-07Implement favicon for 1.7.2Bill Derouin4-0/+28
Favicon data is a png encoded in base64 which is stored in the server and sent in the server response packet
2014-01-07Fixed a few MSVC warnings.madmaxoft8-18/+21
2014-01-07Added Base64Encode().madmaxoft2-0/+51
2014-01-06Disabled the type conversion MSVC warning.madmaxoft1-1/+3
It was hitting way too many false positives.
2014-01-06Fixed a few MSVC warnings.madmaxoft11-16/+12
2014-01-06Exported cWorld::BroadcastBlockAction().madmaxoft1-1/+1
As requested in #508; no guarantees about it.
2014-01-06Output dir set to $/MCServer.madmaxoft1-1/+1
Ref.: #510.
2014-01-06Fixed wrong enqueueing.madmaxoft1-2/+9
Fixes #505.
2014-01-05Added fake functions into cCriticalSection because of the change to ASSERTDiusrex1-0/+5
2014-01-05Changed the release version of ASSERT.Diusrex1-1/+1
This was so a variable only used in ASSERT statements will not give a warning about not being used.
2014-01-05Added warning(push) and warning(pop) around all of the inclusions of cryptopp/*.hDiusrex5-3/+68
I also added a warning(push)/(pop) around crpytlib.cpp because it would go crazy with warnings. So now, the only warning from cryptopp that is not blocked is 'unreferenced local function has been removed', which also occurs at a single function.
2014-01-05Making all of the useful level 4 warnings be active.Diusrex1-1/+13
2014-01-05Fixed cPluginManager:AddHook() binding.madmaxoft1-6/+13
Fixes #401. Old formats are still accepted, for compatibility reasons.
2014-01-05Fixed a race condition in the cQueue class.madmaxoft1-59/+86
Fixes #505.
2014-01-03Fixed DocumentationTycho1-4/+2
2014-01-03derpTycho1-1/+1
2014-01-03actual fixTycho1-2/+9
2014-01-03fixed failure to return a value from RemoveTycho1-1/+1
2014-01-03implement xsofts recommendationsTycho Bickerstaff1-9/+15
2014-01-02added documentationTycho Bickerstaff1-7/+45
2014-01-02fixed a few remaining issues with worldstorageTycho Bickerstaff2-24/+6
2014-01-02More memory alignment fixes.madmaxoft2-6/+6
Ref.: #420.
2014-01-02Fixed unaligned memory access in FastNBT.madmaxoft3-5/+44
This should fix #420.
2014-01-02rewrote queue not to use promises for waitsTycho Bickerstaff6-121/+24
2014-01-01OnPlayerFishing doesn't have a const cItems anymoreSTRWarrior5-5/+5
2014-01-01Fixed GetPhysicalRAMUsage on Linuxandrew1-2/+2
2013-12-31fogot to add promise classesTycho Bickerstaff2-0/+92
2013-12-31clean up code for patchingTycho Bickerstaff3-3/+5
2013-12-31refactored chunk Queue to seperate classTycho Bickerstaff7-124/+162
2013-12-31implemented the recommendations Xoft gave.STRWarrior7-12/+25
2013-12-31removed unneccisary castTycho Bickerstaff1-1/+2
2013-12-31fixed warnings in LineBlockTracer.cppTycho Bickerstaff1-1/+0
2013-12-31fixed warnings in LightingThread.cppTycho Bickerstaff1-0/+1
2013-12-31take Z axis into account when calculating neighboors in LightingThread::ChunkReadyTycho Bickerstaff1-1/+1
2013-12-31fixed warnings in World.cppTycho Bickerstaff4-6/+34
2013-12-31fixxed warnings in Server.cppTycho Bickerstaff1-0/+5
2013-12-31fixed warnings in Inventory.cppTycho Bickerstaff1-2/+2
2013-12-31fixed warnings in bytebuffer.cppTycho Bickerstaff2-4/+4
2013-12-31fixed ClientHandle warningsTycho Bickerstaff1-0/+1
2013-12-31fixed warnings in webadmin.cppTycho Bickerstaff1-0/+3
2013-12-31fixed warnings in BlockArea.cppTycho Bickerstaff1-0/+2
2013-12-31Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw1-2/+2
2013-12-30Implented OnPlayerFishing and OnPlayerFished.STRWarrior6-1/+97
2013-12-30Fixed compilation in VC2008.madmaxoft6-75/+13
Also removed an unused inline header file (yuck).
2013-12-28Added support for out-of-source builds.madmaxoft2-18/+30
2013-12-27Made cmake compilation possible on Windows.madmaxoft4-21/+27
2013-12-26Server now handles death messagesTiger Wang1-0/+16
2013-12-26Added proper precompiled headers for MSVC.madmaxoft1-48/+47
2013-12-26Simplefied Extreme Hills M pattern select.STRWarrior1-11/+3
2013-12-26cBlockArea: Fixed writing full-height areas.madmaxoft1-2/+2
2013-12-26Moved increment operator to back of variablesTiger Wang1-9/+9
2013-12-25Extreme Hills M biomes now generate gravel, stone and grass patterns.STRWarrior1-2/+10
2013-12-25Changed tbGravel. Vanilla has 3 layers of gravel and then stone.STRWarrior1-3/+3
2013-12-25Normal extreme hills (plus) now generate a stone/grass pattern.STRWarrior1-2/+20
2013-12-25Re-added empty line.STRWarrior1-0/+1
2013-12-25This generates gravel in Extreme Hills M biomes.STRWarrior2-3/+20
2013-12-25Fixed block area height check.madmaxoft1-2/+2
The block area couldn't be read up to chunk height.
2013-12-25(Hopefully) fixed if conditionstonibm191-4/+1
2013-12-25Fixed Parentheses.STRWarrior1-2/+2
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior3-38/+206
2013-12-25Preliminary mobile entity savingTiger Wang4-13/+790
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-12-25Implemented xoft suggestion (partly)tonibm191-25/+29
I only get it working in first condition. It seems it's not compatible with else if...
2013-12-25Fixed rails not updating with diagonalsTiger Wang1-0/+34
2013-12-25Braced up some codeTiger Wang1-0/+2
2013-12-25Used IsGamemodeCreative() functionTiger Wang1-1/+1
2013-12-24BLOCKTYPE...tonibm191-2/+2
2013-12-24Fixed compilationtonibm191-29/+9
2013-12-24Implemented xoft suggestiontonibm191-7/+11
2013-12-24Using BLOCKTYPE instead of inttonibm191-2/+2
2013-12-24Fixed commentstonibm191-8/+8
2013-12-24Changed a little how detection works and added comments.tonibm191-28/+31
2013-12-24Storing Y -1 and -2 blocks in a variabletonibm191-5/+7
2013-12-24Fixed comments in main.cpp and Player.cppTiger Wang2-2/+2
2013-12-24Implemented stone and wooden pressure platesTiger Wang2-3/+105
2013-12-24Improved knockback animationTiger Wang1-3/+3
* Critical hits now actually increase damage * Looking down at an entity and hitting them still produces upwards motion (as per Vanilla experience) * Reduced force to be more realistic
2013-12-24Fixed getting configure button going to port 0.STRWarrior2-3/+9
2013-12-24removed the function def alsoAlexander Harkness1-1/+0
2013-12-24Finally removed the function.Alexander Harkness1-6/+0
2013-12-24Using parenthesistonibm191-8/+8
2013-12-24Fixed a possible crashtonibm191-39/+42
2013-12-24fixed compile?Alexander Harkness1-1/+1
2013-12-24finally removed them all?Alexander Harkness1-1/+1
2013-12-24updated another file...Alexander Harkness1-4/+4
2013-12-24Updated MakeColour's defenition in the header.Alexander Harkness1-9/+9
2013-12-24Update as per xoft's instructions.Alexander Harkness1-1/+1
2013-12-24Update chat coloursAlexander Harkness1-3/+2
@madmaxoft, is this right? fixes #467
2013-12-23Replaced esCreeper with esMonster.madmaxoft3-4/+7
Any monster will be able to explode, and also this fixes #425.
2013-12-23Improved player fall particle positionsTiger Wang1-5/+2
2013-12-23Provides an enhancement to daylight sensorsTiger Wang1-2/+27
2013-12-23Improved iron golem detection algorithmtonibm191-3/+16
- You need to make it like in vanilla - Only used blocks are removed
2013-12-23Clarified some code in Player.cppTiger Wang1-2/+5
2013-12-23Fixed a comment in Entity.cppTiger Wang1-1/+1
2013-12-23Added some comments in main.cppTiger Wang1-1/+1
2013-12-23Some fixes (SEE DESC)tonibm191-0/+6
-Added missing mobs (wither, enderdragon and iron golem) to type to string list. -Wither and iron golem can now spawn
2013-12-23You can now spawn iron golems.tonibm191-3/+20
You can spawn them like in vanilla.
2013-12-23Daylight sensor sensing enhancementTiger Wang1-9/+11
2013-12-22added link dependency between WorldStorage and OSSupportTycho Bickerstaff1-0/+2
2013-12-22Fixed bug where snowgolems could replace non-solid blocks to snow blocks.STRWarrior1-1/+3
2013-12-22A fix for daylight sensorsTiger Wang1-2/+3
2013-12-22Implemented knockback and critical hitTiger Wang1-4/+21
2013-12-22Added many event catchersTiger Wang2-20/+78
* Window close * CTRL-C * etc.
2013-12-22Implemented fall particlesTiger Wang1-3/+18
2013-12-22Snow golems die in hot biomes and leave a snow trail.STRWarrior2-0/+18
2013-12-22You can spawn snow golems with snow blocks and pumpkins.STRWarrior1-0/+15
2013-12-22EnderDragons and SnowGolems are able to spawn.STRWarrior1-0/+2
2013-12-22Fixed cacus breaking when next to any non-air block.STRWarrior1-1/+1
2013-12-22fixed bad mergeTycho Bickerstaff1-4/+0
2013-12-22merged in warnings changesTycho Bickerstaff26-93/+94
2013-12-22fixed accedental commitTycho Bickerstaff1-2/+1
2013-12-22fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker notTycho Bickerstaff2-1/+33
2013-12-29Added HOOK_PLUGINS_LOADED.madmaxoft6-3/+64
This fixes #482.
2013-12-29Added function to create Tall Birch tree in BirchTreeForest biomesMike Hunsinger2-3/+49
2013-12-28Fixed a (valid) warning in RCONServer.madmaxoft1-0/+3
2013-12-22Made the lure enchantment work.STRWarrior1-1/+1
2013-12-22Fixed signedness warning in cItemGrid.madmaxoft2-4/+4
2013-12-22Fixed compiler warning.STRWarrior1-1/+1
2013-12-22Fishing underground is slower and fishing while raining is faster.STRWarrior1-0/+15
2013-12-22Fixed compiler warnings.STRWarrior1-2/+2
2013-12-22Countdown time is between 100 and 900 ticks.STRWarrior1-1/+1
2013-12-22Fishing now uses a countdown instead of a random number each tick.STRWarrior2-12/+29
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff16-39/+100
2013-12-22Implented BroadcastParticleEffectSTRWarrior17-2/+122
2013-12-22Daylight sensorsTiger Wang1-2/+1
2013-12-22Fixed them again, confound itTiger Wang1-9/+21
2013-12-21Using regular assignments.STRWarrior1-6/+6
2013-12-21Once again better Y direction for the items given when fishing.STRWarrior1-2/+2
2013-12-21You are now able to get different items from fishing.STRWarrior1-2/+108
2013-12-21Bindings regen script updated.madmaxoft1-11/+6
The Bindings.cpp / .h files are no longer stored in the git repo.
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2-0/+32
2013-12-21Chunk is now warnings cleanTycho Bickerstaff4-6/+5
2013-12-21fixed hidden bug with furnaces ignoring time burntTycho Bickerstaff1-1/+1
this patch fixes an issue with furnaces where they would ignore the time burnt in setBurnTimes this did not cause a problem as this function was only called with the same value as the one it was using for time burnt
2013-12-21Root is now warnings cleanTycho Bickerstaff8-30/+32
2013-12-21Piston is now warnings cleanTycho Bickerstaff5-6/+6
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff6-9/+10
2013-12-21basic threadsafe queue interfaceTycho Bickerstaff2-0/+34
2013-12-21You could now only get fish from non-source blocks. Fixed it.STRWarrior1-1/+1
2013-12-21Fixed bug where you could pickup the floater only to get one spawned instantly or the other way around.STRWarrior1-0/+5
2013-12-21Fixed bug where you could get fish from non-source blocks.STRWarrior1-1/+1
2013-12-20Fixed repeaters delay, maybeTiger Wang3-12/+41
Also added basic daylight sensors, though because GetBlockSkylight always is 15, it doesn't work.
2013-12-20Increased the range an Floater can shoot to.STRWarrior1-1/+1
2013-12-20Fixed the rest of constructor reorders.madmaxoft9-97/+92
2013-12-20Fish now actualy jumps to the player instead of a few block bellow them.STRWarrior1-1/+1
2013-12-20Fixed bug where the floater could pop in the water while you could already get a fish.STRWarrior1-2/+2
2013-12-20More reordering fixes.madmaxoft3-7/+16
2013-12-20added precompiled headerstycho1-13/+24
2013-12-20Fixed a typo in cBlockArea merging code.madmaxoft1-2/+1
2013-12-20Sorted a few constructors to remove warnings.madmaxoft10-49/+57
2013-12-20fixed include of math on windowstycho2-1/+10
2013-12-20Fixed minor warnings.madmaxoft2-5/+7
2013-12-20Fixed warnings in HTTP parser.madmaxoft4-5/+15
2013-12-20Attempt at fixing cChunkDef::Height signedness.madmaxoft4-21/+24
2013-12-20Properly fixed warnings in cFastRandom.madmaxoft1-4/+4
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft28-62/+66
2013-12-20Fixed melon and pumpkin growing.madmaxoft1-1/+1
2013-12-20Fixed missing parenthesis.madmaxoft1-4/+4
2013-12-20Fixed clang warnings in Noise.cpp.madmaxoft1-20/+20
Fix-a-random-warning-per-day :)
2013-12-20Fixed assertion during dirt block OnUpdate()Tiger Wang1-1/+1
2013-12-19Fixed #include in Floater.cpp.STRWarrior1-1/+1
2013-12-19The floater now actualy dives under water.STRWarrior1-1/+1
2013-12-19You can get fish from fishing :D. Only one type of fish though.STRWarrior1-12/+27
2013-12-19Fixed PlayerAbilities and creativeTiger Wang3-13/+24
2013-12-20fixed include paths on windows and added build dir to gitignoretycho1-0/+2
2013-12-20fixed compile errors with headers and math librarytycho1-6/+15
2013-12-20fixed multiprocessing on windows and removed redundend compile of headerstycho1-1/+0
2013-12-19Implented cItemFishingRodHandler.STRWarrior2-0/+65
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2-0/+12
2013-12-19Added cFloater class.STRWarrior3-0/+90
2013-12-19Fixed 1.7 arm swing animationTiger Wang1-1/+23
2013-12-19Fixed dust from being placed on nonsolidsTiger Wang2-1/+6
2013-12-19Fixed repeaters not updating powerTiger Wang1-11/+41
2013-12-19fixed a number of windows issuestycho1-13/+28
2013-12-19added md5 as a dependency for bindingsTycho Bickerstaff1-1/+2
2013-12-19added expat as lua bindings dependincyTycho Bickerstaff2-2/+2
2013-12-19added all cpp files to bindingsTycho Bickerstaff1-1/+4
2013-12-19moved HTTPServer to globsTycho Bickerstaff1-1/+5
2013-12-19added pthread linking code to OSSupportTycho Bickerstaff1-0/+4
2013-12-19moved protocol to globTycho Bickerstaff1-1/+5
2013-12-19added blocks and blockentitiesTycho Bickerstaff3-2/+18
2013-12-19linked in luaTycho Bickerstaff1-1/+1
2013-12-19fixed bindings generationTycho Bickerstaff1-8/+2
2013-12-19bindings regenration logicTycho Bickerstaff3-32240/+8
2013-12-18Disconnection message no longer shown if pingTiger Wang1-5/+8
2013-12-18Prettified command error messagesTiger Wang2-9/+23
Using the magic of overlords (overloads) and standards compliance.
2013-12-18added zlib and UITycho Bickerstaff1-0/+11
2013-12-18The "<>" of a player name is now colouredTiger Wang1-1/+1
2013-12-18Fixed 1.7 player disconnection not calling hookTiger Wang1-4/+14
This fixes #357
2013-12-18Implented Nether Wart.STRWarrior4-0/+110
2013-12-18Renamed back EntityAnimation to PlayerAnimationTiger Wang8-15/+51
This fixes #411 and partially reverts 30ead790490f04248b861db79fddde9148b552f4
2013-12-18Removed offending tr1/memory header inclusion.madmaxoft1-3/+0
We already use <memory> at line 160, this was a double include, additionally causing problems (#424).
2013-12-18Fixed wire powering blocks beneathTiger Wang1-1/+1
2013-12-18Fixed bad repeater power queuing in corner caseTiger Wang2-83/+76
Repeaters remain queued to power even if their original source has since unpowered. Also functionised and cleaned up code.
2013-12-17Fixed player falling through the floor on spawn.madmaxoft1-1/+5
The 1.7 client seems to have math issues with exact coords. Adding 0.001 to the Y coord fixed the problem.
2013-12-17cBlockArea: origin is initialized in the constructor and the loader.madmaxoft1-0/+6
2013-12-17Fixed naming and initialization.madmaxoft1-4/+12
2013-12-17Forgot to change one Vector3d to Vector3i.STRWarrior1-1/+1
2013-12-17Renamed Pos to m_Pos.STRWarrior1-3/+3
2013-12-17Using Recommendations.STRWarrior1-10/+23
2013-12-17Made buckets work when the player does not 'look' at a block. This fixes #265STRWarrior1-32/+53
2013-12-16Fixed multiple inheritance in ToLua++.madmaxoft8-36/+127
This fixes #422.
2013-12-16Boats spawn on top of a block. not between 4 blocks.STRWarrior1-1/+1
2013-12-16Using suggestions for Boat placing.STRWarrior1-1/+1
2013-12-16Removed some old cRedstone remnantsTiger Wang3-30/+0
2013-12-16Boats drop a boat pickup when destroyed by hand. You can now actualy use boats.STRWarrior2-3/+33
2013-12-16Added HandleSpeedFromAttachee so an entity can override the function.STRWarrior2-4/+15
2013-12-16You can spawn boats on water.STRWarrior1-7/+32
2013-12-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft5-31/+48
When the player was initialized, the Tick() function continued to stream chunk, while the cWorld called Tick() from its tick thread. Final fix for #187.
2013-12-16Fixed multiple player spawn broadcasts.madmaxoft1-3/+0
2013-12-15Server saves if a player is flying.STRWarrior1-1/+3
2013-12-15Fixed player spawning packet.madmaxoft1-1/+1
The player was spawned 1.62 blocks below their pos. This fixes #323.
2013-12-15Exported to LuaSTRWarrior2-10/+10
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior2-3/+3
2013-12-15Fixed calling OnPlayerJoined() in the wrong place.madmaxoft1-6/+1
This is the first part of a fix for #187.
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior5-4/+49
2013-12-15Implemented xoft's suggestionsTiger Wang1-3/+16
2013-12-15Fixed indentation.madmaxoft1-1/+1
2013-12-15Moved reading flags to the protocol.STRWarrior3-19/+23
2013-12-15Fixed wire repeater checkingTiger Wang1-1/+1
2013-12-15Exported Set and Get functions to Lua.STRWarrior2-2/+136
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior5-3/+90
2013-12-15Wires now power repeaters properlyTiger Wang1-0/+7
2013-12-15Fixed the hopefully final wire self-powering bugTiger Wang1-1/+13
2013-12-15Fixed pre 1.7 clients crashing.STRWarrior1-2/+2
2013-12-15cPlayer is using the broadcast functions.STRWarrior1-3/+3
2013-12-15This adds the cWorld::BroadcastEntityEffect and cWorld::BroadcastRemoveEntityEffect functions.STRWarrior6-0/+89
2013-12-14Added tolua++ redirection include.madmaxoft1-0/+13
This is needed because ToLua++ regenerates the Bindings file with bad #include, and it would be too difficult to fix ToLua++; this is an easier solution. Should fix PR #431.
2013-12-14Removed leftover debugging messages from cProtocol172.madmaxoft1-4/+0
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior5-4/+31
2013-12-14Added E_EFFECT_<Effect>STRWarrior2-3/+32
2013-12-14Potentially fixed debug assertsTiger Wang1-5/+5
2013-12-14Wires no longer power if a block cuts them offTiger Wang1-23/+32
Also reduced more unneeded code.
2013-12-14Forgot to commit the ClientHandle.STRWarrior2-0/+20
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior8-1/+91
2013-12-14Implemented note block playing and fixed wireTiger Wang9-5/+125
Game of Thrones music in Minecraft, here I come!
2013-12-14Exported the cTNTEntitySTRWarrior4-9/+85
2013-12-14Fixed compilating!Tiger Wang1-5/+5
2013-12-14Fixed not getting XP from mobs.STRWarrior2-1/+7
2013-12-14Improved player permissions loggingTiger Wang1-1/+1
2013-12-14Fixes to redstone wire and torchesTiger Wang3-21/+37
+ Wires now power blocks around the block beneath * Torches no longer power off if it is on a linked powered block * Enhanced code, split functions, etc.
2013-12-14Groups.ini and Users.ini are now generatedTiger Wang2-3/+25
2013-12-14Removed loads of unneeded code againTiger Wang1-86/+60
2013-12-14Reduced loads of unneeded codeTiger Wang1-188/+44
Merged wire powering detection code into a single function.
2013-12-13Improved redstone loading performanceTiger Wang1-2/+10
2013-12-13Fixed threading issues affecting cProtocol172.madmaxoft4-191/+219
2013-12-13Using "a_ClosestPlayer != NULL" in cExpOrb.STRWarrior1-1/+1
2013-12-13Fixed QueueSetBlock not sending to client changesTiger Wang1-2/+1
2013-12-13Redstone data is now loaded on chunk loadTiger Wang2-0/+7
2013-12-12Unknown packet type extended to 32 bits.madmaxoft2-4/+4
2013-12-12Fixed protocol 1.7 recovery after unknown packet.madmaxoft1-4/+0
2013-12-11Fixed pistons being viable middle blockTiger Wang1-0/+3
Also an excuse to update submodules
2013-12-11HOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used.STRWarrior1-0/+1
2013-12-11ExpOrbs now move.STRWarrior1-4/+8
2013-12-11Added a HOOK_WORLD_STARTED hook and a cRoot::CreateAndInitializeWorld function for plugins.STRWarrior9-2/+98
2013-12-11added zlibTycho Bickerstaff1-1/+1
2013-12-11moved generating to globsTycho Bickerstaff1-1/+5
2013-12-11added UI folderTycho Bickerstaff1-1/+3
2013-12-11moved Worldstorage to globsTycho Bickerstaff1-1/+5
2013-12-11moved entities to globsTycho Bickerstaff1-1/+5
2013-12-11moved mobs to globsTycho Bickerstaff1-1/+5
2013-12-11moved simulor to globsTycho Bickerstaff1-1/+5
2013-12-11removed leakfinder form buildTycho Bickerstaff1-1/+1
2013-12-10added tolua++ command and removed stackwalker from buildTycho Bickerstaff3-6/+8
2013-12-10more cmake changesTycho Bickerstaff3-6/+15
2013-12-10removed more accedentailly commited object filesTycho Bickerstaff9-3985/+0
2013-12-10removed accedentailly commited object filesTycho Bickerstaff27-0/+0
2013-12-10more cmakeTycho Bickerstaff46-6/+4051
2013-12-10Provides a possible fix for repeater timingsTiger Wang2-2/+2
Not completely reliable, but at least some types of clock work.
2013-12-10fixed unused expression warnings in blockFireTycho Bickerstaff1-7/+6
2013-12-10more cmake stuffTycho Bickerstaff3-2/+18
2013-12-10fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff1-1/+1
2013-12-10started work on cmakeTycho Bickerstaff4-0/+36
2013-12-10added abort to DeadlockDetector to generate core dumps on failureTycho Bickerstaff1-5/+2
2013-12-10Readded initial lineTiger Wang1-0/+1
2013-12-10Fixed compile (alas, no more goto)Tiger Wang1-11/+14
2013-12-10Fixed Floody lava to stone fizzleTiger Wang1-2/+16
2013-12-10Added repeater delaysTiger Wang2-1/+62
They DO sometimes get stuck though :P
2013-12-10Slight redstone wire performance improvementTiger Wang1-1/+6
2013-12-10Changed more FastSetBlocks to SetBlocksTiger Wang1-3/+3
Fixes duplication bugs.
2013-12-10Improved pickups spawning speed againTiger Wang2-7/+6
2013-12-08Fixed angle normalization typo.madmaxoft1-1/+1
2013-12-08Fixed tolua++ compilation.madmaxoft7-192/+5
Duplicate files, wrong includes, const-incorrect code...
2013-12-08Fixed VS2008 compilation after those huge changes.madmaxoft2-5/+7
2013-12-08Now spawn points will not be in deep oceans or rivers etc.STRWarrior1-1/+1
2013-12-08Readded redstone lamp handlerTiger Wang1-0/+2
2013-12-08Fixed tabcompletion packet, fixes #356Tiger Wang1-8/+4
2013-12-08Fixed normalizing large angles.madmaxoft4-8/+51
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft41-1238/+1237
Ref.: #407
2013-12-08Fixed stationary water starting fires and flowing lava not.madmaxoft1-2/+2
2013-12-08Fixed falling block metas, fixes #406Tiger Wang1-1/+1
2013-12-08moved deafult action into deafult clause at src/Generating/DistortedHeightmap.cpp line 741Tycho Bickerstaff1-2/+4
2013-12-08reordered initalisation order at src/Generating/Cave.h line 73Tycho Bickerstaff1-2/+2
2013-12-08fixed warnings in src/Generating/BioGen.cppTycho Bickerstaff1-1/+1
removed unused variable at src/Generating/BioGen.cpp line 379 and added default fallthrough clause to switch at src/Generating/BioGen.cpp line 725
2013-12-08added default fallthrough clause to switch at line 178 of src/UI/Window.cppTycho Bickerstaff1-0/+4
2013-12-08Reordered Listed Initalisation order in src/UI/Window.cppTycho Bickerstaff1-2/+2
Reordered the Listed Initalisation order for CWindow to the executed initalisation order. The compiler initalises values in the order the fields are declared not the initalisations listed
2013-12-08Bonemeal has particles, fixes #393Tiger Wang2-3/+8
2013-12-08Removed unused variable ResultSlotTycho Bickerstaff1-1/+0
2013-12-09Fix Undefined behavior at Bindings/LuaWindow line 32worktycho1-1/+4
2013-12-09Fix Unused Variable Warning at FluidSimulator.cpp line 169 and 176worktycho1-4/+3
2013-12-09Fixed warning unchecked enum value at Chunk.cpp line 841worktycho1-2/+4
2013-12-09Fixed Warning Unhandeled enum values in switch as src/UI/SlotArea.cpp line 54worktycho1-1/+4
2013-12-07Console trims its commands before executing 'emTiger Wang1-3/+3
2013-12-07Fixed water starting firesTiger Wang1-1/+0
2013-12-07Improved piston animationsTiger Wang1-4/+4
2013-12-07Fixed some new 1.7 client crash bugsTiger Wang4-1/+37
Some technical blocks were removed; trying to render them as items caused a crash.
2013-12-07Changed some FastSetBlocks to SetBlockTiger Wang1-3/+3
Should fix some duplication glitches.
2013-12-07Fixed trapdoors not togglingTiger Wang3-17/+103
The redstone simulator kept on resetting them.
2013-12-07Added a SpawnFallingBlock function so plugins can make other blocks fall.STRWarrior4-2/+93
2013-12-07Added basic ender chestsTiger Wang10-14/+355
Note that they just mirror chests now, so no per player inventory.
2013-12-07Renamed animation functionTiger Wang23-47/+82
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-06Fixed bed leave animationTiger Wang1-1/+1
2013-12-06Fixed duplication glitch with QueueSetBlockTiger Wang7-16/+38
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-12-06Added trapdoor cursor Y detectionTiger Wang1-2/+0
2013-12-06Puking now uses GetEyeHeight()Tiger Wang1-1/+1
2013-12-06Added pickup invalid item checkTiger Wang1-0/+11
They aren't spawned at all if their itemtype isn't valid; possibly fixes the client crashing with bad pickups.
2013-12-06Re-implemented redstone duplicate checkingTiger Wang1-0/+29
2013-12-06Fixed eating using wrong animationTiger Wang1-1/+1
2013-12-06Fixed trapdoors not overriding OnUseTiger Wang1-1/+1
2013-12-06Spawn eggs use IsGameMode()Tiger Wang1-2/+2
Possible fix for #316.
2013-12-06Tools make a sound when breaking, fixes #266Tiger Wang2-2/+5
2013-12-06Cleaned up torch code and added commentsTiger Wang1-31/+7
2013-12-06Removed another export and inline'd stuffTiger Wang1-5/+5
2013-12-06Removed exporting of a torch functionTiger Wang1-3/+3
2013-12-06Updated comments for slabsTiger Wang1-5/+6
2013-12-06Fixed pickups spawning for BlockEntitiesTiger Wang1-1/+1
2013-12-05Added cPluginManager:GetCurrentPlugin() to Lua API.madmaxoft1-7/+22
2013-12-05Merged if statements.Samuel Barney1-7/+1
2013-12-05Finished MergeSamuel Barney1-2/+2
2013-12-05ByteBuffer: Fixed optimization failures with threading checks.madmaxoft1-1/+1
2013-12-04Hopefully fixed the sparc not being detectedAlexander Harkness1-1/+3
2013-12-04Lava can spawn fire.madmaxoft5-8/+93
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-12-04Fixed an error in cChunk's block ticking.madmaxoft1-2/+2
Absolute coords were passed to a handler expecting relative coords.
2013-12-04Made suggested changesSamuel Barney2-6/+11
2013-12-02Fire no longer goes out when on top of nether rackSamuel Barney1-1/+6
2013-12-02Removed stray printf, again.Samuel Barney1-1/+0
2013-12-02Switched to using provided ReadItem function.Samuel Barney2-17/+12
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02Removed stray printf.Samuel Barney1-1/+0
2013-12-02Fixed 1.7 slab and stair placement.Samuel Barney1-0/+19
2013-12-01Fixed compiler warnings in LightingThread.cpp.madmaxoft1-2/+2
2013-12-01Fixed linux compile errors and formatting in RedstoneSimulator.cppmadmaxoft1-14/+26
2013-11-30DeadlockDetect is configurable now.madmaxoft3-7/+15
This is needed when debugging Lua plugins.
2013-11-30Fixed compiler warnings in IsBiomeNoDownfall().madmaxoft1-1/+4
2013-11-30Fixed pistons extendingTiger Wang1-0/+10
They didn't when a source was in front, but now they do! Yay!
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft15-63/+117
2013-11-30Added IsBiomeNoDownfall() function.madmaxoft3-103/+164
2013-11-30Explicitly set spawnpoint fixes.madmaxoft1-20/+11
The value names are case-insensitive. The debug message is printed only once.
2013-11-30Removed redstone duplicate power checkingTiger Wang1-2/+0
There was no need for it, and it introduced some bugs.
2013-11-30Improved piston direction checkingTiger Wang1-62/+8
Now uses AddFaceDirection, as suggested by xoft.
2013-11-30Added the real tick duration to the OnWorldTick hook.madmaxoft8-17/+34
2013-11-30Grass doesn't spread to podzol or grassless dirt blocks.madmaxoft1-2/+3
2013-11-30Added floor pattern for MegaTaiga biomes.madmaxoft1-1/+10
2013-11-30Pistons no longer accept power through front faceTiger Wang2-3/+96
This fixes #60.
2013-11-30Fixed thin snow CanBeAt checkingTiger Wang1-1/+13
Now takes into account the possibility that thin snow can be on top of full thin snow.
2013-11-30Properly fixed snow height, fixes #98 and #264Tiger Wang3-25/+53
2013-11-30Improved redstone speed and fixed a wire bugTiger Wang1-73/+83
The redstone simulator no longer goes through the Powered and LinkedPowered blocks lists for EVERY item in the chunk data, instead, only at every tick. Also, wires powering each other that had the same data value is now fixed.
2013-11-29Stairs reset meta when dropped, fixes #269Tiger Wang1-2/+22
Additionally, they now have walking sounds.
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang5-3/+131
Also updated redstone simulator to support it
2013-11-29Removed unneeded CPP filesTiger Wang11-221/+77
Also removed unneeded #include in BlockStems
2013-11-29Implemented mesa biomes in DistortedHeightmap CompoGen.madmaxoft3-21/+106
2013-11-29Fixed CheckerboardBiomeGen in negative coords.madmaxoft1-2/+3
2013-11-29DistortedHeightmap: Improved speed, prepared for mesa biomes.madmaxoft2-157/+424
This generates the rainbow-mesa as seen on the first mesa screenshot in the forum.
2013-11-29Fixed an off-by-one error in cByteBuffer.madmaxoft1-1/+1
Could have caused random protocol errors and maybe even crashes.
2013-11-29Alpha-sorted BlockMetas, added red sand.madmaxoft1-125/+128
2013-11-28Trees will generate in the new biomes.madmaxoft2-14/+101
Only the generic trees, the special variants haven't yet been implemented.
2013-11-28Added new biomes to old composition generator.madmaxoft4-0/+145
Mostly placeholders only, true per-biome characteristics still need to be implemented. This is only to test the new biome generators.
2013-11-28Added new biomes to old height generators.madmaxoft4-39/+179
Now Biomal and DistortedHeight generators will work with new biomes.
2013-11-28Moved BiomeGen creation from INI file data to BioGen.cpp.madmaxoft3-48/+74
This way it can be shared between MCServer and BiomeVisualiser.
2013-11-28Moved json includes to where they are really needed.madmaxoft3-1/+2
2013-11-28BiomeVisualiser: Added the TwoLevel biome generator.madmaxoft2-0/+229
2013-11-28Fixed a bug with TNT waking simulatorsTiger Wang1-2/+2
2013-11-28Improved TNT pickup randomisationTiger Wang1-1/+1
2013-11-27Made TNT pickups spawning chance 25%Tiger Wang2-3/+3
2013-11-27Voronoi-related biomegens use the new cVoronoiMap class.madmaxoft3-54/+29
2013-11-27Fixed a load of issues, clang autodetection works now.Alexander Harkness1-1/+0
This fixes issue #210. This also removes the disableasm option, so it would be wise to remove it from any scripts that use it. I also removed a random line in the middle of globals.h, why was it there?
2013-11-27Added missing files for Voronoi map generation.madmaxoft2-0/+140
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft12-12/+12
2013-11-27Fixed the remaining derpsAlexander Harkness26-30/+30
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness9-11/+11
2013-11-26ANOTHER compile fixTiger Wang1-1/+1
This one was broken by bear. :P
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang5-5/+5
2013-11-26Compile fix againTiger Wang1-1/+1
2013-11-26Fixed Linux compile againTiger Wang1-1/+1
2013-11-26Fixed tolua++ filesTiger Wang3-4/+4
2013-11-26Fixed loads more of them.Alexander Harkness11-13/+13
2013-11-26AnotherAlexander Harkness1-1/+1
2013-11-26And another.Alexander Harkness1-1/+1
2013-11-26Fixed another.Alexander Harkness1-1/+1
2013-11-26Fixed another one.Alexander Harkness1-1/+1
2013-11-26Fixed a mis-includeAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang24-27/+27
2013-11-24Attempt to fix compilationTiger Wang48-59/+58
2013-11-24Moved SQLite, LuaExpat, and MD5 to /libTiger Wang8-148557/+0
2013-11-24Moved source to srcAlexander Harkness469-0/+285880
2012-08-19Android: Moved Android stuff to the ~/trunk/Android/ folder!faketruth1-267/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@758 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Finally a log! :Dfaketruth1-32/+44
git-svn-id: http://mc-server.googlecode.com/svn/trunk@754 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-19Android: Showing last MCServer related logcat messagefaketruth1-13/+63
git-svn-id: http://mc-server.googlecode.com/svn/trunk@753 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server statusfaketruth1-9/+146
Android: Put quite some testing code in ToJava.h and app-android.cpp ... I still can't send log messages to Java. The issue is threads, I can't use JNI stuff from threads that were not created by Java (at least not easily) git-svn-id: http://mc-server.googlecode.com/svn/trunk@752 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-18Android: Pressing back button sends stop command to serverfaketruth1-9/+30
Android: ToJava can call functions on Java by using JNI Android: Plugins work Android: Added android specific files to VS2008 project, but they are excluded from compiling git-svn-id: http://mc-server.googlecode.com/svn/trunk@747 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-3/+13
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+37
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6