Home | Trees | Indices | Help |
|
---|
|
utilities for xml maploading process
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Imports: range, old_div, os, math
|
uses XMLObjectLoader to load import files from path
|
helper function to call loadImportFile on a directory
|
helper function to call loadImportFile recursive on a directory
|
Returns new path for given subfile (path), which is rooted against masterfile E.g. if masterfile is ./../foo/bar.xml and subfile is ./../foo2/subfoo.xml, returned path is ../foo2/subfoo.xml NOTE: masterfile is expected to be *file*, not directory. subfile can be either |
does inverse operation to root_subfile. E.g. E.g. if masterfile is ./../foo/bar.xml and subfile is ../foo2/subfoo.xml, returned path ./../foo2/subfoo.xml Usually this function is used to convert saved paths into engine relative paths NOTE: masterfile is expected to be *file*, not directory. subfile can be either |
Makes the path use '/' delimited separators. FIFE always uses these delimiters, but some os-related routines will default to os.path.sep. |
Range function that accepts floats (and integers). If only one limit is specified, assumes 0 as lower limit. Usage: frange(-2, 2, 0.1) frange(10) frange(10, increment = 0.5) The returned value is an iterator. Use list(frange) for a list. source: http://code.activestate.com/recipes/ 66472-frange-a-range-function-with-float-increments/
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Feb 5 07:00:22 2023 | http://epydoc.sourceforge.net |