Skip to content

Commit cc0226e

Browse files
committed
fix: docs images links fixed
1 parent 73af3a5 commit cc0226e

File tree

7 files changed

+27
-23
lines changed

7 files changed

+27
-23
lines changed

docs/images/chooseoption.png

1.83 KB
Loading

osrs.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ They should be self-explanatory.
7979
{$IFNDEF SRLT_MAPDEBUGGER_INCLUDED} {$INCLUDE_ONCE osrs/map/mapdebugger.simba}
8080
{$IFNDEF SRLT_BANKPIN_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bankpin.simba}
8181
{$IFNDEF SRLT_BANK_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bank.simba}
82+
8283
{$IFNDEF SRLT_COLORFINDER_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/colorfinder.simba}
8384
{$IFNDEF SRLT_HITSPLATS_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/hitsplats.simba}
8485

85-
8686
{$IFNDEF SRLT_ANTIBAN_TASKS_INCLUDED} {$INCLUDE_ONCE osrs/antiban/antibantasks.simba}
8787

8888
{$IFNDEF SRLT_SETUP_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/setup.simba}

osrs/interfaces/chat/chat.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ corner of the game client where you can communicate with other players,
55
receive game messages and even interact with some options and menus it hosts
66
like the {ref}`Make` menu.
77

8-
```{figure} ../../../images/chat_interface.png
8+
```{figure} ../../images/chat_interface.png
99
The chat interface.
1010
```
1111
*)

osrs/interfaces/chat/make.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The "Make" menu is the {ref}`Chat` box menu that pops up when you attempt to
44
craft certain items in OldSchool RuneScape.
55

6-
```{figure} ../../../images/make_interface.png
6+
```{figure} ../../images/make_interface.png
77
The make interface.
88
```
99
*)

osrs/interfaces/chooseoption.simba

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
(*
22
# ChooseOption
33
Methods to interact with the runescape context menu.
4+
5+
```{figure} ../../images/choose_option.png
6+
The choose option context menu.
7+
```
48
*)
59
{$DEFINE SRLT_CHOOSEOPTION_INCLUDED}
610
{$INCLUDE_ONCE SRLT/osrs.simba}
711

812
type
913
(*
1014
(Option)=
11-
## type TRSOption
12-
```pascal
13-
TRSOption = record
14-
Text: String;
15-
Bounds: TBox;
16-
StringIndex: Integer;
17-
end;
18-
19-
TRSOptionArray = array of TRSOption;
20-
```
15+
## TRSOption
16+
Helper record to interact with {ref}`ChooseOption`.
2117
*)
2218
TRSOption = record
2319
Text: String;
@@ -28,9 +24,8 @@ TRSOptionArray = array of TRSOption;
2824
TRSOptionArray = array of TRSOption;
2925

3026
(*
31-
(ChooseOption)=
32-
## type TRSChooseOption
33-
Core record responsible with interacting with the choose option context menu.
27+
## TRSChooseOption
28+
Core record responsible with interacting with the {ref}`ChooseOption` context menu.
3429
*)
3530
TRSChooseOption = record
3631
Bounds: TBox;
@@ -300,8 +295,7 @@ end;
300295

301296
var
302297
(*
303-
(ChooseOption)=
304-
## var ChooseOption
305-
Global TRSChooseOption variable.
298+
## ChooseOption variable
299+
Global {ref}`TRSChooseOption` variable.
306300
*)
307301
ChooseOption: TRSChooseOption;

osrs/interfaces/mainscreen/bank.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Bank
33
Methods to interact with the bank interface
44

5-
```{figure} ../../../images/bank_interface.png
5+
```{figure} ../../images/bank_interface.png
66
The bank interface.
77
```
88
*)

osrs/interfaces/mainscreen/bankpin.simba

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,24 @@ Methods to interact with the bank pin interface.
66
{$DEFINE SRLT_BANKPIN_INCLUDED}
77
{$INCLUDE_ONCE SRLT/osrs.simba}
88

9-
109
type
10+
(*
11+
## TRSBankPin
12+
Main record to interact with the {ref}`BankPin` interface.
13+
*)
1114
TRSBankPin = record
1215
Bounds: TBox;
1316
Buttons: TBoxArray;
1417
end;
1518

19+
(*
20+
## BankPin.SetupInterface
21+
```pascal
22+
procedure TRSBankPin.SetupInterface();
23+
```
24+
Internal method used to setup the {ref}`TRSBankPin` coordinates.
25+
This is automatically called for you on the {ref}`BankPin variable`.
26+
*)
1627
procedure TRSBankPin.SetupInterface();
1728
begin
1829
with InterfaceArea do
@@ -242,8 +253,7 @@ end;
242253

243254
var
244255
(*
245-
(BankPin variable)=
246-
## var BankPin
256+
## BankPin variable
247257
Global {ref}`TRSBankPin` variable.
248258
*)
249259
BankPin: TRSBankPin;

0 commit comments

Comments
 (0)