Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-03-24 | Send respawn packet by default (#4540) | Mat | 1 | -2/+2 | |
2020-03-22 | Fix armor protection (#4506) | Mat | 1 | -2/+2 | |
* Fix armor protection * Check min damage * Check min damage * Commit missing changes * Convert to int * Use float * Float some more | |||||
2020-03-07 | Don't send entity velocity for boats (#4488) | Mat | 1 | -4/+4 | |
* Don't send entity velocity for boats | |||||
2020-03-05 | Stabilise MoveToWorld (#4004) | Mat | 1 | -14/+59 | |
* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld | |||||
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -1/+5 | |
2019-08-11 | Fix building with clang 8.0 (#4346) | Bond-009 | 1 | -4/+6 | |
2019-08-08 | Change TakeDamageInfo::FinalDamage from int to float (#4359) | Aplaus228 | 1 | -2/+2 | |
Closes #4357 | |||||
2018-07-24 | Broadcast refactor (#4264) | peterbell10 | 1 | -1/+2 | |
* Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions | |||||
2018-07-23 | cPawn: Reset last ground height in ResetPosition (#4261) | peterbell10 | 1 | -1/+1 | |
Prevents fall damage after teleporting/portaling to a lower height. Fixes #3457 | |||||
2018-07-23 | Rewrite explosion knock back (#4251) | changyong guo | 1 | -1/+10 | |
1. Base knockback on an entity's bounding box intersection with the explosion 2. Armor blast protection reduces knockback 3. Don't apply knockback to players flying in creative mode Fixes #4139 | |||||
2018-06-24 | Support swap item between main hand and offhand by press key "F" (#4241) | changyong guo | 1 | -0/+3 | |
Hi, I found cuberite don't support to press key "F" to swap items on main hand and offhand, so I implemented this feature. Best regards Changyong | |||||
2018-04-11 | Update m_LastSentPosition in TeleportToCoords and DoMoveToWorld. (#4211) | peterbell10 | 1 | -0/+4 | |
2018-01-14 | Rename cEntity swim states (#3996) | Alexander Harkness | 1 | -11/+23 | |
* Replace cEntity:m_IsSubmerged with m_IsHeadInWater * Replace cEntity:m_IsSwimming with m_IsInWater * Add API documentation for new symbols * Apply SetSwimState to all entities, not just mobs and players * Pickups now use IsOnFire to check if they are on fire before destruction Fixes #3987 | |||||
2017-11-22 | Store Health as a float (#4073) | Fabian | 1 | -6/+6 | |
* Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts | |||||
2017-09-12 | Adjust lava damage values (#4020) | Alexander Harkness | 1 | -1/+1 | |
Fixes isue #2925 | |||||
2017-09-07 | Updated APIDoc (#3985) | Lukas Pioch | 1 | -3/+4 | |
2017-09-07 | Changed some int parameters to vector parameters (#3937) | Bond-009 | 1 | -1/+1 | |
2017-08-30 | Protocol Spawn Position Should Use LastSentPosition (#3929) | Lane Kolbly | 1 | -0/+4 | |
+ Added GetLastSentPos * Fixed spawn position bug in 1.8. | |||||
2017-08-30 | Added ShouldSendRespawn parameter to ScheduleMoveToWorld (#3979) | Lane Kolbly | 1 | -1/+2 | |
2017-08-24 | Minor changes (#3909) | mathiascode | 1 | -1/+1 | |
2017-08-21 | Fully implemented leashes (#3798) | Pablo Beltrán | 1 | -1/+19 | |
2017-08-07 | Changed entity ownership model to use smart pointers | Tiger Wang | 1 | -3/+1 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -1/+0 | |
2017-07-28 | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 1 | -0/+3 | |
* Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | |||||
2017-07-23 | Updated armor cover calculation. (#3858) | Lane Kolbly | 1 | -2/+8 | |
* Updated armor damage calculation. + Added lua docs, added casts from float to int. * Changed verbage in docstring and comment. | |||||
2017-06-15 | Entity: Replaced a mutexed counter with a std::atomic. (#3773) | Mattes D | 1 | -4/+6 | |
2017-04-01 | Added a nullptr check to cEntity::IsA (#3659) | Marvin Kopf | 1 | -1/+1 | |
Fixes #3603 | |||||
2016-12-10 | Export GetPosition and GetSpeed from cEntity as a copy instead of a pointer to lua. | Lukas Pioch | 1 | -2/+6 | |
2016-10-12 | Spectators added (#2852) | bibo38 | 1 | -1/+1 | |
2016-07-18 | Updated API documentation. | Mattes D | 1 | -3/+7 | |
2016-07-18 | Fixes for boat entities (#3265) | beeduck | 1 | -0/+3 | |
protocol for vehicles now properly handled, protocol for boat paddles now properly handled, boats can no longer spawn underwater, boats now properly float, boat metadata now properly broadcasted. | |||||
2016-06-02 | Fixed fall damage | Tiger Wang | 1 | -1/+1 | |
* Fixes #3216 | |||||
2016-05-03 | Fixed death on teleportation or leaving Minecart (#3181) | LogicParrot | 1 | -1/+1 | |
2016-03-30 | MoveToWorld defaults to spawnpoint | LogicParrot | 1 | -2/+2 | |
2016-02-19 | Proper entity destruction in non-ticking chunks | LogicParrot | 1 | -16/+29 | |
2016-02-02 | Fix cPawn pushing | Marvin Kopf | 1 | -0/+3 | |
cPawn instances can no longer push an entity they are attached to. cEntity now has a IsAttachedTo method. | |||||
2016-01-22 | Improved tamed wolf pack cooperation and projectile reactions | LogicParrot | 1 | -0/+3 | |
2016-01-21 | Spiders now friendly at daylight, new cChunk functions | LogicParrot | 1 | -1/+0 | |
2015-11-29 | implement breeding | Gargaj | 1 | -0/+2 | |
2015-11-05 | Destroy an ender crystal, damage a dragon when hit by an egg. | Alexander Harkness | 1 | -88/+88 | |
2015-10-31 | Implemented the FireResistence potion effects. | bibo38 | 1 | -1/+1 | |
This not only provides fire resistence, but also prevents blaze fireballs. See #2556 | |||||
2015-08-20 | Fixed food drain bugs | Tiger Wang | 1 | -22/+22 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -66/+65 | |
2015-06-13 | Work on NetherPortalScanner. Setup portal scanner to reset PortalCooldown. Changed where player is spawned. Added a_InitSpawn flag to CreateAndInitializeWorld. | Lane Kolbly | 1 | -11/+12 | |
2015-06-10 | Implemented nether portal scanning code. | Lane Kolbly | 1 | -8/+18 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -2/+2 | |
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2015-03-31 | Changed air drag units to 'interpolated ticks' per second | DevToaster | 1 | -2/+4 | |
2015-03-31 | Modified physics for more vanilla-like behavior | DevToaster | 1 | -0/+8 | |
2015-03-21 | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 1 | -3/+10 | |
2015-02-07 | cPlayer should override IsOnGround() | Howaner | 1 | -2/+2 | |
2015-02-07 | Added IsOnGround() to cEntity | Howaner | 1 | -0/+3 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -2/+2 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -96/+100 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -7/+7 | |
2014-10-19 | LuaState: Pushing a cEntity pushes the correct class name. | Mattes D | 1 | -5/+5 | |
This makes Lua scripts easier, as they don't need to cast values from cEntity to the specific descendant. | |||||
2014-10-12 | convert old style casts to fix warnings | Steven Riehl | 1 | -94/+90 | |
2014-10-09 | Float/Ciel: If it's going to use C++11, it might as well take advantage of it | archshift | 1 | -3/+3 | |
2014-10-09 | Use static casts instead of C casts, add floor-cast functions | archshift | 1 | -3/+3 | |
2014-09-13 | Entities experience water resistance | Tiger Wang | 1 | -0/+6 | |
2014-09-04 | Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc" | archshift | 1 | -3/+3 | |
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!) | |||||
2014-09-04 | Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc | archshift | 1 | -3/+3 | |
Snow Golems must also be above 64Y to spawn snow (as of 1.8). | |||||
2014-09-01 | Added name tag | Howaner | 1 | -1/+1 | |
2014-07-30 | Entity.h: Moved constants out of some unnamed enum | archshift | 1 | -14/+14 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -1/+1 | |
2014-07-23 | Suggestions | Tiger Wang | 1 | -3/+5 | |
2014-07-22 | Speed improvements, crash fixes, & self-suggestions | Tiger Wang | 1 | -2/+4 | |
2014-07-21 | Suggestions | Tiger Wang | 1 | -9/+21 | |
2014-07-20 | Bug and crash fixes | Tiger Wang | 1 | -6/+9 | |
* 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-20 | Added m_TicksAlive to entities, allows projectiles to hit their creators | archshift | 1 | -0/+6 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -1/+1 | |
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-04 | Tailored death messages | Tiger Wang | 1 | -1/+1 | |
2014-06-22 | Some Entity.cpp style improvements | Tiger Wang | 1 | -2/+2 | |
2014-06-21 | Fixed invalid iterators | Tiger Wang | 1 | -1/+9 | |
2014-06-17 | Cave spider now poisons its victim, added IsPawn function to Entity | archshift | 1 | -0/+1 | |
2014-06-17 | Player: made healing instantaneous | archshift | 1 | -1/+1 | |
2014-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -10/+25 | |
2014-06-16 | Implemented PR suggestions | archshift | 1 | -1/+1 | |
Furnace.txt: newline BlockID: removed extraneous dimension mapping cEntity: fixed typo cPlayer: WorldPtr typedef | |||||
2014-06-14 | Removed an unused tolua_end and tolua_begin pair. | madmaxoft | 1 | -2/+0 | |
2014-06-14 | Refactored speed-setting to use a common function for all cases. | madmaxoft | 1 | -16/+23 | |
2014-06-14 | Reverted portal creation code | Tiger Wang | 1 | -3/+0 | |
It wasn't really working and needs more development | |||||
2014-06-12 | Portals animate and delay correctly | Tiger Wang | 1 | -2/+8 | |
2014-06-11 | Player.h: Moved doxy-comments to Entity.h | archshift | 1 | -0/+7 | |
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-10 | Portal improvements and suggestions | Tiger Wang | 1 | -0/+3 | |
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 1 | -2/+3 | |
Fixes #1039, fixes #851 | |||||
2014-06-08 | Added queue for adding entities to cWorld. | Mattes D | 1 | -2/+3 | |
This alone doesn't work properly yet, further changes to cPlayer are needed. | |||||
2014-05-31 | Implemented end and nether portals | Tiger Wang | 1 | -0/+6 | |
2014-05-22 | cEntity::SetSpeed(a_Vector3d) isn't virtualized anymore | STRWarrior | 1 | -1/+1 | |
2014-05-22 | cPlayer overrides the SetSpeedXX functions | STRWarrior | 1 | -3/+3 | |
Fixed compile error | |||||
2014-05-22 | Both SetSpeed functions are now overridden by cPlayer | STRWarrior | 1 | -5/+8 | |
2014-05-18 | Implemented cacti damage | Tiger Wang | 1 | -0/+3 | |
+ Implemented cacti damage * Fixed pickup tossing (PR #994 bug) | |||||
2014-05-12 | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() | andrew | 1 | -0/+3 | |
2014-05-02 | A bit of reformatting. | madmaxoft | 1 | -5/+10 | |
2014-04-27 | More comments! | Tiger Wang | 1 | -2/+9 | |
* Also fixed a potential issue with position sending - if someone moved slowly enough, their position would never be updated. | |||||
2014-04-26 | Further refactored, Reverted Minecart change | archshift | 1 | -1/+1 | |
Other small changes. | |||||
2014-04-26 | Fixes | Howaner | 1 | -10/+13 | |
2014-04-26 | Moved switch{} out of GetArmorCoverAgainst(). | archshift | 1 | -0/+3 | |
2014-04-26 | Change m_InvulnerableTicks description again again :D | Howaner | 1 | -1/+1 | |
2014-04-26 | Change m_InvulnerableTicks description again. | Howaner | 1 | -1/+1 | |
2014-04-26 | Change m_InvulnerableTicks description | Howaner | 1 | -1/+1 | |
2014-04-26 | Add entity invulnerable | Howaner | 1 | -4/+13 | |
2014-04-23 | Some change to Entity.cpp | Tiger Wang | 1 | -7/+4 | |
* Added comments to BroadcastMovementUpdate() and the collision tracer | |||||
2014-04-23 | Renamed getter and setter for IsFireproof. | archshift | 1 | -2/+2 | |
2014-04-23 | Fireproof status getter and setter. | archshift | 1 | -0/+5 | |
2014-04-22 | Fixed indentation and changed m_Fireproof to m_IsFireproof. | archshift | 1 | -2/+2 | |
2014-04-22 | Lay foundation for fireproof entities. | archshift | 1 | -0/+3 | |
Prevent any entities with the m_Fireproof flag from taking fire or lava damage. | |||||
2014-04-17 | Added new AI rules | Tiger Wang | 1 | -1/+2 | |
+ 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-12 | Entities handle chunks properly again | Tiger Wang | 1 | -15/+36 | |
* Entities properly handle chunks * Changed EntityStatus enums to be less shouty | |||||
2014-04-03 | Documented the units and range for entity rotations. | madmaxoft | 1 | -7/+7 | |
2014-03-25 | Ender crystals | andrew | 1 | -11/+13 | |
2014-03-11 | Unified Vector classes | andrew | 1 | -3/+1 | |
2014-03-05 | Added extra awesomeness to TNT | Tiger Wang | 1 | -0/+1 | |
+ 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-02-18 | Implemented paintings, fixes #689 | Tiger Wang | 1 | -0/+2 | |
+ Implemented paintings | |||||
2014-02-18 | Implemented item frames, a part of #689 | Tiger Wang | 1 | -0/+2 | |
+ Implemented Item Frames * Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!) | |||||
2014-02-03 | Fixed compilation | tonibm19 | 1 | -1/+0 | |
2014-02-03 | Exporded World:FindClosestPlayer, Item:IsEnchantable and Monster:MoveToPosition to Lua API | tonibm19 | 1 | -0/+1 | |
2014-01-25 | Implemented fall damage for mobs | Tiger Wang | 1 | -0/+5 | |
+ Implemented mobile fall damage * Formatting fixes + Defined new Position->Integer macros | |||||
2014-01-25 | All mobs now drown (fixes #54) | Tiger Wang | 1 | -1/+22 | |
* Implemented mob drowning * Iron Golems and squids are excluded | |||||
2014-01-24 | Removed unused ReferenceManager | Tiger Wang | 1 | -9/+1 | |
2014-01-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 1 | -2/+2 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -3/+1 | |
2014-01-15 | OBSOLETE'd obsolete functions | Tiger Wang | 1 | -2/+2 | |
2014-01-13 | Detaching improvements | Tiger Wang | 1 | -1/+1 | |
* Players now search for an area around themselves to teleport to when detaching from something | |||||
2013-12-30 | Fixed compilation in VC2008. | madmaxoft | 1 | -2/+4 | |
Also removed an unused inline header file (yuck). | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -4/+10 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -3/+7 | |
2013-12-21 | ChunkSender is now warnings clean | Tycho Bickerstaff | 1 | -4/+4 | |
2013-12-20 | Sorted a few constructors to remove warnings. | madmaxoft | 1 | -1/+1 | |
2013-12-19 | Added cFloater class. | STRWarrior | 1 | -0/+3 | |
2013-12-16 | Added HandleSpeedFromAttachee so an entity can override the function. | STRWarrior | 1 | -0/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-03 | Added cEntity:GetYaw() and cEntity:SetYaw(). | madmaxoft | 1 | -2/+4 | |
This is the preferred way to get / set rotation, GetRotation() and SetRotation is obsoleted due to bad name. | |||||
2013-10-13 | Eight round of fixes | Tiger Wang | 1 | -13/+8 | |
* Changed IsA() to *long if statement* - Removed deprecated values in Entity.h - to blazes with the plugins! * Renamed villager type enumerations to be LESS SHOUTY and more vt-y + Use vtMax for World.cpp testificate spawning | |||||
2013-10-09 | Second round of fixes | Tiger Wang | 1 | -66/+1 | |
* Implemented suggestions | |||||
2013-10-08 | Initial round of fixes | Tiger Wang | 1 | -17/+27 | |
* Fixed intentional misspelling of baby! :D * Better chested horse bool name * Fixed some weird continuity issues with my recent changes not being pushed up initially * Fixed derpy hexadecimal values | |||||
2013-10-08 | Initial Metadata Commit [SEE DESC] | Tiger Wang | 1 | -0/+63 | |
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned | |||||
2013-10-08 | Cleaned up cEntity's enums. | madmaxoft | 1 | -23/+20 | |
Several were obsoleted and unused, others weren't supposed to be exported to the Lua API. | |||||
2013-09-27 | Fixed a typo in cEntity doxycomments. | madmaxoft | 1 | -4/+4 | |
2013-09-11 | Added void damage | Tiger Wang | 1 | -0/+6 | |
2013-09-08 | Fixed a bunch of stuff | Tiger Wang | 1 | -0/+2 | |
* Fixed compilation * Made it less obvious I COPIED ALL THE CODE from Minecarts * Fixed alignment spaces to make xoft happy | |||||
2013-09-07 | Arrows have proper yaw and pitch when shot, and stop when they hit a block. | madmaxoft | 1 | -0/+6 | |
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+2 | |
2013-09-06 | Implemented SteerVehicle packet. | madmaxoft | 1 | -0/+2 | |
2013-09-03 | Added cEntity's gravity to the Lua API. | madmaxoft | 1 | -0/+4 | |
2013-08-29 | Implemented xoft's suggestions [SEE DESC] | Tiger Wang | 1 | -3/+3 | |
Rail metas are now in BlockID and exported to LUA Minecart now does a SetMass, instead of m_Mass Minecarts use SubType instead of TypeType | |||||
2013-08-27 | Preliminary Minecart physics handling [SEE DESC] | Tiger Wang | 1 | -3/+3 | |
This commit includes physics handling for the following scenarios: Flat rails in orientations [N, S, W, E] Ascending/descending rails in orientations [N, S, W, E] Powered rails are NOT handled (they don't respond to redstone). Curved rails are NOT handled (I haven't figured out how to do them :P) Please note that I have not tried to emulate vanilla behaviour because of a lack of knowledge on velocity unites/C++. We can say it's a feature or something. :P | |||||
2013-08-27 | Entities fall 3x slower in water | madmaxoft | 1 | -1/+1 | |
2013-08-22 | Added skeleton code for projectile spawning. | madmaxoft | 1 | -3/+3 | |
2013-08-22 | Removed unwanted VirtualHooks remnants. | madmaxoft | 1 | -2/+1 | |
cEntity no longer needs its SpawnOn() default-implemented, it can now be a true pure virtual function. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -3/+3 | |
2013-08-08 | Addeed OnSpawningEntity, OnSpawnedEntity, OnSpawningMonster, OnSpawnedMonster hooks. | madmaxoft | 1 | -1/+2 | |
As requested in FS 418. | |||||
2013-07-07 | Mobs are assigned MaxHealth from monsters.ini; reading monsters.ini doesn't need settings.ini values anymore. | madmaxoft@gmail.com | 1 | -1/+4 | |
Fixes FS #409. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1662 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-01 | Added DamageType translation to API | madmaxoft@gmail.com | 1 | -42/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -15/+189 | |
Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-25 | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 1 | -1/+2 | |
Should fix FS #400 and partially fix FS #381 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1626 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-15 | Entity: Added IsTNT | nielsbreu@gmail.com | 1 | -0/+1 | |
Once again I wasn't paying attention.. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1594 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-06-04 | cEntity: fixed doxy comments | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1551 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-21 | Added basic functions for width and height for Entities | keyboard.osh@gmail.com | 1 | -11/+19 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1498 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-05-19 | Fixed entity chunking. | madmaxoft@gmail.com | 1 | -2/+2 | |
Sand simulator was off, sand in negative coords wouldn't fall properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@1489 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-28 | Entity: fixed mass declaration | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1432 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-28 | cEntity: Added mass to entities. | keyboard.osh@gmail.com | 1 | -0/+9 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1430 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-22 | Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs. | keyboard.osh@gmail.com | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-18 | Initial implementation of explosions and TNT block | keyboard.osh@gmail.com | 1 | -0/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -21/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-02 | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 1 | -0/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-23 | Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions. | keyboard.osh@gmail.com | 1 | -1/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | Implemented BroadcastMovementUpdate function. Moved m_Pos,m_Rot,m_Speed to private members and made sure that all classes uses the public functions to access these members. | keyboard.osh@gmail.com | 1 | -7/+25 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-09 | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 1 | -23/+27 | |
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-03 | Player can sit in minecarts (but not move them yet) | madmaxoft@gmail.com | 1 | -2/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-01 | Previous commit was missing the Entity.h file | madmaxoft@gmail.com | 1 | -4/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1232 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-27 | Minecart entity now supports IsA() self-identification | madmaxoft@gmail.com | 1 | -4/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1225 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-21 | Moved the Speed member into cEntity class instead of its descendants. | madmaxoft@gmail.com | 1 | -2/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-18 | Minecarts can now be placed. | madmaxoft@gmail.com | 1 | -0/+1 | |
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-10 | Removed useless logging from cEntity::GetLookVector() | madmaxoft@gmail.com | 1 | -9/+9 | |
Requested by STR_Warrior http://forum.mc-server.org/showthread.php?tid=434&pid=6368#pid6368 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1205 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-03 | Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld | faketruth | 1 | -25/+7 | |
Using templates to generate ForEach* functions instead of MACROS Better error reporting in ForEach* functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-22 | MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now) | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 1 | -9/+21 | |
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 1 | -17/+39 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Replaced "const double &" with plain "double" for simplicity | madmaxoft@gmail.com | 1 | -26/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1085 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-29 | Gotten completely rid of all cPackets. The cProtocol125 class now does all the parsing and writing by itself. | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@802 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-28 | Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore. | madmaxoft@gmail.com | 1 | -0/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-24 | Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets. | madmaxoft@gmail.com | 1 | -3/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@783 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -19/+31 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -148/+148 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-04-11 | Moved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin | faketruth | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@457 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Reverted the previous commit - it is useless, since entities still depend heavily on cWorld | madmaxoft@gmail.com | 1 | -3/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-23 | Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers) | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-09 | cClientHandles have a unique ID now to distinguish them | faketruth | 1 | -5/+5 | |
cAuthenticator uses unique client ID for authentication Changed the kick function used by cAuthenticator to take a client ID instead of name, so the correct user is kicked Using callback reference instead of pointer in GetChunkData and affiliates GetChunkData returns false when failed, and true when succeeded Renamed entity type enums to something prettier Exposed some functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@388 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380 | faketruth | 1 | -3/+4 | |
Also removed the SetClientHandle() function from cPlayer Added a Destroyed() function to cEntity that is called ONLY ONCE after an entity has been 'destroyed' Cleaned up some code, using enums for GameMode and Weather and replaced some 'const char *' with 'const AString &' Exposed some more functions to Lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@382 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -0/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | No longer using pointers for Vector3(f/d/i) in cEntity's and cTracer | faketruth | 1 | -12/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@268 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -18/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Players can switch worlds on the fly with the command /gotoworld [worldName]. This uses the function cPlayer::MoveToWorld() | faketruth | 1 | -0/+1 | |
Changed isValidItem to IsValidItem in Core.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@126 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-26 | Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speed | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-25 | - fixed the code from the last commit :) | lapayo94@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@111 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-11-02 | Fixed some "Entity was not found in any chunk!" warnings | faketruth | 1 | -1/+4 | |
Player's current world is saved in the player file. When a player joins the server, the player joins the last world he was in. It seems MCServer can finally run multiple worlds! It just needs functionality to switch between them git-svn-id: http://mc-server.googlecode.com/svn/trunk@46 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-31 | Prepared some parts of the code for multi world support, I created lots of TODO's | faketruth | 1 | -1/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-10-03 | MCServer c++ source files | faketruth | 1 | -0/+108 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |