mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 13:33:36 +00:00
22 lines
1,013 B
C++
22 lines
1,013 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
#include "../Util/ArrayWithLength.h"
|
|
|
|
class BlockGenMethods {
|
|
public:
|
|
static void generateBox(Level* level, byteArray blocks, int sx, int sy,
|
|
int sz, int ex, int ey, int ez, std::uint8_t edge,
|
|
std::uint8_t filling);
|
|
static void generateFrame(Level* level, byteArray blocks, int sx, int sy,
|
|
int ex, int ey, int flatZ, int direction,
|
|
std::uint8_t edge, std::uint8_t filling);
|
|
static void generateDirectionLine(Level* level, byteArray blocks, int sx,
|
|
int sy, int sz, int ex, int ey, int ez,
|
|
int startDirection, int endDirection,
|
|
std::uint8_t block);
|
|
static void generateLine(Level* level, byteArray blocks, int sx, int sy,
|
|
int sz, int ex, int ey, int ez,
|
|
std::uint8_t block);
|
|
};
|