1
0
Commit Graph

5876 Commits

Author SHA1 Message Date
archshift
a9a4c9c6b2 EntityEffect: read-only getters, added user and distance modifier fields
User: the pawn that uses or produces the entity effect (drinks/throws a potion)
Distance modifier: the potency modifier from splash potion effectivity radius
2014-06-17 11:39:19 -07:00
archshift
2123173202 Player: Removed food-poisoning-specific code, set duration to 30 seconds
http://minecraft.gamepedia.com/Hunger#Behavior
2014-06-17 11:39:19 -07:00
archshift
481f05b011 Entity effects: Added handlers for entity effects
Implemented hunger, instant health, damage, poison, regen

Added "template" entity effect implementations
2014-06-17 11:39:19 -07:00
archshift
90145a9514 Added iterator on tick to manage entity effect duration 2014-06-17 11:17:33 -07:00
archshift
aa7b3f33b9 cPawn: Remove unused m_bBurnable 2014-06-17 11:17:33 -07:00
archshift
87b1bfaf2a Moved Effects.h to EntityEffects.h, added initial impl 2014-06-17 11:17:32 -07:00
archshift
c1692a2e3b Added classes for splash potions and wither skulls 2014-06-17 11:17:32 -07:00
worktycho
2f2071afc1 Merge pull request #1101 from Howaner/FenceGate
Fix fence gate redstone simulator.
2014-06-17 18:39:21 +01:00
Mattes D
f682646d3a Merge pull request #1099 from Howaner/Blocks
Glass-made blocks don't drop pickups.
2014-06-17 14:03:24 +02:00
Mattes D
532d388d07 Merge pull request #1102 from Howaner/PressurePlate
Add pressure plate handler
2014-06-17 13:52:00 +02:00
Howaner
a4d4621fbe Add parenthesis 2014-06-17 12:47:18 +02:00
Howaner
1316d2d24d Add end lines to BlockPressurePlate.h 2014-06-17 00:41:31 +02:00
Howaner
43ff96f664 Add pressure plate handler 2014-06-17 00:40:35 +02:00
Howaner
a10b716ba2 Fix fence gate redstone simulator. 2014-06-17 00:22:57 +02:00
Howaner
7c4b8306aa Glass shouldn't drop. 2014-06-16 23:05:29 +02:00
madmaxoft
d6979ad95d Fixed GCC compilation. 2014-06-16 22:53:08 +02:00
madmaxoft
9c3086d88c Fixed MSVC builds. 2014-06-16 22:42:50 +02:00
worktycho
4fddbf9dfc Merge pull request #883 from mc-server/CutOffLighting
Lighting reads blocktypes only for blocks under heightmap.
2014-06-16 17:37:07 +01:00
madmaxoft
d379f27ea4 Fixed gcc compilation. 2014-06-16 16:51:30 +02:00
Tycho
6ee562caf3 Merge branch 'master' of github.com:mc-server/MCServer 2014-06-16 15:13:10 +01:00
Tycho
ee50790398 Merge branch 'master' of github.com:mc-server/MCServer 2014-06-16 15:12:50 +01:00
Tycho
84c83e0deb Fix a few warnings 2014-06-16 15:03:07 +01:00
Mattes D
24b0878af7 Merge pull request #1024 from worktycho/AllocationPool
First attempt at implementing an Allocation pool
2014-06-16 16:00:14 +02:00
Tycho
1e57161ecc Added override 2014-06-16 14:12:10 +01:00
madmaxoft
6b503b45a0 Fixed a copypasta error in WormNestCaves generator settings. 2014-06-16 14:53:33 +02:00
madmaxoft
c41299b4d4 Updated the SandFlatRoofVillage prefabs. 2014-06-16 10:18:44 +02:00
madmaxoft
d9719e696c Added random offsets to cGridStructGen.
Fixes #740.
2014-06-15 23:34:44 +02:00
Mattes D
a72ec6300d Merge pull request #1090 from mc-server/saveoncrash
Data is saved on crash
2014-06-15 23:16:37 +02:00
Tiger Wang
abbd11be6d Players are saved regularly
* Fixes #1076
2014-06-15 20:28:08 +01:00
Tiger Wang
f822a46bdb Fixed bad comparison crash
* Fixes #1095
2014-06-15 19:42:14 +01:00
Tiger Wang
2a6ca71a0b Fixed daylight sensor unpowering
* Fixes #1094
2014-06-15 16:27:20 +01:00
Tycho
8a2aa6cb16 Changed names of callbacks 2014-06-14 20:24:52 +01:00
Tycho
6ddcf42409 Removed spaces 2014-06-14 20:10:49 +01:00
Tycho
41e5a64ff8 Documented starvation callbacks 2014-06-14 20:07:17 +01:00
Tycho
2643a46c69 Documented cAllocationPool 2014-06-14 20:04:35 +01:00
Tycho
f97116141f Reformated ChunkMap.h 2014-06-14 19:56:01 +01:00
Tycho
3efbdb1c9b Moved m_Sections 2014-06-14 19:54:09 +01:00
Tycho
94c48febd2 Added generic Allocation Pool Interface 2014-06-14 19:46:34 +01:00
Tycho
a1520c7a40 reverted accedental android changes 2014-06-14 19:08:14 +01:00
Tycho
6b99e55646 fixed spaces 2014-06-14 19:05:02 +01:00
Tycho
0310a50192 fixed spaces 2014-06-14 18:43:36 +01:00
Tycho
a2df68b80b fixed compile 2014-06-14 18:19:34 +01:00
Tycho
f6af584efa fixed const issue 2014-06-14 18:11:43 +01:00
Tycho
bff76f201f Fill with buffer on startup 2014-06-14 17:59:47 +01:00
Mattes D
c684812b30 Merge pull request #1019 from mc-server/cPlayerSetSpeed
cPlayer set speed
2014-06-14 18:57:32 +02:00
Tycho
8bf37f3dd7 Fixed comments 2014-06-14 17:57:21 +01:00
Tycho
061102c778 Added logging 2014-06-14 17:23:57 +01:00
madmaxoft
493d364331 Removed an unused tolua_end and tolua_begin pair. 2014-06-14 18:23:27 +02:00
Tycho
039c1a75f3 merge master 2014-06-14 17:19:28 +01:00
madmaxoft
a89422ea4c Simplified speed clamping. 2014-06-14 18:16:10 +02:00