Debug Utilities

Several functions that helps debugging.

string   BoolToString (bool b);
string  FixedToString (fixed f, int precision);
string  PointToString (point p);
string  OrderToString (order o);
string   UnitToString (unit u);
string PlayerToString (int p);

void d (string s);  // Debug String
void dt (text s);   // Debug Text
void di (int i);    // Debug Int
void df (fixed f);  // Debug Fixed
void db (bool b);   // Debug Bool
void dp (point p);  // Debug Point
void dpl (int p);   // Debug Player
void dord(order o); // Debug Order
void du (unit u);   // Debug Unit
void dg (unitgroup g); // Debug UnitGroup
void duo (unit u);  // Debug Unit Orders

void print (int loc, string msg); // Print a Message at an area

Requires Basic Mathematic Functions galaxy script.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Mar 12, 2010
Category
Last update
Mar 27, 2010
Development stage
Release
License
Public Domain
Downloads
1,042
Recent files

Authors

Relationships

Required dependency
Basic Mathematic Functions