Advertisement
snake5

Gunplay v0.3

Oct 22nd, 2012
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1.  
  2. // body categories
  3. #define PBC_WORLD   0x0001  // level objects
  4. #define PBC_WEAPON  0x0002  // weapons
  5. #define PBC_TEMP    0x0004  // gibs
  6. #define PBC_MEAT    0x0010  // ragdolls
  7. #define PBC_DEADMEAT    0x0020  // dead ragdolls
  8. #define PBC_CHAR    0x0040  // character body
  9. #define PBC_DEADCHR 0x0080  // dead character body
  10. #define PBC_SENSOR  0x0100  // sensors
  11. #define PBC_ROPE    0x0200  // ropes
  12. #define PBC_LADDER  0x0400  // ladders
  13. #define PBC_ALL     0xffff
  14.  
  15. // body masks
  16. #define PBM_WORLD   PBC_ALL
  17. #define PBM_CHAR    PBC_WORLD | PBC_CHAR
  18. #define PBM_MEAT    PBC_WORLD
  19. #define PBM_TEMP    PBC_WORLD
  20.  
  21. // query masks
  22. #define PQM_BULLET  PBC_WORLD | PBC_MEAT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement