Commit Graph

313 Commits

Author SHA1 Message Date
Max Weber
bfc7ccd623 cache: add running/crawling anim opcodes from rev 205 2022-05-11 04:38:09 -06:00
Adam
2fa6eb1dc3 cache: update indextype names 2022-05-07 10:23:12 -04:00
Adam
54da56e7b1 map image dumper: add main method
Co-authored-by: Explv <explv@osbot.org>
2022-05-01 22:22:14 -06:00
Adam
75e23b9a3e map image dumper: use BigBufferedImage
This redudces the memory consumption significantly since it requires
less of the image to be in memory at one time

Co-authored-by: Explv <explv@osbot.org>
2022-05-01 22:22:14 -06:00
Max Weber
c04534b7cb cache/MapImageDumper: draw cross region objs when drawing single regions 2022-05-01 22:22:14 -06:00
Max Weber
fa4776f396 cache/MapImageDumper: fix object wall checks 2022-05-01 22:22:14 -06:00
Max Weber
3ca476094c cache/MapImageDumper: handle pushdown objects correctly 2022-05-01 21:40:09 -06:00
Max Weber
685ee8d7e2 cache/MapImageDumper: fix icon & wall size & placement 2022-05-01 20:12:15 -04:00
Max Weber
050e453a64 cache/MapImageDumper: add transparency support 2022-05-01 20:12:14 -04:00
Max Weber
a00a8f3925 cache/MapImageDumper: add layer & brightness configuration 2022-05-01 20:12:14 -04:00
Max Weber
a97d5b7017 cache/RegionLoader: allow plugging an external xtea key provider 2022-05-01 20:12:14 -04:00
Max Weber
7cbef5edaa cache: unify jagex hsl conversion 2022-05-01 20:12:14 -04:00
Max Weber
4975781bd3 cache: do not return partially or doubly lit textures 2022-04-27 09:28:58 -06:00
Max Weber
b6c2653a0e cache: correctly link bought & placeholder items
this was causing bought items (bounds, league cabbages) to render
incorrectly
2022-04-27 09:28:58 -06:00
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
Adam
991e8fda50 Allow rs.version to be a double
This allows sub-versions of the same RS revision
2021-05-26 19:43:26 -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
667a0e9297 cache: diable some long-running tests
These tests just bulk-dump data and don't really test anything, and use
up a lot of CI time when tests are run
2020-05-25 14:32:56 -04:00
15987632
1c272bb649 cache: add spotanim dump test 2020-05-01 00:44:36 -06: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