diff --git a/saco/game/game.cpp b/saco/game/game.cpp index 202eeeb..cb8f09c 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -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); +} + +//----------------------------------------------------------- \ No newline at end of file diff --git a/saco/game/game.h b/saco/game/game.h index f53a481..28db706 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -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); diff --git a/saco/game/scripting.h b/saco/game/scripting.h index 7d3ab54..aa5abe7 100644 --- a/saco/game/scripting.h +++ b/saco/game/scripting.h @@ -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