Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
endebug.c File Reference

Go to the source code of this file.

Data Structures

class  DiagMenu

Enumerations

enum  CollisionFlags
enum  ErrorExSeverity
enum  ShapeFlags {
  NOZBUFFER , NOZWRITE , WIREFRAME , TRANSP ,
  DOUBLESIDE , ONCE , NOOUTLINE , BACKFACE ,
  NOCULL , VISIBLE , ADDITIVE
}
enum  ShapeType {
  BBOX , LINE , SPHERE , CYLINDER ,
  DIAMOND , PYRAMID
}

Functions

void CompileBreak ()
 Triggers breakpoint in C++ in compile time(when app is running in debug enviroment).
static proto native Shape Create (ShapeType type, int color, ShapeFlags flags, vector p1, vector p2)
static Shape CreateArrow (vector from, vector to, float size, int color, ShapeFlags flags)
static Shape CreateBridgeArrow (vector from, vector to, float size, int color, ShapeFlags flags)
static proto native Shape CreateCylinder (int color, ShapeFlags flags, vector origin, float radius, float length)
static proto native Shape CreateFrustum (float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags)
static proto native Shape CreateLines (int color, ShapeFlags flags, vector p[], int num)
static void CreateMatrix (vector mat[4], float axisLength=0.05, float arrowSize=0.0)
static proto native Shape CreateSphere (int color, ShapeFlags flags, vector origin, float radius)
static proto native Shape CreateTris (int color, ShapeFlags flags, vector p[], int num)
proto void DebugBreak (bool condition=true, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
 Triggers breakpoint in C++ in run time(when app is running in debug enviroment).
proto native void Destroy ()
 Cleans up the Effect, including unregistering if needed.
proto void DPrint (string var)
 Prints content of variable to console/log. Should be used for critical messages so it will appear in debug log.
proto void DumpStack ()
 Prints current call stack (stack trace).
proto void DumpStackString (out string stack)
 Prints current call stack (stack trace) to given output.
void Error (string err)
 Messagebox with error message.
proto native void Error2 (string title, string err)
 Messagebox with error message.
enum ErrorExSeverity ErrorEx (string err, ErrorExSeverity severity=ErrorExSeverity.ERROR)
 Error message, prefixed by method name, above 'INFO' will show a messagebox.
proto void ErrorExString (string err, out string str, ErrorExSeverity severity=ErrorExSeverity.ERROR)
proto native void GetMatrix (out vector mat[4])
proto void Print (void var)
 Prints content of variable to console/log.
proto void PrintFormat (string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
 Prints formated text to console/log.
proto void PrintToRPT (void var)
 Prints content of variable to RPT file (performance warning - each write means fflush! use with care).
proto native void SetColor (int color)
proto native void SetDirection (vector direction)
proto native void SetFlags (ShapeFlags flags)
proto native void SetMatrix (vector mat[4])
proto native void SetPosition (vector position)
 Set the world position of the Effect.

Variables

 ALLOBJECTS
 ERROR
enum ShapeType ErrorEx
 FIRSTCONTACT
 INFO
 NEARESTCONTACT
 ONLYDYNAMIC
 ONLYSTATIC
 ONLYWATER
class DiagMenu Shape ()
 Instance of created debug visualizer.
 WARNING