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

游戏引擎

开发平台:

Visual C++

  1. #ifndef _CEVENTCOMMON_H_
  2. #define _CEVENTCOMMON_H_
  3. //CEventCommon.h
  4. ///////////////////////////////////////////////////
  5. //goods kinds
  6. #define EV_GOODKIND_NotDefine 0
  7. #define EV_GOODKIND_IsNotGood 1
  8. #define EV_GOODKIND_Food 2
  9. #define EV_GOODKIND_Equip 4
  10. #define EV_GOODKIND_Weapon 8
  11. #define EV_GOODKIND_Book 10
  12. #define EV_GOODKIND_Drug 20
  13. #define EV_GOODKIND_Jiudai 80
  14. #define EV_GOODKIND_Normal 100
  15. #define EV_GOODKIND_Flag 200
  16. // Event Run type : parameter of function EventRun()
  17. #define EV_TYPE_NotDefine            1
  18. #define EV_TYPE_ShowMessage          2
  19. #define EV_TYPE_GoodGet      4
  20. #define EV_TYPE_GoodDelete           8
  21. #define EV_TYPE_GoodCountIncrease    10
  22. #define EV_TYPE_GoodCountDecrease    20
  23. #define EV_TYPE_StatusPointSet       40
  24. #define EV_TYPE_StatusPointIncrease  80
  25. #define EV_TYPE_StatusPointDecrease  100
  26. #define EV_TYPE_MoneySet  901
  27. #define EV_TYPE_MoneyIncrease  902
  28. #define EV_TYPE_MoneyDecrease      903
  29. #define EV_TYPE_GoodCountSet  904
  30. #define EV_TYPE_ClearBetray  905
  31. #define EV_TYPE_ClearAllBetray  906
  32. #define EV_TYPE_SetFamily            907
  33. #define EV_TYPE_GoKill               908
  34. #define EV_TYPE_GoFight              909
  35. #define Ev_TYPE_JoboMap              910   
  36. // Event limit before running  : parameter of function CheckEventLimit()
  37. #define EV_LIMIT_NotDefine           1
  38. #define EV_LIMIT_GoodHasGot          2
  39. #define EV_LIMIT_GoodHasNotGot      4
  40. #define EV_LIMIT_GoodCountMore       8
  41. #define EV_LIMIT_GoodCountEqual      10
  42. #define EV_LIMIT_GoodCountLess       20
  43. #define EV_LIMIT_StautsPointMore     40
  44. #define EV_LIMIT_StautsPointEqual    80
  45. #define EV_LIMIT_StautsPointLess     100
  46. #define EV_LIMIT_MoneyMore  901
  47. #define EV_LIMIT_MoneyLess      903
  48. #define EV_LIMIT_SexEqual  904
  49. #define EV_LIMIT_FamilyEqual  905
  50. #define EV_LIMIT_FamilyNotEqual  906
  51. #define EV_LIMIT_BetrayFamily  907
  52. #define EV_LIMIT_NotBetrayFamily  908
  53. // Key word type
  54. #define EV_KEYWORD_None              0
  55. #define EV_KEYWORD_Visible           1
  56. #define EV_KEYWORD_Invisible         2
  57. // LimitChoose
  58. #define EV_LIMITCHOOSE_One           1
  59. #define EV_LIMITCHOOSE_All           2
  60. #endif