mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 16:54:09 +00:00
some not fully tested stuff
This commit is contained in:
parent
5ef291ddf2
commit
80453d3f4d
15 changed files with 920 additions and 42 deletions
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
#include "common.h"
|
||||
#include "PedType.h"
|
||||
#include "Text.h"
|
||||
#include "Sprite2d.h"
|
||||
|
||||
|
@ -92,6 +93,27 @@ public:
|
|||
m_anLocalVariables[NUM_LOCAL_VARS + 1] += timeStep;
|
||||
}
|
||||
|
||||
bool ThisIsAValidRandomPed(uint32 pedtype){
|
||||
switch (pedtype){
|
||||
case PEDTYPE_CIVMALE:
|
||||
case PEDTYPE_CIVFEMALE:
|
||||
case PEDTYPE_GANG1:
|
||||
case PEDTYPE_GANG2:
|
||||
case PEDTYPE_GANG3:
|
||||
case PEDTYPE_GANG4:
|
||||
case PEDTYPE_GANG5:
|
||||
case PEDTYPE_GANG6:
|
||||
case PEDTYPE_GANG7:
|
||||
case PEDTYPE_GANG8:
|
||||
case PEDTYPE_GANG9:
|
||||
case PEDTYPE_CRIMINAL:
|
||||
case PEDTYPE_PROSTITUTE:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void CollectParameters(uint32*, int16);
|
||||
int32 CollectNextParameterWithoutIncreasingPC(uint32);
|
||||
int32* GetPointerToScriptVariable(uint32*, int16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue