Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about interface changes?



Hello,

   I'm trying to work on the throw codes and noticed that there are a lots
of interface changes.

1. update_ob_speed now takes only one argument (the object).  I take it you
   have to assign the speed (via ob->speed) then called update_ob_speed(ob)

2. IS_ALIVE is removed. I take it is equivalent to QUERY_FLAG(item,FLAG_ALIVE)

3. UNSET_FLY is removed. I take it is equivalent to SET_FLAG(item,FLAG_FLY_OFF)
   Do I have to also do CLEAR_FLAG(item,FLAG_FLY_ON)?  What does FLAG_FLYING
   used for?

4. I take it that info_all(buf,10) is equivalent to 
   new_draw_info(NDI_ALL,10,NULL,buf);

Thanks,

 __  __/  /   /   __  /    |   /    Tuan T. Doan
    /    /   /   /   /   / |  /     IEC Layer Testing and Advance Technology
   /    /   /   __  /   /  | /      2201 Lakeside Blvd.  P.O. Box 833871
__/  ______/ __/ __/ __/  __/       Richardson, TX 75083-3871
"It's a kind of magic" -Highlander  Phone: 214-684-4575   Fax: 214-684-3716
Internet:  tdoan@bnr.ca             WWW: http://47.53.64.96/tdoan/tdoan.html