forked from Mirrors/openclonk
Fix additional UTF-8 warnings
parent
d84c9b174f
commit
46450a689f
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
local graphicFront, graphicBack;
|
||||
|
@ -15,7 +15,7 @@ protected func Construction()
|
|||
|
||||
|
||||
|
||||
SetClrModulation(RGBa(0,0,0,0)); //Set SolidMask graphic invisible
|
||||
SetClrModulation(RGBa(0,0,0,0)); // Set SolidMask graphic invisible
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
local fShine = false;
|
||||
|
@ -23,7 +23,7 @@ private func Shining()
|
|||
{
|
||||
CreateParticle("Fire", 0, -5, 0, PV_Random(-1, 1), 20, Particles_Fire(), 2);
|
||||
|
||||
//check if position changed
|
||||
// check if position changed
|
||||
if (x != GetX() && y != GetY())
|
||||
{
|
||||
x = GetX();
|
||||
|
@ -37,7 +37,7 @@ private func Shining()
|
|||
fShine = true;
|
||||
}
|
||||
|
||||
//flickering
|
||||
// flickering
|
||||
private func Noise()
|
||||
{
|
||||
if (RandomX(5) <= 2)
|
||||
|
@ -60,7 +60,7 @@ public func SetOn(fOn)
|
|||
{
|
||||
objShine->RemoveObject();
|
||||
SetAction("Idle");
|
||||
SetClrModulation(RGB(155, 155, 155)); //Turn modell darker
|
||||
SetClrModulation(RGB(155, 155, 155)); // Turn model darker
|
||||
fShine = false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
local fShine = false;
|
||||
|
@ -23,7 +23,7 @@ protected func Construction()
|
|||
private func Shining()
|
||||
{
|
||||
|
||||
//check if position changed
|
||||
// check if position changed
|
||||
if (x != GetX() && y != GetY())
|
||||
{
|
||||
x = GetX();
|
||||
|
@ -37,7 +37,7 @@ private func Shining()
|
|||
fShine = true;
|
||||
}
|
||||
|
||||
//flickering
|
||||
// flickering
|
||||
private func Noise()
|
||||
{
|
||||
if (RandomX(5) <= 2)
|
||||
|
@ -61,7 +61,7 @@ public func SetOn(fOn)
|
|||
{
|
||||
objShine->RemoveObject();
|
||||
SetAction("Idle");
|
||||
SetClrModulation(RGB(155, 155, 155)); //Turn modell darker
|
||||
SetClrModulation(RGB(155, 155, 155)); // Turn model darker
|
||||
fShine = false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Graphics Dustin Neß (dness.de), Script Sven2
|
||||
/**
|
||||
@author Graphics Dustin Neß (dness.de), Script Sven2
|
||||
*/
|
||||
|
||||
local Name="$Name$";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
local fShine = false;
|
||||
|
@ -21,7 +21,7 @@ protected func Construction()
|
|||
|
||||
private func Shining()
|
||||
{
|
||||
//check if position changed
|
||||
// check if position changed
|
||||
if (x != GetX() && y != GetY())
|
||||
{
|
||||
x = GetX();
|
||||
|
@ -35,7 +35,7 @@ private func Shining()
|
|||
fShine = true;
|
||||
}
|
||||
|
||||
//flickering
|
||||
// flickering
|
||||
private func Noise()
|
||||
{
|
||||
if (RandomX(5) <= 2)
|
||||
|
@ -58,7 +58,7 @@ public func SetOn(fOn)
|
|||
{
|
||||
objShine->RemoveObject();
|
||||
SetAction("Idle");
|
||||
SetClrModulation(RGB(155, 155, 155)); //Turn modell darker
|
||||
SetClrModulation(RGB(155, 155, 155)); // Turn model darker
|
||||
fShine = false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/**
|
||||
/**
|
||||
ManaAltar
|
||||
Beschreibung hier einfügen
|
||||
Insert description here
|
||||
|
||||
@author Dustin Neß (dness.de)
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
local Name = "$Name$";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
@ -8,7 +8,7 @@ protected func Construction()
|
|||
RandomPainting(3);
|
||||
}
|
||||
|
||||
//Change when changing textures is prossible soon(?)
|
||||
// Change when changing textures is prossible soon(?)
|
||||
public func RandomPainting(iMax) {
|
||||
return Random(iMax);
|
||||
}
|
|
@ -1,23 +1,29 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
//random Side
|
||||
if(Random(2))
|
||||
// random direction
|
||||
if (Random(2))
|
||||
{
|
||||
SetProperty("MeshTransformation", Trans_Mul(Trans_Rotate(15,0,10), Trans_Scale(120)));
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
SetProperty("MeshTransformation", Trans_Mul(Trans_Rotate(195,0,180), Trans_Scale(120)));
|
||||
}
|
||||
}
|
||||
|
||||
//bring to front
|
||||
public func SetToFront(bool fBool) {
|
||||
if(fBool) {
|
||||
// bring to front
|
||||
public func SetToFront(bool is_in_front)
|
||||
{
|
||||
if (is_in_front)
|
||||
{
|
||||
return this.Plane = 510;
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.Plane = 110;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
/**
|
||||
@author Dustin Neß (dness.de)
|
||||
*/
|
||||
|
||||
protected func Construction()
|
||||
|
|
Loading…
Reference in New Issue