Method | Description | |
---|---|---|
ApplyRouteData ( string FileName, System Encoding, RouteData &Data, bool PreviewOnly ) : void | ||
ComputeCantTangents ( ) : void | ||
CreateMissingBlocks ( RouteData &Data, int &BlocksUsed, int ToIndex, bool PreviewOnly ) : void | ||
GetBrightness ( RouteData &Data, double TrackPosition ) : double |
Sets the brightness value for the specified track position
|
|
GetMirroredObject ( |
Creates a mirrored copy of the prototype object (Animated objects)
|
|
GetMirroredStaticObject ( |
Creates a mirrored copy of the prototype object
|
|
GetTransformedStaticObject ( |
Creates a transformed copy of the provided prototype object (e.g. Platform top, roof etc.)
|
|
InvertLightness ( byte bytes ) : void |
Inverts the lightness values of a texture used for a glow
|
|
LoadAllTextures ( string BaseFile, bool IsGlowTexture ) : OpenBve.Textures.Texture[] |
Loads all BVE4 signal or glow textures (Non animated file)
|
|
LoadAllTextures ( string BaseFile, |
||
ParseRoute ( string FileName, bool IsRW, System Encoding, string TrainPath, string ObjectPath, string SoundPath, bool PreviewOnly ) : void | ||
ParseRouteForData ( string FileName, bool IsRW, System Encoding, Expression Expressions, string TrainPath, string ObjectPath, string SoundPath, double UnitOfLength, RouteData &Data, bool PreviewOnly ) : void | ||
ParseRouteForData ( string FileName, bool IsRW, System Encoding, string TrainPath, string ObjectPath, string SoundPath, RouteData &Data, bool PreviewOnly ) : void | ||
PreprocessChrRndSub ( string FileName, bool IsRW, Expression &Expressions ) : void |
This function processes the list of expressions for $Char, $Rnd, $If and $Sub directives, and evaluates them into the final expressions dataset
|
|
PreprocessOptions ( bool IsRW, Expression Expressions, RouteData &Data, double &UnitOfLength ) : void | ||
PreprocessOptions ( string FileName, bool IsRW, System Encoding, Expression Expressions, RouteData &Data, double &UnitOfLength ) : void | ||
PreprocessSortByTrackPosition ( bool IsRW, double UnitFactors, Expression &Expressions ) : void | ||
PreprocessSortByTrackPosition ( string FileName, bool IsRW, double UnitFactors, Expression &Expressions ) : void | ||
PreprocessSplitIntoExpressions ( string FileName, bool IsRW, string Lines, Expression &Expressions, bool AllowRwRouteDescription, double trackPositionOffset ) : void | ||
PreprocessSplitIntoExpressions ( string FileName, bool IsRW, string Lines, System Encoding, Expression &Expressions, bool AllowRwRouteDescription, double trackPositionOffset ) : void | ||
SeparateCommandsAndArguments ( Expression Expression, string &Command, string &ArgumentSequence, System Culture, bool RaiseErrors ) : void | ||
SeparateCommandsAndArguments ( Expression Expression, string &Command, string &ArgumentSequence, System Culture, string FileName, int LineNumber, bool RaiseErrors ) : void | ||
SmoothenOutTurns ( int subdivisions ) : void | ||
isRWFile ( string FileName ) : bool |
This method checks whether a given route file is in the .rw format
|