SHOW:
|
|
- or go back to the newest paste.
1 | #include "OnFootSegment.h" | |
2 | #include "VehicleSegment.h" | |
3 | #include "Utils.h" | |
4 | ||
5 | #define PI (314159265/100000000) | |
6 | #define TODEGREES (3.14159265359f / 180.0f) | |
7 | #define TORADIAN (180.0f / 3.14159265359f) | |
8 | ||
9 | #define PLAYER_RECORDING_TYPE_NONE 0 | |
10 | #define PLAYER_RECORDING_TYPE_DRIVER 1 | |
11 | #define PLAYER_RECORDING_TYPE_ONFOOT 2 | |
12 | ||
13 | #define RNPC_SPEED_SPRINT 0.0095 | |
14 | #define RNPC_SPEED_RUN 0.0057 | |
15 | #define RNPC_SPEED_WALK 0.0015 | |
16 | ||
17 | //---------------------------------------------------------- | |
18 | ||
19 | - | class RNPC |
19 | + | class RNPC // Line 19 |
20 | { | |
21 | public: | |
22 | RNPC(); | |
23 | ||
24 | int StartBuild(int npcid, int type, int slot, float x, float y, float z); | |
25 | int EndBuild(int autoreset); | |
26 | int AddMovement(float x1, float y1, float z1, float x2, float y2, float z2, float speed); | |
27 | int AddPause(int time); | |
28 | ||
29 | int BuildVehicleRecording(int npcid, float x1, float y1, float z1, float x2, float y2, float z2, float speed); | |
30 | ||
31 | int updaterate; | |
32 | OnFootSegment settings; | |
33 | ||
34 | bool buildActive; | |
35 | FILE* buildFile; | |
36 | int curTime; | |
37 | short recMode; | |
38 | float acceleration; | |
39 | }; | |
40 | ||
41 | //---------------------------------------------------------- |