forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
26
src/client/particle/SplashParticle.h
Executable file
26
src/client/particle/SplashParticle.h
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
|
||||
#define NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__
|
||||
|
||||
//package net.minecraft.client.particle;
|
||||
|
||||
#include "WaterDropParticle.h"
|
||||
#include "../../world/level/Level.h"
|
||||
|
||||
class SplashParticle: public WaterDropParticle
|
||||
{
|
||||
typedef WaterDropParticle super;
|
||||
public:
|
||||
SplashParticle(Level* level, float x, float y, float z, float xa, float ya, float za)
|
||||
: super(level, x, y, z)
|
||||
{
|
||||
gravity = 0.04f;
|
||||
tex += 1;
|
||||
if (ya == 0 && (xa != 0 || za != 0)) {
|
||||
xd = xa;
|
||||
yd = ya + 0.1;
|
||||
zd = za;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_PARTICLE__SplashParticle_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue