mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-18 04:07:47 +00:00
Merge branch 'lcs' of https://github.com/GTAmodding/re3 into lcs
This commit is contained in:
commit
7d877ab488
File diff suppressed because it is too large
Load diff
|
@ -47,6 +47,14 @@ void FlushLog();
|
|||
|
||||
#define KEY_LENGTH_IN_SCRIPT (8)
|
||||
|
||||
#define GET_INTEGER_PARAM(i) (ScriptParams[i])
|
||||
#define GET_FLOAT_PARAM(i) (*(float*)&ScriptParams[i])
|
||||
#define GET_VECTOR_PARAM(i) (CVector(GET_FLOAT_PARAM(i), GET_FLOAT_PARAM(i+1), GET_FLOAT_PARAM(i+2)))
|
||||
|
||||
#define SET_INTEGER_PARAM(i, x) ScriptParams[i] = x
|
||||
#define SET_FLOAT_PARAM(i, x) *(float*)&ScriptParams[i] = x
|
||||
#define SET_VECTOR_PARAM(i, v) { *(float*)&ScriptParams[i] = (v).x; *(float*)&ScriptParams[i+1] = (v).y; *(float*)&ScriptParams[i+2] = (v).z; }
|
||||
|
||||
#define GTA_SCRIPT_COLLECTIVE
|
||||
|
||||
struct intro_script_rectangle
|
||||
|
|
|
@ -1357,11 +1357,13 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
|||
CTxdStore::AddRef(slot);
|
||||
return 0;
|
||||
}
|
||||
/*
|
||||
case COMMAND_REMOVE_TEXTURE_DICTIONARY:
|
||||
{
|
||||
CTheScripts::RemoveScriptTextureDictionary();
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
case COMMAND_SET_OBJECT_DYNAMIC:
|
||||
{
|
||||
CollectParameters(&m_nIp, 2);
|
||||
|
|
|
@ -420,17 +420,15 @@ SwitchToMission(void)
|
|||
#endif
|
||||
|
||||
static const char *carnames[] = {
|
||||
"landstal", "idaho", "stinger", "linerun", "peren", "sentinel", "rio", "firetruk", "trash", "stretch", "manana",
|
||||
"infernus", "voodoo", "pony", "mule", "cheetah", "ambulan", "fbicar", "moonbeam", "esperant", "taxi", "washing",
|
||||
"bobcat", "mrwhoop", "bfinject", "hunter", "police", "enforcer", "securica", "banshee", "predator", "bus",
|
||||
"rhino", "barracks", "cuban", "chopper", "angel", "coach", "cabbie", "stallion", "rumpo", "rcbandit", "romero",
|
||||
"packer", "sentxs", "admiral", "squalo", "seaspar", "pizzaboy", "gangbur", "airtrain", "deaddodo", "speeder",
|
||||
"reefer", "tropic", "flatbed", "yankee", "caddy", "zebra", "topfun", "skimmer", "pcj600", "faggio", "freeway",
|
||||
"rcbaron", "rcraider", "glendale", "oceanic", "sanchez", "sparrow", "patriot", "lovefist", "coastg", "dinghy",
|
||||
"hermes", "sabre", "sabretur", "pheonix", "walton", "regina", "comet", "deluxo", "burrito", "spand", "marquis",
|
||||
"baggage", "kaufman", "maverick", "vcnmav", "rancher", "fbiranch", "virgo", "greenwoo", "jetmax", "hotring",
|
||||
"sandking", "blistac", "polmav", "boxville", "benson", "mesa", "rcgoblin", "hotrina", "hotrinb",
|
||||
"bloodra", "bloodrb", "vicechee"
|
||||
"spider", "landstal", "idaho", "stinger", "linerun", "peren", "sentinel", "patriot", "firetruk", "trash", "stretch",
|
||||
"manana", "infernus", "blista", "pony", "mule", "cheetah", "ambulan", "fbicar", "moonbeam", "esperant", "taxi",
|
||||
"kuruma", "bobcat", "mrwhoop", "bfinject", "hearse", "police", "enforcer", "securica", "banshee", "bus", "rhino",
|
||||
"barracks", "dodo", "coach", "cabbie", "stallion", "rumpo", "rcbandit", "bellyup", "mrwongs", "mafia", "yardie",
|
||||
"yakuza", "diablos", "columb", "hoods", "panlant", "flatbed", "yankee", "borgnine", "toyz", "campvan", "ballot",
|
||||
"shelby", "pontiac", "esprit", "ammotruk", "hotrod", "Sindacco_Car", "Forelli_Car", "ferry", "ghost", "speeder",
|
||||
"reefer", "predator", "train", "escape", "chopper", "airtrain", "deaddodo", "angel", "pizzaboy", "noodleboy",
|
||||
"pcj600", "faggio", "freeway", "angel2", "sanchez2", "sanchez", "rcgoblin", "rcraider", "hunter", "maverick",
|
||||
"polmav", "vcnmav"
|
||||
};
|
||||
|
||||
static CTweakVar** TweakVarsList;
|
||||
|
@ -563,7 +561,7 @@ DebugMenuPopulate(void)
|
|||
DebugMenuAddCmd("Cheats", "Pickup chicks", PickUpChicksCheat);
|
||||
|
||||
static int spawnCarId = MI_LANDSTAL;
|
||||
e = DebugMenuAddVar("Spawn", "Spawn Car ID", &spawnCarId, nil, 1, MI_LANDSTAL, MI_VICECHEE, carnames);
|
||||
e = DebugMenuAddVar("Spawn", "Spawn Car ID", &spawnCarId, nil, 1, MI_SPIDER, MI_VCNMAV, carnames);
|
||||
DebugMenuEntrySetWrap(e, true);
|
||||
DebugMenuAddCmd("Spawn", "Spawn Car", [](){
|
||||
if(spawnCarId == MI_CHOPPER ||
|
||||
|
|
Loading…
Reference in a new issue