프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DungeonSizeX | int | ||
DungeonSizeY | int | ||
DungeonSizeZ | int |
메소드 | 설명 | |
---|---|---|
CheckForDungeonSpace ( byte b, int x, int y, int z ) : bool | ||
CheckForTreeSpace ( byte &b, int x, int y, int z ) : bool | ||
Clamp ( double val, double min, double max ) : double | ||
Clamp ( float val, float min, float max ) : float | ||
Clamp ( int val, int min, int max ) : int | ||
Clamp ( long val, long min, long max ) : long | ||
Clamp ( short val, short min, short max ) : short |
Ensure value is between min and max.
|
|
CopyFlat ( string from, string to ) : void | ||
CopyRecursive ( string sourceFolder, string destFolder ) : void | ||
CosineInterpolate ( double y1, double y2, double mu ) : double | ||
DirSize ( |
||
FillRect ( byte &b, byte blk, |
||
FixPlayerPlacement ( |
||
GetMD5HashFromFile ( string fileName ) : string |
For FileSystemWatcher stuff
|
|
GrowCactus ( byte &b, |
||
GrowTree ( byte &b, |
||
IntToBase ( int i, int radix ) : string | ||
Lerp ( double a, double b, double u ) : double | ||
Lerp ( float a, float b, float u ) : float |
Used for blending colors or line-drawing.
|
|
Lerp ( int a, int b, int u ) : int | ||
MakeDungeon ( int CX, int CZ, byte &b, |
Generate a chunk
|
|
MakeDungeonWalls ( byte &b, |
||
PointOnCurve ( |
Calculates interpolated point between two points using Catmull-Rom Spline Points calculated exist on the spline between points two and three. |
|
PointOnCurve ( |
Calculates interpolated point between two points using Catmull-Rom Spline Points calculated exist on the spline between points two and three. |
|
UnixTimestamp ( ) : double |
메소드 | 설명 | |
---|---|---|
FixLibnoiseOutput ( double p ) : double | ||
GrowTreeFoliage ( byte &b, |
||
GrowTreeTrunk ( byte &b, |
||
ObjectIsCompletelyUnderground ( byte b, |
||
ObjectIsInChunk ( byte b, |
||
ObjectIsIntersectingWithGround ( byte b, |
public static CheckForDungeonSpace ( byte b, int x, int y, int z ) : bool | ||
b | byte | |
x | int | |
y | int | |
z | int | |
리턴 | bool |
public static CheckForTreeSpace ( byte &b, int x, int y, int z ) : bool | ||
b | byte | |
x | int | |
y | int | |
z | int | |
리턴 | bool |
public static Clamp ( double val, double min, double max ) : double | ||
val | double | |
min | double | |
max | double | |
리턴 | double |
public static Clamp ( float val, float min, float max ) : float | ||
val | float | |
min | float | |
max | float | |
리턴 | float |
public static Clamp ( int val, int min, int max ) : int | ||
val | int | |
min | int | |
max | int | |
리턴 | int |
public static Clamp ( long val, long min, long max ) : long | ||
val | long | |
min | long | |
max | long | |
리턴 | long |
public static Clamp ( short val, short min, short max ) : short | ||
val | short | value |
min | short | |
max | short | |
리턴 | short |
public static CopyFlat ( string from, string to ) : void | ||
from | string | |
to | string | |
리턴 | void |
public static CopyRecursive ( string sourceFolder, string destFolder ) : void | ||
sourceFolder | string | |
destFolder | string | |
리턴 | void |
public static CosineInterpolate ( double y1, double y2, double mu ) : double | ||
y1 | double | |
y2 | double | |
mu | double | |
리턴 | double |
public static DirSize ( |
||
d | ||
리턴 | long |
public static FillRect ( byte &b, byte blk, |
||
b | byte | |
blk | byte | |
position | ||
size | ||
리턴 | void |
public static FixPlayerPlacement ( |
||
mh | ||
리턴 | void |
public static GetMD5HashFromFile ( string fileName ) : string | ||
fileName | string | |
리턴 | string |
public static GrowCactus ( byte &b, |
||
b | byte | |
rand | ||
x | int | |
y | int | |
z | int | |
리턴 | void |
public static GrowTree ( byte &b, |
||
b | byte | |
r | ||
x | int | |
y | int | |
z | int | |
리턴 | void |
public static IntToBase ( int i, int radix ) : string | ||
i | int | |
radix | int | |
리턴 | string |
public static Lerp ( double a, double b, double u ) : double | ||
a | double | |
b | double | |
u | double | |
리턴 | double |
public static Lerp ( float a, float b, float u ) : float | ||
a | float | |
b | float | |
u | float | |
리턴 | float |
public static MakeDungeon ( int CX, int CZ, byte &b, |
||
CX | int | Chunk X |
CZ | int | Chunk Z |
b | byte | Blocks |
mh | Map handler | |
r | Random | |
리턴 | bool |
public static MakeDungeonWalls ( byte &b, |
||
b | byte | |
r | ||
position | ||
size | ||
리턴 | void |
public static PointOnCurve ( |
||
p0 | First Point | |
p1 | Second Point | |
p2 | Third Point | |
p3 | Fourth Point | |
t | float | /// Normalised distance between second and third point /// where the spline point will be calculated /// |
리턴 |
public static PointOnCurve ( |
||
p0 | First Point | |
p1 | Second Point | |
p2 | Third Point | |
p3 | Fourth Point | |
t | double | /// Normalised distance between second and third point /// where the spline point will be calculated /// |
리턴 |