diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-14 21:46:40 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-14 21:46:40 +0100 |
commit | eaf973544be0dccdb69796f64977314058fa82b6 (patch) | |
tree | bf240ff031ad627aea23e1ddefb900e40c4968a0 /source/Simulator/ClassicFluidSimulator.h | |
parent | Release 1.5 supported, yay :) (diff) | |
download | cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar.gz cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar.bz2 cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar.lz cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar.xz cuberite-eaf973544be0dccdb69796f64977314058fa82b6.tar.zst cuberite-eaf973544be0dccdb69796f64977314058fa82b6.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Simulator/ClassicFluidSimulator.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/source/Simulator/ClassicFluidSimulator.h b/source/Simulator/ClassicFluidSimulator.h deleted file mode 100644 index 330946bff..000000000 --- a/source/Simulator/ClassicFluidSimulator.h +++ /dev/null @@ -1,50 +0,0 @@ -
-// ClassicFluidSimulator.h
-
-// Interfaces to the cClassicFluidSimulator class representing the original MCServer's fluid simulator
-
-
-
-
-
-#pragma once
-
-#include "FluidSimulator.h"
-
-
-
-
-
-class cClassicFluidSimulator :
- public cFluidSimulator
-{
-public:
- cClassicFluidSimulator(cWorld & a_World, BLOCKTYPE a_Fluid, BLOCKTYPE a_StationaryFluid, NIBBLETYPE a_MaxHeight, NIBBLETYPE a_Falloff);
- ~cClassicFluidSimulator();
-
- // cSimulator overrides:
- virtual void Simulate(float a_Dt) override;
- virtual void AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk) override;
-
-protected:
- NIBBLETYPE GetHighestLevelAround(int a_BlockX, int a_BlockY, int a_BlockZ);
-
- /// Applies special rules such as generation of water between sources, returns false if it is necessary to apply general rules
- bool UniqueSituation(Vector3i a_Pos);
-
- void ApplyUniqueToNearest(Vector3i a_Pos);
-
- float m_Timer;
-
- // fwd: ClassicFluidSimulator.cpp
- class FluidData;
-
- FluidData * m_Data;
-
- NIBBLETYPE m_MaxHeight;
- NIBBLETYPE m_Falloff;
-} ;
-
-
-
-
|