82 proto
volatile native
void EndSound(HSOUND snd);
86 proto native
int SetSoundFrequency(HSOUND sound,
int freq)
90 proto native
int GetSoundLength(HSOUND sound)
93 proto native
int GetSoundPosition(HSOUND sound)
104class PacketOutputAdapter
171proto native
int SetSkyPreset(
string presetName,
float stormy,
float dayTime);
182proto native
int LerpSkyPreset(
string presetName1,
string presetName2,
float dayTime,
float stormy1,
float stormy2,
float lerpVal);
197proto native
int LerpSkyPreset3(
string presetName1,
string presetName2,
string presetName3,
float dayTime,
float stormy1,
float stormy2,
float stormy3,
float w1,
float w2,
float w3);
212proto native
bool SetSkyPlanet(
int index,
float azimuthDeg,
float zenithDeg);
231proto native
void SetStarsObserverTime(
int year,
int month,
int day,
int hour,
int minute,
float sec,
int offsetSec);
274 proto
bool SetParam(
string propertyName,
void value);
301 int r, g, b, a, rgba;
307 x =
x * 127.0 + 128.0;
308 y =
y * 127.0 + 128.0;
309 z = z * 127.0 + 128.0;
317 return r | g | b | a;
322int ARGB(
int a,
int r,
int g,
int b)
327 return a | r | g | b;
332int ARGBF(
float fa,
float fr,
float fg,
float fb)
334 return ARGB((
float)(fa * 255.0), (
float)(fr * 255.0), (
float)(fg * 255.0), (
float)(fb * 255.0));
340 return a << 24 | 0xffffff;
347 const int cmask = 0x00ff00ff;
349 cb1 = c1 >> 8 & cmask;
350 cb2 = c2 >> 8 & cmask;
351 cb1 = cb1 + cb2 >> 1;
357 return cb1 << 8 | c1;
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
enum MagnumStableStateID init
array< ref PlayerStatBase > Get()
proto native void SetSoundVolume(float vol, float time)
Super root of all classes in Enforce script.
proto native void ResetParam(string propertyName)
proto bool SetParam(string propertyName, void value)
proto void SetParamByIndex(int paramIndex, void value)
proto native int GetParamIndex(string paramName)
proto native IEntitySource ToEntitySource()
proto native void WriteIntAsUHalf(int value)
proto native void SetRealStarAutoUpdate(bool update)
proto native int LoadSkyPresets(string presetsFile)
int ARGB(int a, int r, int g, int b)
proto native void SetSkyUserPlanets(bool enabled)
proto native int SetSkyPreset(string presetName, float stormy, float dayTime)
proto native void SetStarsObserverTime(int year, int month, int day, int hour, int minute, float sec, int offsetSec)
proto native void WriteIntAsHalf(int value)
int ARGBF(float fa, float fr, float fg, float fb)
Converts <0.0, 1.0> ARGB into color.
proto native void MakeScreenshot(string name)
int VectortoRGBA(vector vec, float h)
proto native void SetStarsRotMatrix(vector mat[3])
proto native void WriteVector(vector value)
proto native bool SetSkyPlanet(int index, float azimuthDeg, float zenithDeg)
proto native void WriteInt(int value)
proto native int InitSky(string presetName)
proto native int LerpSkyPreset3(string presetName1, string presetName2, string presetName3, float dayTime, float stormy1, float stormy2, float stormy3, float w1, float w2, float w3)
proto native void WriteFloatAsByte(float value, float min, float max)
proto native int GetFPS()
proto native void WriteMatrixAsQuaternionVector(vector mat[4])
proto native void WriteString(string value)
proto native int LerpSkyPreset(string presetName1, string presetName2, float dayTime, float stormy1, float stormy2, float lerpVal)
proto native void SetNightLayerRotMatrix(vector mat[3])
proto native bool SetSkyPlanetSize(int index, float angleDeg)
proto native void WriteIntAsUByte(int value)
class PacketInputAdapter WriteBool
proto native void SetStarsObserverPosition(float latitudeDeg, float longitudeDeg)
proto native void WriteIntAsByte(int value)
proto native void WriteFloatAsHalf(float value, float min, float max)
proto native void WriteFloat(float value)
int LerpARGB(int c1, int c2)