… | |
… | |
1601 | } |
1601 | } |
1602 | |
1602 | |
1603 | //I_EVENT_API (PACKAGE); |
1603 | //I_EVENT_API (PACKAGE); |
1604 | } |
1604 | } |
1605 | |
1605 | |
1606 | void _reload_1 () |
1606 | void _init_vars () |
1607 | CODE: |
1607 | CODE: |
1608 | cb_global = get_av ("cf::CB_GLOBAL", 1); |
1608 | cb_global = get_av ("cf::CB_GLOBAL", 1); |
1609 | cb_object = get_av ("cf::CB_OBJECT", 1); |
1609 | cb_object = get_av ("cf::CB_OBJECT", 1); |
1610 | cb_player = get_av ("cf::CB_PLAYER", 1); |
1610 | cb_player = get_av ("cf::CB_PLAYER", 1); |
1611 | cb_type = get_av ("cf::CB_TYPE" , 1); |
1611 | cb_type = get_av ("cf::CB_TYPE" , 1); |
1612 | cb_map = get_av ("cf::CB_MAP" , 1); |
1612 | cb_map = get_av ("cf::CB_MAP" , 1); |
1613 | |
1613 | |
1614 | void _reload_2 () |
1614 | void _global_reattach () |
1615 | CODE: |
1615 | CODE: |
1616 | { |
1616 | { |
1617 | // reattach to all attachable objects in the game. |
1617 | // reattach to all attachable objects in the game. |
1618 | for (player *pl = first_player; pl; pl = pl->next) |
1618 | for (player *pl = first_player; pl; pl = pl->next) |
1619 | reattach (pl); |
1619 | reattach (pl); |