Cuberite
A lightweight, fast and extensible game server for Minecraft
Classes | Macros
ProjectileEntity.cpp File Reference
#include "Globals.h"
#include "../Bindings/PluginManager.h"
#include "ProjectileEntity.h"
#include "../ClientHandle.h"
#include "../LineBlockTracer.h"
#include "../BoundingBox.h"
#include "../ChunkMap.h"
#include "../Chunk.h"
#include "ArrowEntity.h"
#include "ThrownEggEntity.h"
#include "ThrownEnderPearlEntity.h"
#include "ExpBottleEntity.h"
#include "ThrownSnowballEntity.h"
#include "FireChargeEntity.h"
#include "FireworkEntity.h"
#include "GhastFireballEntity.h"
#include "WitherSkullEntity.h"
#include "SplashPotionEntity.h"
#include "Player.h"
Include dependency graph for ProjectileEntity.cpp:

Go to the source code of this file.

Classes

class  cProjectileEntityCollisionCallback
 
class  cProjectileTracerCallback
 

Macros

#define ANGLE_TO_PROTO(X)   static_cast<Byte>(X * 255 / 360)
 Converts an angle in radians into a byte representation used by the network protocol. More...
 

Macro Definition Documentation

#define ANGLE_TO_PROTO (   X)    static_cast<Byte>(X * 255 / 360)

Converts an angle in radians into a byte representation used by the network protocol.

Definition at line 33 of file ProjectileEntity.cpp.