Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to allow the light map to remain the same, but allow alteration of sky light values based on time. | Samuel Barney | 2013-10-29 | 1 | -3/+3 |
| | |||||
* | Renamed cMonster::GetSpawnRate() to GetSpawnDelay(). | madmaxoft | 2013-10-24 | 1 | -1/+1 |
| | |||||
* | Fixed an assert in cMonster | madmaxoft | 2013-10-22 | 1 | -2/+2 |
| | |||||
* | Reimplemented cMonster::FamilyFromType() as a simple switch (duh!) | madmaxoft | 2013-10-20 | 1 | -38/+27 |
| | |||||
* | Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster. | madmaxoft | 2013-10-20 | 1 | -0/+17 |
| | |||||
* | Fixed binary search in StringToMobType(). | madmaxoft | 2013-10-20 | 1 | -3/+3 |
| | |||||
* | Moved all MobTypesManager functions to cMonster. | madmaxoft | 2013-10-20 | 1 | -5/+222 |
| | | | | 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. | madmaxoft | 2013-10-20 | 1 | -3/+7 |
| | |||||
* | Merge branch 'MobSpawning' of https://github.com/mgueydan/MCServer into MobSpawning | Samuel Barney | 2013-10-14 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | 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 | 1 | -0/+6 |
| | | |||||
* | | Eight round of fixes | Tiger Wang | 2013-10-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * 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 | ||||
* | | 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 | 1 | -0/+36 |
| | |||||
* | Moved entities into the Entities subfolder. | madmaxoft | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | Rewritten entity-on-fire management ("forever on fire" bugs) | madmaxoft@gmail.com | 2013-07-01 | 1 | -4/+7 |
| | | | | | | | | | 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 | 1 | -121/+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 | 1 | -28/+23 |
| | | | | 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 | 1 | -42/+44 |
| | | | | 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 | ||||
* | 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 | 1 | -42/+54 |
| | | | | 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 | 1 | -18/+11 |
| | | | | 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 | 1 | -0/+4 |
| | | | | 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 | 1 | -1/+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 | ||||
* | Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). | madmaxoft@gmail.com | 2012-12-21 | 1 | -19/+0 |
| | | | | 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 | 1 | -9/+12 |
| | | | | | | 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 | 1 | -2/+2 |
| | | | | | | 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 | ||||
* | 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 | 1 | -7/+7 |
| | | | | 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 | 1 | -0/+590 |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6 |