Fire
Class FireTexture

source: e:\games\UnrealTournament\Fire\Classes\FireTexture.uc
Core.Object
   |
   +--Engine.Bitmap
      |
      +--Engine.Texture
         |
         +--Fire.FractalTexture
            |
            +--Fire.FireTexture
Direct Known Subclasses:None

class FireTexture
extends Fire.FractalTexture

//============================================================================= // FireTexture: A FireEngine fire texture. // This is a built-in Unreal class and it shouldn't be modified. //=============================================================================
Variables
 byte ByteA
           X-speed.
 byte ByteB
           Y-speed.
 byte ByteC
           Age, Emitter freq.
 byte ByteD
           Exp.Time.
 byte Heat
           Spark heat.
 int NumSparks
           Exp.Time.
 int OldRenderHeat
           Exp.Time.
 byte PenDownX
           Exp.Time.
 byte PenDownY
           Exp.Time.
 byte RenderTable[1028]
           Exp.Time.
 array Sparks
           Exp.Time.
 byte StarStatus
           Exp.Time.
 ESpark Type
           Spark type.
 byte X
           Spark X location (0 - Xdimension-1).
 byte Y
           Spark Y location (0 - Ydimension-1).


Source Code


00001	//=============================================================================
00002	// FireTexture: A FireEngine fire texture.
00003	// This is a built-in Unreal class and it shouldn't be modified.
00004	//=============================================================================
00005	class FireTexture extends FractalTexture
00006		native
00007		noexport;
00008	
00009	//
00010	// Spark types.
00011	//
00012	enum ESpark
00013	{	
00014		SPARK_Burn				,
00015		SPARK_Sparkle			,
00016		SPARK_Pulse				,
00017		SPARK_Signal			,
00018		SPARK_Blaze				,
00019		SPARK_OzHasSpoken		,
00020		SPARK_Cone				,
00021		SPARK_BlazeRight		,
00022		SPARK_BlazeLeft			,
00023		SPARK_Cylinder			,
00024		SPARK_Cylinder3D		,
00025		SPARK_Lissajous 		,
00026		SPARK_Jugglers   		,
00027		SPARK_Emit				,
00028	    SPARK_Fountain			,
00029		SPARK_Flocks			,
00030		SPARK_Eels				,
00031		SPARK_Organic			,
00032		SPARK_WanderOrganic		,
00033		SPARK_RandomCloud		,
00034		SPARK_CustomCloud		,
00035		SPARK_LocalCloud		,
00036		SPARK_Stars				,
00037		SPARK_LineLightning		,
00038		SPARK_RampLightning		,
00039	    SPARK_SphereLightning	,
00040	    SPARK_Wheel				,
00041		SPARK_Gametes    		,
00042		SPARK_Sprinkler			,
00043	};
00044	
00045	
00046	// Draw mode types
00047	enum DMode
00048	{
00049		DRAW_Normal  ,
00050		DRAW_Lathe   ,
00051		DRAW_Lathe_2 ,
00052		DRAW_Lathe_3 ,
00053		DRAW_Lathe_4 ,
00054	};
00055	
00056	
00057	
00058	//
00059	// Information about a single spark.
00060	//
00061	
00062	struct Spark
00063	{
00064	    var ESpark Type;   // Spark type.
00065	    var byte   Heat;   // Spark heat.
00066	    var byte   X;      // Spark X location (0 - Xdimension-1).
00067	    var byte   Y;      // Spark Y location (0 - Ydimension-1).
00068	
00069	    var byte   ByteA;  // X-speed.
00070	    var byte   ByteB;  // Y-speed.
00071	    var byte   ByteC;  // Age, Emitter freq.
00072	    var byte   ByteD;  // Exp.Time.
00073	};
00074	
00075	
00076	//
00077	// Persistent fire parameters.
00078	//
00079	
00080	var(FirePaint)	ESpark  SparkType;
00081	var(FirePaint)	byte    RenderHeat;
00082	var(FirePaint)	bool    bRising;
00083	
00084	var(FirePaint)	byte    FX_Heat;
00085	var(FirePaint)	byte    FX_Size;
00086	var(FirePaint)  byte    FX_AuxSize;
00087	var(FirePaint)  byte    FX_Area;
00088	var(FirePaint)	byte    FX_Frequency;
00089	var(FirePaint)	byte    FX_Phase;
00090	var(FirePaint)	byte    FX_HorizSpeed;
00091	var(FirePaint)	byte    FX_VertSpeed;
00092	
00093	var(FirePaint)  DMode   DrawMode;
00094	var(FirePaint)  int     SparksLimit;
00095	
00096	var             int     NumSparks;
00097	var transient array<Spark> Sparks;
00098	
00099	//
00100	// Transient fire parameters.
00101	//
00102	
00103	var transient   int     OldRenderHeat;
00104	var transient	byte	RenderTable[1028];
00105	var transient	byte	StarStatus;
00106	var transient   byte    PenDownX;
00107	var transient   byte    PenDownY;
00108	
00109	defaultproperties
00110	{
00111	}

End Source Code