Commit Graph

313 Commits

Author SHA1 Message Date
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
Max Weber
911893b710 cache/FrameDumperTest: Don't get the wrong framemaps for a frame 2019-07-03 08:45:24 -06:00
William Collishaw
83d2a7e58b Clean up some instances of double white space 2019-06-30 10:19:49 -06:00
William Collishaw
5025b6d5af Replace use of deprecated Guava Files write method 2019-06-27 01:51:27 -06:00
Tomas Slusny
1eb68559e4 Merge pull request #9057 from WilliamCollishaw/fix-getProperties-typo
Fix typo in 'getProperties' function name
2019-06-08 22:52:51 +02:00
William Collishaw
1733147195 Fix typo in 'getProperties' function name 2019-06-07 22:26:50 -06:00
William Collishaw
e88e2cdf85 Fix typo in 'dumpJson' function name 2019-06-07 22:24:15 -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
RuneLite Cache-Code Autoupdater
fc48e2a936 Rewrite scripts with new opcodes 2019-03-09 00:01:48 -07: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
Joshua Filby
f65a0c2268 cache: Add ScriptVarType to Enums 2018-11-27 01:20:35 -07:00
Magic fTail
fb37e494d4 Add id to script output 2018-11-26 07:59:52 +01:00
Joshua Filby
06850cff10 feat: add StructDefinition to cache
Includes a manager for loading and test that each struct into its own file.
2018-11-14 19:55:25 -06:00
Max Weber
608d5fb7a3 cache: Correct Location loading
I guess this changed when they hit the 32k object limit.
2018-10-25 04:10:06 -06:00
Adam
7a99eaf4f7 Merge pull request #5394 from Abextm/if-cache-names
cache: Name InterfaceDefinition
2018-09-12 08:12:38 -04:00
Max Weber
959f83f9a1 cache: add various world map related opcodes 2018-09-11 18:20:58 -06:00
Max Weber
f7c83db941 cache: Store ID in ScriptLoader 2018-09-11 18:20:58 -06:00
Max Weber
36971a2add cache: Disassemble CS1s 2018-09-09 10:47:07 -06:00
Max Weber
9e8c3d8c58 cache: name InterfaceDefinition fields 2018-09-09 10:47:07 -06:00
Abex
3ed69a851e Merge pull request #4792 from Abextm/cache-ordering
cache: Do not depend on Index insertion ordering
2018-08-30 20:16:31 -06:00
Abex
feebe520fb Merge pull request #4793 from Abextm/cache-newlines
cache: Properly produce `\n` only on windows on jdk9+
2018-08-30 20:15:07 -06:00
Adam
c02ff65a5a cache: fix outputstream writeString to not write unicode strings
Add test for assembling a script with a nbsp in it
2018-08-15 08:00:29 -04:00
Max Weber
f6e34b7e16 cache: Properly produce \n only on windows on jdk9+
Setting `line.separator` is considered bad so now it is only read during JVM startup. Preferred behavior is to override println on the PrintWriter.
See http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-January/030567.html
2018-08-08 22:16:53 -06:00
Max Weber
4ab21e1fd3 cache: Do not depend on Index insertion ordering 2018-08-08 22:16:05 -06:00
Adam
7e7fb16693 modelviewer: fix zfighting of models
This uses the stencil buffer to hold face priorities and prevents drawing fragments of a lower priority overtop those of higher on the same model
2018-08-04 16:19:25 -04:00
Su-Shing Chen
65178d053e Fix Assembler tests when autocrlf=true on Windows 2018-07-30 21:47:10 +12:00
Adam
23c13c1d53 cache: fix assembler to set correct switch table index
The int operand of switch instructions is an index into the switch table. The operand was always 0, breaking scripts with multiple switches.
2018-07-24 20:12:34 -04:00
Adam
6083a779b4 Merge pull request #4264 from Abextm/assembler-label
cache: Relax label name constraints
2018-07-15 11:23:56 -04:00
Max Weber
bf79c3237c cache: Relax label name constraints
Allows labels to be any reasonable identifier, not just `LABEL-?[0-9+]`

INSTRUCTION was changed to IDENTIFIER because if the LABEL rule is relaxed the lexer cannot tell the difference between a LABEL and a INSTRUCTION.
2018-07-15 10:38:45 -04:00
Qatell
49ace3f7c7 -Fixed objects of variable width and length from being positioned incorrectly on the map.
-Renamed LocationKey to ModelKey and added another field so that cached values are correct for objects using the same models.
-Implemented shading to the scene.
-Implement full SceneTilePaint with variable colors and textures.
-Implement textures while rendering SceneTileModel
-Enable maps to be loaded by their region id instead of just their coordinates.
-Implement full object model creation (replacement colors, replacement textures, resizing, translation)
-Added two new methods to ModelDefinition used in object model creation.
2018-07-11 16:03:51 -04:00
Adam
e7574b4ff5 cache: rename additional npc definition fields 2018-06-25 20:27:44 -04:00
Adam
309665c8ff modelviewer: add basic animation support 2018-06-24 15:54:55 -04:00
Max Weber
929d77085c cache: consolidate ID class printing and split ObjectID
ObjectID hit the 32k field limit, so it needed to be split into multiple files to be updated.
2018-06-16 06:39:47 -06:00
Adam
aa30d2c782 modelviewer: begin work on tile shapes 2018-05-20 20:20:04 -04:00
Max Weber
7cc726097f cache: Strip tags from java names 2018-05-14 03:26:38 -06:00
Max Weber
30e70bb9d1 cache: Name ObjectDefiniton's varpID and configID correctly 2018-04-26 17:26:15 -06:00
Max Weber
103c3b87de cache: Allow scripts to start with comments 2018-04-01 16:16:26 -04:00