Script commands split to original files

This commit is contained in:
Sergeanur 2020-11-24 02:15:57 +02:00
parent 833bf4a619
commit bd3d09fef5
7 changed files with 9038 additions and 8912 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,29 @@ class CPlayerInfo;
class CRunningScript;
extern int32 ScriptParams[32];
void FlushLog();
#define script_assert(_Expression) FlushLog(); assert(_Expression);
#define PICKUP_PLACEMENT_OFFSET 0.5f
#define PED_FIND_Z_OFFSET 5.0f
#define SPHERE_MARKER_R 0
#define SPHERE_MARKER_G 128
#define SPHERE_MARKER_B 255
#define SPHERE_MARKER_A 128
#define SPHERE_MARKER_PULSE_PERIOD 2048
#define SPHERE_MARKER_PULSE_FRACTION 0.1f
#ifdef USE_PRECISE_MEASUREMENT_CONVERTION
#define METERS_IN_FOOT 0.3048f
#define FEET_IN_METER 3.28084f
#else
#define METERS_IN_FOOT 0.3f
#define FEET_IN_METER 3.33f
#endif
#define KEY_LENGTH_IN_SCRIPT 8
struct intro_script_rectangle

1549
src/control/Script2.cpp Normal file

File diff suppressed because it is too large Load Diff

2082
src/control/Script3.cpp Normal file

File diff suppressed because it is too large Load Diff

2027
src/control/Script4.cpp Normal file

File diff suppressed because it is too large Load Diff

2011
src/control/Script5.cpp Normal file

File diff suppressed because it is too large Load Diff

1343
src/control/Script6.cpp Normal file

File diff suppressed because it is too large Load Diff