Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'MobSpawning' of https://github.com/mgueydan/MCServer into MobSpawning | Samuel Barney | 2013-10-14 | 11 | -9/+70 |
|\ | | | | | | | | | | | | | Conflicts: source/Mobs/Bat.h source/Mobs/Monster.h source/World.cpp | ||||
| * | Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancy | mgueydan | 2013-09-10 | 10 | -28/+8 |
| | | |||||
| * | Changing Bat to AMbiant creature | mgueydan | 2013-09-10 | 1 | -1/+1 |
| | | |||||
| * | Implementing the MobSpawner (not used yet) that contains spawning rules | mgueydan | 2013-09-08 | 1 | -1/+4 |
| | | |||||
| * | Adding a getType in Monster that return an enum instead of an int or char | mgueydan | 2013-09-07 | 1 | -1/+2 |
| | | |||||
| * | relockating mobs includes (they probably will end somewhere else in order not to recompile world each time you update a mob) | mgueydan | 2013-09-07 | 1 | -0/+23 |
| | | |||||
| * | Adding Family for monsters : Hostile/Passive/Water/Ambient | mgueydan | 2013-09-07 | 9 | -6/+56 |
| | | |||||
* | | Merge branch 'metadata' of git://github.com/tigerw/MCServer into tigerw-metadata. | madmaxoft | 2013-10-13 | 29 | -39/+434 |
|\ \ | |||||
| * | | Eight round of fixes | Tiger Wang | 2013-10-13 | 2 | -7/+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 | ||||
| * | | Sixth round of fixes | Tiger Wang | 2013-10-11 | 2 | -4/+9 |
| | | | | | | | | | | | | * Made horse rearing time fixed instead of random | ||||
| * | | Fifth round of fixes | Tiger Wang | 2013-10-11 | 2 | -4/+15 |
| | | | | | | | | | | | | * Enumerated Villager spawning | ||||
| * | | Fourth round of fixes | Tiger Wang | 2013-10-11 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | * Switchified WriteMobMetadata * Renamed Horse functions to be better | ||||
| * | | Third round of fixes | Tiger Wang | 2013-10-11 | 5 | -10/+5 |
| | | | | | | | | | | | | | | | * Split WriteMetadata into three functions for common, entity, and mob * Edited a few mob sizes to Vanilla values | ||||
| * | | Second round of fixes | Tiger Wang | 2013-10-09 | 12 | -6/+73 |
| | | | | | | | | | | | | * Implemented suggestions | ||||
| * | | Initial round of fixes | Tiger Wang | 2013-10-08 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Initial Metadata Commit [SEE DESC] | Tiger Wang | 2013-10-08 | 15 | -24/+340 |
| | | | | | | | | | | | | | | | | | | | | | + 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 | ||||
* | | | Linux compilation fix #2. | madmaxoft | 2013-09-21 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed Linux compilation. | madmaxoft | 2013-09-21 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed compilation from previous commit. | madmaxoft | 2013-09-21 | 2 | -2/+2 |
|/ / | |||||
* | | Fixed new monster aggressiveness issue | Tiger Wang | 2013-09-19 | 2 | -4/+4 |
| | | |||||
* | | Added moar mobs! | Tiger Wang | 2013-09-18 | 17 | -55/+348 |
| | | | | | | | | | | | | | | | | | | + Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas | ||||
* | | Fixed undead burning | Tiger Wang | 2013-09-17 | 1 | -1/+1 |
| | | | | | | | | (c'mon xoft, test ya code :P) | ||||
* | | Exported cMonster:GetMobType() to the Lua API. | madmaxoft | 2013-09-16 | 1 | -1/+3 |
| | | |||||
* | | Added an extra line. | tonibm19 | 2013-09-13 | 1 | -0/+1 |
| | | | | | | In first commit it says I removed first line | ||||
* | | Fixed mobs attack range being too long | tonibm19 | 2013-09-13 | 1 | -2/+1 |
|/ | | | It was set to 5, I think 2 is better because now mobs can kill you when there is a block (or 2) between you and monster. | ||||
* | Fixed a missing initialization in cMonster. | madmaxoft | 2013-09-07 | 1 | -2/+3 |
| | | | | This should fix commit ff762a7ece6400eaeb5e21f3fea7cad00786a8d9 's all-mobs burning. | ||||
* | Moved daylight burning directly into cMonster. | madmaxoft | 2013-09-05 | 6 | -40/+46 |
| | |||||
* | Zomb-ee and Skellingtons burning improvements | Tiger Wang | 2013-08-27 | 2 | -10/+14 |
| | | | | | They don't burn unless they are in direct view of the sun god or are protected by the sands of the souls of the underworld. | ||||
* | Moved entities into the Entities subfolder. | madmaxoft | 2013-08-19 | 4 | -4/+4 |
| | |||||
* | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. | madmaxoft | 2013-08-16 | 7 | -1/+41 |
| | | | | Also slightly improved the spawning algorithm. | ||||
* | Fixed squid crashing the server when above or below the world | madmaxoft | 2013-08-10 | 1 | -1/+6 |
| | |||||
* | Changed everyting to Unix line endings. | Alexander Harkness | 2013-07-29 | 12 | -319/+319 |
| | |||||
* | Squid: fixed a possible crash caused by access to a wrong chunk | madmaxoft@gmail.com | 2013-07-07 | 1 | -4/+7 |
| | | | | | | Fixes FS #411. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1665 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 2013-07-01 | 49 | -93/+124 |
| | | | | | | | | | 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 | ||||
* | Unified the way mobs are spawned (egg vs natural). Fixed deadlocks in mob moving. Fixed mob destroying code. | madmaxoft@gmail.com | 2013-06-25 | 1 | -2/+7 |
| | | | | | | 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 | ||||
* | 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 | 2013-04-22 | 2 | -127/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 2013-04-13 | 18 | -89/+69 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added support for head yaw tracking and packet sending and fixed bug in BroadcastMovementUpdate | keyboard.osh@gmail.com | 2013-04-02 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1350 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added helper functions AddSpeed, AddSpeedX, AddSpeedY, AddSpeedZ, AddPosition, AddPosX, AddPosY, AddPosZ. Made sure that all entites use these helper functions. | keyboard.osh@gmail.com | 2013-03-23 | 1 | -5/+5 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1299 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2013-03-22 | 2 | -43/+45 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1294 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Pickups are now being saved into Anvil. | madmaxoft@gmail.com | 2013-03-09 | 1 | -2/+2 |
| | | | | | | Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Moved the Speed member into cEntity class instead of its descendants. | madmaxoft@gmail.com | 2013-02-21 | 1 | -1/+0 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols. | madmaxoft@gmail.com | 2013-02-16 | 2 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | 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 | 2012-12-22 | 18 | -87/+97 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Reduced most mobs' constructors to oneliners by passing parameters to superclasses | madmaxoft@gmail.com | 2012-12-22 | 35 | -200/+85 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added sounds to levers and mobs | luksor111@gmail.com | 2012-12-21 | 22 | -0/+47 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. | madmaxoft@gmail.com | 2012-12-21 | 5 | -31/+66 |
| | | | | | | 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 | ||||
* | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 2012-12-21 | 48 | -267/+75 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) | madmaxoft@gmail.com | 2012-12-21 | 49 | -594/+574 |
| | | | | | | 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 | ||||
* | Refactored the world time. | madmaxoft@gmail.com | 2012-11-01 | 6 | -12/+16 |
| | | | | | | 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 | ||||
* | Added Bats and Witches. | luksor111@gmail.com | 2012-11-01 | 4 | -0/+128 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1021 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added spawn eggs with mobs (patch committed by Luksor) | madmaxoft@gmail.com | 2012-10-19 | 10 | -0/+314 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@979 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Removed a few debugging messages from the release builds. | madmaxoft@gmail.com | 2012-10-06 | 1 | -4/+5 |
| | | | | | | ( http://forum.mc-server.org/showthread.php?tid=571 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 2012-09-24 | 4 | -12/+12 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Source files cleanup: Mobs-related files in a separate subfolder, renamed. | madmaxoft@gmail.com | 2012-09-23 | 40 | -0/+1986 |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 |