condition.h
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:1k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. #if !defined(AFX_CONDITION_H__41E53661_AA2C_11D3_ABF1_0000E8E25C21__INCLUDED_)
  2. #define AFX_CONDITION_H__41E53661_AA2C_11D3_ABF1_0000E8E25C21__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6. class CActiveObject;
  7. #define CK_
  8. #define CK_normal 1
  9. #define CK_poison 2
  10. #define CK_yungong 3
  11. #define CK_special 4
  12. class CCondition  
  13. {
  14. public:
  15. int nKind;
  16. CString szName;
  17. int nTime;
  18. int nPower;
  19. public:
  20. CCondition();
  21. virtual ~CCondition();
  22. int UpdataPoison(CActiveObject * lpMan);
  23. };
  24. int UpdataDrink(CCondition * lpCondition, CActiveObject * lpMan);
  25. int UpdataIce(CCondition * lpCondition, CActiveObject * lpMan);
  26. int UpdataYihan(CCondition * lpCondition, CActiveObject * lpMan);
  27. int UpdataDuanchanghua(CCondition * lpCondition, CActiveObject * lpMan);
  28. int UpdataRose(CCondition * lpCondition, CActiveObject * lpMan);
  29. int UpdataSleepdurg(CCondition * lpCondition, CActiveObject * lpMan);
  30. int UpdataSnake(CCondition * lpCondition, CActiveObject * lpMan);
  31. int UpdataShengshifu(CCondition * lpCondition, CActiveObject * lpMan);
  32. int UpdataXingxiustrike(CCondition * lpCondition, CActiveObject * lpMan);
  33. int UpdataFreezeblood(CCondition * lpCondition, CActiveObject * lpMan);
  34. int UpdataBandaged(CCondition * lpCondition, CActiveObject * lpMan);
  35. void SpecialActEnd(CCondition * lpCondition, CActiveObject * lpMan);
  36. #endif