Symbol ====== The Symbol include contains minimap symbol related functions. LoadSymbolBitmapColor ~~~~~~~~~~~~~~~~~~~~~ .. code-block:: pascal function LoadSymbolBitmapColor(Name: String): Integer; Loads Bitmap and Color of a Specific Symbol. .. note:: by Stupid3ooo, WT-Fakawi, Bebemycat2, Ron, and StarBlaster100 Example: .. code-block:: pascal GetSymbolColorIn ~~~~~~~~~~~~~~~~ .. code-block:: pascal function GetSymbolColorIn(var rx, ry: Integer; Name: string; xs, ys, xe, ye: Integer): Integer; Returns the Color of the Chosen Symbol, Searching in a selected area of the Minimap .. note:: by Starblaster100 based off of the ideas of Stupid3000 Example: .. code-block:: pascal GetSymbolColor ~~~~~~~~~~~~~~ .. code-block:: pascal function GetSymbolColor(var rx, ry: Integer; Name: string): Integer; Returns the Color of the Chosen Symbol, searching the whole Minimap .. note:: by Stupid3ooo and Modified by Starblaster100 Example: .. code-block:: pascal FindSymbol ~~~~~~~~~~ .. code-block:: pascal function FindSymbol(var rx, ry: Integer; Name: String): Boolean; Finds a minimap Symbol and returns a Boolean if True. .. note:: by Stupid3ooo Example: .. code-block:: pascal FindSymbolIn ~~~~~~~~~~~~ .. code-block:: pascal function FindSymbolIn(var rx, ry: Integer; Name: string; xs, ys, xe, ye: Integer): Boolean; Finds a minimap Symbol and returns a Boolean if True. Searches a selected area of the Minimap .. note:: by Starblaster100, based on the ideas of Stupid3ooo Example: .. code-block:: pascal IsPointInTPA ~~~~~~~~~~~~ .. code-block:: pascal function IsPointInTPA(Point:TPoint; TPA:TPointArray): Boolean; Returns true is a point is in a TPA. .. note:: by IceFire908 Example: .. code-block:: pascal FindSymbolsIn ~~~~~~~~~~~~~ .. code-block:: pascal function FindSymbolsIn(var AnsTPA: TPointArray; SymbolName: string; x1, y1, x2, y2: integer): Boolean; Finds a symbol in multiple places within the search coords. Results true if at least 1 symbol is found. .. note:: by lordsaturn Fixed by Bad Boy JH Example: .. code-block:: pascal FindSymbols ~~~~~~~~~~~ .. code-block:: pascal function FindSymbols(var AnsTPA: TPointArray; SymbolName: string): Boolean; Finds a symbol in multiple places searching the whole minimap. Results true if at least 1 symbol is found. .. note:: by lordsaturn Example: .. code-block:: pascal FindSymbolsMultiIn ~~~~~~~~~~~~~~~~~~ .. code-block:: pascal function FindSymbolsMultiIn(var aTPA: TPointArray; Symbols: TStringArray; x1, y1, x2, y2: integer): Boolean; Finds multiple symbols the specified area. Results true if at least 1 symbol is found. .. note:: by Nava2 & NCDS Example: .. code-block:: pascal FindSymbolsMulti ~~~~~~~~~~~~~~~~ .. code-block:: pascal function FindSymbolsMulti(var aTPA: TPointArray; Symbols: TStringArray): Boolean Finds multiple symbols in multiple places. Results true if at least 1 symbol is found. .. note:: by NCDS Example: .. code-block:: pascal