[saco] Implement 'CGame::EnableZoneNames'

This commit is contained in:
unk.cs 2024-07-23 16:57:24 -03:00
parent 79e40cf088
commit be2e532eec
3 changed files with 9 additions and 1 deletions

View File

@ -736,3 +736,10 @@ void CGame::DrawGangZone(float fPos[], DWORD dwColor)
//-----------------------------------------------------------
// TODO: CGame::sub_100A1520 text: 100A1520
void CGame::EnableZoneNames(BYTE byteEnable)
{
ScriptCommand(&enable_zone_names, byteEnable);
}
//-----------------------------------------------------------

View File

@ -61,6 +61,7 @@ public:
void ToggleRadar(int iToggle);
void DisplayGameText(char *szStr,int iTime,int iSize);
void SetGravity(float fGravity);
void EnableZoneNames(BYTE byteEnable);
void SetWantedLevel(BYTE byteLevel);
void SetGameTextCount(WORD wCount);
void DrawGangZone(float* fPos, DWORD dwColor);

View File

@ -42,7 +42,7 @@ const SCRIPT_COMMAND set_camera_position = { 0x015F, "ffffff" }; // x, y, z,
const SCRIPT_COMMAND disable_marker = { 0x0164, "i" }; // var_marker
const SCRIPT_COMMAND set_marker_color = { 0x0165, "ii" }; // var_marker, color
const SCRIPT_COMMAND enable_zone_names = { 0x09BA, "i" };
const SCRIPT_COMMAND create_radar_marker_without_sphere = { 0x04CE, "fffiv" }; // x, y, z, marker_type, var_marker
const SCRIPT_COMMAND show_on_radar = { 0x0168, "ii" }; // var_marker, size