feat: Vehicle control & Summon (#1175)

This commit is contained in:
DayibBaba
2023-04-05 19:54:29 +02:00
committed by GitHub
parent b5c090e0f8
commit 7c912885fe
21 changed files with 2106 additions and 49 deletions

View File

@ -6,6 +6,7 @@
#include "script_patches.hpp"
#include "services/context_menu/context_menu_service.hpp"
#include "services/orbital_drone/orbital_drone.hpp"
#include "services/vehicle/vehicle_control_service.hpp"
#include "thread_pool.hpp"
@ -206,4 +207,15 @@ namespace big
script::get_current()->yield();
}
}
void backend::vehicle_control()
{
while (true)
{
g_vehicle_control_service.tick();
script::get_current()->yield();
}
}
}