Cuberite
A lightweight, fast and extensible game server for Minecraft
Classes | Macros
Minecart.cpp File Reference
#include "Globals.h"
#include "ChunkDef.h"
#include "Defines.h"
#include "Minecart.h"
#include "../BlockInfo.h"
#include "../ClientHandle.h"
#include "../Chunk.h"
#include "Player.h"
#include "../BoundingBox.h"
#include "../UI/MinecartWithChestWindow.h"
Include dependency graph for Minecart.cpp:

Go to the source code of this file.

Classes

class  cMinecartAttachCallback
 
class  cMinecartCollisionCallback
 

Macros

#define DIR_EAST_WEST   180
 
#define DIR_NORTH_EAST   225
 
#define DIR_NORTH_SOUTH   270
 
#define DIR_NORTH_WEST   315
 
#define DIR_SOUTH_EAST   45
 
#define DIR_SOUTH_WEST   135
 
#define MAX_SPEED   8
 
#define MAX_SPEED_NEGATIVE   -MAX_SPEED
 
#define NO_SPEED   0.0
 

Macro Definition Documentation

◆ DIR_EAST_WEST

#define DIR_EAST_WEST   180

Definition at line 23 of file Minecart.cpp.

◆ DIR_NORTH_EAST

#define DIR_NORTH_EAST   225

Definition at line 25 of file Minecart.cpp.

◆ DIR_NORTH_SOUTH

#define DIR_NORTH_SOUTH   270

Definition at line 22 of file Minecart.cpp.

◆ DIR_NORTH_WEST

#define DIR_NORTH_WEST   315

Definition at line 24 of file Minecart.cpp.

◆ DIR_SOUTH_EAST

#define DIR_SOUTH_EAST   45

Definition at line 27 of file Minecart.cpp.

◆ DIR_SOUTH_WEST

#define DIR_SOUTH_WEST   135

Definition at line 26 of file Minecart.cpp.

◆ MAX_SPEED

#define MAX_SPEED   8

Definition at line 20 of file Minecart.cpp.

◆ MAX_SPEED_NEGATIVE

#define MAX_SPEED_NEGATIVE   -MAX_SPEED

Definition at line 21 of file Minecart.cpp.

◆ NO_SPEED

#define NO_SPEED   0.0

Definition at line 19 of file Minecart.cpp.