Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-10 | Avoid division by zero | Gargaj | 1 | -1/+1 | |
It won't do much because direction will still be a nullvector, but it at least avoids a CPU spike. | |||||
2015-11-07 | code style | Gargaj | 1 | -3/+3 | |
2015-11-07 | implement pushing/shoving based on @NiLSPACE's suggestion | Gargaj | 1 | -0/+36 | |
2015-11-01 | Implemented the Water Breathing Potion functionality. | bibo38 | 1 | -0/+15 | |
Fixes #2556 | |||||
2015-10-31 | Implemented the FireResistence potion effects. | bibo38 | 1 | -0/+18 | |
This not only provides fire resistence, but also prevents blaze fireballs. See #2556 | |||||
2015-05-24 | Made -Weverything an error. | tycho | 1 | -1/+1 | |
2015-05-19 | Make -Werror disabling file only | tycho | 1 | -1/+1 | |
Ad fix a load of warnings | |||||
2015-03-31 | Changed air drag units to 'interpolated ticks' per second | DevToaster | 1 | -1/+1 | |
2015-03-31 | Modified physics for more vanilla-like behavior | DevToaster | 1 | -0/+2 | |
2015-01-11 | Initial convertion of a_Dt to std::chrono | Tycho | 1 | -1/+1 | |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay | |||||
2014-09-01 | Added CustomName to cMonster. | Howaner | 1 | -3/+6 | |
2014-07-17 | Updated cPawn::KilledBy signature for custom death messages. | madmaxoft | 1 | -2/+2 | |
2014-07-12 | For now, removed creator member from Entity Effect for pointer safety | archshift | 1 | -3/+4 | |
2014-06-19 | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 1 | -107/+12 | |
Changed effect map to take a pointer of the effect as a result. | |||||
2014-06-17 | Entity effects: changed User to Creator, removed pawn pass-by-value | archshift | 1 | -17/+8 | |
2014-06-17 | Added the OnEntityAddEffect hook. | madmaxoft | 1 | -0/+9 | |
2014-06-17 | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 1 | -3/+13 | |
Added second AddEntityEffect with a pass-by-value of the class. | |||||
2014-06-17 | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 1 | -17/+16 | |
2014-06-17 | Entity Effect: Separates total duration and ticks of activity | archshift | 1 | -16/+8 | |
Changed HandleEntityEffect to use cEntityEffect's ticks instead of a static counter | |||||
2014-06-17 | Fixed MSVC compilation. | madmaxoft | 1 | -4/+7 | |
2014-06-17 | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 1 | -2/+2 | |
Exported entity effect functions for ToLua and documented them in APIDesc.lua | |||||
2014-06-17 | Added wither damage type, wither entity effect. | archshift | 1 | -1/+15 | |
2014-06-17 | Monster: added IsUndead(), undead-specific entity effects | archshift | 1 | -6/+0 | |
2014-06-17 | Removed long function wrapping | archshift | 1 | -2/+1 | |
2014-06-17 | Entity effect type: use 'eff' as a prefix instead of 'ef' | archshift | 1 | -10/+10 | |
2014-06-17 | Added splash potion functionality | archshift | 1 | -3/+4 | |
2014-06-17 | Implemented drinkable potions, noeffect entity effect, | archshift | 1 | -0/+14 | |
Clears entity effects on death | |||||
2014-06-17 | Implemented milk, added documentation to Pawn.h | archshift | 1 | -0/+20 | |
2014-06-17 | Pawn.cpp: fixed effect iterator BAD_ACCESS | archshift | 1 | -8/+13 | |
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-17 | Pawn: Enabled entity effect broadcast, added typedef | archshift | 1 | -3/+4 | |
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap | |||||
2014-06-17 | Entity effects: Added handlers for entity effects | archshift | 1 | -0/+95 | |
Implemented hunger, instant health, damage, poison, regen Added "template" entity effect implementations | |||||
2014-06-17 | Added iterator on tick to manage entity effect duration | archshift | 1 | -1/+18 | |
2014-06-17 | cPawn: Remove unused m_bBurnable | archshift | 1 | -1/+0 | |
2014-06-17 | Moved Effects.h to EntityEffects.h, added initial impl | archshift | 1 | -0/+25 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -8/+0 | |
2013-07-01 | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 1 | -376/+2 | |
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-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -4/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-01 | Pawn, Player: fixed asserts when teleporting players outside of the world (setting spawn Y to 256) | madmaxoft@gmail.com | 1 | -1/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1346 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 | -12/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-28 | Renamed HOOK_KILLED to HOOK_KILLING to match naming conventions. | madmaxoft@gmail.com | 1 | -4/+4 | |
Also tweaked the mechanics so that plugins may revive without dropping other plugins out of the picture. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1182 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -1/+1 | |
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/+1 | |
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 | -2/+2 | |
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 | -15/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-21 | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 1 | -45/+227 | |
http://forum.mc-server.org/showthread.php?tid=625 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-01 | Refactored the world time. | madmaxoft@gmail.com | 1 | -1/+1 | |
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -6/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 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 | -2/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Window, Chest, Furnace and Pawn are not using cPackets at all | madmaxoft@gmail.com | 1 | -24/+22 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. | madmaxoft@gmail.com | 1 | -4/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-17 | Simple health regeneration system | lapayo94@gmail.com | 1 | -16/+0 | |
Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -252/+252 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -1/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-22 | Lua seems to have trouble with a combination of overloaded functions and class inheritance, so I renamed TeleportTo( cEntity* ) to TeleportToEntity | faketruth | 1 | -1/+1 | |
/tp command should work again :) git-svn-id: http://mc-server.googlecode.com/svn/trunk@314 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Removed some more cChunkPtr usage | madmaxoft@gmail.com | 1 | -7/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | No longer using pointers for Vector3(f/d/i) in cEntity's and cTracer | faketruth | 1 | -5/+5 | |
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 | -34/+100 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-01-29 | VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Animals burn now when moving into lava or fire | lapayo94@gmail.com | 1 | -5/+9 | |
- Monster health is now working properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@157 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-29 | - Initial food handling by cedeel | mtilden@gmail.com | 1 | -0/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@156 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2011-12-28 | - Implemented Drops from Burning animals | lapayo94@gmail.com | 1 | -7/+89 | |
- added right monster health and attack strength - refactored the Pawn/Monster/Player class a little bit - changed some namings to fit the style git-svn-id: http://mc-server.googlecode.com/svn/trunk@140 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 | -2/+2 | |
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/+96 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6 |