![]() |
Public API Reference |
#include <services.h>
Inheritance diagram for iSyntaxService:
Public Methods | |
virtual bool | ParseBool (iDocumentNode *node, bool &result, bool def_result)=0 |
Parse the value of this node and return a boolean depending on this value. More... | |
virtual bool | ParseMatrix (iDocumentNode *node, csMatrix3 &m)=0 |
Parse a matrix description. More... | |
virtual bool | ParseVector (iDocumentNode *node, csVector3 &v)=0 |
Parse a vector description. More... | |
virtual bool | ParseBox (iDocumentNode *node, csBox3 &v)=0 |
Parse a box description. More... | |
virtual bool | ParseColor (iDocumentNode *node, csColor &c)=0 |
Parse a color description. More... | |
virtual bool | ParseMixmode (iDocumentNode *node, uint &mixmode)=0 |
Parse a mixmode description. More... | |
virtual bool | ParseTextureMapping (iDocumentNode *node, const csVector3 *vref, uint &texspec, csVector3 &tx_orig, csVector3 &tx1, csVector3 &tx2, csVector3 &len, csMatrix3 &tx_m, csVector3 &tx_v, csVector2 &uv_shift, int &idx1, csVector2 &uv1, int &idx2, csVector2 &uv2, int &idx3, csVector2 &uv3, const char *polyname)=0 |
Parse a texture mapping specification. More... | |
virtual bool | ParsePortal (iDocumentNode *node, iLoaderContext *ldr_context, iPolygon3DStatic *poly3d, uint32 &flags, bool &mirror, bool &warp, int &msv, csMatrix3 &m, csVector3 &before, csVector3 &after)=0 |
Parses a portal definition specification. More... | |
virtual bool | ParsePoly3d (iDocumentNode *node, iLoaderContext *ldr_context, iEngine *engine, iPolygon3DStatic *poly3d, float default_texlen, iThingFactoryState *thing_fact_state, int vt_offset)=0 |
Parses a POLYGON. More... | |
virtual bool | ParseGradient (iDocumentNode *node, csGradient &gradient)=0 |
Parse a color gradient. More... | |
virtual bool | ParseShaderParam (iDocumentNode *node, csShaderVariable *var)=0 |
Parse a shader variable declaration. More... | |
virtual void | ReportError (const char *msgid, iDocumentNode *errornode, const char *msg,...)=0 |
Report an error and also gives a path in the XML tree. More... | |
virtual void | ReportBadToken (iDocumentNode *badtokennode)=0 |
Report a bad token. More... | |
virtual void | Report (const char *msgid, int severity, iDocumentNode *errornode, const char *msg,...)=0 |
Report something, also gives a path in the XML tree. More... |
Definition at line 62 of file services.h.
|
Parse the value of this node and return a boolean depending on this value. The following mapping happens (case insensitive):
|
|
Parse a box description. Returns true if successful. |
|
Parse a color description. Returns true if successful. |
|
Parse a color gradient.
|
|
Parse a matrix description. Returns true if successful. |
|
Parse a mixmode description. Returns true if successful. |
|
Parses a POLYGON.
|
|
Parses a portal definition specification. flags: contains all flags found in the description. |
|
Parse a shader variable declaration.
|
|
Parse a texture mapping specification.
|
|
Parse a vector description. Returns true if successful. |
|
Report something, also gives a path in the XML tree.
|
|
Report a bad token. This is a convenience function which will eventually call ReportError(). |
|
Report an error and also gives a path in the XML tree.
|