File tree Expand file tree Collapse file tree 4 files changed +31
-5
lines changed
osrs/interfaces/mainscreen Expand file tree Collapse file tree 4 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1919
2020# -- Project information -----------------------------------------------------
2121
22- project = u'SRL-T '
23- description = u'SRL-T is a fork of SRL-Development. SRL is a library for Simba to interact with RuneScape.'
22+ project = u'SRLT '
23+ description = u'SRLT stands for SRL Tribute. SRLT is a library for Simba to interact with OldSchool RuneScape.'
2424copyright = u'2020, SRL Group'
2525author = u'SRL Group'
2626
Original file line number Diff line number Diff line change 88import re
99import os , sys
1010
11- DOCNAME = 'SRL-T '
11+ DOCNAME = 'SRLT '
1212IGNORE_FOLDERS = ['.git' , '.github' , 'docgen' ]
1313FILE_EXTENSIONS = ['.simba' ]
1414
@@ -162,4 +162,4 @@ def generate(root):
162162 if os .path .exists ('source' ):
163163 for filename in os .listdir ('source' ):
164164 os .remove ('source' + os .sep + filename )
165- os .rmdir ('source' )
165+ os .rmdir ('source' )
Original file line number Diff line number Diff line change 4848{$IFNDEF SRLT_MAPLOADER_INCLUDED} {$INCLUDE_ONCE osrs/map/maploader.simba}
4949{$IFNDEF SRLT_MAP_INCLUDED} {$INCLUDE_ONCE osrs/map/map.simba}
5050{$IFNDEF SRLT_MAPDEBUGGER_INCLUDED} {$INCLUDE_ONCE osrs/map/mapdebugger.simba}
51- {$IFNDEF SRLT_BANK_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bank.simba}
51+ {$IFNDEF SRLT_BANKPIN_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bankpin.simba}
52+ {$IFNDEF SRLT_BANK_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bank.simba}
5253{$IFNDEF SRLT_COLORFINDER_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/colorfinder.simba}
5354{$IFNDEF SRLT_HITSPLATS_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/hitsplats.simba}
5455
103104{$ENDIF}
104105{$ENDIF}
105106{$ENDIF}
107+ {$ENDIF}
Original file line number Diff line number Diff line change 1+ (*
2+ # BankPin
3+ Methods to interact with the bank pin interface.
4+ *)
5+
6+ {$DEFINE SRLT_BANKPIN_INCLUDED}
7+ {$INCLUDE_ONCE SRLT/osrs.simba}
8+
9+
10+ type
11+ TRSBankPin = type TRSInterface;
12+
13+ procedure TRSBankPin.SetupInterface();
14+ begin
15+ with InterfaceArea do
16+ begin
17+ Self.Bounds.X1 := Max(Floor(Center.X-(Width-1)/2), Floor(Center.X-487/2));
18+ Self.Bounds.X2 := Min(Floor(Center.X+(Width-1)/2), Floor(Center.X +487/2));
19+ Self.Bounds.Y1 := Max(Floor(Center.Y-(Height-3)/2), Floor(Center.Y-799/2));
20+ Self.Bounds.Y2 := Min(Floor(Center.Y+(Height-3)/2), Floor(Center.Y+799/2));
21+ end;
22+
23+ end;
24+
You can’t perform that action at this time.
0 commit comments