WORD objc_find(OBJECT *tree,WORD obj, WORD depth, WORD ox, WORD oy)

Description:  Détermine l'objet qui peut être trouvé aux coordonnées spécifiées

Opcode:  43  (0x002b)

Availability:  Tous AES

Parameters:  
    tree : L'arbre d'objet GEM sur lequel on doit faire la recherche
    obj : Index de l'objet à partir duquel on fait la recherche (0 = objet racine)
    depth : profondeur de recherche (profondeur enfants)
    ox, oy : respectivement position absolue où l'on recherche


Binding:  
    aes_intin[0] = obj;
    aes_intin[1] = depth;
    aes_intin[2] = ox;
    aes_intin[3] = oy;
    aes_addrin[0] = tree;
    aes_control[0] = 43;
    aes_control[1] = 4;
    aes_control[2] = 1;
    aes_control[3] = 1;
    aes_control[4] = 0;
    aes(&aes_params);
    return aes_intout[0];
Return value:  Retourne l'index de l'objet trouvé, si aucun de trouvé retourne -1

Definition:
    La profondeur maximum sur AES classique est de 7


mailto: Raider
HTTP: http://olivier.landemarre.free.fr


See Also: Nothing


Merci de votre visite sur GEMTOS!!!

(C) 2000 Gemtos.free.fr. All rights reserved by the authors.