Commit Graph

264 Commits

Author SHA1 Message Date
Joshua Filby
71da8bc35e cache: use LinkedHashMap for switch jump tables 2022-03-28 00:20:37 -05:00
Adam
3ad8452d41 cache: rename texture animation direction and speed 2022-03-02 10:01:10 -05:00
Adam
ffc5380f28 cache: script: remove unused import 2022-02-25 14:30:06 -05:00
Tony Wang
15a393fe86 cache: script: use linkedhashmap for switch map
The switch maps are iterated in the assembler and disassembler and the generated code depends on the iteration order
2022-02-25 14:12:21 -05:00
Nakst
d03421d294 cache: refactor ModelLoader.decodeOldFormat variable names 2022-02-15 13:49:03 -05:00
Adam
b53dc9ee8f cache: remove netty-buffer dependency 2022-01-18 18:15:31 -05:00
Adam
9349ea84bb cache: remove http-api dependency
This was only for the xtea client, which we don't use anymore anyway. Instead allow XteaKeyManager to read from an input stream.
2021-12-22 15:46:28 -05:00
Max Weber
02235d1584 cache: add rev202 model formats 2021-12-12 10:37:27 -05:00
Adam
40ab68a971 timestamp: use steam client chat timestamp support
The chat building scripts have variables now for message timestamp, so we can just assign our timestamp to those instead.
2021-11-16 16:08:59 -05:00
Max Weber
081a30056c avoid boxing Comparator.comparings 2021-11-14 18:56:08 -05:00
Adam
2eb2cdc328 cache: rename objectdefinition ambient sound ids 2021-11-02 14:44:44 -04:00
Adam
1443d5a34d Add runelite_callback opcode to cache
Also move the RL Instructions from the script assembler to cache too, so it can be reused by the updater. The api Opcodes class has no use in the public api and so is removed.
2021-10-27 20:13:01 -04:00
Max Weber
f1fc3ccb5c cache: add 197 opcodes 2021-06-16 04:01:15 -06:00
Max Weber
04884beac0 cache: update cs2 opcodes 2021-05-27 13:48:50 -04:00
Max Weber
a0d28b2f42 cache/NpcLoader: add category opcode from rev 195 2021-04-14 05:44:47 -06:00
Max Weber
36216c7cf4 cache/ObjectLoader: add randomizeAnimStart opcode from rev 193 2021-04-14 05:44:47 -06:00
Jonatino
9381e62f6d Fix incorrect named value when storing FlatStorage caches 2021-02-03 10:54:52 -05:00
Max Weber
d9b90e6c2d cache: allow partial caches to load 2020-12-01 18:45:08 -05:00
Max Weber
059edd77ca cache: allow concurrent disk storage reads 2020-12-01 18:45:08 -05:00
Adam
922c5e3421 cache: fix objexporter hsl to rgb calculation
This was doing hsb to rgb instead
2020-11-24 18:45:37 -05:00
Adam
8718a83f10 disassembler: escape string operands 2020-09-19 13:16:06 -04:00
Max Weber
431e09588b specify utf8 encoding
this should fix the following known bugs:
 - putting a U+2019 in the config causes it to become corrupted and
   ~double in size every launch
 - scripts become assembled incorrectly and the nbsp after your name in
   the chatbox becomes incorrect
 - the feed panel doesn't show emoji
2020-08-28 21:58:08 -04:00
Trevor
c5f8b88146 cache: add default values to HealthBarDefinition 2020-07-01 20:23:45 -04:00
Adam
47c375cb03 client: use guice provided http client everywhere 2020-06-27 23:21:28 -04:00
Trevor
23997a814f cache: add healthbar dumper 2020-06-13 10:35:31 -04:00
Max Weber
fb32b5842d cache: emit null npc ids 2020-06-08 18:02:04 -04:00
Adam
c95bc2b5b7 cache: update kit definition 2020-02-27 13:02:51 -05:00
Adam
2ee6c9a7c0 cache: add blocking mask to object definition 2020-02-19 17:37:00 -05:00
Adam
8c5197c6fe cache: update sequence definition 2020-02-02 17:48:17 -05:00
Hexagon
2eaf57187d cache: Add hitsplat definition 2020-01-20 15:42:15 -05:00
Adam
2dad909112 cache: add field initializers to interface def 2020-01-20 15:40:52 -05:00
leejt
d84caf7db2 Update WorldMapDefinition attributes
Changed the WorldMapType field names from fieldxxx to values
that represent what they actually mean (mostly x, y, z coordinates)
2020-01-13 17:02:23 -08:00
Adam
c549114734 cache: add param config 2020-01-03 09:26:08 -05:00
Adam
c2e7b61a68 cache: update npc definition and loader 2019-10-26 12:45:49 -04:00
Adam
562ff3232e cache: update object definition 2019-10-11 08:55:54 -04:00
William Collishaw
83d2a7e58b Clean up some instances of double white space 2019-06-30 10:19:49 -06:00
William Collishaw
531546e3a0 Remove redundant subString endindex .length() calls 2019-06-01 13:19:15 -06:00
Adam
ed8a24b069 cache: datafile: simplify next sector calculation 2019-04-06 13:43:11 -04:00
Max Weber
75fbb07b41 cache: use RuneStar cs2 opcode names
With exception of the opcodes with jvm analogues, which follow jvm style
2019-03-09 00:01:48 -07:00
Adam
40ea7fa607 cache: assign temporary names for new varc string opcodes 2019-03-07 08:38:55 -05:00
Max Weber
527be68a81 cache: Include id in StructDefinition 2019-01-28 03:29:34 -07:00
Max Weber
3253de9466 cache: use lombok Data for all definitions 2019-01-28 03:22:44 -07:00
Abex
bc627809e1 Merge pull request #7214 from Abextm/flatcache
cache: Add FlatStorage
2019-01-17 15:54:27 -07:00
Max Weber
43bcbe0e1d cache: Generate NullItemID 2019-01-15 22:29:10 -07:00
Max Weber
330d47b5ec cache: Add equals and hashCode to all Definitions
Lombok is updated due to lombok issue 1724 breaking ModelDefinition
2019-01-10 03:23:27 -07:00
Max Weber
33e76436d3 cache: Add FlatStorage 2019-01-10 03:23:27 -07:00
Joshua Filby
465b20d2ba fix: use correct char for boolean type 2018-12-02 20:40:41 -06:00
Abex
e25f88fad0 Merge pull request #6469 from Joshua-F/feat/structtype
Add StructDefinition to cache
2018-11-27 01:53:02 -07:00
Max Weber
ec5737a1d9 Merge pull request #6470 2018-11-27 01:25:45 -07:00
Joshua Filby
18ec864250 cache: prevent dumping enums with no data 2018-11-27 01:20:35 -07:00