View Single Post
commonbullet
Veteran Member
Join Date: Oct 2005
Old 03-01-2007 , 19:16   Re: Module: Vdf trees - 1.02
Reply With Quote #16

Update 1.02

- Included new search natives:
Code:

// creates a new search
vdf_create_search();

// sets up search
vdf_set_search(search, tree, const searchstr[], searchtype = 0, level =-1, ignorecase = 0);

// finds next node that matches search
vdf_find_next_match(search, startnode = 0); 

// closes search
vdf_close_search(search);
- Included this native for fast checking node depth:
Code:
native vdf_get_node_level(node);
- Detailed documentation in vdf.inc

- Included a plugin example for searching

- Fixed tree structure would be wrongly formed if vdf used k&r indentation style.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet