Foo.pxl

From Project X Wiki
Jump to: navigation, search

PX Library
Library name: foo.pxl
Description: Has several utility functions used for the laser
Developed by: Entuser


Scripts

laserray

Functions

void MakeLaserRayF(CObject* parent, fixed x, fixed y, float width, float ang, int len)

void MakeLaserRay(CObject* parent, fixed x, fixed y, float width, float ang, int alen)

colmasks

Functions

CBitmap1* MakeCircleMask(int rad)

CBitmap1* MakePixelMask()

CGObject* CheckMaskAt(CGObject* Obj, CColMask* msk, fixed x, fixed y, int flags)

helpers_trace

Functions

CGObject* Trace(CObject* parent, CColMask* colmask, fixed x, fixed y, float ang, float res, int maxlen, int flags, int* outL)

CGObject* DTrace(CObject* parent, CColMask* colmask, fixed x, fixed y, fixed shx, fixed shy, int nchecks, int flags, int* outInter)

CGObject* BTrace(CObject* parent, CColMask* colmask, fixed x, fixed y, float shx, float shy, fixed g, int nchecks, int flags, int* outInter)