Skip to content

Commit

Permalink
Merge pull request #148 from ToxxicFuse/master
Browse files Browse the repository at this point in the history
Fixed the narrowing conversion issue
  • Loading branch information
MAFINS authored Aug 24, 2020
2 parents a5cb3ca + ec3a8f2 commit f9c8c6b
Show file tree
Hide file tree
Showing 9 changed files with 1,492 additions and 1,487 deletions.
1 change: 1 addition & 0 deletions Solution/source/Scripting/ModelNames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <string>
#include <fstream>
#include <pugixml\src\pugixml.hpp>
#include <algorithm> // std::sort, VS 2019 update 16.7.1

#pragma region Vehicle model labels
std::vector<GTAmodel::Model> g_vehHashes;
Expand Down
14 changes: 7 additions & 7 deletions Solution/source/Submenus/Teleport/Facilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ namespace sub::TeleportLocations_catind
{
const std::vector<TeleLocation> vOtherFacilityRelatedTeleports
{
TeleLocation("Facility 1 (IAA)", 2047.0000f, 2942.0000f, -62.9025f,{ "xm_x17dlc_int_placement_interior_4_x17dlc_int_facility_milo" },{}, true),
TeleLocation("Facility 2 (Datacentre)", 2168.0000f, 2920.8900f, -85.8000f,{ "xm_x17dlc_int_placement_interior_5_x17dlc_int_facility2_milo" },{}, true),
TeleLocation("Submarine", 513.0700f, 4839.6900f, -62.5900f,{ "xm_x17dlc_int_placement_interior_8_x17dlc_int_sub_milo_" },{}, true),
TeleLocation("Base", 567.1900f, 5954.8800f, -158.5500f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_" },{}, true, false, true),
TeleLocation("Lab", 244.5700f, 6163.3900f, -159.4200f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_" },{}, true, false, true),
TeleLocation("Silo", 368.4300f, 6307.8600f, -160.2500f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_" },{}, true, false, true),
TeleLocation("Avenger", 520.0000f, 4750.0000f, -70.0000f,{ "xm_x17dlc_int_placement_interior_9_x17dlc_int_01_milo_" },{},{ "shell_tint", "CONTROL_1", "CONTROL_2", "CONTROL_3", "WEAPONS_MOD", "VEHICLE_MOD", "GOLD_BLING" }, true, false, true)
TeleLocation("Facility 1 (IAA)", 2047.0000f, 2942.0000f, -62.9025f,{ "xm_x17dlc_int_placement_interior_4_x17dlc_int_facility_milo"_sv },{}, true),
TeleLocation("Facility 2 (Datacentre)", 2168.0000f, 2920.8900f, -85.8000f,{ "xm_x17dlc_int_placement_interior_5_x17dlc_int_facility2_milo"_sv },{}, true),
TeleLocation("Submarine", 513.0700f, 4839.6900f, -62.5900f,{ "xm_x17dlc_int_placement_interior_8_x17dlc_int_sub_milo_"_sv },{}, true),
TeleLocation("Base", 567.1900f, 5954.8800f, -158.5500f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_"_sv },{}, true, false, true),
TeleLocation("Lab", 244.5700f, 6163.3900f, -159.4200f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_"_sv },{}, true, false, true),
TeleLocation("Silo", 368.4300f, 6307.8600f, -160.2500f,{ "xm_x17dlc_int_placement_interior_34_x17dlc_int_lab_milo_"_sv },{}, true, false, true),
TeleLocation("Avenger", 520.0000f, 4750.0000f, -70.0000f,{ "xm_x17dlc_int_placement_interior_9_x17dlc_int_01_milo_"_sv },{},{ "shell_tint"_sv, "CONTROL_1"_sv, "CONTROL_2"_sv, "CONTROL_3"_sv, "WEAPONS_MOD"_sv, "VEHICLE_MOD"_sv, "GOLD_BLING"_sv }, true, false, true)
};
struct FacilityLocation { const PCHAR name; Vector3 pos; std::vector<std::string> ipls; };//std::string interior; };
const std::vector<FacilityLocation> vLocations
Expand Down
Loading

0 comments on commit f9c8c6b

Please sign in to comment.