source: GTP/trunk/App/Games/Jungle_Rumble/src/UserContactReport.h @ 1378

Revision 1378, 856 bytes checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#pragma once
2#include "NxPhysics.h"
3
4class Player;
5class Scene;
6
7class UserContactReport :
8        public NxUserContactReport
9{
10public:
11        static const int COLGROUP_PLAYER        = 1;
12        static const int COLGROUP_BULLET        = 2;
13        static const int COLGROUP_GOODIE        = 3;
14        static const int COLGROUP_OTHER         = 4;
15        static const int COLGROUP_FIRE          = 5;
16        static const int COLGROUP_WHEEL         = 6;
17        static const int COLGROUP_TERRAIN       = 7;
18        static const int COLGROUP_ICE           = 8;
19        static const int COLGROUP_ONEPLAYER     = 9;
20        static const int COLGROUP_MOREPLAYER= 10;
21        static const int COLGROUP_NOCOL         = 20;
22        static const int COLGROUP_NOSELFCOL     = 25;
23        static const int COLGROUP_OBSTACLE      = 31;
24
25        UserContactReport(void);
26        ~UserContactReport(void);
27
28        void onContactNotify(NxContactPair& pair, NxU32 events);
29        void setScene(Scene* _scene);
30
31protected:
32        Scene* scene;
33};
Note: See TracBrowser for help on using the repository browser.