Graham
4e0939d1bb
Refactor SpotAnimTypeList
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
faa6b0b619
Refactor IdkTypeList
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5074405a5c
Refactor SeqTypeList
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5c135c7ced
Refactor more config archive types
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
08e41fc31c
Refactor inbound packet reading methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
991158f8a9
Move Player/NPC lists to their own classes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
25656d4165
Refactor some terrain-related code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
38f978c4a5
Rename EnumInverseNode to EnumStringEntry
...
I think this fits slightly better - Entry reminds me of Map.Entry, which
is similar. There's no need for Node subclasses to be suffixed with Node
in general - we just don't have any choice with classes like StringNode
(we have to avoid a collision with Java's String type).
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
10be6e4b73
Rename SpotAnim, ProjAnim and Model
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ef37703a9b
Refactor some texture, sprite and rendering-related code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2bcff4bb06
Refactor more of the ScriptRunner class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
a0c07b294b
Refactor Player.self
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
af73e783a9
Refactor Cs1ScriptRunner
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
578ed9a205
Add initial ScriptRunner refactor
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
b893a27ade
Rename fastReadString to readStringFast for consistency
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
78cf794ead
Refactor ClientScript class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4819780815
Add initial InterfaceList refactor
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
d64a657543
Rename AwtMouseWheel to JavaMouseWheel
...
For consistency with JavaAudioChannel.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4e22842a75
Refactor VarpType and VarbitType
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
f882568686
Rename stop to quit for consistency
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
77970f4681
Partially refactor the AudioChannel class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
9e12bce93c
Refactor EnumType
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c9b53f3aa6
Rename the Entity class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5c5ca5730f
Refactor the ObjStack class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
fd137191e7
Refactor Inv and InvType
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2c0093a633
Refactor the BufferPool class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4f7192b9e6
Refactor the FrameBuffer class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
73c41d7302
Rename tick to loop
...
I suspect this is the name Jagex uses based on the TFU client.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
528deec61f
Refactor the MouseWheel class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
531965b504
Refactor the Keyboard and Mouse classes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
f088664ac9
Refactor MouseRecorder
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
bce63109ec
Fix name of readEncryptedBytes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
df3370c0ef
Rename skullIcon to pkIcon
...
This fits with the name of the sprite (headicons_pk).
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
10112f5112
Partially refactor LocType
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0e81bc211b
Refactor StructType
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
fabe7983df
Update unpackclass.yaml
...
I missed this change.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cf34a04b80
Move skyboxTextures to a Defaults class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0bbf6b9507
Rename Js5ResourceProviderImpl to Js5CachedResourceProvider
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
44adebd9be
Refactor the sorted WorldList
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
3ffd7caaa1
Refactor the WorldList class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
24f094b387
Refactor decodeDefaults
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2a6e50d44d
Refactor the WordPack class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
946fa2c3db
Rename IntegerUtils to IntUtils
...
This ensures it appears next to IntHashTable and IntNode in the class
list.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
9907a7d2c3
Renmae clearSoft() to removeSoft()
...
This is closer to the official name.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cc17a25f01
Refactor LruHashTable
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
41ad780a65
Rename LruHashTable to SoftLruHashTable
...
This is to make way for the real LruHashTable class.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
7d626bcabb
Rename sweep() to clean()
...
This matches the Jagex name.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0c020c7f36
Rename Js5Index::read to decode
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
38859a2c18
Refactor NpcType, ObjectType and associated code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
22ec916000
Refactor Js5 instance names
...
In the future I will give these more descriptive names.
I'm not yet sure if the client class is the most appropriate location,
but it fits with the current heuristic of placing static members in the
class in which they are initialised if they are initialised in an
instance method.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago