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
Graham
6fb19e402b
Fix typo (discardUnapcked -> discardUnpacked)
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
d8f98c1bf5
Update data file availability point in the FAQ
...
I'm not yet convinced we have all the files - I've since realised the
"complete" 550 cache floating around is probably modified and includes
some files from a later revision.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4b1c6c7cb7
Rename Smart to ShortSmart
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1e1711820d
Rename actualSeq to actualBlockNum
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
e8e2460d8e
Rename getDelta to getDuration
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c634d2e4d7
Rename seq to blockNum
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c21702a0d5
Refactor the insertBefore method
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c3d7e9d081
Add reference counting documentation
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
db3421418c
Fix prefetch/len local names in Js5NetQueue
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8887b0a1e9
Refactor the crc32 method
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
921ef3a08f
Refactor some of the client loading code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
10a99fc9fb
Refactor most of the preferences code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cceaf59d3c
Refactor the Base37 encoding/decoding methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4f18ca0947
Refactor JS5 connection code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1bb5cb4e06
Refactor Js5ResourceProvider and associated code
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
07e5a6f488
Refactor the Js5MasterIndex class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5144604f2d
Rename getReadyPercentage to getPercentageComplete
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4b1fdcf716
Refactor JS5 request queues
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
6aac893a1f
Rename Js5Index to Js5 in unpackclass
...
I suspect Jagex have a really clever optimizer capable of inlining the
Js5Index class (or perhaps they did it manually?)
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
026ffb21c4
Refactor the client's Js5 class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
693ed579e8
Refactor more of the GameShell class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4616401987
Refactor Timer classes and associated code in GameShell
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
4e4b0aad40
Refactor the HuffmanCodec class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
e689d65f6c
Refactor the SecondaryHashTable class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1e4e48e413
Rename iteratorKey to iteratorBucket
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
946ab98a82
Refactor the HashTableIterator class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
9ffc7701e2
Refactor the secondary insertAfter method
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
a8c13614ef
Refactor the ReferenceNodeFactory class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2dfd3ed889
Refactor the LruHashTable class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
7590fa8d7c
Refactor the ReferenceNode class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
aeb03865a1
Refactor the SecondaryLinkedList class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
9b81f5c6c0
Refactor the SecondaryNode class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1ae491d411
Refactor the HashTable class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ceb3e0d702
Refactor the client's LinkedList class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
6c66a4cee5
Refactor the client's ArrayUtils class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c0703c9065
Refactor the Cache class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
5af09c9c4b
Refactor the BufferedFile class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
77aa69fe97
Refactor the BufferedSocket class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
a057750792
Refactor the Broken{Input,Output}Stream classes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
73ebb64c73
Refactor the IntNode and StringNode classes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1cc0fcc8b7
Refactor the client's TracingException class
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
c819e85574
Refactor the client's bzip2 decompressor
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago