SpatialFear.SFUtils

Spatial Fear
Class: SFUtils
Description: This class offers some static funtion that aid in
UnrealScript and MOD development. !! Internal use only !!

- sfLog( string strMessage) writes a log entry with level 1
- sfLogEx(int nLevel, string strMessage) writes a log entry with passed level value
- sfError(string strMessage) writes a Spatial Fear error message to the log
- FormatFloat(float fValue) formats a float with the configured nFloatingPointPrecision for
string output (needed because of missing printf functionaly, will eventually be moved to C++)

Author: Markus Nuebel

Extends:
Modifiers:
Source code

SpatialFear.SFUtils
%%

Constants

%function_comment%
SF_ERROR_PREFIX="SF ERROR: "
%function_comment%
SF_LOG_INDENT=">>"
%function_comment%
SF_LOG_PREFIX="SF: "

Variables

%function_comment%
intLogLevel
%function_comment%
intnFloatingPointPrecision

Functions

staticloadAnimatedTexture (SFArray Textures, int nCount, String strPrefix)
sfError (string strMessage)
sfLog (string strMessage)
sfLogEx (int nLevel, string strMessage)
staticstring (( float fValue)

Default properties

{
     LogLevel=15
     nFloatingPointPrecision=3
}


class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:42 PM
Created with UnCodeX