SoUI 0.5版本占坑
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.3 KiB

3 years ago
# /*
# * BJ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ż<EFBFBD> -- Destructable
# *
# * By actboy168
# *
# */
#
#ifndef INCLUDE_BJ_OPTIMIZATION_DESTRUCTABLE_H
#define INCLUDE_BJ_OPTIMIZATION_DESTRUCTABLE_H
#
# define ShowDestructableBJ(flag, d) ShowDestructable(d, flag)
# define SetDestructableInvulnerableBJ(d, flag) SetDestructableInvulnerable(d, flag)
# define IsDestructableInvulnerableBJ(d, flag) IsDestructableInvulnerable(d)
# define EnumDestructablesInRectAll(r, actionFunc) EnumDestructablesInRect(r, null, actionFunc)
# define RandomDestructableInRectSimpleBJ(r) RandomDestructableInRectBJ(r, null)
# define SetDestructableMaxLifeBJ(d, max) SetDestructableMaxLife(d, max)
#
# /*
# * <EFBFBD>з<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD>ĺ<EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD>ijЩ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>»<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
# * call GetLastCreatedUnit()
# * <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><EFBFBD>ij<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɡ<EFBFBD>
# */
#
# define GetLastCreatedDestructable() bj_lastCreatedDestructable
# define IsDestructableDeadBJ(d) (GetDestructableLife(d) <= 0)
# define IsDestructableAliveBJ(d) (GetDestructableLife(d) > 0)
#
#endif