summaryrefslogtreecommitdiffstats
path: root/src/Entities (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-02Fixed warnings in MSVC.Mattes D1-3/+12
It complained about undefined return values or using uninitialized variables.
2015-05-28AI - Sane SkeletonSafwatHalaby1-10/+11
2015-05-28Fix commentstycho1-5/+6
2015-05-24Made -Weverything an error.tycho17-42/+48
2015-05-23Fix gamemode not changing properly.Alexander Harkness2-148/+154
Should fix #604
2015-05-23Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.Lukas Pioch2-6/+6
2015-05-23Added a fix for players falling through the world when connecting in spectator modeb33duck1-0/+7
2015-05-22Fixed players head visible when in spectator modeb33duck1-0/+9
2015-05-21Renamed hook HOOK_ENTITY_CHANGE_WORLDLukas Pioch2-5/+6
2015-05-19Make -Werror disabling file onlytycho8-12/+17
Ad fix a load of warnings
2015-05-18Added hooks HOOK_ENTITY_CHANGE_WORLD and HOOK_ENTITY_CHANGED_WORLDLukas Pioch2-0/+21
Fixes #1435.
2015-05-18Fixes #2052Tiger Wang1-0/+1
2015-05-09More style checking.Mattes D8-20/+20
Spaces around some operators are checked.
2015-05-07Added support for additional data in the ParticleEffect Packettycho1-3/+3
Also started refactoring how broadcasts are handled
2015-05-04Entity improvementsTiger Wang2-2/+1
•Pathfinder improvements •Fixes #1217 •Fixes #1933 Merge remote-tracking branch 'SafwatHalaby/water2' into fixes
2015-04-25cPlayer now checks restrictions.Mattes D2-7/+36
Fixes #1331.
2015-04-19HangingEntity: Fixed a needless clang warning.Mattes D1-2/+5
2015-04-03Fixed players not appearing/disappearing when traveling to a new world.STRWarrior1-0/+6
2015-03-31Changed air drag for pickupsDevToaster1-1/+1
2015-03-31Changed air drag units to 'interpolated ticks' per secondDevToaster9-13/+15
2015-03-31Adjusted projectile physicsDevToaster1-4/+6
2015-03-31Modified physics for more vanilla-like behaviorDevToaster14-12/+49
2015-03-22Unified cPacketizer across all protocols.Mattes D1-1/+1
2015-03-21Changed linked world name variables and setters / getters.Mattes D1-5/+5
Ref.: #1792 Ref.: https://github.com/mc-server/MCServer/pull/1792#discussion_r25946707
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D5-52/+61
2015-03-21Fixed trailing whitespace.Mattes D1-1/+1
2015-03-20Improved arrow in-flight and block-hit appearanceTiger Wang2-19/+3
* Fixes #1495
2015-03-20Correct world height validations.Tommy Santerre2-2/+5
Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
2015-03-14Fixed style violationsTiger Wang1-2/+2
2015-03-14cPainting saving implementedTiger Wang6-32/+31
Additionally, it now inherits from cHangingEntity.
2015-03-13Fixed confusion over Item Frame directionsTiger Wang2-65/+65
2015-03-05Added OnTeleportEntity hook for plugins.joshi072-12/+21
Plugins may or may not allow teleport to the new position. Updated the HookNotify plugin with it.
2015-02-28Changed C-styled casts to static_cast and removed unneeded castsDevToaster1-34/+34
2015-02-28Replaced short int with int for Player experienceDevToaster1-1/+1
2015-02-28 modified: src/Entities/Player.cppDevToaster2-27/+27
modified: src/Entities/Player.h
2015-02-26use DoSetSpeed in AddSpeed* in Entity.cppRaekye1-10/+4
2015-02-08Handle client 'leave bed' requestTiger Wang1-2/+12
* Fixes #1728
2015-02-07SpacingHowaner1-1/+1
2015-02-07cPlayer should override IsOnGround()Howaner2-3/+3
2015-02-07Added IsOnGround() to cEntityHowaner1-0/+3
2015-01-27Converted cServer to use the cNetwork API.Mattes D2-10/+32
2015-01-18Fixed type-conversion warnings.Mattes D3-7/+7
2015-01-16Converted cPickupEntity to std::chronoTycho2-12/+12
2015-01-16Converted MinecartEntity to std::chronoTycho2-8/+8
2015-01-16Converted cExpOrbEntity to std::chronoTycho2-7/+7
2015-01-16Converted ArrowEntityTiers to std::chronoTycho2-7/+7
2015-01-11Initial convertion of a_Dt to std::chronoTycho38-69/+69
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-12-24APIDump: Updated the player block placement documentation.Mattes D1-1/+2
The hooks now have fewer parameters but are called on all player-placed blocks (#1618).
2014-12-24Replaced a std::hash specialization with explicit type.Mattes D1-1/+1
std::hash is problematic in gcc / clang, one has a class, the other a struct.
2014-12-24Refactored all player block placing to go through hooks.Mattes D2-0/+114
Fixes #1618.
2014-12-15Added braces to 'if' according to the code guidelinesgushromp1-0/+2
2014-12-15Updated cPlayer::DoMoveToWorld to send target world's weather info to Playerblashyrk1-0/+4
2014-12-13Own classes for all windows.Howaner2-1/+2
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D2-10/+39
2014-12-05Fixed reported parentheses around comparisons.Mattes D1-1/+1
2014-12-04Updated whitespace in comment, changed conditional to logical equivalent due to popular demandJonathan Fabian1-2/+2
2014-12-03Fix Spaces to TabsJonathan Fabian1-5/+5
2014-12-03Add missing IsSpectatorMode() checks in Player.cpp, make sure that player is flying when spawned otherwise it will fall through the world.Jonathan Fabian1-6/+11
2014-11-27Minecart.h: Fixed integral conversion warning.Mattes D1-1/+1
2014-11-23Compilation fixesTiger Wang1-7/+5
2014-11-15Renamed GetSettedViewDistance() to GetRequestedViewDistance()Howaner1-1/+1
2014-11-14Use m_UsedViewDistance and m_SetViewDistance.Howaner1-0/+3
2014-10-23Merged IniFile into main MCS sources.Mattes D1-1/+1
2014-10-23En masse NULL -> nullptr replaceTiger Wang15-188/+192
2014-10-21cItemFrame: Fixed a forgotten rename.Mattes D1-1/+1
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D4-37/+55
2014-10-21Exported individual projectile classes to Lua API.Mattes D16-117/+253
They used to be exported, but then they were moved to separate files and those werent' added to the ToLua processing list.
2014-10-20En masse NULL -> nullptr replaceTiger Wang15-99/+99
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang2-9/+5
2014-10-19LuaState: Pushing a cEntity pushes the correct class name.Mattes D1-5/+5
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant.
2014-10-18Fixed failure for cRankManager to restartTiger Wang1-6/+6
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D7-19/+25
2014-10-13Fixed style.Mattes D1-1/+1
2014-10-12convert old style casts to fix warningsSteven Riehl2-101/+93
2014-10-09Float/Ciel: If it's going to use C++11, it might as well take advantage of itarchshift1-3/+3
2014-10-09Use static casts instead of C casts, add floor-cast functionsarchshift1-3/+3
2014-10-02Optimized chunk loaderHowaner1-1/+0
2014-10-01cPlayer: Removed useless functions from the Lua API.madmaxoft1-2/+6
2014-09-28Compilation fixTiger Wang1-2/+2
2014-09-28cRankManager: Added GetAllPlayers() and GetPlayerName()Howaner1-0/+5
2014-09-27SuggestionsTiger Wang2-3/+4
2014-09-26Removed more unessicary includesTycho3-3/+1
2014-09-26Fixed players custom name in 1.8Howaner1-3/+4
2014-09-25Comment styleHowaner1-1/+1
2014-09-25Fixed hanging direction bugs.Howaner2-1/+16
2014-09-25HangingEntity: Silenced a crash.madmaxoft1-2/+8
Vanilla worlds sometimes contain data that this was asserting upon. Changed into a log.
2014-09-23Made ExpBottleEntity break on entities.archshift2-1/+23
Fixes #1369
2014-09-23A few compiler warning fixesChris Darnell3-42/+45
2014-09-22Made it compile with clangChris Darnell2-4/+4
2014-09-18DerpHowaner1-1/+1
2014-09-18Exported player list states to extra functions.Howaner1-2/+2
2014-09-17Fixed minor style issues.madmaxoft1-2/+2
2014-09-17Implementing Spectator Modenesco1-1/+1
Adding some proprieties of the spectator game mode in player.cpp : - Players can't toss items - Players can't touch the ground
2014-09-17Added first test to show the object can be createdTycho5-21/+21
2014-09-17Preparing 1.8 updatenesco1-5/+15
2014-09-16Preparing 1.8 updatenesco1-1/+2
Partially added Spectator gamemode
2014-09-16Pre 1.8 releasenesco1-0/+8
Added Spectator gamemode
2014-09-16Preparing 1.8 changesnesco1-0/+3
Added Spectator Gamemode
2014-09-13Entities experience water resistanceTiger Wang2-16/+31
2014-09-13Implemented Chest MinecartsTiger Wang2-18/+63
2014-09-12Fixed friction being applied whilst airborneTiger Wang1-11/+13
Reported by tonibm9 in #1300.
2014-09-12Added extra mushroom handler.Howaner1-7/+0
2014-09-111.8: Fixed hangings.Howaner1-1/+1
2014-09-09Added the player list to the 1.8 protocol.Howaner2-2/+4
2014-09-06Fixed player spawning in unknown world.Mattes D1-0/+4
This may happen if the admin removes a world.
2014-09-05Fixed security: Player cannot spawn in a disabled world.Mattes D1-1/+1
2014-09-04Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"archshift1-3/+3
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!)
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift1-3/+3
Snow Golems must also be above 64Y to spawn snow (as of 1.8).
2014-09-03Fixed style and alpha-sorting.madmaxoft2-4/+4
2014-09-03EntityEffect.cpp: Enable 1.8's leaping potionarchshift1-1/+1
2014-09-02Renamed SetWalkSpeed() to SetRelativeWalkSpeed()Howaner1-4/+4
2014-09-02Added the new functions to APIDump.Howaner1-1/+1
2014-09-02Added SetCustomName() to players.Howaner2-1/+61
2014-09-01Pickups combine only within one chunk.madmaxoft1-2/+6
This greatly improves performance of the tick thread.
2014-09-01Added name tagHowaner4-3/+8
2014-09-01Added CustomName to cMonster.Howaner1-3/+6
2014-09-01Fixed previous commit's wrong assumptions.madmaxoft1-10/+10
The equipment-getting functions return a copy already, so we can't take a pointer, really.
2014-09-01Fixed MSVC compilation, improved performance.madmaxoft1-30/+59
We're not creating copies of the equipped items anymore, rather, we're using pointers to them. Also pow() is needlessly slow for a simple second power, and MSVC2008 was confused about the pow() overloads.
2014-09-01Fixed MSVC warning.madmaxoft1-2/+2
2014-08-31Fixed styleJaume Aloy3-8/+9
2014-08-30Fixed MSVC2008 compilation.madmaxoft1-18/+18
It was getting confused about which sqrt() overload to call.
2014-08-30Fixed potion removing in creative mode.Howaner1-4/+2
2014-08-30Added slowness effect and added entity support.Howaner2-16/+65
2014-08-30Added a_Digger checkJaume Aloy1-2/+2
2014-08-29Removed unused codeTiger Wang1-1/+0
2014-08-28Added speed entity effect.Hownaer2-0/+45
2014-08-28Fixed a typo.Mattes D1-1/+1
2014-08-24RankMgr: Default rank is applied to players without any rank.Mattes D1-1/+5
2014-08-24Change comment formattingChristophe Piveteau1-20/+12
2014-08-22More EnchantmentsJaume Aloy1-57/+70
- Added Thorns and Respiration enchantments
2014-08-21Removed last remnant of cGroup.Mattes D1-1/+0
2014-08-21Removed cGroup and cGroupManager.Mattes D1-2/+0
2014-08-21Protection Enchantments, some fixesJaume Aloy3-8/+114
- Protection echantments (fire, blast, feather falling, protection and projectile). It isn't finished, add secondary effects and optimize the code. - Removed some brackets. - Silk touch fixed.
2014-08-20cPlayer: Exported the LoadRank function to Lua API.Mattes D1-2/+2
2014-08-19Changed if in BlockHandlerJaume Aloy1-1/+0
2014-08-19FixesJaume Aloy4-14/+15
- Changed m_TicksLeftBurning > 0 for IsOnFire() - Tried to do the changes in BlockHandler.cpp - Removed m_Creator in ArrowEntity - Added m_Enchantments in ProjectileEntity CreatorData - Added blank lines between functions
2014-08-19cPlayer reads ranks from cRankManager.Mattes D2-224/+85
2014-08-19Changed if for switchJaume Aloy1-3/+2
2014-08-19Added more enchantments and some fixesJaume Aloy4-7/+61
- Removed Debug messages - Added Punch enchantment effect - Added Silk Touch enchantment - Added Unbreaking enchantment effect
2014-08-19Added some EnchantmentsJaume Aloy3-6/+89
- Bow enchantments: Infinity, Flame and Power - Sword and tools enchantments: Fire Aspect, Bane of Arthropods, Smite, Sharpness
2014-08-18Player: Silenced a few type conversion warnings.Mattes D1-2/+2
2014-08-18Adjust comment formattingChristophe Piveteau1-20/+40
2014-08-17Player saving creates the "players" folder, if needed.Mattes D1-0/+1
Fixes #1268.
2014-08-16Better OnPlayerMoving hook.Howaner1-2/+10
2014-08-15Added a lot of commentsChristophe Piveteau1-30/+36
2014-08-15Clarify comment messageChristophe Piveteau1-2/+2
2014-08-15End of comment moved away from new lineChristophe Piveteau1-2/+1
2014-08-15Add some commentsChristophe Piveteau1-10/+21
2014-08-14Further changes in coding styleChristophe Piveteau1-38/+28
2014-08-13Further fixing of coding style errorsChristophe Piveteau1-26/+22
2014-08-13Another intendation errorChristophe Piveteau1-2/+2
2014-08-13Fixed braces and intendation errorsChristophe Piveteau1-3/+11
2014-08-13Implement ability to push minecarts on curved railsChristophe Piveteau1-2/+70
2014-08-11Fixed tolua error with static initializationarchshift2-3/+12
2014-08-11Player.cpp: change unnamed enum to constant integersarchshift2-7/+8
2014-08-10SpacesTycho1-1/+1
2014-08-10Fixed potential crash in Player.cppTycho1-0/+4
Fixes CID 71780 If ShouldBroadcastDeathMessages is false the pointer would fall through to a check agaist it being a player
2014-08-10Fixed swing arm animation when you ate.Howaner1-4/+2
2014-08-06On destroy ender crystal, create bedrock and firearchshift1-3/+3
2014-08-04CheckBasicStyle: multi-level indent change.madmaxoft1-1/+1
2014-08-04Attempt to fix knockback and swimming.Howaner1-15/+13
2014-08-03Added cPlayer::GetUUID().madmaxoft1-0/+3
2014-08-03Fixed a ToLua warning - operator = not supported.madmaxoft2-2/+2
2014-08-03Entity.cpp: Air timer comment fixarchshift1-1/+1
2014-08-03Code reduction and clarity fixesarchshift2-29/+16
2014-08-03Removed unused cPlayer::FoodPoison functionarchshift2-12/+0
2014-08-03Entity.cpp: On portal check, use if-else for current dimensionarchshift1-60/+54
If current dimension corresponds with the portal (nether portal in the nether) send to the overworld, else send to the portal dimension. No need to switch on the dimension and exclude potential others.
2014-07-31Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.Howaner3-22/+38
2014-07-31Fixed UUIDs handling in cPlayer.madmaxoft2-6/+9
The loading expected dashed UUIDs, MCS uses short UUIDs throughout.
2014-07-30Entity.h: Moved constants out of some unnamed enumarchshift1-14/+14
2014-07-29Slight cleanup after portalsTiger Wang1-1/+1
2014-07-29Detrailed whitespaceTiger Wang1-3/+3
2014-07-27Add "Broadcasting" settings to world.iniHowaner1-6/+8
2014-07-26SplashPotionEntity: Use `const cItem &` instead of a cItemarchshift2-2/+2
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift3-6/+2
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift5-9/+156
2014-07-24Removed redundant semicolons and re-added warningarchshift26-33/+33
2014-07-23SuggestionsTiger Wang4-16/+23
2014-07-23Fix item durability.Howaner3-8/+11
Fixes #1181
2014-07-22Speed improvements, crash fixes, & self-suggestionsTiger Wang4-35/+37
2014-07-21SuggestionsTiger Wang4-65/+70
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft4-66/+66
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-28/+28
2014-07-20Line tracer invalid chunk fixTiger Wang1-6/+7
* Fixes #1230 * Additionally improved speed in some scenarios
2014-07-20Bug and crash fixesTiger Wang4-48/+65
* Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files
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-19Removed references to deprecated cChatColor::Colorarchshift1-1/+1
2014-07-19Code style: Fixed braces on separate lines.madmaxoft1-1/+2
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-19Minecart: slimmed down SpawnOn by keeping subtype in the payload enumarchshift2-20/+7
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift2-10/+10
2014-07-19Fixed splash potion color on tossarchshift2-0/+16
2014-07-19Fixed clamping issuesarchshift3-12/+3
2014-07-19Subdirs: Only add_library if not using MSVCarchshift1-2/+4
2014-07-19Entities/CMakeLists.txt: Replaced glob with list of filesarchshift1-5/+56
2014-07-18Fix failed merge and other issuesTiger Wang3-45/+12
2014-07-18Moved ChatColor.h out of defines where it was not neededarchshift1-0/+1
2014-07-17Fixed NULL being passed instead of a double to AddEntityEffectarchshift1-1/+1
2014-07-17Fixed tabs used for alignment.madmaxoft9-25/+25
2014-07-17More trailing whitespace fixes.madmaxoft4-8/+8
2014-07-17Player.cpp: Fixed compile errorarchshift1-1/+1
2014-07-17Player.cpp: Added Wither death messagearchshift1-0/+1
2014-07-17Basic style fixes.madmaxoft8-29/+29
2014-07-17Fixed many slime bugs.Howaner1-4/+1
- 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-17Normalized comments.madmaxoft29-141/+141
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-17Fixed mob knockbackTiger Wang1-23/+8
* Fixes #901
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-17Fixed formatting for cWitherSkullEntitymadmaxoft2-3/+13
2014-07-16Another fix for excessive food drainTiger Wang2-1/+10
2014-07-16Resolved backwards compatibility issuesTiger Wang1-1/+1
2014-07-15Restructured cSplashPotionEntity code.madmaxoft3-70/+102
The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
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-14Maybe improved arrow sinkingTiger Wang1-2/+2
2014-07-14Readability and clarity changesarchshift3-29/+23
2014-07-14Player properties are now retrievedTiger Wang1-2/+2
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-13Made CreateProjectile a pointerworktycho2-4/+5
2014-07-13Changed BroadcastSoundEffect function to take floating pos.Howaner5-7/+7
2014-07-12Added splash potions to NBT serialization and retrievalarchshift2-1/+9
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift5-94/+84
2014-07-11Simplified the player data loading.madmaxoft1-9/+8
2014-07-11Player data filenames are based on UUID.madmaxoft2-67/+132
2014-07-11Fixed a missing return value.madmaxoft1-0/+2
2014-07-11Preparation for player UUID-based storage: LoadFromFile()madmaxoft2-21/+42
2014-07-09Fixed arrow collection animationTiger Wang2-22/+4
* Fixed piston extension non-solidness
2014-07-07Added extra space before commentsTiger Wang1-6/+6
2014-07-07Implemented trapped chests & othersTiger Wang1-1/+1
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-05Changed everything to callbacksTiger Wang3-80/+33
2014-07-04Crash and compile fixTiger Wang2-4/+9
2014-07-04SuggestionsTiger Wang6-6/+15
2014-07-04Various fixedTiger Wang3-10/+107
* Fixed potential invalid pointer dereferencing, fixes #1117 * Fixed ender pearls not being loaded properly
2014-07-04Eps comparisonTiger Wang2-2/+2
2014-07-04Tailored death messagesTiger Wang9-22/+43
2014-07-02SuggestionsTiger Wang2-8/+14
2014-07-02SuggestionTiger Wang1-13/+13
2014-07-02Fixed player teleport food drainTiger Wang2-1/+14
2014-07-01Vector clamping fixesTiger Wang1-4/+8
Thank you, @madmaxoft.
2014-06-30Fixes.Howaner1-3/+3
2014-06-30Implemented Vector3<>::Floor()Tiger Wang1-2/+3
2014-06-30Add new hook: HOOK_PLAYER_FOOD_LEVEL_CHANGEHowaner1-26/+24
2014-06-29Fixed respawningTiger Wang1-1/+1
* Fixes #1103
2014-06-29SuggestionsTiger Wang2-3/+6
2014-06-29Properly implemented enderchestsTiger Wang2-2/+16
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 server forcing players afloatTiger Wang1-1/+4
* Fixes #1131
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-24Optimize combining.Howaner1-3/+3
2014-06-24Better combining.Howaner1-3/+20
2014-06-24Fix pickup combining over the maximum stack size.Howaner1-4/+8
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-22Conforms to standardsTiger Wang1-1/+1
2014-06-21Fixed invalid iteratorsTiger Wang3-2/+12
2014-06-21More suggestionsTiger Wang3-4/+6
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift10-270/+745
Changed effect map to take a pointer of the effect as a result.
2014-06-17Entity effects: changed User to Creator, removed pawn pass-by-valuearchshift5-35/+19
2014-06-17Added the OnEntityAddEffect hook.madmaxoft2-0/+11
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift5-13/+30
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft5-47/+50
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.madmaxoft1-4/+7
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift4-6/+8
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Cave spider now poisons its victim, added IsPawn function to Entityarchshift2-1/+2
2014-06-17Added wither damage type, wither entity effect.archshift2-1/+16
2014-06-17Monster: added IsUndead(), undead-specific entity effectsarchshift1-6/+0
2014-06-17Applies splash potion effects to mobs as well as playersarchshift2-8/+12
2014-06-17Removed long function wrappingarchshift1-2/+1
2014-06-17Entity effect type: use 'eff' as a prefix instead of 'ef'archshift4-41/+41
2014-06-17Added splash potion functionalityarchshift5-14/+87
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,archshift3-0/+16
Clears entity effects on death
2014-06-17Implemented milk, added documentation to Pawn.harchshift3-1/+36
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 secondsarchshift2-26/+2
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 implarchshift6-33/+113
2014-06-17Added classes for splash potions and wither skullsarchshift5-0/+149
2014-06-17derpHowaner1-3/+3
2014-06-17The same: Float, not DoubleHowaner1-1/+1
2014-06-17Float, not DoubleHowaner1-1/+1
2014-06-16Split Broadcast Sound Effect function call in multiple lines.Howaner1-2/+16
2014-06-16Fix bow sound and creative arrow pickup.Howaner1-10/+22
2014-06-16Add bow charging animationHowaner2-2/+6
2014-06-16Merge branch 'master' of github.com:mc-server/MCServerTycho4-33/+81
2014-06-16Implemented PR suggestionsarchshift3-3/+4
Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef
2014-06-15Players are saved regularlyTiger Wang2-2/+22
* Fixes #1076
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-14Reverted portal creation codeTiger Wang2-103/+0
It wasn't really working and needs more development
2014-06-12Fixed compileworktycho1-1/+1
2014-06-12Portals animate and delay correctlyTiger Wang4-50/+112
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-10Portal improvements and suggestionsTiger Wang2-41/+92
2014-06-08Fixed deadlock when moving players to other worlds.Mattes D3-15/+18
Fixes #1039, fixes #851
2014-06-08Added queue for adding entities to cWorld.Mattes D3-4/+5
This alone doesn't work properly yet, further changes to cPlayer are needed.
2014-06-05Fixed compilationTiger Wang1-1/+1
2014-06-04SuggestionsTiger Wang2-2/+5
2014-06-04Configurable portalsTiger Wang2-14/+33
2014-06-04SuggestionsTiger Wang2-5/+9
2014-06-04Fix itemframe break.Howaner1-1/+3
2014-06-04Added checks for no downfall biomesTiger Wang1-1/+1
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-01Implemented bed homesTiger Wang3-16/+40
+ Implemented bed home positions * Fixed some inventory and health server/client mismatches after world change
2014-05-31Implemented end and nether portalsTiger Wang4-11/+150
2014-05-31Used recommendationsSTRWarrior1-2/+1
2014-05-30Wrong arrow commit.Howaner1-4/+0
2014-05-29Revert "Fixed a food saturation issue"Tiger Wang1-1/+1
This reverts commit 67308e4337b422ebefb249049e662266072b0ba2.
2014-05-28Add throw sound and fix arrow server crash.Howaner2-5/+4
2014-05-28Fix Y-Position from arrow entity.Howaner1-0/+1
2014-05-25Fixed a food saturation issueTiger Wang1-1/+1
2014-05-23Fixed datatype conversion warning.Mattes D1-2/+2
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-20Cleaned up cPlayer::UpdateMovementStats; Wither achievementsandrew2-14/+60
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-19Added client translation to achievementsTiger Wang1-4/+4
2014-05-19DerpAlexander Harkness1-1/+1
2014-05-19Should have fixed assumptions about entity width.Alexander Harkness1-4/+5
@madmaxoft can you comment?
2014-05-19Fixed clanging errors.Alexander Harkness1-5/+5
Please @tigerw make sure this is correct.
2014-05-18Implemented cacti damageTiger Wang2-0/+26
+ Implemented cacti damage * Fixed pickup tossing (PR #994 bug)
2014-05-18There's no "round" function in MSVC2008.madmaxoft2-4/+4
2014-05-13Fixesandrew2-16/+14
2014-05-12Movement Statisticsandrew3-11/+96
2014-05-12cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement()andrew5-4/+95
2014-05-11Fixed compilationandrew1-0/+2
2014-05-11Fixed stat serializationandrew1-10/+21
2014-05-11Statistic Managerandrew2-2/+26
2014-05-09Initialise m_HasTeleported in both constructorsworktycho1-0/+1
2014-05-06Suggestions'd #2Tiger Wang1-1/+1
2014-05-06Suggestions'dTiger Wang2-2/+2
2014-05-02A bit of reformatting.madmaxoft1-5/+10
2014-04-28Fixed a MSVC warning.madmaxoft1-1/+1
2014-04-28Fixed projectile source filenames, indentationsarchshift17-58/+58
2014-04-27Fixed warnings.madmaxoft1-0/+1
2014-04-27Fixed ToLua errors, added newlinesarchshift18-19/+19
2014-04-27Redstone simulator now directly accesses cChunkTiger Wang2-2/+2
* Redstone simulator performance improvements * Added return values to some functions * Minor fixes
2014-04-27Fixed ToLua issuesarchshift8-19/+16
2014-04-27Moved cFireworkEntity out of ProjectileEntity.harchshift4-115/+115
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift4-74/+83
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift4-82/+88
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift4-74/+83
2014-04-27Moved cExpBottleEntity out of ProjectileEntity.harchshift4-52/+61
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift4-86/+94
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift4-90/+99
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift4-280/+291
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.archshift1-0/+2
2014-04-26More small fixes.archshift1-1/+1
2014-04-26Implemented Chunk Sparsing with segmentsTycho1-3/+2
2014-04-26Further refactored, Reverted Minecart changearchshift4-17/+23
Other small changes.
2014-04-26FixesHowaner2-11/+14
2014-04-26Moved switch{} out of GetArmorCoverAgainst().archshift2-5/+29
2014-04-26Fixed a couple more warnings.archshift2-21/+17
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 invulnerableHowaner8-26/+61
2014-04-25Cmake generated projects for IDEs include headers in project files.archshift1-0/+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-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-25Chicken eggs and ender pearls can hit entities.archshift2-7/+66
Fixed warning by adding dedicated m_HasTeleported for fired arrows.
2014-04-24Implemented suggestionsTiger Wang1-7/+6
2014-04-23Some change to Entity.cppTiger Wang6-122/+100
* Added comments to BroadcastMovementUpdate() and the collision tracer
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.archshift2-3/+3
2014-04-23Fireproof status getter and setter.archshift2-0/+16
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-19Fixed Flint and Steel, reverted Minecart change, renamed a parameter namejfhumann3-4/+5
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann3-6/+7
2014-04-18Fixed #906Tiger Wang1-0/+10
2014-04-17Added new AI rulesTiger Wang4-39/+36
+ 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-12Entities handle chunks properly againTiger Wang6-118/+118
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty
2014-04-05Fixed Endiannes conversion routines for floats and doubles.madmaxoft1-1/+1
This bug has been introduced in 8825d30aabbee8cb2e452dc5a17deb6f9b6892a7. This change fixes #854.
2014-04-05Removed debugging log from entity physics handling.madmaxoft1-1/+2
2014-04-05Added cPlayer:SendRotation() API function.madmaxoft2-0/+17
2014-04-03Documented the units and range for entity rotations.madmaxoft1-7/+7
2014-03-30Using recommendations (I think)STRWarrior1-1/+2
2014-03-30Added a BlockHitPos parameter to OnProjectileHitBlockSTRWarrior1-2/+2
2014-03-30Added a blockface parameter to the OnProjectileHitBlock hook.STRWarrior1-1/+1
2014-03-29Fixed the OnProjectileHitBlock hook not stopping projectiles.STRWarrior1-1/+1
2014-03-29Added HOOK_PROJECTILE_HIT_BLOCK.STRWarrior1-0/+5
2014-03-29Fixed error when the hook gets called.STRWarrior1-1/+0
2014-03-29Added HOOK_PROJECTILE_HIT_ENTITYSTRWarrior1-0/+6
2014-03-29Fixed #721 and FS439Tiger Wang1-0/+1
2014-03-25Ender crystalsandrew3-11/+102
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 Barney2-3/+1
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
2014-03-25Added newlines. Without them, the files would not compile.Samuel Barney2-2/+2
2014-03-20Plugins can set flying speed.madmaxoft2-75/+118
2014-03-20Rewritten player speeds to be relative unit-less.madmaxoft2-7/+11
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-20Minor Entity.cpp cleanupTiger Wang1-12/+9
2014-03-15Add item frame saving.Howaner4-44/+119
2014-03-15Add health and age load to pickup's.Howaner2-16/+22
2014-03-15Add ExpOrb saving.Howaner3-10/+34
2014-03-11Unified Matrix4 codeandrew1-1/+1
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 classesandrew2-3/+2
2014-03-09Fixed #778 - stack overflow.comTiger Wang1-1/+1
2014-03-09Beds now work properly fixes #707Tiger Wang1-3/+14
Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
2014-03-09CheckBlockInteractionsRate() fixed & enabledTiger Wang2-35/+1
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho2-4/+4
2014-03-08Change TNT Fuse to ticksHowaner2-11/+11
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner2-17/+33
2014-03-05Added extra awesomeness to TNTTiger Wang3-195/+205
+ 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-01g_BlockXXX => cBlockInfo::XXXandrew4-14/+14
2014-03-01Shortened enumsandrew1-2/+2
2014-03-01Exported and documented cScoreboardandrew1-18/+3
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft2-1/+12
2014-02-28Moved common cGroupManager code to a separate function.madmaxoft1-7/+11
This fixes my concerns in PR #709.
2014-02-27Removed unneeded includes in Player.cppTiger Wang1-7/+0
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang2-43/+56
+ Added fireworks
2014-02-24Small improvements to boats.STRWarrior1-3/+7
2014-02-21Remove users.ini generation in Player.cpp and use the CheckUsers() FunctionHowaner1-6/+1
2014-02-21Add 'Group not found', when the Server load the users.ini and add auto generate from users.iniHowaner1-1/+5
2014-02-18Changed BlockFace type to eBlockFaceTiger Wang2-13/+26
2014-02-18Added a braceTiger Wang1-0/+2
==== { } { __ } { | | } ==== REMOVE ALL THE BRACES!!
2014-02-18Properly exported and documented paintingsTiger Wang1-2/+2
2014-02-18Implemented paintings, fixes #689Tiger Wang3-0/+87
+ Implemented paintings
2014-02-18Implemented item frames, a part of #689Tiger Wang3-0/+153
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17Map item handler; Fixed several bugsandrew1-0/+3
2014-02-16Links sent via chat messages are clickable.madmaxoft1-1/+2
Fixes #658.
2014-02-16Fixed minor formatting issues from #682Tiger Wang3-16/+3
- Removed unused PlaySoundEffect * Simplified and parenthesised code
2014-02-16Replace random Float Generation and broadcast the Exp Pickup SoundHowaner2-9/+4
2014-02-16Add Exp Bottle EffectsHowaner4-1/+23
2014-02-16Disable Hunger DeathHowaner1-1/+7
2014-02-15Implemented cCompositeChat.madmaxoft1-0/+1
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions. Fixes #678.
2014-02-15If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/NotchSTRWarrior1-0/+6
2014-02-12Made player jump reset less ambiguousTiger Wang1-1/+2
2014-02-11Fixed #627Tiger Wang1-2/+2
- 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-09Fixed a boat ASSERTTiger Wang1-2/+8
2014-02-07Improved chat messaging functionsTiger Wang2-17/+8
* Moved string manipulation into cClientHandle and therefore... + Added configuration option for prefixes. * Cleaned up code. * Updated documentation for API.
2014-02-06Server internally uses new functionsTiger Wang1-6/+4
2014-02-06Added more chat functionsTiger Wang1-1/+0
2014-02-05Removed deprecated HasCommand functionSTRWarrior2-14/+0
2014-02-05Fixed most of the reordering warningsTycho4-11/+11
2014-02-05Fixed annoying creative on fire bugTiger Wang2-0/+20
2014-02-04Added more SendMessageXXX() functionsTiger Wang1-0/+4
2014-02-04Improved Type safety of eBlockFaceTycho3-22/+22
May Fix #640
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 Wang1-0/+3
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-03Fixed a crash bugTiger Wang1-3/+3
2014-02-03Server now handles join messages alsoTiger Wang1-1/+7
* Revised as well hook documentation
2014-02-03Fixed compilationtonibm191-1/+0
2014-02-03Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua APItonibm191-0/+1
2014-02-02Creative players take Plugin damageTiger Wang2-3/+4
2014-02-01Removed "player destroying" hookdaniel09161-3/+1
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-25Rail speed tweakTiger Wang1-2/+2
2014-01-25Two minor changesTiger Wang1-5/+3
2014-01-25Implemented fall damage for mobsTiger Wang3-5/+8
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros
2014-01-25Implemented pickup combiningTiger Wang1-0/+55
* Fixes FS393 * Part of #131
2014-01-25Added "player destroying" and "player destroyed" hooksdaniel09161-0/+4
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 Wang4-127/+130
* Implemented mob drowning * Iron Golems and squids are excluded
2014-01-24Miscellaneous improvementsTiger Wang1-10/+4
2014-01-24removed hook from enchanting commitdaniel09161-4/+0
2014-01-24Removed unused ReferenceManagerTiger Wang2-45/+1
2014-01-24Added more minecart powered rail directionsTiger Wang1-3/+63
2014-01-24Some updates for enchantingdaniel09161-0/+4
2014-01-24Fixed crash with failed entity-loading.madmaxoft1-1/+2
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 indentation once and for all.Mike Hunsinger1-31/+31
2014-01-24Fixed indentation and doxygen comments... For real this time.Mike Hunsinger1-3/+3
2014-01-24Fixed spacing and doxycomments.Mike Hunsinger2-6/+6
2014-01-23Split TossItem into three Toss functions (Held, Equipped and Pickup)Mike Hunsinger2-50/+66
2014-01-22Fixed compilation on VC2008tonibm191-0/+1
2014-01-21Scoreboard protocol supportandrew1-6/+11
2014-01-20Scoreboard deserializationandrew2-3/+26
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-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-19Added more rail functionalityTiger Wang1-14/+0
2014-01-19Scoreboard improvementsandrew1-4/+4
2014-01-19Basic scoreboard implementationandrew2-1/+62
2014-01-19Exported cFloater to the Lua API.STRWarrior1-3/+7
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-17Removed internal cEntity::GetRot() usage.madmaxoft3-7/+7
2014-01-16Disabled excessive entity-related logging in Debug mode.madmaxoft1-1/+11
2014-01-16Removed obsoleted functionsTiger Wang5-27/+25
2014-01-16Changed GetContent function.STRWarrior1-1/+1
2014-01-15OBSOLETE'd obsolete functionsTiger Wang1-2/+2
2014-01-15Implemented Ctrl-Q drop stackTiger Wang1-3/+8
Also fixed an issue with TossItems not respecting count.
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-14Yes newline at end of file :DTiger Wang1-1/+5
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-13Detaching improvementsTiger Wang4-4/+34
* Players now search for an area around themselves to teleport to when detaching from something
2014-01-12Fixed server crash.STRWarrior1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior2-6/+7
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior2-3/+11
2014-01-12Multiple enhancements and fixes to minecartsTiger Wang3-132/+190
+ They are destroyed instantly by creative mode * Physics is much improved + Basic implementation of powered rails
2013-12-31Fixed a cPlayer::IsGameModeAdventure. It was determined based off of gmCreate rather than gmAdventure.Morgan Redshaw1-2/+2
2013-12-30Fixed compilation in VC2008.madmaxoft1-2/+4
Also removed an unused inline header file (yuck).
2013-12-26Server now handles death messagesTiger Wang1-0/+16
2013-12-25Fixed Parentheses.STRWarrior1-2/+2
2013-12-25You are now able to sweep mobs to your position using fishing rods.STRWarrior2-12/+142
2013-12-25Braced up some codeTiger Wang1-0/+2
2013-12-25Used IsGamemodeCreative() functionTiger Wang1-1/+1
2013-12-24Fixed comments in main.cpp and Player.cppTiger Wang1-1/+1
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-24finally removed them all?Alexander Harkness1-1/+1
2013-12-23Improved player fall particle positionsTiger Wang1-5/+2
2013-12-23Clarified some code in Player.cppTiger Wang1-2/+5
2013-12-23Fixed a comment in Entity.cppTiger Wang1-1/+1
2013-12-22Implemented knockback and critical hitTiger Wang1-4/+21
2013-12-22Implemented fall particlesTiger Wang1-3/+18
2013-12-22merged in warnings changesTycho Bickerstaff3-7/+17
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-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 Bickerstaff3-5/+13
2013-12-21Floater now dissapears when the player doesn't have an fishing rod equipped.STRWarrior2-0/+32
2013-12-21Root is now warnings cleanTycho Bickerstaff1-2/+2
2013-12-21ChunkSender is now warnings cleanTycho Bickerstaff2-5/+5
2013-12-21You could now only get fish from non-source blocks. Fixed it.STRWarrior1-1/+1
2013-12-21Fixed bug where you could get fish from non-source blocks.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-20Sorted a few constructors to remove warnings.madmaxoft5-32/+36
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-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-19Fixed PlayerAbilities and creativeTiger Wang1-0/+18
2013-12-19Implented IsFishing, SetIsFishing and GetFloaterID().STRWarrior2-0/+12
2013-12-19Added cFloater class.STRWarrior3-0/+90
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-16Fixed cClientHandle::Tick() being called from two threads.madmaxoft2-24/+0
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-15Server saves if a player is flying.STRWarrior1-1/+3
2013-12-15Renamed ShootTo function to ForceSetSpeed.STRWarrior2-3/+3
2013-12-15This adds a function that allows you to 'shoot' a player towards a direction.STRWarrior2-0/+13
2013-12-15Fixed indentation.madmaxoft1-1/+1
2013-12-15Added m_IsFlying and m_CanFly. Both have a Get and Set function. Added cClientHandle::SendPlayerAbilities() functionSTRWarrior2-1/+45
2013-12-15cPlayer is using the broadcast functions.STRWarrior1-3/+3
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior1-1/+2
2013-12-14Added E_EFFECT_<Effect>STRWarrior2-3/+32
2013-12-14Added SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison.STRWarrior1-1/+9
2013-12-14Exported the cTNTEntitySTRWarrior1-2/+6
2013-12-14Fixed not getting XP from mobs.STRWarrior1-1/+1
2013-12-14Improved player permissions loggingTiger Wang1-1/+1
2013-12-14Fixes to redstone wire and torchesTiger Wang1-1/+1
+ 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 Wang1-1/+6
2013-12-13Using "a_ClosestPlayer != NULL" in cExpOrb.STRWarrior1-1/+1
2013-12-11ExpOrbs now move.STRWarrior1-4/+8
2013-12-11moved entities to globsTycho Bickerstaff1-1/+5
2013-12-10more cmakeTycho Bickerstaff1-0/+7
2013-12-08Fixed angle normalization typo.madmaxoft1-1/+1
2013-12-08Fixed normalizing large angles.madmaxoft1-6/+3
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft3-3/+3
Ref.: #407
2013-12-07Renamed animation functionTiger Wang1-3/+3
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just players can have animations, you know.
2013-12-06Puking now uses GetEyeHeight()Tiger Wang1-1/+1
2013-12-06Fixed eating using wrong animationTiger Wang1-1/+1
2013-12-06Tools make a sound when breaking, fixes #266Tiger Wang2-2/+5
2013-11-27Fixed VC2008 compilation, normalized include paths.madmaxoft1-1/+1
2013-11-27Fixed some of tiger's derpyness.Alexander Harkness1-2/+2
2013-11-26Hopefully fixed last of the Linux compile errorsTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-2/+2
2013-11-24Moved source to srcAlexander Harkness18-0/+6466