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
0e7e8f2d7d
Make the individual components of an XteaKey public
...
This is useful in the archiving service code, as it can extract them for
insertion into the database without the overhead of creating and then
throwing away an IntArray.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2c7abdc7ff
Use bufferedReader() extension method
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
efc7ba9d2b
Add underflow/overflow tests
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
06cad72eaa
Add Js5Archive object
...
This will eventually hold the names of each JS5 archive in 550, as and
when I confirm the names from the NXT beta client still match up with
the functionality of each archive in 550.
Currently it only holds then name of index 255.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
977dd0bd93
Check that we read exactly uncompressedLen bytes
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
cdae86aad6
Truncate existing output files in the compression commands
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
107c432e65
Rename NONE to UNCOMPRESSED
...
This is the name used by Jagex.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8d35b5010a
Add functions for quickly checking if a XTEA key is valid
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
88175e798f
Remove debug println from Js5IndexTest
...
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
ae70bbb804
Update dependencies
...
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
4354b17ddf
Update gradle-versions-plugin
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8b33989768
Update clikt
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
df6c9a610c
Create singleton sets in LiveVariableAnalyzer where possible
...
This will be slightly more efficient than the existing approach.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
15d359429e
Add alloc parameter to Store.open()
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
d2174bb77c
Improve checksum/digest terminology in the README
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
1cce3b33d0
Replace non-breaking spaces with normal spaces in the README
...
Looks better in IDEA's editor.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
eb7f71a7a4
Update Dokka
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
a2d41d924f
Change cache's crypto dependency to an API dependency
...
The XteaKey class is used in method signatures.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
89accc8b26
Rename root to ROOT
...
Path is immutable.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0afc7a563d
Add Store.open() method
...
It automatically determines whether to use a DiskStore or FlatFileStore.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago