summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Monster.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Renamed cMonster::GetSpawnRate() to GetSpawnDelay().madmaxoft2013-10-241-2/+2
|
* Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster.madmaxoft2013-10-201-0/+3
|
* Moved all MobTypesManager functions to cMonster.madmaxoft2013-10-201-2/+24
| | | | This removes some of the memory leaks and is more logical in structure. Also the functions are exported to Lua.
* Fixed loading allowed mobs in world.madmaxoft2013-10-201-8/+8
|
* Merge branch 'MobSpawning' of https://github.com/mgueydan/MCServer into MobSpawningSamuel Barney2013-10-141-1/+14
|\ | | | | | | | | | | | | Conflicts: source/Mobs/Bat.h source/Mobs/Monster.h source/World.cpp
| * Inside cMonster::getMobFamily() : replacing Polymorphism by Map, in order to remove redundancymgueydan2013-09-101-1/+2
| |
| * Implementing the MobSpawner (not used yet) that contains spawning rulesmgueydan2013-09-081-1/+4
| |
| * Adding a getType in Monster that return an enum instead of an int or charmgueydan2013-09-071-1/+2
| |
| * Adding Family for monsters : Hostile/Passive/Water/Ambientmgueydan2013-09-071-0/+10
| |
* | Second round of fixesTiger Wang2013-10-091-0/+6
| | | | | | | | * Implemented suggestions
* | Added moar mobs!Tiger Wang2013-09-181-21/+23
| | | | | | | | | | | | | | | | | | + Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas
* | Fixed undead burningTiger Wang2013-09-171-1/+1
| | | | | | | | (c'mon xoft, test ya code :P)
* | Exported cMonster:GetMobType() to the Lua API.madmaxoft2013-09-161-1/+3
|/
* Moved daylight burning directly into cMonster.madmaxoft2013-09-051-0/+7
|
* Moved entities into the Entities subfolder.madmaxoft2013-08-191-1/+1
|
* Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft2013-08-161-1/+35
| | | | Also slightly improved the spawning algorithm.
* Rewritten entity-on-fire management ("forever on fire" bugs)madmaxoft@gmail.com2013-07-011-2/+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
* 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.com2013-04-221-6/+0
| | | | 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.com2013-04-131-8/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved the Speed member into cEntity class instead of its descendants.madmaxoft@gmail.com2013-02-211-1/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1222 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.com2012-12-221-8/+8
| | | | 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 superclassesmadmaxoft@gmail.com2012-12-221-2/+10
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added sounds to levers and mobsluksor111@gmail.com2012-12-211-0/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com2012-12-211-3/+2
| | | | 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.com2012-12-211-10/+15
| | | | | | 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
* Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com2012-09-241-3/+3
| | | | 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.com2012-09-231-0/+101
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6