SCASM 2.88 |
new FS200x commands 2 |
|
2.75 | FS2002 |
BGLVersion( code ) |
Sets the version of BGL code. All instructions between this command and EndVersion are
asumed to be designed for a specific version. Often found at the beginning of subroutines
in CFS2/FS2002 Library objects. Needs an EndVersion command just before the Return in the
same subroutine.
|
TOP |
2.75 | FS2002 |
EndVersion |
End command for BGLVersion. |
TOP |
CFS1/FS2000 - FS2002 |
RGBSColor( a r g b ) |
Set RGB surface color.
|
TOP |
CFS1/FS2000 - FS2002 |
RGBLColor( a r g b ) |
Set RGB line color, for parameters see |
TOP |
CFS1/FS2000 - FS2002 |
LoadBitmap( x type a r g b name_of_a_BMP_file ) |
Loads a bitmap in uncompressed BMP format. These bitmaps usually have formats:
|
TOP |
2.75 | FS2002 |
TextureSize( size ) |
|
TOP |
2.43 | FS2000 - FS2002 |
ZBias( z_bias ) |
This command will add a bias to an objects distance. This instruction is often found in MDL files.
|
TOP |
2.75 | FS2002 |
MaterialList( 0 <material_0> ... <material_n> ) |
This is a new instruction for defining colors.
|
TOP |
2.75 | FS2002 |
TextureList( 0 <texture_0> ... <texture_n> ) |
Every texture entry consists of the following:
|
TOP |
2.75 | FS2002 |
SetMaterial( material_index texture_index ) |
This instruction selects the material (color) and the texture to use for the next triangle(s) to draw. Indices are starting with 0 and must be defined with the MaterialList and TextureList instructions If no texture is used set the index to -1. |
TOP |
2.75 | FS2002 |
VertexList( 0 <vertex_0> ... <vertex_n> ) |
This command replaces the old Point command. All values are floating points.
Every vertex consists of the following values:
|
TOP |
2.75 | FS2002 |
DrawTriList( start v01 v02 v03 ... vn1 vn2 vn3 ) |
Draws triangles with vertices of the vertex list using vertex indexes (start + vn). Important note: This new instruction does not include data for a normal vector. So there is no way for SCASM to tell FS from which side we want the triangle to be seen. FS calculates this vector by himself. For this reason it is very important to enter the points (vertices) in anti clockwise order when looking on the visible triangle side. Reversing the order will also reverse the visibility direction.
|
TOP |
2.75 | FS2002 |
DrawLineList( start v01 v02 ... vn1 vn2 ) |
Draws lines with vertices of the vertex list using vertex indexes
|
TOP |
2.43 | FS2000 - FS2002 |
IfInF( :Lab32 var f_low f_high ) |
This is a new IfVarRange instruction using floating point numbers and 32 bit labels.
|
TOP |
2.43 | FS2000 - FS2002 | ||
|
The FS2000 version of landing lights. Older FS versions uses the
|
TOP | © 1995-2002 Manfred Moldenhauer |