Parent classes:
public modify_new_task_list (This creates a task list out of inform Objects and some functions.
self in object ,
PARENTS in list )
Step by step:
- Task list and line offset list are first emptied.
- Loop through all objects and add specific tasks
These are responsible to do it only if necessary
- e.g. for non-empty picture lists and blorb switched on
- then create one-time tasks like file inclusion
- finally set the time stamp
Parameters:
private _ensure_task_source_line (local subroutine to ensure that a dictionary entry for that line exists
_parent in ZClass ,
_source_id in string ,
_line in integer )
Parameters:
private _inc_infSrcOffset (increments the offset list by _offset
_parent in ZClass ,
_source in string ,
_line in integer ,
_offset in integer )
Parameters:
public modify_inf_source (Takes as input a list of lines from a particular source and applies the Znlpi_infSrcTask-list to it.
self in object ,
PARENTS in list ,
_source_id in string ,
_lines in list )
return list
Step by step:
- first check if there are any tasks for that particular source
- loop through all lines
- if any task is to do:
- first task has to be handled different from others (see caveat)
Parameters: