Свойство | Тип | Описание | |
---|---|---|---|
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 Lerp ( int a, int b, int u ) : int | ||
a | int | |
b | int | |
u | int | |
Результат | int |
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 /// |
Результат |
public static UnixTimestamp ( ) : double | ||
Результат | double |