summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft28-135/+137
2014-07-21Cuboid: added explicit copy assignment operatorarchshift2-0/+13
2014-07-20Revert "Only one instance of server can be started"Tiger Wang1-0/+2
This reverts commit 6484e9814a3a540518606f552398e0b82f91ab4d. * Fixes #1200
2014-07-20Line tracer invalid chunk fixTiger Wang2-26/+27
* Fixes #1230 * Additionally improved speed in some scenarios
2014-07-20NBTChunkSerializer.cpp: Added break after serializing the splash potionarchshift1-0/+1
2014-07-20Added m_TicksAlive to entities, allows projectiles to hit their creatorsarchshift3-3/+14
2014-07-20Added destroy-timer system to splash potion entitiesarchshift2-3/+24
2014-07-20main.cpp: field style fixesarchshift3-12/+12
2014-07-20ChatColor.h: The @deprecated tag slipped. Oops.archshift1-2/+2
2014-07-19Socket: removed unused Socket destructorarchshift2-10/+0
2014-07-19main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATEDarchshift3-6/+6
2014-07-19Monsters: Made IsUndead overridable by the respective mob classesarchshift6-13/+11
2014-07-19Fixed attempts to call c_str on ChatColorsarchshift2-6/+6
2014-07-19Removed references to deprecated cChatColor::Colorarchshift2-2/+2
2014-07-19Refactored cChatColorarchshift2-49/+51
- Changed std::string fields to const char-pointers in order to wipe out potential issues with static initialization and global destructors - Deprecated cChatColor::Color() because the name does not match the value
2014-07-19CheckBasicStyle: Checks for braces not on separate lines.madmaxoft1-2/+6
Only the opening braces at the end of a line are checked, others (such as inline getters and setters or initializers) are valid.
2014-07-19Code style: Fixed braces on separate lines.madmaxoft14-20/+38
2014-07-19CheckBasicStyle: Check spaces around commas.madmaxoft1-6/+6
We want no space in front of and at least one space after a comma.
2014-07-19Fixed spaces after commas in protocol data.madmaxoft1-7/+7
The JSON data is well-formatted with spaces, too; we can afford to waste the few bytes.
2014-07-19Fixed style: spaces after commas.madmaxoft42-101/+100
2014-07-19Fixed MSVC bindings generation.madmaxoft2-4/+4
2014-07-19World.cpp: fixed not all enum fields being used in m_Dimension switcharchshift1-1/+2
2014-07-19Minecart: slimmed down SpawnOn by keeping subtype in the payload enumarchshift2-20/+7
2014-07-19Trees.cpp: removed unused "debug" fieldsarchshift1-7/+1
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift5-15/+15
2014-07-19Fixed splash potion color on tossarchshift2-0/+16
2014-07-19Fixed clamping issuesarchshift6-33/+6
2014-07-19Renamed AllToLua_lua script.madmaxoft1-0/+0
Fixes #1222.
2014-07-19Authenticator.cpp: Killed a global destructor warningarchshift1-53/+56
2014-07-19Moved Windows custom command to src/CMakeLists.txtarchshift2-15/+20
2014-07-19CMakeLists: Moved Bindings-specific code to subdirarchshift3-120/+125
2014-07-19Blocks/CMakeLists.txt: Fixed header list after merge of masterarchshift2-10/+6
2014-07-19CMake: Add Bindings library from subdirectoryarchshift2-23/+12
2014-07-19src/CMakeLists.txt: Replaced glob with list of filesarchshift2-20/+180
On MSVC, CMake will traverse all the CMakeLists and add their source and header files to one conglomerate SOURCE list.
2014-07-19Subdirs: Only add_library if not using MSVCarchshift13-19/+45
2014-07-19src/CMakeLists: Small changes for increased readabilityarchshift1-5/+9
2014-07-19OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+32
2014-07-19HTTPServer/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+20
2014-07-19Generating/Prefabs/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+22
2014-07-19Simulator/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+28
2014-07-19WorldStorage/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+26
2014-07-19Generating/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+54
2014-07-19BlockEntities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+35
2014-07-19UI/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+9
2014-07-19Protocol/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+23
2014-07-19Blocks/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+92
2014-07-19Items/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+47
2014-07-19Entities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+56
2014-07-19Mobs/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+69
2014-07-18Clarified RemoveItem()'s comments.madmaxoft2-2/+4
2014-07-18Fixed slime-related comments.madmaxoft3-5/+10
2014-07-18Added RemoveItem() function to the player inventory.Howaner4-0/+57
2014-07-18Normalized code style for both sign handlers.madmaxoft2-16/+20
2014-07-18Removed cBlockSignPostHandler descend.Howaner1-2/+28
2014-07-18Slime sizes are 1, 2 or 4 and not 1, 2 or 3.Howaner3-4/+4
2014-07-18Monster fixesTiger Wang7-35/+5
* Fixes #1203 * Fixes #627
2014-07-18Fixed creative players not being able to drinkarchshift1-3/+4
Fixes #1215
2014-07-18CheckBasicStyle: Proper spaces with commas.madmaxoft1-21/+48
2014-07-18Fixed spaces before commas.madmaxoft7-14/+14
2014-07-18Removed duplicate IPvX labels.madmaxoft3-6/+6
2014-07-18Moved ChatColor.h out of defines where it was not neededarchshift2-1/+1
2014-07-18ProtocolRecognizer.cpp: removed unused NumBytesReadarchshift1-2/+0
2014-07-18Generator: removed rnd definitions that are never readarchshift2-2/+0
2014-07-18Added a extra wall sign handler.Howaner4-27/+85
Fixes #1119
2014-07-18Skeletons should spawn with a bow in the hand.Howaner2-0/+17
Fixes #1184
2014-07-17Fixed NULL being passed instead of a double to AddEntityEffectarchshift1-1/+1
2014-07-17Split into more lines.Howaner2-6/+10
2014-07-17Fixed code style in Trees.cpp.madmaxoft1-24/+24
The src folder now has zero BasicStyle violations.
2014-07-17Fixed tabs used for alignment.madmaxoft29-99/+115
2014-07-17More trailing whitespace fixes.madmaxoft13-25/+25
2014-07-17Player.cpp: Fixed compile errorarchshift1-1/+1
2014-07-17Player.cpp: Added Wither death messagearchshift1-0/+1
2014-07-17Basic style fixes.madmaxoft130-286/+290
2014-07-17Fixed many slime bugs.Howaner3-7/+74
- Fixed slime hurt/death sound - Added slime spawning on death. - Fixed the max health. - Fixed the attack damage. - Little slimes should not attack players.
2014-07-17Initial version of a script to check basic style.madmaxoft1-0/+188
This script reports basic violations of the style, such as indentation using spaces, alignment using tabs, trailing whitespace etc. Passing this script does NOT mean that the style is clean, it's only for fast-checking purposes.
2014-07-17Normalized comments.madmaxoft173-867/+893
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-17Fix sapling drop.Howaner1-1/+1
2014-07-17Fixed spaces around single-line comments.madmaxoft34-139/+141
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft52-298/+306
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17Fixed mob knockbackTiger Wang1-23/+8
* Fixes #901
2014-07-17Fixed crash with entities in unloaded chunksTiger Wang1-1/+3
* Fixes #1190
2014-07-17Fixed 3 MSVC warnings in SplashPotionEntity.madmaxoft1-1/+1
2014-07-17Updated cPawn::KilledBy signature for custom death messages.madmaxoft2-3/+3
2014-07-17Reformatted cItemPotionHandler.madmaxoft2-48/+79
2014-07-17Fixed formatting for cWitherSkullEntitymadmaxoft2-3/+13
2014-07-16Another fix for excessive food drainTiger Wang2-1/+10
2014-07-16Fixed a bug with bucketsTiger Wang2-9/+10
* Additionally fixed cLineBlockTracer's EntryFace parameter when a block was hit on the first iteration along the projected line
2014-07-16Fixed another redstone simulator crashTiger Wang1-0/+7
2014-07-16SuggestionsTiger Wang1-2/+5
2014-07-16Resolved backwards compatibility issuesTiger Wang7-9/+9
2014-07-16Function renameTiger Wang2-3/+3
2014-07-16Unified functionsTiger Wang2-34/+28
Thanks @Howaner!
2014-07-16Store properties as Json::ValueTiger Wang9-21/+44
2014-07-15Fixed a DropSpenser AddFace bugTiger Wang1-1/+1
2014-07-15Restructured cSplashPotionEntity code.madmaxoft5-72/+104
The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
2014-07-15Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them.Masy981-1/+0
2014-07-15Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them.Masy981-12/+0
2014-07-15Derp.Howaner1-2/+2
2014-07-15Fixed code formatting.madmaxoft2-6/+9
2014-07-15Added Brick fence to m_TransparentMasy981-0/+1
2014-07-15Fixed FindClosestPlayerTycho1-3/+6
2014-07-15Added various missing blocks in the lists in BlockInfo.cppMasy982-64/+214
2014-07-15Added super typedefTycho3-3/+6
2014-07-15Only the cEntityEffect::effXXX constants are Lua-exported.madmaxoft2-72/+102
The rest of the classes don't need exporting, there's no interface using them anyway.
2014-07-15Reformatted EntityEffect code.madmaxoft1-25/+29
2014-07-15Fixed a MSVC warning in cEntityEffect::CreateEntityEffect().madmaxoft1-0/+1
2014-07-15Pass cItem by reference.madmaxoft1-1/+1
Fixes CID 66445.
2014-07-15Added missing member initialization to cGridStructGen.madmaxoft1-0/+1
Fixes CID 68228.
2014-07-15COnverted Lilypad back to mixinTycho1-8/+2
2014-07-15Revert "Converted some blockhandlers to use cClearMetaOnDrop"Tycho9-21/+67
This reverts commit 333f4f982cbd24ffcb376594eddef439b3f05e9e.
2014-07-15Fixed redstone simulator crashTiger Wang2-8/+31
* Fixes #1176 * Fixed #1186
2014-07-14Fixed some meta resetting bugsTiger Wang6-27/+28
* Fixes #1174 * Fixes #1171
2014-07-14Maybe improved arrow sinkingTiger Wang1-2/+2
2014-07-14Fixed placing liquids over liquidsTiger Wang1-1/+1
* Fixes #1182
2014-07-14ItemHandler.cpp: removed redundant food and drink checksarchshift1-33/+0
2014-07-14Readability and clarity changesarchshift4-59/+68
2014-07-14Added documentationTycho1-0/+6
2014-07-14Converted some blockhandlers to use cClearMetaOnDropTycho9-67/+21
2014-07-14Simplified ClearMetaOnDropTycho1-1/+1
2014-07-14Added cClearOnDrop Mixin to cPumpkinTycho1-2/+2
2014-07-14Added first implementation of cClearMetaOnDropTycho2-2/+21
2014-07-14Player properties are now retrievedTiger Wang11-116/+216
2014-07-14Reset meta to zero when the block explode.Howaner1-4/+4
2014-07-14EntityEffect: Inlined functions, added explicit copy constructor and operator.archshift2-20/+29
2014-07-14Changed separating comment style from asterisks to slashes.archshift2-93/+93
2014-07-13Added parenthasiesworktycho1-1/+1
2014-07-13Fixed Issue with Comparing agast the wrong chest, potentially causing crashes.worktycho1-7/+7
2014-07-13CopyPaste Errorworktycho1-1/+1
Fixes CID 70460.
2014-07-13Another COpyPaste Errorworktycho1-1/+1
Fixes CID 70461
2014-07-13Adjusted calls to CreateProjectile that passed ItemsTycho1-2/+2
2014-07-13Made CreateProjectile a pointerworktycho4-6/+7
2014-07-13Fix CopyPaste error that ment a_MaxRelX wasdn't checkedworktycho1-1/+1
Fixes CID 70464
2014-07-13Fixed MSVC warnings in SoundEffect functions.madmaxoft3-15/+7
2014-07-13Update.Howaner1-1/+1
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner36-83/+77
2014-07-13Only one instance of server can be startedTiger Wang1-2/+0
This disallows the UDP multicasting that the original code enabled. xoft deterrent, in PR #1151 you implied that this was unwanted behaviour (but comments gone now as I force pushed - check emails?). Revert at will if unsatisfactory :P
2014-07-13Revert failed fix for #31Tiger Wang2-31/+4
This reverts commit 69dc9b4c9aea58ebd95e2dbd0205701dfc4ce54e.
2014-07-13Changed comments.Howaner1-3/+5
2014-07-13Fixed wrong types. (BLOCKTYPE -> NIBBLETYPE)Howaner3-6/+6
2014-07-12Comment grammar correctionTiger Wang1-1/+1
2014-07-12Simplified buckets code slightlyTiger Wang1-32/+15
2014-07-12cNBTChunkSerializer: Fixed alignment.madmaxoft1-14/+14
2014-07-12cHopperEntity: Simplified chest conditions.madmaxoft1-10/+4
2014-07-12cChestEntity: Renamed a member to avoid confusion.madmaxoft2-8/+9
2014-07-12Fixed alignment.madmaxoft1-2/+3
2014-07-12Suggestions and bug fixTiger Wang7-30/+35
* Fixed hoppers pushing/pulling to/from (trapped)chests that do not form a double-chest with the chest type directly connected to said hopper; thank you, @madmaxoft
2014-07-12Changesdaniel09161-5/+4
2014-07-12Added splash potions to NBT serialization and retrievalarchshift6-1/+50
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift12-104/+94
2014-07-11Simplified the player data loading.madmaxoft1-9/+8
2014-07-11SuggestionsTiger Wang3-2/+6
2014-07-11Changesdaniel09161-24/+16
2014-07-11SuggestionsTiger Wang4-14/+18
2014-07-11Player data filenames are based on UUID.madmaxoft4-67/+155
2014-07-11Improved LinkedPowering speedTiger Wang1-15/+15
* Additionally fixed wires powering other wires through blocks
2014-07-11Fixed a missing return value.madmaxoft1-0/+2
2014-07-11Preparation for player UUID-based storage: LoadFromFile()madmaxoft2-21/+42
2014-07-10Fixed style consistency.madmaxoft2-61/+64
2014-07-10Implemented support for forced chunk ticking.madmaxoft6-8/+95
Fixes #1160.
2014-07-10Changesdaniel09161-20/+22
2014-07-10Maybe fixed whitespacesdaniel09161-7/+7
2014-07-10Maybe fixed whitespacesdaniel09161-1/+1
2014-07-10Fixed Bucket Placingdaniel09161-6/+57
2014-07-10Fixed a missing "inline" keyword.madmaxoft1-1/+1
2014-07-10Fixed Vector3.h compilation in MSVC2008.madmaxoft1-0/+9
2014-07-10Removed lilypad from plains village prefabs.madmaxoft1-7/+8
2014-07-09Fixed bow chargeTiger Wang1-11/+2
2014-07-09Fixed arrow collection animationTiger Wang5-33/+4
* Fixed piston extension non-solidness
2014-07-09Fixed Bucket placingdaniel09161-1/+1
2014-07-09Removed unused include line.Howaner1-1/+0
2014-07-09Added inventory number click.Howaner2-1/+43
2014-07-08Updated generator prefabs to current Gallery contents.madmaxoft3-7/+8
2014-07-08Made things consistentTiger Wang2-6/+9
2014-07-07Added extra space before commentsTiger Wang1-6/+6
2014-07-07Fixed compilation and pressure platesTiger Wang1-8/+4
2014-07-07Implemented trapped chests & othersTiger Wang26-179/+340
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-06Fixed crafting grid updating.Mattes D2-2/+21
Fixes #1152.
2014-07-06Fixed slime handling in cMonster::StringToMobType().madmaxoft1-1/+1
2014-07-06Added drop window action.Howaner3-25/+113
2014-07-05Changed everything to callbacksTiger Wang4-82/+53
2014-07-05Add middle click.Howaner2-21/+88
2014-07-04Crash and compile fixTiger Wang3-5/+10
2014-07-04Compile fixTiger Wang1-1/+1
2014-07-04SuggestionsTiger Wang7-11/+20
2014-07-04MCS WebAdmin sockets rebinds instantlyTiger Wang1-0/+2
* Fixes #272 * Fixes #1150
2014-07-04Various fixedTiger Wang4-17/+111
* Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly
2014-07-04cPluginManager: Reformatted the switch statement.madmaxoft1-7/+34
2014-07-04Moved sending error messages to cPluginManager:CallHookChatSTRWarrior1-4/+6
2014-07-04Eps comparisonTiger Wang2-2/+2
2014-07-04Fixed c1deda5d8f01811efa5094e9375166acb69d50edTiger Wang1-2/+2
I keep on breaking stuff :P
2014-07-04Tailored death messagesTiger Wang20-40/+61
2014-07-04Removed world-saving log messages.madmaxoft3-35/+5
Ref.: http://forum.mc-server.org/showthread.php?tid=1518
2014-07-03Changed OnWeatherChanging hook to always read the returned weather.madmaxoft3-4/+18
Ref.: http://forum.mc-server.org/showthread.php?tid=1512
2014-07-03CMake: Changed slash format to support MSYS.madmaxoft1-1/+1
Ref.: #1044
2014-07-02SuggestionsTiger Wang4-19/+31
2014-07-02SuggestionTiger Wang1-13/+13
2014-07-02Fixed player teleport food drainTiger Wang2-1/+14
2014-07-02Redstone simulator is alerted to lever unpoweringTiger Wang4-1/+6
* Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535
2014-07-02CMake: Use cmake for file-copying.madmaxoft1-1/+1
This should enable MSYS builds.
2014-07-02Removed foodlevel-change possibility. Plugins can cancel the event and use cPlayer:SetFoodLevel()Howaner5-6/+6
2014-07-01Vector clamping fixesTiger Wang2-21/+24
Thank you, @madmaxoft.
2014-07-01Fixed printf formats for Win buildsmadmaxoft2-4/+4
2014-07-01Tolua generates LuaState_Call.inc file.madmaxoft4-624/+31
2014-07-01Initial codegen for LuaState_Call.inc.madmaxoft1-0/+196
2014-07-01Fixed a possibly unused variable.madmaxoft1-1/+1
2014-07-01Add doxy-comments.Howaner1-1/+4
2014-07-01Only fixes the server crash.Howaner2-7/+1
2014-07-01Fix server-crash with non-existing items.Howaner2-2/+8
2014-07-01Fixed linking order under MinGW.Mattes D1-1/+1
Ref.: #1044
2014-06-30Fixed size_t printfing under MinGW.Mattes D1-3/+18
2014-06-30Fixes.Howaner2-4/+4
2014-06-30Fixed cFile compilation under MinGW.madmaxoft1-0/+3
2014-06-30Moved the random code to a function (cSheep::GenerateNaturalRandomColor())Howaner2-36/+47
2014-06-30Implemented Vector3<>::Floor()Tiger Wang2-10/+19
2014-06-30Removed unneeded codeTiger Wang4-38/+1
2014-06-30Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner6-26/+67
2014-06-30Unnecessary returnHowaner1-2/+0
2014-06-29Fixed respawningTiger Wang12-19/+19
* Fixes #1103
2014-06-29SuggestionsTiger Wang3-3/+20
2014-06-29Fixed offline UUID generator.Mattes D1-2/+4
It generated invalid UUIDs, too many hex chars.
2014-06-29Removed bad commentTiger Wang1-1/+0
2014-06-29Properly implemented enderchestsTiger Wang10-99/+102
2014-06-29Send statistics to the player, when he logged in.Howaner2-2/+4
2014-06-29Code fixes.Howaner1-1/+1
2014-06-28An unification of code styleTiger Wang1-1/+1
2014-06-28Likely fixed too quick food depletionTiger Wang1-1/+1
* Fixes FS427 properly, hopefully
2014-06-28Fixed doxycommentsSTRWarrior1-3/+3
2014-06-28Fixed issue with breaking blocks at -1 coordinatesTiger Wang1-6/+1
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang9-17/+324
* Fixes #944
2014-06-28Fixed a silly path error in #include.Mattes D1-1/+1
2014-06-28CMake: Added polarssl include dir as non-system.Mattes D1-1/+2
2014-06-28Save IsSheared from Sheep.Howaner2-4/+14
2014-06-28Fix sheep color's, add shear sound.Howaner3-3/+42
2014-06-28Changed include folders to work for Bindings, too.Mattes D1-3/+3
2014-06-28Added more block exceptions to torchesTiger Wang1-0/+4
2014-06-28Minor change to buttons and leversTiger Wang2-3/+3
+ They now detect if the block they are on occupies its voxel, instead of just being solid
2014-06-28Fixed bad water/redstone simulator communicationTiger Wang1-32/+22
* Fixes #713
2014-06-28Fixed server forcing players afloatTiger Wang1-1/+4
* Fixes #1131
2014-06-27Added generic entity-collecting.Mattes D17-25/+36
Now any cEntity can be collected, not only cPickups. This should help PR #1098.
2014-06-27Added PolarSSL dependency to Bindings.Mattes D1-1/+1
2014-06-27Removed the md5 library, obsoleted by PolarSSL.Mattes D3-19/+16
Fixes #1130.
2014-06-26Check GridSize for 0worktycho1-0/+10
Fixes CID 68226 and CID 66437
2014-06-26Add Null check to SendBlockToworktycho1-1/+1
Fixes CID 43611
2014-06-26FurnaceRecipe parsing: Fixed whitespace removing.Mattes D1-1/+1
2014-06-26Fixed misformed trimming.Mattes D1-1/+1
2014-06-26FurnaceRecipe: Moved the parsing into separate functions for clarity.Mattes D2-60/+68
2014-06-26FurnaceRecipe parser: Made the parser more forgiving.Mattes D1-2/+2
Errors don't cause a stop in the parsing, but rather just skip the offending line.
2014-06-26FurnaceRecipe parser: Added an else branch, changed to a switch.Mattes D1-45/+69
2014-06-26Add comment.Howaner1-0/+1
2014-06-26Fixed a comment and changed CombineCount to short.Howaner1-2/+2
2014-06-26GameMode checkHowaner1-1/+1
2014-06-25BlockInfo is now a proper C++ singleton.madmaxoft2-381/+374
It is properly initialized before it is ever used.
2014-06-24Optimize combining.Howaner1-3/+3
2014-06-24Better combining.Howaner1-3/+20
2014-06-24Add entity health saving.Howaner2-16/+8
2014-06-24Fix pickup combining over the maximum stack size.Howaner2-5/+9
2014-06-24Fixed BlockInfo initialization.madmaxoft1-15/+6
Now cBlockInfo is initialized in the getter, instead of "at any time during startup", which included "after it was already needed".
2014-06-24Added asserts for cChunk::GetBlockEntity() coords.Mattes D1-0/+6
2014-06-24Fixed crashes in HopperEntity.Mattes D1-19/+58
Some of the coords were off and some functions were assuming too much. Fixes the crash reported in http://forum.mc-server.org/showthread.php?tid=1497
2014-06-23Parenthesised comparisonTiger Wang1-1/+1
2014-06-23VoronoiMap: Added a missing initializer.madmaxoft1-1/+3
Fixes CID 68410.
2014-06-23Added a (disabled) block meta mirror / rotate test code.madmaxoft1-2/+87
This will perform basic sanity checks on block metadata mirroring and rotating. cMetaRotator must disable its asserts in order for this to work.
2014-06-23Fixed the slab vertical mirroring.madmaxoft1-9/+6
2014-06-23Fixed sign and lever rotations.madmaxoft2-8/+9
2014-06-23Prefabs don't draw into chunk if they don't intersect.madmaxoft1-0/+11
2014-06-22SuggestionsTiger Wang1-6/+7
2014-06-22Bettered zombie and skeleton AITiger Wang2-6/+4
* Fixed potential issues with skylight detection
2014-06-22Some Entity.cpp style improvementsTiger Wang2-13/+8
2014-06-22Fixed multiple issues with projectilesTiger Wang8-63/+112
* Fixed arrows not being collectable/not truly hitting a block/not lodging into blocks/not going in far enough * Fixed projectiles not playing their block hit animation owning to being destroyed too quickly
2014-06-22Changed 0xFFFFFFFB to ~0x04Howaner1-1/+1
2014-06-22Fixed another daylight sensor bugTiger Wang1-20/+23
Additionally fixed unpowering across chunks.
2014-06-22Chests don't open if obstructedTiger Wang1-0/+13
* Fixes FS383
2014-06-22Fixed missing breakworktycho1-0/+1
Fixes CID 68409
2014-06-22Fixed invalid iteratorworktycho1-2/+3
Fixes CID 60408
2014-06-22Fixed compile errorsworktycho1-2/+2
2014-06-22SuggestionsTiger Wang2-40/+30
2014-06-21Added cClientHandle::IsUUIDOnline function.madmaxoft2-2/+38
Ref.: #771
2014-06-21Removed debugging codeTiger Wang1-1/+0
2014-06-21Rewrote furnace recipe parserTiger Wang2-93/+181
* Fixes #110
2014-06-21Added a TestRails generator.madmaxoft5-0/+667
This is for debugging purposes only.
2014-06-21Fixed a caching bug in GridStructGen.madmaxoft1-2/+2
The elements in cache were queried wrong, so sometimes they wouldn't be used even if they were the ones to use.
2014-06-21Updated prefabs to the latest Gallery content.madmaxoft4-2049/+2644
2014-06-20Updated all prefabs to current Gallery content.madmaxoft2-650/+824
2014-06-20MCA saver marks chunks as populated.madmaxoft1-0/+3
Fixes #140.
2014-06-20Optimized Voronoi calculation.madmaxoft4-21/+81
Fixes #818.
2014-06-20Added pig riding.tonibm192-0/+14
Now you can ride a pig using a carrot on a stick.
2014-06-19Nullify deleted pointers.archshift35-18/+75
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift15-320/+748
Changed effect map to take a pointer of the effect as a result.
2014-06-18(Force)ExecuteCommand returns the CommandResult enumsSTRWarrior2-8/+8
Exported and documented the CommandResult enums
2014-06-17Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift6-36/+20
2014-06-17Added the OnEntityAddEffect hook.madmaxoft7-0/+57
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift7-15/+32
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft7-50/+52
2014-06-17Entity Effect: Separates total duration and ticks of activityarchshift3-22/+23
Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter
2014-06-17Fixed MSVC compilation.madmaxoft3-14/+17
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift7-10/+12
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Cave spider now poisons its victim, added IsPawn function to Entityarchshift5-5/+24
2014-06-17Added wither damage type, wither entity effect.archshift4-1/+21
2014-06-17Monster: added IsUndead(), undead-specific entity effectsarchshift3-6/+71
2014-06-17Applies splash potion effects to mobs as well as playersarchshift2-8/+12
2014-06-17Removed long function wrappingarchshift2-12/+3
2014-06-17ItemHandler: changed IsDrinkable() to take a short argumentarchshift5-18/+14
2014-06-17Splash potion: Adjusted speed, fixed spawn positionarchshift1-6/+3
2014-06-17Entity effect type: use 'eff' as a prefix instead of 'ef'archshift5-74/+74
2014-06-17Added splash potion functionalityarchshift6-15/+122
2014-06-17Entity: only fire critical hit if damage type is physicalarchshift1-1/+2
2014-06-17Player: made healing instantaneousarchshift2-2/+2
2014-06-17Implemented drinkable potions, noeffect entity effect,archshift8-6/+165
Clears entity effects on death
2014-06-17Implemented milk, added documentation to Pawn.harchshift7-5/+86
2014-06-17Pawn.cpp: fixed effect iterator BAD_ACCESSarchshift2-9/+14
Erasure was occurring before the iterator increased, causing a bad access. Solved by storing map pairs in variables and manually updating iterator before erasure. Fixed mix-up in function arguments on food poisoning
2014-06-17Pawn: Enabled entity effect broadcast, added typedefarchshift2-4/+6
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
2014-06-17EntityEffect: read-only getters, added user and distance modifier fieldsarchshift3-11/+35
User: the pawn that uses or produces the entity effect (drinks/throws a potion) Distance modifier: the potency modifier from splash potion effectivity radius
2014-06-17Player: Removed food-poisoning-specific code, set duration to 30 secondsarchshift3-27/+3
http://minecraft.gamepedia.com/Hunger#Behavior
2014-06-17Entity effects: Added handlers for entity effectsarchshift4-13/+138
Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations
2014-06-17Added iterator on tick to manage entity effect durationarchshift1-1/+18
2014-06-17cPawn: Remove unused m_bBurnablearchshift2-2/+0
2014-06-17Moved Effects.h to EntityEffects.h, added initial implarchshift9-36/+115
2014-06-17Added classes for splash potions and wither skullsarchshift5-0/+149
2014-06-17Fix fence gate sound (Redstone simulator).Howaner1-4/+10
2014-06-17Add fence gate sound.Howaner1-0/+1
2014-06-17Add UNUSED() TagsHowaner1-0/+6
2014-06-17Add door soundHowaner1-0/+1
2014-06-17Added crBlocked and crNoPermissionSTRWarrior2-2/+4
2014-06-17HandleCommand now returns an CommandResult enum.STRWarrior2-23/+19
2014-06-17Check block type from cBlockEntityHowaner1-8/+8
2014-06-17Add more documentation.Howaner1-0/+2
2014-06-17derpHowaner1-3/+3
2014-06-17Fixed possible confusion.STRWarrior2-2/+8
If a command handler gets an error then the player will receive an unknown command error. This can be confusing for players.
2014-06-17Add comment.Howaner1-0/+1
2014-06-17Add parenthesisHowaner1-2/+2
2014-06-17The same: Float, not DoubleHowaner1-1/+1
2014-06-17Float, not DoubleHowaner1-1/+1
2014-06-17Revert "Fix right click bugs."Howaner1-41/+40
This reverts commit 61b6fdde7553dac6e2d5c5a071b9a13fa0d71b2f.
2014-06-17The motion is already set in AddBasicEntity()Howaner1-5/+0
2014-06-17Add DoWithBlockEntityAt() to WorldInterface.hHowaner4-40/+64
2014-06-17Add end lines to BlockPressurePlate.hHowaner1-1/+5
2014-06-17Add pressure plate handlerHowaner3-0/+41
2014-06-17Fix fence gate redstone simulator.Howaner1-2/+1
2014-06-16Split Broadcast Sound Effect function call in multiple lines.Howaner2-3/+24
2014-06-16Fix doubleslab meta.Howaner1-0/+1
2014-06-16Glass shouldn't drop.Howaner1-0/+3
2014-06-16This isn't neededHowaner1-1/+0
2014-06-16Fix bow sound and creative arrow pickup.Howaner2-19/+30
2014-06-16Fixed GCC compilation.madmaxoft1-1/+1
2014-06-16Fixed MSVC builds.madmaxoft1-9/+0
2014-06-16Add bow charging animationHowaner2-2/+6
2014-06-16FIxed second weird enumTycho1-20/+1
2014-06-16Refactored reversing logic into seperate functionTycho2-16/+16
2014-06-16Fixed gcc compilation.madmaxoft1-1/+1
2014-06-16Fixed tigers weird enumsTycho1-14/+6
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho30-455/+820
2014-06-16Moved repeater handling to seperate passTycho2-97/+64
2014-06-16Fix a few warningsTycho1-3/+3
2014-06-16Added overrideTycho1-3/+3
2014-06-16Fixed a copypasta error in WormNestCaves generator settings.madmaxoft1-1/+1
2014-06-16Updated the SandFlatRoofVillage prefabs.madmaxoft1-288/+381
2014-06-15Added random offsets to cGridStructGen.madmaxoft17-85/+127
Fixes #740.
2014-06-15Players are saved regularlyTiger Wang2-2/+22
* Fixes #1076
2014-06-15Fixed bad comparison crashTiger Wang1-2/+2
* Fixes #1095
2014-06-15Fixed daylight sensor unpoweringTiger Wang1-6/+28
* Fixes #1094
2014-06-14Changed names of callbacksTycho2-10/+10
2014-06-14Removed spacesTycho1-2/+2
2014-06-14Documented starvation callbacksTycho1-0/+7
2014-06-14Documented cAllocationPoolTycho1-0/+5
2014-06-14Reformated ChunkMap.hTycho2-4/+10
2014-06-14Moved m_SectionsTycho1-1/+2
2014-06-14Added generic Allocation Pool InterfaceTycho7-30/+46
2014-06-14fixed spacesTycho7-13/+15
2014-06-14fixed spacesTycho3-6/+6
2014-06-14fixed compileTycho1-1/+1
2014-06-14fixed const issueTycho1-3/+3
2014-06-14Fill with buffer on startupTycho1-0/+10
2014-06-14Fixed commentsTycho2-6/+6
2014-06-14Added loggingTycho1-3/+12
2014-06-14Removed an unused tolua_end and tolua_begin pair.madmaxoft1-2/+0
2014-06-14Simplified speed clamping.madmaxoft1-8/+3
2014-06-14Refactored speed-setting to use a common function for all cases.madmaxoft4-93/+44
2014-06-14Fixed bindings generation for Win64 builds.Mattes D3-9/+29
Fixes #1092.
2014-06-14Fixed MSVC Bindings generation.Mattes D1-0/+3
2014-06-14Remove windows bindings crutchworktycho1-10/+0
2014-06-14Fixed a repeater issueTiger Wang2-17/+16
* Repeaters now properly continuously update their powering * Minor cosmetic improvements
2014-06-14Reduced cPluginManager code duplicationTiger Wang1-286/+178
2014-06-13Removed an unused fwd declaration.madmaxoft1-1/+0
2014-06-12automaticlly build tolua and generate bindings as part of build.tycho2-84/+85
2014-06-12Fixed two redstone bugsTiger Wang1-0/+6
* Fixed chunk border powering * Fixed quick place-replace powering
2014-06-11DispenserEntity code cleanup after PR merge.madmaxoft2-30/+30
2014-06-11Roads in villages are made out of wooden planks if they generate on water.STRWarrior1-4/+17
2014-06-11Changed the teleport permissions to the new ones.Alexander Harkness1-1/+1
2014-06-11Fixed constnessworktycho1-5/+5
2014-06-11Player.h: Moved doxy-comments to Entity.harchshift2-3/+10
Moved doxy-comments to the defining function in Entity.h rather than the overloaded functions in Player.h Comment for each function (instead of assumed encapsulating comments) @deprecated tag for ForceSetSpeed()
2014-06-11Compile fixTiger Wang1-1/+1
2014-06-11Reduced code duplicationTiger Wang1-4/+4
call @maxmaxoft! calling... call connected (0:20) call ended
2014-06-11IsWeatherSunnyAt does something useful :DTiger Wang1-9/+5
2014-06-11Added cBlockArea:GetCoordRange to Lua API.madmaxoft1-0/+32
2014-06-11SMICOLOSLAlexander Harkness1-4/+4
Meant to be semicolons up there.
2014-06-11Revert "Initial Mesa Bryce implementation."madmaxoft4-116/+4
This reverts commit 1ff1a93866ab81e3868588a256f446a902a1a8c4.
2014-06-11Updated unnecessary function :/Tiger Wang1-1/+5
2014-06-11Add DoxyComments to he weather things. Alexander Harkness1-7/+24
Also changed the function names.
2014-06-11Add new IsWeatherWet hook for cauldrons.Alexander Harkness1-1/+12
@madmaxoft can you comment?
2014-06-11Removed assert that is now informed by type systemworktycho1-1/+0
2014-06-10Initial Mesa Bryce implementation.madmaxoft4-4/+116
2014-06-10Fixed clang warnings about abs() in Noise.cpp.madmaxoft1-2/+2
MSVC provides a float overload of abs(), clang does not. Using the proper fabs().
2014-06-10Fixed a race condition when adding a player to a world.madmaxoft3-4/+29
2014-06-10Fixed gcc compilation.madmaxoft1-2/+2
2014-06-09Added an experimental height generator, Mountains.madmaxoft2-0/+87
2014-06-09Added cRidgedMultiNoise, fixed cPerlinNoise.madmaxoft2-1/+233
2014-06-09Added Y coord checks and documentation to cBlockDoorHandler.madmaxoft1-19/+40
2014-06-09ToLua can now be run in pure-lua mode.madmaxoft1-0/+27
See the src/Bindings/AllToLua_lua.bat for usage example.
2014-06-09Fixed a crash when creating negative-size blockareas.madmaxoft1-0/+8
Now the server emits a warning instead and continues execution.
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D32-96/+204
Fixes #1039, fixes #851
2014-06-08Added queue for adding entities to cWorld.Mattes D6-7/+42
This alone doesn't work properly yet, further changes to cPlayer are needed.
2014-06-08Proper fix for long interaction.madmaxoft1-7/+14
Fixes #1078 and #1038.
2014-06-07docs/Generator: Added the easy Finishers.madmaxoft1-1/+13
2014-06-07Added RainbowRoads finisher generator.madmaxoft5-3/+1594
2014-06-07Further improvements on redstone speedTiger Wang3-68/+81
Based on suggestions of @worktycho * Repeaters now walk their data structure only when needed * Fixed a bug with cChunkData returning an incorrect value for whether a meta had changed
2014-06-07Fixed mob hitbox sizes, removed TODOsarchshift3-5/+2
Measured bat and blaze in vanilla, updated values. Cavespiders are, in fact, passive in the day.
2014-06-06Further reduced redstone idle CPU consumptionTiger Wang1-7/+27
* Repeaters and wires are no longer unnecessarily ticked * Fixed #1063, likely addressed #1062 * Fixed bugs regarding duplicate values
2014-06-05- Fixed a lot of alignmentJoannisO1-7/+7
2014-06-05Redstone fixes and improvements [SEE DESC]Tiger Wang3-61/+96
Haha, see desc. * Improved redstone speed through a marking dirty system. Only a select few devices are still continuously simulated * Fixed redstone crashing with recent piston changes
2014-06-04Fix itemframe break.Howaner1-1/+3
2014-06-04- Removed the code that removed fireworks from a dispenser even thoughtJoannisO1-3/+0
they weren't launched.
2014-06-04derpworktycho1-1/+1
2014-06-04- Fixed variable names in a function.JoannisO1-2/+2
2014-06-04- Fixed a lot of astethicsJoannisO2-14/+17
2014-06-04Fixed bad coordinateworktycho1-1/+1
2014-06-04Make sure m_StackSizeToBeUsedInRepair Always has a valid valueworktycho1-1/+3
2014-06-04Removed unused field testworktycho1-1/+0
2014-06-04Initialise m_Callbacks field to NULL in empty constructor.worktycho1-1/+2
2014-06-04Exploded creepers drop nothing, part of #1058Tiger Wang1-2/+8
2014-06-04Fixed mob loading, part of #1058Tiger Wang1-1/+1
2014-06-04Fixed #1057Tiger Wang1-1/+1
2014-06-04Update IncrementalRedstoneSimulator.cppJulian Laubstein1-8/+8
2014-06-03Player permissions aren't logged to console anymore.madmaxoft1-7/+0
This was only logspam on most servers and there are alternative ways to list players' permissions.
2014-06-03- Fixed an issue where there were 2 "DispChunk"-s in the same function.JoannisO1-16/+5
Resused the initial one.
2014-06-03- Fixed a bug where I didn't return anything in the GetShootVectorJoannisO1-0/+2
function. This was however passed as "working" by GCC.
2014-06-03Fixed OnProjectileHitBlock bindings.madmaxoft3-82/+111
Also sorted the various cLuaState::Push() functions.
2014-06-03- Fixed a bug where I used the FireCharge ITEM instead of the ProjectileJoannisO1-1/+1
ENUM
2014-06-03- Cleaned up the code massivelyJoannisO2-90/+31
- Stopped using cChunk in the GetShootVector class. Parameter is now the Metadata of the block - Stopped using cChunk in the SpawnProjectileFromDispenser method now using coordinates and finding the chunk by itself. - Removed the matrix calculations from GetShootVector.
2014-06-03- Added doxy comments and exported to luaJoannis2-22/+64
- Manipulation of the ShootVector is not to be done by the function that wants to spawn a projectile.
2014-06-02Small tweak for mobsSTRWarrior1-4/+14
Mobs move a bit smoother and aren't able to move allot when in air.
2014-06-02cBlockArea reading hotfix.madmaxoft1-63/+109
This should fix the crashes introduced with chunksparsing. Not the most performant solution, but at least it should work. Ref.: #1056
2014-06-01Update UnderwaterBase prefabs.madmaxoft1-12/+378
Added the waterfall room and the decaying sphere room. Re-tweaked the pieces' weights.
2014-06-01Suggestions twoTiger Wang2-10/+12
2014-06-01abort does not take a parameter.worktycho1-2/+2
2014-06-01Use abort in SIGSEGV and SIGABRT handlersworktycho1-2/+2
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01Made a_BlockHitPos a referenceSTRWarrior5-6/+6
2014-06-01Updated UnderwaterBase prefabs.madmaxoft1-103/+123
2014-06-01Updated AlchemistVillage prefabs.madmaxoft1-103/+105
2014-06-01Players can't set items in the result slot, when they shift a item.Howaner2-0/+39
2014-06-01Add HandleSmeltItem() call for achievements.Howaner1-7/+11
2014-06-01Missing return;Howaner1-0/+1
2014-05-31Added an initial version of the underwater base generator.madmaxoft5-0/+2103
2014-05-31- Changed the name of the ProjectileLookVector method.JoannisO2-3/+3
Note: I still think the new name is unclear. Any other suggestions are welcome.
2014-05-31Used recommendationsSTRWarrior6-9/+8
2014-05-31Moved the IsDoor check before the meta get.Howaner1-2/+1
2014-05-31Add doxy-commentHowaner1-3/+4
2014-05-31Updated PlainsVillage prefabs.madmaxoft1-73/+85
2014-05-31Fixed a memory leak in VillagGen.madmaxoft1-0/+5
2014-05-31Set DraggingItem to Slot directly.Howaner1-1/+1
2014-05-31Fix DBL bug.Howaner1-5/+4
2014-05-31Change "Slot.IsEmpty()" to "Slot.m_ItemCount <= 0"Howaner1-1/+1
2014-05-30Fix the furnace result slot.Howaner1-2/+90
2014-05-30Fixed bindings for cCompositeChat:SetMessageType().madmaxoft1-2/+2
2014-05-30Updated PlainsVillage and AlchemistVillage.madmaxoft2-239/+1270
2014-05-30Wrong arrow commit.Howaner1-4/+0
2014-05-30Better SetOpen() and IsOpen() function from the doors.Howaner2-77/+27
2014-05-30removed NULL assignment to const valueTycho1-1/+0
2014-05-30removed unneded addressofTycho1-7/+11
2014-05-30Fixed cChunkData nibble copying.madmaxoft1-9/+9
2014-05-30Test failures break into MSVC debugger.madmaxoft1-0/+6
2014-05-30Test failures are reported verbosely and into the debug console on Win.madmaxoft1-2/+18
2014-05-30Fixed sign comparison.madmaxoft1-1/+1
2014-05-30Fixed wrong copy sizes in cChunkData.madmaxoft1-10/+10
2014-05-29Attempt at fixing an unresolved symbol in gcc / clang.madmaxoft1-1/+1
2014-05-29Fix bug when a_Idx is not a multiple of SectionBLockCountworktycho1-1/+1
2014-05-29Derpworktycho1-1/+1
2014-05-29fix underflowworktycho1-1/+1
Wish c++ could specify saturating unsigned underflow.
2014-05-29Fixed wrong block sizes for copying / setting.madmaxoft2-42/+36
2014-05-29- Prefixed all args with "a_"JoannisO2-6/+10
- Added braces around the cases.
2014-05-29Fixed Wrong types in nibble sizeofsworktycho1-3/+3
2014-05-29Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug.Howaner2-13/+90
2014-05-29Fixed overflow bugworktycho1-6/+9
2014-05-29Added comments, reformatted code.madmaxoft6-280/+226
2014-05-29SuggestionsTiger Wang1-1/+6
2014-05-29More comments!Tiger Wang1-5/+4
2014-05-29Revert "Fixed a food saturation issue"Tiger Wang1-1/+1
This reverts commit 67308e4337b422ebefb249049e662266072b0ba2.
2014-05-29Add commentworktycho1-0/+4
2014-05-29Changed block send queue to use vectorsTiger Wang3-21/+29
As suggested by @worktycho.
2014-05-29Fixed piston power checkingTiger Wang1-11/+6
2014-05-29Fixed a memory leak in cPOCPieceGeneratormadmaxoft1-0/+5
2014-05-29Fixed forgotten changes.madmaxoft1-3/+3
2014-05-28Fixed a crash in message formatter.madmaxoft1-1/+2
The code would fail if a message is sent to a player not yet added to a world.
2014-05-28cChunkData: Normalized code style.madmaxoft2-89/+106
2014-05-28Code improvementsHowaner3-12/+4
2014-05-28Fix hay place sound.Howaner2-1/+31
2014-05-28Fix fire break.Howaner2-18/+19
2014-05-28Add throw sound and fix arrow server crash.Howaner4-5/+16
2014-05-28Fixed cChunkData formatting.madmaxoft2-39/+101
2014-05-28Fixed a memory leak in cPrefabPiecePool.madmaxoft2-1/+34
The pool pieces weren't freed upon pool destruction.
2014-05-28Fix Y-Position from arrow entity.Howaner1-0/+1
2014-05-28Fix right click bugs.Howaner1-40/+41
2014-05-28Fix skull bugs.Howaner2-2/+46
2014-05-28- Removed breaks. I thought it wouldn't compile without them but theJoannisO1-2/+0
issue was appearantly solved with an earlier commit.
2014-05-28- Fixed an issue where dispensers would only shoot arrows (appearantlyJoannisO1-33/+24
some commits didn't come through) - Cleaned up the code according to suggestions.
2014-05-28- Implemented vertical dispensing for projectiles.Joannis2-16/+40
- Fixed some terrible commit issues on my side.
2014-05-27Added AlchemistVillage prefabs (Thanks, KingsCraftAu).madmaxoft3-9/+3007
2014-05-27Fixed testing weights in PlainsVillages.madmaxoft1-3/+3
2014-05-27cPieceGenerator chooses starting pieces based on weights.madmaxoft4-1/+44
Fixes #1033.
2014-05-27Biome generators: biome lists can contain spaces.madmaxoft1-1/+1
2014-05-27Fixed test globals to work with precompiled headersTycho2-16/+36
2014-05-27- Fixed the ampersands and asterisks to fit the format.Joannis2-8/+8
- Fixed the method "SpawnProjectileFromDispenser" to use CamelCasing.
2014-05-27ClientHandle.cpp: Process look before posarchshift1-1/+1
2014-05-26ClientHandle.cpp: remove redundant codearchshift1-22/+2
HandlePlayerMoveLook() calls HandlePlayerPos() and HandlePlayerLook() to reduce code redundancy.
2014-05-26Revert "Add more move checks"madmaxoft2-59/+17
This reverts commit 989312c4e7f517ae324e857cb255211e3fd8bb06.
2014-05-26- Added support for more types of projectiles in the DispenserJoannisO2-38/+51
- Improved the method of spawning projectiles in the world - Added another method for spawning the projectiles
2014-05-26Fixed prefab test initialization.madmaxoft1-0/+3
2014-05-26Added Arrow- and FireCharge-Dispensing to DispenserEntity.JoannisO2-27/+95
2014-05-25Added support for Miners' Village.madmaxoft10-2234/+4438
The village contains both prefabs that snap to ground and prefabs that connect strictly via connectors. Fixes #1027.
2014-05-25SEMICOLONS!Alexander Harkness1-2/+2
2014-05-25Update GroupManager.hworktycho1-2/+2
2014-05-25A fix that is better than #950.Alexander Harkness1-5/+15
2014-05-25Fixed bad mergeTycho2-9/+10
2014-05-25Fixed bug in freeing NULL pointersTycho1-13/+15
2014-05-25Fixed a food saturation issueTiger Wang1-1/+1
2014-05-25Hopefully fixed piston duplication issuesTiger Wang15-437/+372
* Fixes #879 * Fixes #714
2014-05-24inject TestGlobals.h correctlyTycho1-3/+7
2014-05-24Added Japanese village prefabs.madmaxoft5-4/+2442
2014-05-24Moved accessors to cpp fileTycho2-216/+241
2014-05-24Implemented style changesTycho6-92/+95
2014-05-23Implemented Allocation Pool use by cChunkDataTycho7-32/+79
2014-05-23Use placement new to initalise objectsTycho1-2/+5
2014-05-23Fixed Mineshaft system size.Mattes D1-1/+1
2014-05-23Auto-enlargement for cGridStructGen cache.Mattes D1-0/+9
2014-05-23Fixed datatype conversion warning.Mattes D1-2/+2
2014-05-22Updated plains village prefabs.madmaxoft1-186/+171
Expanded the hitboxes so that houses don't touch each other. Fixed minor visual defects.
2014-05-22Villages have min and max density setting.madmaxoft5-17/+110
Also made roads use 3+9 scheme, instead of 3+5, for the house connectors. Fixes #1020.
2014-05-22Added doxy-commentsSTRWarrior1-6/+8
2014-05-22cEntity::SetSpeed(a_Vector3d) isn't virtualized anymoreSTRWarrior2-2/+2
2014-05-22cPlayer overrides the SetSpeedXX functionsSTRWarrior3-4/+53
Fixed compile error
2014-05-22Both SetSpeed functions are now overridden by cPlayerSTRWarrior3-6/+32
2014-05-22Updated plains village prefabs.madmaxoft1-44/+43
The DoublePlantBed had sponges in wrong places, plus a few cosmetic fixes.
2014-05-21Changed desert village roads to gravel.madmaxoft1-1/+1
2014-05-21Added second kind of desert village (FlatRoof).madmaxoft3-4/+1535
2014-05-21Fixed if spacesTycho2-22/+23
2014-05-21Added callback for stopping starvation modeTycho1-0/+4
2014-05-21Fixed reversed comparisons to nullTycho2-17/+17
2014-05-21Implemented Allocation PoolTycho1-0/+50
2014-05-21Added space to ChunkData.cppTycho1-20/+100
2014-05-21Changed cChunkData::SetMeta to return a bool indicating whether the value changedTycho2-7/+9
2014-05-21Fixed stylistic issuesTycho4-25/+25
2014-05-21Renamed cChunkBuffer to cChunkDataTycho9-67/+67
2014-05-21Fixed minor style issuesTycho3-7/+7
2014-05-21Fixed cWither::KilledByandrew2-1/+3
2014-05-20Update CompositeChat.hTiger Wang1-2/+4
2014-05-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew7-15/+128
2014-05-20Update Player.cppAlexander Harkness1-19/+19
2014-05-19Fixed a cactus Y position issueTiger Wang1-2/+3
2014-05-19Simplified cacti conditionsTiger Wang1-2/+2
2014-05-19cCompositeChat message type is now formattedTiger Wang4-5/+13
2014-05-19Added client translation to achievementsTiger Wang4-4/+70
2014-05-19Changed the m_slotarea positionJulian Laubstein1-2/+2
2014-05-19Fixed warnings in IncrementalRedstoneSimulatorJulian Laubstein1-1/+7
2014-05-19Fixed some warnings in Server.cpp, and in UI/Julian Laubstein3-3/+11
2014-05-19DerpAlexander Harkness1-1/+1
2014-05-19Rolled some changes backJulian Laubstein1-12/+2
2014-05-19Should have fixed assumptions about entity width.Alexander Harkness1-4/+5
@madmaxoft can you comment?
2014-05-19Fixed some warningsJulian Laubstein1-2/+12
2014-05-19Fixed clanging errors.Alexander Harkness1-5/+5
Please @tigerw make sure this is correct.
2014-05-18Implemented cacti damageTiger Wang3-2/+29
+ Implemented cacti damage * Fixed pickup tossing (PR #994 bug)
2014-05-18Updated SandVillage prefabs to latest Gallery content.madmaxoft1-12/+12
This fixes sand village generation.
2014-05-18There's no "round" function in MSVC2008.madmaxoft2-4/+4
2014-05-18Fixed datatype truncation in Diff() template.madmaxoft1-1/+1
2014-05-18removed the <list> includeJulian Laubstein1-1/+0
2014-05-18Added unload <pluginname> commandJulian Laubstein1-5/+9
2014-05-18Fixed issue with types not being defined for an unused parameterTycho8-107/+111
2014-05-17Village roads are drawn properly.madmaxoft2-8/+35
2014-05-17Village houses are height-adjusted onto the terrain.madmaxoft5-7/+67
2014-05-17Added load cmdJulian Laubstein1-5/+29
2014-05-17Added load command in the cServer classJulian Laubstein1-0/+6
2014-05-17derpTycho1-1/+1
2014-05-17fixed assignment bugs and Skylight bugTycho1-3/+5
2014-05-17Fix assignment ops 2worktycho1-3/+8
2014-05-17Fix assignment operatorsworktycho1-10/+14
2014-05-17Updated PlainsVillage prefabs to the latest Gallery contents.madmaxoft1-2265/+2892
2014-05-16Add more move checksHowaner2-17/+59
- Invalid X/Y/Z/Stance check (std::isnan) - Illegal stance - Illegal position (32.000.000 is the world size)
2014-05-16Fixed anvil exp removingtonibm191-1/+1
2014-05-15Fix compile error.Howaner1-1/+1
2014-05-15Move radius check.Howaner1-25/+40
2014-05-15Fixed a NULL ptr failure in GridStructGen.madmaxoft2-9/+42
When the descendant generator returned a NULL structure, the generator would crash. Now it uses a special cEmptyStructure class instead.
2014-05-15Changed village generator defaults to more reasonable values.madmaxoft1-2/+2
2014-05-15Changed village road generation to use multiple prefabs.madmaxoft3-39/+38
2014-05-15VillageGen rewritten using BFSPieceGenerator.madmaxoft5-412/+406
Piece composition is not good yet, the buildings aren't height-adjusted and the road pieces will need special processing. This is mainly for adjusting the per-piece params.
2014-05-15cPrefab can be constructed in code.madmaxoft2-0/+51
2014-05-13Fixesandrew5-20/+23
2014-05-12VillageGen: Added well placement and the general algorithm description.madmaxoft3-6/+152
2014-05-12Movement Statisticsandrew6-14/+101
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew8-10/+143
2014-05-12More switch warnings.archshift2-7/+34
2014-05-12Fixed a few more switch warnings.archshift3-32/+35
2014-05-11Fixed a warning and a complaint about a never-read variable.archshift2-15/+11
2014-05-11Initial VillageGen implementation.madmaxoft6-0/+5807
WIP, doesn't generate anything yet. Ref.: 740.
2014-05-11Fixed compilationandrew1-0/+2
2014-05-11Added several more testsfor arrays and coordinatesTycho1-4/+16
2014-05-11Fixed bug that caused Array Setters to always create segmentsTycho1-4/+4
2014-05-11Fixed stat serializationandrew4-24/+44
2014-05-11SkyLight defaults to 0xFFTycho1-1/+1
2014-05-11Fixed a bug in writting zeros to a non-allocated sectionTycho2-0/+23
2014-05-11Statistic Managerandrew16-43/+448
2014-05-11Rename HandleBlockDigCancel to FinishDigAnimtion.Howaner2-5/+5
2014-05-10Fixed stupid errorTycho1-1/+1
2014-05-10Fixed stupid buffer overflow in array setblocksTycho2-5/+5
2014-05-10Fixed the console saying no plugins are loaded.STRWarrior1-1/+1
2014-05-10Fixed compile problem.STRWarrior1-1/+1
2014-05-10A portal block now chooses a number between 2000 and 0STRWarrior1-1/+1
2014-05-10Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman.STRWarrior1-0/+14
2014-05-10Fixed bug in setting metasTycho2-19/+7
2014-05-10Client cert is not requested.Mattes D1-1/+1
2014-05-09Add block place/break distance check.Howaner2-0/+31
2014-05-09Add DIG_STATUS_CANCELLED packet and add item resend, when a block can't place/break.Howaner4-36/+79
2014-05-09Fixed size_t in FireworksSerializer.Mattes D1-2/+2
2014-05-09Fixed message formatting.Mattes D1-2/+2
2014-05-09Removed unused constants from MineShafts and Ravines.Mattes D2-9/+0
2014-05-09Even more size_t fixes.Mattes D1-4/+4
2014-05-09More size_t fixes.Mattes D2-6/+6
2014-05-09Removed an unused NetherFortGen variable.Mattes D1-6/+0
2014-05-09Removed an unused macro.Mattes D1-7/+0
2014-05-09Build fixes after the last size_t batch.Mattes D6-15/+15
2014-05-09Range Check on schematic sizeworktycho1-1/+1
Fixes CID 55830
2014-05-09World pre-generation distance is settable in world.ini.Mattes D1-2/+6
2014-05-09Lighting thread disabled its chunkstays before deleting them.Mattes D1-0/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D46-156/+173
2014-05-09Check the height and width values read.worktycho1-0/+8
Fixes CID 55831
2014-05-09Ravines rewritten using cGridStructGen.Mattes D2-182/+40
Ref.: #987.
2014-05-09Initialise m_HasTeleported in both constructorsworktycho1-0/+1
2014-05-09cWormNestCaves rewritten using cGridStructGen.Mattes D2-223/+29
Ref.: #987.
2014-05-09Mineshafts generator rewritten to use GridStructGen.Mattes D2-156/+33
2014-05-08Fixed cGridStructGen.Mattes D1-18/+6
Now cNetherFortGen works with the new architecture.
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D46-156/+173
2014-05-07cNetherFortGen uses cGridStructGen.madmaxoft5-264/+42
WIP, this doesn't work properly yet.
2014-05-07Superfluous method override.Howaner1-6/+0
2014-05-07Missing commaHowaner1-2/+2
2014-05-07Send item back to the client when the item get damage.Howaner1-0/+1
2014-05-07Change m_RepairCost to int.Howaner6-16/+10
2014-05-07Add lava and water check to block handlers.Howaner2-2/+14
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner6-9/+9
2014-05-07Where is the problem with clang?Howaner1-1/+1
2014-05-07Fix MagmaCube save.Howaner2-3/+9
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner8-57/+125
2014-05-07Initial cPrefabPiecePool refactoring.madmaxoft2-0/+196
Ref.: #986.
2014-05-07Fixed wires powering wires diagonally below themTiger Wang1-5/+1
2014-05-06Fixed an extra space.madmaxoft1-1/+1
2014-05-06Suggestions'd #2Tiger Wang2-1/+6
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner9-34/+33
2014-05-06Simplified the HandleAnvilItemName() code.Howaner1-7/+2
2014-05-06Initial cGridStructGen refactoring.madmaxoft2-0/+262
Ref.: #987.
2014-05-06Suggestions'dTiger Wang3-7/+11
2014-05-05Changed cPieceGenerator to support pairings.madmaxoft3-57/+104
Fixes #982.
2014-05-05Prefabs can specify that they don't want flooring.madmaxoft1-30/+33
Previously the flag was ignored.
2014-05-05Change int to size_t return.Howaner2-3/+3
2014-05-05Fixed a flipped condition in cBlockArea::Merge().madmaxoft1-2/+2
2014-05-05Fix SetRepairedItemName() in SlotArea.cppHowaner1-1/+1
2014-05-05Add comments to CanTakeResultItem()Howaner1-5/+5
2014-05-05Add doxycomments to cSlotAreaAnvil functions.Howaner1-0/+2
2014-05-05Changed HandleAnvilItemName() length to size_t in ClientHandle.hHowaner1-1/+1
2014-05-05Add anvil shift click.Howaner2-5/+86
2014-05-05This isn't a enchantment table :DHowaner1-1/+1
2014-05-05Add clicks, exp subtraction, item check, ...Howaner7-18/+210
2014-05-05Add MC|ItemName plugin message.Howaner6-8/+51
2014-05-05Add anvil window and slot area.Howaner13-0/+356
2014-05-05Fixed crash on creating a world during plugin initialisationworktycho1-1/+1
2014-05-05Fixed formattingTiger Wang1-4/+5
2014-05-04Fixed 027efe09ea3d3222c3cbf169643e57773c1614aeTiger Wang1-3/+49
2014-05-04Fixed lever and button powering directionTiger Wang1-16/+8
2014-05-04Removed convert-assign operator.madmaxoft1-8/+0
We want all conversions to be explicit, not hidden.
2014-05-04Fixed pressure plate oversightsTiger Wang1-2/+8
* Fixed stone pressure plates not checking for the correct distance for players * Fixed pressure plates in general not link powering the blocks beneath them
2014-05-04Fixed portal Z direction loop coding failureTiger Wang1-10/+9
* Fixed portals created in the ZP/ZM direction eating its frame * Changed return type of a function
2014-05-03Hotfixed Chunked transfer encoding in Yggdrasil.madmaxoft1-1/+1
By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
2014-05-03Fixed connection encryption.madmaxoft1-1/+1
Fixes #975.
2014-05-03Removed the controversial Vector3::operator <.madmaxoft1-6/+0
It hasn't been used in any C++ code and Lua doesn't need it.
2014-05-03Fixed float comparison warnings in Vector3.madmaxoft1-5/+23
There's a bitwise comparison (Equals), and there's Eps-based comparison (EqualsEps).
2014-05-03Implemented a true assignment operator for Vector3.madmaxoft1-1/+9
2014-05-03Fixed vanilla fluid simulator.madmaxoft1-4/+1
Fixes #919.
2014-05-03cCHunkBuffer that compiles with TestGlobals.hTycho4-1/+13
2014-05-02Attempted fix for CLang warnings in Vector3.h.madmaxoft1-1/+9
C++11 seems to have deprecated classes that have custom copy-constructor but not a custom assignment operator.
2014-05-02WebAdmin outputs a log message about HTTP / HTTPS status.madmaxoft1-18/+31
2014-05-02Fixed vanilla fluid simulator.madmaxoft4-14/+20
Fixes #919.
2014-05-02Fixed a buffer overflow in cChunk:SetLight().madmaxoft1-2/+2
There are only half as many bytes for light than there are blocktypes.
2014-05-02Open files in shared mode on windows, so that other tools may read them.madmaxoft1-2/+2
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
2014-05-02A bit of reformatting.madmaxoft1-5/+10
2014-05-02Fixed MagmaCube spawning.madmaxoft1-0/+4
Fixes #928.
2014-05-02Added a sanitizer for Spawn egg damage value.madmaxoft1-1/+39
This disallows spawning unknown mobs from unknown spawn eggs. Ref.: #928.
2014-05-02HOOK_DISCONNECT has cClientHandle as its first parameter.madmaxoft6-10/+10
Ref.: #655.
2014-05-01Fixed warnings in ManualBindings.madmaxoft1-20/+20
2014-05-01Fixed warnings in Lua helpers.madmaxoft2-3/+3
2014-05-01Fixed a warning in Noise.madmaxoft1-1/+1
2014-05-01More ClientHandle fixes.madmaxoft2-3/+3
2014-05-01Fixed warnings in ClientHandle.madmaxoft8-9/+9
2014-05-01Fixed warnings in cByteBuffer.madmaxoft2-14/+14
2014-05-01Fixed warning in BlockID.madmaxoft1-1/+1
2014-05-01Fixed warnings in cBlockArea.madmaxoft1-2/+2
2014-05-01Fixed warnings in FastNBT.madmaxoft1-2/+2
2014-05-01Fixed warning in cCallbackSslContext::cDataCallbacks.madmaxoft1-0/+3
2014-05-01Fixed warning in cBlockArea.madmaxoft1-1/+1
2014-05-01Added a missing return statement.madmaxoft1-0/+1
2014-05-01Removed the explicit copy constructor for cItem.madmaxoft1-0/+6
The compiler generates an implicit one with the same contents and warns about it. The function left in for ToLua to generate the binding for it.
2014-05-01cSslContext has virtual destructor now.madmaxoft1-1/+1
2014-05-01Fixed MSVC2013 compilation.Mattes D1-1/+1
2014-05-01Renamed PublicKey to CryptoKey in CMakeLists.txtMattes D1-3/+2
2014-05-01Anvil saver pads data to 4K boundaries.madmaxoft1-0/+5
Fixes #524.
2014-05-01Renamed cPublicKey to cCryptoKey.madmaxoft9-41/+40
The class can hold both the private key and the public key, bad naming on PolarSSL's part. Also somewhat fixed the cert and key loading in cHTTPServer.
2014-05-01Fixed crashes in the SSL HTTP connection.madmaxoft9-23/+36
2014-05-01Implemented SSL connection for WebAdmin.madmaxoft4-2/+191
Fixes FS-319.
2014-05-01Fixed HTTP message parsing, prepared for SSL.madmaxoft2-3/+4
2014-05-01Added a (disabled) test of low-security ciphersuites.madmaxoft1-0/+12
Enabling this allows the connection to be sniffed and decoded using Wireshark, when given the SSL private key.
2014-05-01Fixed BufferedSslContext's buffer reading and writing.madmaxoft1-2/+2
2014-05-01cSslContext supports setting own cert / privkey.madmaxoft5-7/+187
2014-05-01Added cBufferedSslContext implementation.madmaxoft2-20/+51
2014-04-30If webadmin.ini doesn't exist, example one is written immediately.madmaxoft1-0/+1
2014-04-30Fixed a warning when an empty item is being created.madmaxoft1-1/+1
2014-04-30Ladders set as transparent.madmaxoft1-0/+1
2014-04-30Removed the unused cBlockingTCPLink class.madmaxoft3-171/+0
2014-04-29Delayed sending the KeepAlive packet for 3 seconds after login.madmaxoft1-0/+5
This should alleviate #889.
2014-04-29Removed unneeded #includes.madmaxoft1-6/+0
2014-04-29Moved the rest of the Crypto objects into their own respective files.madmaxoft13-422/+465
2014-04-29Moved cPublicKey to its separate file in PolarSSL++.madmaxoft6-109/+124
2014-04-29Added BiomeToString() API function.madmaxoft2-81/+106
2014-04-29Added BiomeToString() API function.madmaxoft2-81/+106
2014-04-29Added missing initialization.madmaxoft1-2/+5
2014-04-29Moved cRsaPrivateKey to PolarSSL++, rewritten using existing objects.madmaxoft9-225/+244
2014-04-28Disabled MSVC warnings about constant bool expressions.madmaxoft1-2/+19
2014-04-28Hopefully fixed repeated clang warnings.madmaxoft1-9/+9
2014-04-28Fixed a MSVC warning.madmaxoft1-1/+1
2014-04-28Added the G1 root cert.madmaxoft1-2/+29
Now the authenticator finally works.
2014-04-28Added a debug cert printing function.madmaxoft2-0/+65
2014-04-28Fixed braces.madmaxoft1-1/+5
2014-04-28Fixed missing return value warning in MSVC.madmaxoft1-0/+1
2014-04-28Removed static from combinators.Tycho1-7/+7
THis allows us to use the functions in template params at the cost of polluting the global namespace.
2014-04-28Fixed unbraced ifsTycho1-10/+40
2014-04-28Removed inlines from combinatorsTycho1-7/+7
gcc requires external linkage for functions provided to template parameters
2014-04-28Template MagicTycho4-173/+183
Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it.
2014-04-28Revert "Withers now use the new invulnerable."Howaner2-10/+26
This reverts commit 619592b5a0ab651e714d55932bc7909e4204cee9.
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner5-28/+4
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
2014-04-28Fixed projectile source filenames, indentationsarchshift26-80/+80
2014-04-27Reordered constructors.madmaxoft1-2/+2
2014-04-27Fixed a late-night typo.madmaxoft1-2/+2
2014-04-27Fixed warnings.madmaxoft2-2/+3
2014-04-27Fixed player spawning #953.madmaxoft1-1/+4
2014-04-27Worked around const pointerTycho1-2/+3
2014-04-27Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes.madmaxoft1-91/+45
2014-04-27PolarSSL wrappers for the SSL context.madmaxoft10-5/+847
2014-04-27cSocket creates the socket in Connect if no socket is present yet.madmaxoft1-2/+8
2014-04-27Fixes to uninitallsed array access in Noise.cppTycho1-0/+2
CID 43634, 43634
2014-04-27Initalize counter in fastrandomTycho1-1/+2
Fixes CID 43622
2014-04-27Initialised MetaArrays in BlockAreaTycho1-2/+6
Fixes CID 43621
2014-04-27Removed unneeded assertTycho1-1/+1
Fixed CID 43610
2014-04-27Removed Old AssertsTycho1-2/+0
Removed asserts about non-negative numbers on what are now unsigned types Fixes CID 43608
2014-04-27Removed old unused codeTycho1-5/+0
2014-04-27Fixed OnPluginMessage hook not exiting early.Tycho1-1/+1
OnPluginMessage hook would call all plugins even after one returned true. Fixes CID 43512
2014-04-27Added some commentsandrew2-2/+2
2014-04-27Revert "Creative players cannot throw ender pearls."archshift1-16/+0
This reverts commit 75bb36574b4bb78e8b5975bf905a97402fd8a4bb.
2014-04-27Creative players cannot throw ender pearls.archshift1-0/+16
2014-04-27Fixed ToLua errors, added newlinesarchshift18-19/+19
2014-04-27Redstone simulator now directly accesses cChunkTiger Wang10-453/+586
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes
2014-04-27Another attempt at #889.madmaxoft1-3/+5
The packet was being sent after the state was adjusted, so another thread *may* have sent another packet in the meantime.
2014-04-27Fixed bad commentTycho1-1/+1
2014-04-27Fixed a couple of segfaults and made Free a seperate functionTycho2-6/+39
2014-04-27Added other half of implementationTycho1-14/+133
2014-04-27Fixed issues with gccTycho1-6/+7
2014-04-27Fixed MobProximity Counter to remove chunk copysTycho2-5/+4
2014-04-27Fixed bad mergeTycho1-13/+9
2014-04-27Fixed ToLua issuesarchshift9-19/+24
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift5-115/+116
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift6-74/+85
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift6-82/+90
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift5-74/+84
2014-04-27Moved cExpBottleEntity out of ProjectileEntity.harchshift4-52/+61
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift5-86/+95
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift5-91/+100
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift10-284/+297
2014-04-27A tiny speed improvement in ApplyFoodExhaustion()Tiger Wang1-5/+5
2014-04-27More comments!Tiger Wang2-3/+10
* Also fixed a potential issue with position sending - if someone moved slowly enough, their position would never be updated.
2014-04-27Added static const, initialized fields.archshift4-2/+7
2014-04-26More small fixes.archshift3-11/+11
2014-04-26Moar alignment.archshift1-7/+7
2014-04-26Implemented Chunk Sparsing with segmentsTycho17-401/+610
2014-04-26Further refactored, Reverted Minecart changearchshift11-90/+62
Other small changes.
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner5-4/+28
2014-04-26Withers now use the new invulnerable.Howaner2-26/+10
2014-04-26FixesHowaner8-23/+26
2014-04-26Fixed unitialized member in gZipFile (CID 43673)jfhumann1-1/+1
2014-04-26Fixed mobs that don't naturally spawn.archshift3-7/+11
2014-04-26Moved switch{} out of GetArmorCoverAgainst().archshift2-5/+29
2014-04-26Removed unused assignments.archshift3-6/+2
2014-04-26Fixed a couple more warnings.archshift2-21/+17
2014-04-26Moved the weather picker out of TickWeather(), squashing a warning and improving readability.archshift2-25/+30
2014-04-26Fixed a memory leak in tolua_cWorld_ChunkStay. (CID 43618)jfhumann1-1/+4
2014-04-26Removed impossible default case.archshift1-6/+0
Squashed a warning.
2014-04-26Removed extraneous switch{} in Start()archshift2-17/+3
Squashed a warning.
2014-04-26Fixes resource leaks in the yggdrasil authenticator. (CID 43617)jfhumann1-0/+33
2014-04-26Moved huge conditional out of InStateChasing(), improving readabilityarchshift2-1/+20
Squashed a warning.
2014-04-26Fix for minor resource leak (CID 43616)jfhumann1-1/+9
2014-04-26Change m_InvulnerableTicks description again again :DHowaner1-1/+1
2014-04-26Change m_InvulnerableTicks description again.Howaner1-1/+1
2014-04-26Change m_InvulnerableTicks descriptionHowaner1-1/+1
2014-04-26Add entity invulnerableHowaner22-50/+111
2014-04-25Should fix CIDs 43631, 43632 and 43633jfhumann1-0/+2
2014-04-25Implemented commentsTiger Wang3-33/+52
2014-04-25Missed these CMakeLists.archshift2-1/+7
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift12-0/+12
2014-04-25Fixed C++11 check for SharedPtr.madmaxoft1-1/+1
2014-04-25Creator not user.archshift2-5/+5
2014-04-25Comments for TrySpawnChicken() and TeleportUser().archshift1-0/+2
2014-04-25Rename spawn chicken method, Initialize m_HasTeleported.archshift2-4/+5
2014-04-25Fix formattingr.ramazanov1-9/+15
2014-04-25Added shared_ptr handling for C++03 mode.madmaxoft1-3/+7
2014-04-25Fix for clangr.ramazanov1-5/+1
2014-04-25Mobs shouldn't burn when it's Raining & Mob Knockback is far too muchr.ramazanov1-8/+5
2014-04-25Small changes; warning fixing.archshift6-14/+12
2014-04-25Chicken eggs and ender pearls can hit entities.archshift2-7/+66
Fixed warning by adding dedicated m_HasTeleported for fired arrows.
2014-04-25Oops, fixed that.archshift1-0/+2
2014-04-25Giants!archshift2-7/+12
Changed mfMaxplusone to mfUnhandled for readability, and fixed a default case warning.
2014-04-25Refactored SendChat(), placing the message-type formatting into its own function.archshift2-84/+81
Removed default case warning in the process.
2014-04-25Add commit what the code is doing.Howaner1-0/+1
2014-04-25Add unkown armor warning and fix armor stacks.Howaner1-2/+14
2014-04-24Fixed indentTiger Wang1-1/+1
2014-04-24Implemented suggestionsTiger Wang1-7/+6
2014-04-24Add armor to switch() in ItemHandler.cppHowaner2-7/+26
2014-04-24Another small speed improvement?Tiger Wang1-12/+2
2014-04-24Implemented suggestionsTiger Wang2-89/+16
2014-04-24Replaced MSVC-specific decorators with our universal ones.madmaxoft2-2/+2
2014-04-24cByteBuffer uses void * instead of char * in data interface.madmaxoft2-5/+6
This makes it compatible with any pointer type.
2014-04-24Declared a SharedPtr that hopefully resolves on all platforms.madmaxoft1-1/+9
MSVC2008 has it in std::tr1, all the others in std.
2014-04-24Fixed filename case.madmaxoft1-1/+1
2014-04-24Attempted CMake inclusion for PolarSSL++.madmaxoft2-2/+19
2014-04-24Authenticator uses some C++ SSL objects.madmaxoft1-19/+40
2014-04-24Initial C++ SSL classes.madmaxoft7-2/+248
2014-04-24Changed cByteBuffer constructor to take a size_t instead of int.madmaxoft2-2/+2
2014-04-24Fixed class capitalization for the cave spider.archshift4-7/+7
2014-04-24Fix armor in survival mode.Howaner6-17/+157
2014-04-24Fixed references to renamed files.archshift5-8/+8
2014-04-24Rename mob source files to fit CamelCase.archshift6-6/+0
Rename Cavespider.cpp to CaveSpider.cpp Rename Cavespider.h to CaveSpider.h Rename Magmacube.cpp to MagmaCube.cpp Rename Magmacube.h to MagmaCube.h Rename Zombiepigman.cpp to ZombiePigman.cpp Rename Zombiepigman.h to ZombiePigman.h
2014-04-23Updated docs for StringToEnchantmentID.madmaxoft1-1/+1
Ref.: mc-server/Core#67
2014-04-23Updated NetherFort prefabs to latest Gallery content.madmaxoft1-7/+29
2014-04-23Some change to Entity.cppTiger Wang7-123/+105
* Added comments to BroadcastMovementUpdate() and the collision tracer
2014-04-23Small changesTiger Wang4-12/+15
2014-04-23The new leaves don't decay anymore.STRWarrior1-0/+1
Fixes #792
2014-04-23Mobs shouldn't burn when it's Raining #906r.ramazanov1-9/+30
Mob Knockback is far too much #776
2014-04-23Renamed getter and setter for IsFireproof.archshift3-4/+4
2014-04-23Added IsFireproof hook for monsters.iniarchshift1-0/+3
2014-04-23Fireproof status getter and setter.archshift2-0/+16
2014-04-22Updated NetherFort prefabs from the Gallery server.madmaxoft1-274/+785
2014-04-22Fixed indentation and changed m_Fireproof to m_IsFireproof.archshift2-14/+14
2014-04-22Lay foundation for fireproof entities.archshift2-3/+15
Prevent any entities with the m_Fireproof flag from taking fire or lava damage.
2014-04-21reverted the revert of the minecart collision detection fix.jfhumann1-2/+1
2014-04-21Mobs shouldn't burn when it's Raining #906r.ramazanov1-5/+12
2014-04-21Added prefab hitboxes.madmaxoft3-11/+138
The nether forts should quite limit their bridge-to-floor overlaps. Cannot eliminate, but at least severely diminish.
2014-04-21Added enchantment combining into cEnchantments.madmaxoft2-16/+33
2014-04-21Replaced X.size() with X.empty(), where applicable.madmaxoft1-3/+3
2014-04-21Fixed a warning in CraftingRecipes.Mattes D1-1/+1
2014-04-21Allow 1.6.4 Forge clients to log in.Mattes D2-0/+20
Fixes #913.
2014-04-21Fixed enchanting return values.Mattes D1-3/+3
Items are enchanted in those cases, so return true. Ref.: #914.
2014-04-20Fixed MSVC compilation.madmaxoft1-1/+1
2014-04-19Fixed Codedaniel09162-145/+148
2014-04-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann4-9/+10
2014-04-19Declared one mutex as mutable in order to allow for const correct get accessors.jfhumann3-7/+7
2014-04-19Fixed Code (2)daniel09161-97/+93
2014-04-19Fixed Codedaniel09165-411/+418
2014-04-19Fixed formatting, made function static.madmaxoft2-13/+18
2014-04-18Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does.jfhumann2-2/+2
2014-04-18Small style changesjfhumann4-9/+9
2014-04-18Compilation fixTiger Wang1-1/+1
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann48-212/+257
2014-04-18Added performance test of the nether fort generator.madmaxoft2-0/+35
2014-04-18Fixed Errorsdaniel09163-5/+23
2014-04-18Removed old includedaniel09162-2/+1
2014-04-18Fixed #906Tiger Wang2-1/+12
2014-04-18Fixed #904Tiger Wang2-1/+6
2014-04-18Removed unsupported C++11 features.madmaxoft1-13/+19
2014-04-17Added area flooring.madmaxoft1-1/+42
Fixes #743.
2014-04-17Added new AI rulesTiger Wang6-53/+64
+ Added new AI rules handling cacti and large heights * Fixed cIniFile not recognising comments in cIniFile::ReadFile() * Fixed users.ini not being properly generated * Changed all instances of (int)floor(GetPosXXX()) to POSXXX_TOINT
2014-04-17Fixed some Errors (not all)daniel09164-20/+21
2014-04-17Added Prefab initializers to SELFTEST code.madmaxoft1-1/+13
2014-04-17Prefabs can have per-piece per-placement weights.madmaxoft5-32/+752
Fixes #753. Also upgraded NetherFortPrefabs to lates Gallery contents.
2014-04-17Compile fix?Tiger Wang1-2/+2
2014-04-17Modified many thingsdaniel091610-918/+1000
2014-04-17Implemented weighted pressure platesTiger Wang3-29/+175
2014-04-17Mobs rotationr.ramazanov1-4/+6
2014-04-16Added asserts for proper game state.madmaxoft1-5/+131
This is to help hunt #889.
2014-04-16Fixed conflicting enchantments checkingdaniel09162-24/+24
2014-04-16Added deletions from merge conflictdaniel09161-0/+875
2014-04-16Fixed merge conflictdaniel09161-877/+0
2014-04-16Fixed double enchanting itemsdaniel09161-2/+2
2014-04-15Attempted fix for the client crash with the new protocols.madmaxoft2-6/+16
2014-04-15Code Optimizationdaniel09162-358/+183
2014-04-15Added Book Enchantingdaniel09162-2/+311
2014-04-15Add more checks to cSlotAreaEnchantingHowaner3-99/+212
2014-04-15Modified namesdaniel09162-49/+49
2014-04-15Add linux compatibilityHowaner1-61/+71
2014-04-15Rewrote redstone powering to use power levelsTiger Wang6-183/+157
2014-04-15Added support for per-piece per-placement weights in cPieceGenerator.madmaxoft2-28/+48
Ref.: #753.
2014-04-15NetherFortPrefabs: Fixed a connector in MidStaircase.madmaxoft1-1/+1
2014-04-14Implemented the 1.7.6 protocol and authenticator.madmaxoft10-128/+198
Server works both in online and offline modes with 1.7.9.
2014-04-14Added ItemPlaceCount in SlotAreadaniel09162-0/+35
Thanks to Howaner for helping
2014-04-14A client UUID is generated when the server is in offline mode.madmaxoft3-5/+40
1.7.9 client works with these changes in offline mode.
2014-04-14Initial 1.7.6 protocol support.madmaxoft4-2/+69
Doesn't work yet because of missing UUIDs.
2014-04-14Removed Debug Messagedaniel09161-2/+0
2014-04-14Added/Modified last things for Enchanting Systemdaniel09161-15/+53
2014-04-14Blocked enchanting a item twicedaniel09162-8/+10
2014-04-14Fixed Bookshelf Checkingdaniel09161-8/+10
Code by LO1ZB
2014-04-14Bug fixesdaniel09164-26/+21
2014-04-13Fixed invisibility enchantmentsdaniel09164-1/+8
2014-04-13Fixed mistakedaniel09162-2/+2
2014-04-13Fixed Error?daniel09161-2/+2
2014-04-13Code Updatedaniel09161-4/+5
2014-04-13Fixed mistakedaniel09161-1/+1
2014-04-13Fixed Server Crashdaniel09161-0/+6
2014-04-13Some Fixesdaniel09162-2/+9
2014-04-13Added Yggdrasil Authentication Systemdaniel09169-295/+360
Code by Howaner. Fixes/Changes by me.
2014-04-12ChunkStay must be disabled while being deleted.ProtoProxy_1.7.2_001madmaxoft3-4/+6
Fixes #758.
2014-04-12Fixed chunkstays not being removed on auto-delete.madmaxoft2-10/+19
Fixes #837.
2014-04-12Fixed link errorsTycho1-0/+9
2014-04-12Updated the NetherFort prefabs to current Gallery contents.madmaxoft3-1958/+3329
Code exported from the Gallery server by the GalExport plugin.
2014-04-12Fixed Bookshelves Checking (not completly)daniel09161-7/+10
2014-04-12Added complete Enchanting Systemdaniel09168-147/+803
http://minecraft.gamepedia.com/Enchantment_mechanics
2014-04-12Entities handle chunks properly againTiger Wang10-123/+123
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty
2014-04-12Simplified pickup speed randomisationTiger Wang1-4/+3
2014-04-12Some tweaksSTRWarrior1-5/+17
GetPyramidLevel returns 0 when no layers were found, 1 for one layer etc. Auto adjust the minY and/or maxY to 0 if the beacon is low.
2014-04-12Fixed member construction order.madmaxoft1-2/+2
2014-04-12Removed debug message.STRWarrior1-1/+0
2014-04-12Simplefied GetPyramidLevelSTRWarrior1-10/+3
2014-04-12Lighting reads blocktypes only for blocks under heightmap.madmaxoft2-16/+87
This should theoretically speed it up, since less data is copied back and forth. Also implemented a possibly more cache-friendly blocklight starter algorithm (PrepareBlockLight2()), is disabled by default, needs perf testing.
2014-04-12Implemented the skeleton code for the beacon.STRWarrior4-0/+155
There is no handling for the GUI. It can now check how big the pyramid is under the beacon.
2014-04-11Fixed issues with 64-bit MSVC compilation.madmaxoft3-21/+35
2014-04-10Replaced all the .data() calls so the code compiles in VS2008Tycho1-5/+5
2014-04-10Fixed enchantment parsing.madmaxoft1-12/+17
Fixes #880. Enchantment parsing now reports in detail which value failed to parse
2014-04-10Fixed GitHuB WebEdit fail.Alexander Harkness1-0/+1
2014-04-10Update Monster.cppAlexander Harkness1-2/+4
2014-04-08cRedstoneSimulator.cpp style improvementsTiger Wang1-40/+41
2014-04-08Fixed missing - that caused all neighbour lookups to go to the chunkmapTycho1-1/+1
2014-04-08Removed check for enqueuing a chunk that is already enqueued to be loadedTycho1-1/+1
This remaval is safe as cWorldStorage checks for duplicate chunks when dequeuing and removes an expensive iteration whilst holding the queue lock
2014-04-08Uppercased Zwiseoldman951-3/+3
Minor, no code changed.
2014-04-08Comments: Inverted Z axis.wiseoldman951-9/+10
-Comments fix, No code has been changed. -Inverted the Z axis in the comments and changed all dependent comments accordingly. -Added NORTH/SOUTH/EAST/WEST in addition to LEFT/RIGHT/UP/DOWN.
2014-04-08Added comments regarding latching and orientationwiseoldman951-9/+31
No real code was changed.
2014-04-08Fixed the thing properly.Alexander Harkness1-8/+8
2014-04-07Maybe speed improvements?Tiger Wang2-48/+29
* Use a single index to determine from when to begin copying data * Use heightmap to determine first nonair block
2014-04-07Modified commentdaniel09161-1/+1
2014-04-07Fixed Errorsdaniel09162-3/+3
2014-04-07Added deleted things for mergingdaniel09161-0/+3
2014-04-07Fixed merge conflictdaniel09161-3/+0
2014-04-07Fixed IsOnwiseoldman951-3/+2
2014-04-07Added Enchantment-Slot-Level generatingdaniel09163-9/+32
2014-04-07Removed stray IsLockedwiseoldman951-2/+2
2014-04-07Removed unneeded spacingswiseoldman951-6/+3
2014-04-07Slight cleanupwiseoldman951-13/+17
It is more efficient and readable if we do nothing unless we're not locked.
2014-04-07Fixed some more minor issues with the redstone simulator.Alexander Harkness1-34/+39
2014-04-07Improved the speed a little more.Alexander Harkness1-1/+1
2014-04-07Fixed the redstone simulator.Alexander Harkness1-49/+40
2014-04-07Statistic/Achievement defsandrew2-0/+255
2014-04-07Attempt to fix errorsTiger Wang2-12/+12
2014-04-07Fixed #859Tiger Wang1-23/+3
2014-04-07Fix some of the comments in the PR tycho just did.Alexander Harkness1-8/+6
2014-04-07Fixed HTTP chunked encoding.madmaxoft1-1/+1
Fixes #858.
2014-04-07Blocklight and skylight now compressedTiger Wang3-32/+90
2014-04-06Fixed 1.6.4 client crash on composite chat messages.madmaxoft2-0/+14
2014-04-06Fixed crash in protocols sending 64-bit ints.madmaxoft1-1/+1
Fixes #855.
2014-04-06Updated the tolua executable for Windows.madmaxoft1-0/+0
2014-04-06Remove old importHowaner2-3/+2
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner9-4/+45
2014-04-06Added support for redstone latchingTycho2-2/+65
fixes #856
2014-04-05Fixed Endiannes conversion routines for floats and doubles.madmaxoft2-3/+3
This bug has been introduced in 8825d30aabbee8cb2e452dc5a17deb6f9b6892a7. This change fixes #854.
2014-04-05Fixed double projectile spawning.madmaxoft1-1/+0
Two spawn packets were sent per projectile.
2014-04-05Removed debugging log from entity physics handling.madmaxoft1-1/+2
2014-04-05Added cPlayer:SendRotation() API function.madmaxoft2-0/+17
2014-04-05Nibbletypes are compressedTiger Wang3-18/+110
+ Added nibble compression * Fixed an off by one
2014-04-04Speed and memory improvementsTiger Wang2-62/+15
* Changed array to be continuous, so no more layer splitting
2014-04-04Explicit change record size.madmaxoft1-1/+1
2014-04-04Changed cNoise seed to signed.madmaxoft2-4/+4
2014-04-04Fixed format string mismatch.madmaxoft1-1/+1
2014-04-04More Clang warning fixes in the protocols.madmaxoft6-81/+82
2014-04-04Fixed CreateHexDump's format string.madmaxoft1-2/+2
2014-04-04Fixed CreateHexDump's signedness.madmaxoft3-11/+11
2014-04-04More Clang warning fixes in the protocols.madmaxoft3-30/+39
2014-04-04Fixed silly Clang's warnings in FastNBT.madmaxoft1-28/+28
2014-04-04Fixed some Clang warnings in protocols.madmaxoft13-43/+51
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft6-20/+21
2014-04-03Change CanBeAt() from big flowerHowaner1-5/+1
2014-04-03Remove old functionHowaner1-6/+0
2014-04-03Documented the units and range for entity rotations.madmaxoft1-7/+7
2014-04-03Grass now grows under up-side-down slabsHowaner1-3/+12
2014-04-03Fixed some bugsTiger Wang1-3/+5
* Fixed undefined behaviour * Fixed compression failure
2014-04-03Removed unneeded asserts.madmaxoft1-2/+0
2014-04-03Fixed a few MSVC type warnings.Mattes D3-2/+5
2014-04-03Removed the bindings to set old g_BlockXXX arrays.Mattes D1-297/+65
Those were supposed to be read-only; there's no point in writing to them anyway. Also fixed MSVC type warnings in the code.
2014-04-02Performance improvements and chunk flipping fixedTiger Wang1-30/+32
2014-04-02With eXtra line!Tiger Wang1-0/+1
2014-04-02Removed extra bracketsTiger Wang1-5/+2
2014-04-02Fixed boat placement code.madmaxoft1-9/+17
2014-04-02Fixed more virtual destructors for interfaces.madmaxoft4-0/+12
2014-04-02Fixed All signedness warnings in HTTPServer.cppTycho10-14/+17
2014-04-02Fixed format string in HTTPConnectionTycho1-1/+1
2014-04-02Fixed Comparison to -1 in HTTPMessage.hTycho1-1/+1
2014-04-02Added schematic string serializer self-test.madmaxoft1-0/+33
2014-04-02Fixed StringCompression's GZIP handling for larger strings.madmaxoft2-5/+7
2014-04-01Exported the Base64 encoding and decoding functions to Lua API.madmaxoft2-2/+48
2014-04-01cBlockArea: Added the msMask merge strategy.madmaxoft2-0/+39
2014-04-01Rewritten HTTPServer to use size_t for data lengths.madmaxoft16-90/+97
2014-04-01More cFile warning fixes.madmaxoft1-1/+1
2014-04-01Fixed clang warnings in cGZipFile.madmaxoft1-2/+2
2014-04-01Fixed clang warnings in BlockHandlers.madmaxoft4-5/+6
2014-04-01Fixed clang warnings in cFile.madmaxoft1-10/+10
We only support 32-bit filesizes (files < 2 GiB).
2014-04-01Simplified the anvil placement code.madmaxoft1-11/+9
2014-04-01Removed an unneeded code branch.madmaxoft1-5/+0
2014-04-01LOG() API reads the LogLevel from the cCompositeChat's MessageType.madmaxoft5-22/+79
2014-03-31Final realisation of suggestionsTiger Wang1-5/+7
2014-03-31Console logging supports cCompositeChat as its parameters.madmaxoft4-34/+69
2014-03-31Realised suggestionsTiger Wang2-6/+12
2014-03-31Simplified and fixed slabs, fixes #835Tiger Wang3-36/+13
2014-03-31Fixed a few Y too high/low assertsTiger Wang3-12/+15
2014-03-31Added new merge strategy "msDifference"STRWarrior2-0/+35
2014-03-31cCompositeChat has a MessageType param in the constructor.madmaxoft2-3/+3
This should make it easier to use.
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft11-48/+54
2014-03-30Fixed a few clang warnings.madmaxoft4-7/+13
2014-03-30Using recommendations (I think)STRWarrior6-6/+7
2014-03-30Another curlyTiger Wang1-1/+2
2014-03-30Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior6-9/+9
2014-03-30Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior6-8/+8
2014-03-30Added all current NetherFort prefabs.madmaxoft1-3/+1547
2014-03-30Added asserts for critical data in cPrefab.madmaxoft1-0/+4
2014-03-30Re-fixed nether fort piece count check.madmaxoft1-2/+2
2014-03-30Fixed chest rotator.madmaxoft1-2/+2
2014-03-30NetherForts have a minimum number of pieces.madmaxoft1-2/+5
The fort will generate a different image if it has less than the minimum; the max depth affects the minimum number of pieces.
2014-03-29cPrefab now uses a struct for block type definition in CharMap.madmaxoft2-10/+102
As suggested by worktycho in 7b585290fccd3dc074b1f9feef0af754ab3dd632, instead of packing the two values into a single int, they're packed into a struct. Also added a test code for the prefab parsing in SELF_TEST.
2014-03-29Renamed lua dll for tolua++.exe.madmaxoft1-0/+0
Fixes #843.
2014-03-29Fixed the OnProjectileHitBlock hook not stopping projectiles.STRWarrior1-1/+1
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior6-0/+50
2014-03-29Fixed error when the hook gets called.STRWarrior3-1/+14
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior6-0/+54
2014-03-29Added in MetaMirrorXY and MetaMirrorYZ to cBlockSignHandler.narroo1-0/+19
2014-03-29Compare for inequality in FACE_NONE checksTiger Wang1-3/+3
2014-03-29Add "a_RelY < cChunkDef::Height" to BlockBigFlowerHowaner1-0/+1
2014-03-29Removed leftover clienthandle codeTiger Wang1-10/+6
2014-03-29Fixed players not updating after world changeTiger Wang1-4/+2
Addendum to 6dea7993f2a563a8b3a0746feeb2174922631526
2014-03-29Curly bracketsTiger Wang1-1/+4
2014-03-29Fixed #721 and FS439Tiger Wang1-0/+1
2014-03-29Fixed a minor ini key duplication bugTiger Wang1-0/+1
2014-03-28Fixed infinite minecart itemsTiger Wang1-0/+3
2014-03-28Fixed block interaction rate checkTiger Wang1-2/+4
2014-03-28Fixed a potential crashTiger Wang1-1/+1
2014-03-28Some fixes to lilypadsTiger Wang5-62/+116
* Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel
2014-03-28NetherFortGen: Added several more prefabs.madmaxoft2-2/+783
Also extended the defauls MaxDepth value to 12.
2014-03-28Add tallgrass drop to big flowers.Howaner2-8/+59
Add tallgrass drop, when a players break a tallgrass with the shear.
2014-03-28door -> flowerHowaner1-1/+1
2014-03-28Add tall flower handler.Howaner2-0/+99
2014-03-28Added Prefabs to *nix builds.madmaxoft1-1/+1
2014-03-28Fixed non-virtual destructors warnings.madmaxoft11-37/+61
2014-03-28Implemented the msSpongePrint merge strategy.madmaxoft3-9/+48
Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block.
2014-03-28NetherFort: Added BalconyTee2 prefab.madmaxoft1-29/+158
2014-03-28Fixed a memory leak in NetherFortGen.madmaxoft1-0/+7
2014-03-28Sponged the netherfort balcony prefab.madmaxoft1-30/+31
This is a preparation for the msSpongePrint merge strategy, used for imprinting most prefabs. It will carve out even air, but will ignore sponge blocks.
2014-03-28Fixed compilation after last PR merge.madmaxoft1-1/+1
2014-03-28Initial NetherFortGen import.madmaxoft8-15/+713
Simple fortresses of 2 different rooms will generate.
2014-03-28Fixed Prefab's rotations.madmaxoft2-7/+39
2014-03-28Add missing ChunkDesc import.Howaner1-1/+1
2014-03-27Fix merge conflictsHowaner1-7/+0
2014-03-27Change SpreadSource prefix to ssHowaner4-8/+8
2014-03-27Wrong if in BlockLeavesHowaner1-1/+1
2014-03-27Add SpreadSourceHowaner11-10/+34
2014-03-27Add HOOK_BLOCK_SPREADHowaner6-3/+57
2014-03-27Add new leaves to all classes.Howaner2-1/+8
2014-03-27cPrefab can draw itself into a cChunkDesc.madmaxoft2-6/+9
2014-03-27Fixed chunk neighbor-getting for long distances.madmaxoft1-0/+11
This fixes a server hang when teleporting to coords too far away.
2014-03-26Prefabs support connectors, rotations and merge strategy.madmaxoft2-3/+72
2014-03-26Altered the rotates for cBlockSignHandler. The functions as a whole is still unfinished though; no wall sign or mirroring support yet.narroo1-2/+2
2014-03-26Fixed Minor typos.narroo3-9/+12
2014-03-25Removed unused constants.madmaxoft2-7/+1
DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.
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-25Added a basic cPrefab class.madmaxoft2-0/+222
Can be defined in the source by GalExport's cpp output.
2014-03-25BlockArea: Create() can take the size as Vector3i, too.madmaxoft2-2/+17
2014-03-25BlockArea: Switched internal coords to Vector3i.madmaxoft4-200/+176
2014-03-25Added Vector3::Move(const Vector3 &).madmaxoft1-0/+7
2014-03-25Ender crystalsandrew7-11/+137
2014-03-25More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney15-14/+19
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-25Added one more missing newline.Samuel Barney1-1/+1
2014-03-25Added newlines. Without them, the files would not compile.Samuel Barney4-4/+4
2014-03-25Fixed clang compilationandrew2-14/+17
2014-03-25Fixed wither summoningandrew3-3/+37
2014-03-25Protocol: Wither metadataandrew5-3/+116
2014-03-25Minor fixesandrew3-14/+13
2014-03-24Add log pickups.Howaner1-1/+7
2014-03-24Wither invulnerabilityandrew8-5/+100
2014-03-24Added MetaRotate/Mirror Support for a number of classes.narroo12-84/+295
2014-03-23Implemented lilypad placementTiger Wang4-8/+98
2014-03-23Updated the ToLua windows executable.madmaxoft1-0/+0
2014-03-23Sort of implementation of chunk sparsingTiger Wang2-18/+93
Issues: * Chunks are flipped * Slow/inefficient/badly coded * Only blocktypes are 'compressed'
2014-03-22Added override specifier to functions declared in cWorldTycho1-8/+8
2014-03-21Implemented faster upscaling using templates.madmaxoft6-36/+38
Fixes #819.
2014-03-20Updated the tolua++ executable for Win builds.madmaxoft1-0/+0
2014-03-20Plugins can set flying speed.madmaxoft3-77/+119
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft4-12/+17
Value of 1 means "default speed", 2 means "double the speed", 0.5 means "half the speed". This allows for easier plugins and is more future-proof.
2014-03-20Fixed code style after recent merge.madmaxoft2-31/+33
2014-03-20Made pushing plain pointer to Lua a valid operation, with a warning.madmaxoft2-3/+4
This is used for exotic explosions, and the NORETURNDEBUG macro caused MSVC warnings across the entire cLuaState class (MSVC marked ALL Push() function overloads as non-returning)
2014-03-20Added bracesTiger Wang1-0/+2
2014-03-20Minor Entity.cpp cleanupTiger Wang1-12/+9
2014-03-20ENUMified shrapnel levelTiger Wang4-15/+17
2014-03-19Errors in Lua don't include the error handler in the stack trace.madmaxoft2-7/+7
Fixes #817.
2014-03-19Added unreachable lines backit prtected by preprocessor guardsTycho2-0/+10
2014-03-19LuaChunkStay: Removed a debugging output.madmaxoft1-3/+0
2014-03-18Added levels of shrapnelTiger Wang3-8/+18
2014-03-18Fixed chunkmap tree block replacing.madmaxoft1-8/+2
2014-03-18Fixed cGZipFile::ReadRestOfFile returning incorrect value.madmaxoft1-1/+4
2014-03-17Fixed a crash in firework rockets.madmaxoft1-2/+8
Fixes #816.
2014-03-16Fixed double to float conversions.madmaxoft4-52/+53
2014-03-16Added override specifier where appropriate in cWorld.madmaxoft1-37/+38
2014-03-16Wrong if in BlockLeavesHowaner1-1/+1
2014-03-16Add new leaves to all classes.Howaner9-5/+18
2014-03-16Added common eMessageType aliases.madmaxoft1-10/+16
2014-03-16Change if-clause in BlockCake.hHowaner1-1/+1
2014-03-16Add cakeHowaner4-0/+101
2014-03-16Fix anvil pickups.Howaner1-1/+1
2014-03-16Add anvil direction.Howaner3-1/+74
2014-03-15Fixed unessicary returnTycho1-1/+0
2014-03-15Patched tolua to emit range checks for enumsTycho1-0/+1
2014-03-15Remove old debug messages.Howaner1-3/+0
2014-03-15Added cCuboid:Assign(OtherCuboid) API function.madmaxoft2-0/+15
2014-03-15Add item frame saving.Howaner9-46/+251
2014-03-15Add health and age load to pickup's.Howaner5-22/+43
2014-03-15Add ExpOrb saving.Howaner7-38/+124
2014-03-14Add fireball interactHowaner4-2/+33
2014-03-14Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho3-4/+11
2014-03-14Added NORETURN macroTycho1-0/+4
2014-03-14Fixed a few unneeded breaksTycho3-3/+3
2014-03-14Removed missiterperatable malfunctioning error handling codeTycho1-2/+0
2014-03-14Removed invalid block face handling codeTycho1-1/+0
The code for handling invalid block faces is removed by gcc and clang as it is undefined behavior for a enum to contain a value that is not part of the enum. Since the only way that the line can be executed is through undefined behavior clang and gcc remove it so the function fits in the caches better.
2014-03-14Fixed a couple of missing defsTycho3-10/+2
2014-03-14cPlugin:BindConsoleCommand can be called statically.madmaxoft1-1/+4
This has been documented before it was written.
2014-03-14Fixed a warning.madmaxoft1-3/+3
2014-03-14Fixed xofts issuesTycho10-23/+24
2014-03-14cPluginManager:Bind[Console]Command returns true on success.madmaxoft1-2/+4
Fixes #801.
2014-03-12Fixed commaTycho1-2/+2
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho13-29/+33
2014-03-12Fixed printf format compatabiltyTycho2-5/+9
2014-03-12Fixed comments an assertTycho1-1/+1
2014-03-12Fixed missing comment terminator.madmaxoft1-1/+1
2014-03-12Vector3: More castsandrew1-9/+9
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-12The entire unknown command is echoed back to the user on error.madmaxoft1-1/+1
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-11Fixed more Format issuesTycho6-17/+17
2014-03-11Fixed a load of format string errorsTycho13-27/+29
2014-03-11Move Format issuesTycho3-4/+4
2014-03-11Fixed format errors in protocolTycho1-3/+3
2014-03-11Added macros to follow format string checking through wrappersTycho3-4/+8
2014-03-11Matrix4: Removed enumandrew2-22/+24
2014-03-11Fixed Chunkdef warningsTycho1-2/+2
2014-03-11Fixed Warnings in PieceGeneratorTycho2-9/+9
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-10Fixed xofts issuesTycho4-20/+14
2014-03-10Removed debugging output.madmaxoft1-1/+3
Kept it commented-out for later revisions, if needed.
2014-03-10Fixed test assertsTycho4-37/+37
2014-03-10Revert "Fixed some warnings"madmaxoft1-10/+7
This reverts commit 4cb0b82d1df560ad32c92eede91f466c75a87c87.
2014-03-10Fixed assertTycho1-14/+17
2014-03-10Fixed Alignment issue in ByteBufferTycho3-7/+4
2014-03-10Shrapnel now configurableTiger Wang3-3/+8
2014-03-10Removed Some unnessicary macrosTycho3-21/+2
2014-03-10Use string.reserve to avoid the need to do inplace byteswapTycho1-10/+6
2014-03-10Fixed compileTiger Wang1-1/+2
2014-03-10Removed unused macro from WSSCompactTycho1-1/+0
2014-03-10Fixed alignment issues in Fireworks SerializerTycho1-7/+7
2014-03-10Removed unused macroTycho1-13/+0
2014-03-10Fixed cast to type with different alignment in BlockingTCPLinkTycho1-1/+1
2014-03-10Fixed cast between types of different alignment in cSocketTycho1-1/+2
2014-03-10Fixed MTRand warningsTycho1-4/+4
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-09Be more parinoid about int sizesTycho3-5/+18
2014-03-09cPieceGenerator: New connectors are added to the free pool.madmaxoft2-9/+30
2014-03-09Fixed Mesannine twister to use UInt32Tycho4-4/+6
2014-03-09Fix IsThread destructorTycho1-1/+1
2014-03-09Fixed #778 - stack overflow.comTiger Wang1-1/+1
2014-03-09Globals.h is now warnings free again.Tycho2-10/+24
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
2014-03-09Its a const not a macroTycho1-1/+1
2014-03-09Take 5Tycho1-1/+1
2014-03-09Silenced useless MSVC warnings in cMetaRotater.madmaxoft1-0/+21
2014-03-09Take 4Tycho1-1/+1
2014-03-09Hotfix for MSVC compilation.madmaxoft1-0/+1
2014-03-09Unsigned types take 3Tycho1-1/+1
2014-03-09Fix gcc error attempt 2Tycho1-1/+1
2014-03-09Fixed gcc errorTycho1-1/+1
2014-03-09Fixed VERIFYTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang5-17/+94
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
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-05Added extra awesomeness to TNTTiger Wang7-209/+232
+ TNT now has a chance of flinging FallingBlock entities around * Improved TNT damage * Improved TNT spawning visuals * Possible fix for 'SetSwimState failure' messages in debug
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-01added EnchantItemPacket to older Protocolsdaniel09161-1/+4
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-31Some updates for enchanting (2)daniel09169-15/+173
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-24removed hook from enchanting commitdaniel09162-5/+1
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-24Some updates for enchantingdaniel09165-17/+29
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-20first changes for enchanting (not finished)daniel09168-0/+198
- added enchanting table block handler and added it to the blockhandler - added enchanting window - drop item in the slot 0 when the player close the window - added enchanting packet (1.7 only) - some more...
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