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
Adam
34f18f5656
Revert "Merge pull request #1154 from deathbeam/team-member-names"
...
This reverts commit f0293087ce0a2e2dc515cfb57ef926c185d25cb5, reversing
changes made to 309c1fde25d32086cfd242f988c8f45df903d66c.
2018-04-01 14:20:27 -04:00
Adam
71da137034
Merge pull request #1196 from Adam-/minimap2
...
cache: rewrite map image dumper with logic from client
2018-04-01 10:41:30 -04:00
Tomas Slusny
01f2532b1c
Add DMM name drawing opcodes to cache
...
Signed-off-by: Tomas Slusny <slusnucky@gmail.com >
2018-04-01 09:13:54 -04:00
Adam
9f943832ea
cache: rewrite map image dumper with logic from client
2018-03-30 12:35:20 -04:00
Adam
769ce714e4
cache: add post to object loader
2018-03-30 12:29:14 -04:00
Adam
f50760c8b2
cache: add and compute hsl in overlay
2018-03-30 12:28:13 -04:00
Adam
d3c4c9551f
cache: add and compute hsl in underlay
2018-03-30 12:23:38 -04:00
Adam
f3b9548c84
cache: split color palette code into its own class
2018-03-30 12:22:35 -04:00
Joshua Filby
aaed0c98ad
refactor: rename get/set settings to get/set varp
2018-03-21 17:55:20 -05:00
Adam
66c8fce606
cache: add item sprite renderer
...
Most of the code is slightly deobfuscated and stripped down from the client
2018-03-17 21:40:21 -04:00
Adam
148a7e1c0b
cache: add resize, recolor, and retexture to modeldefinirtion
2018-03-17 21:40:20 -04:00
Adam
710c0a2ecf
cache: store original pixels and palette too, and add normalize()
2018-03-17 21:40:20 -04:00
Adam
beb9d3a27a
cache: expand on texture definition and loader
2018-03-17 21:40:18 -04:00
Adam
735052232c
cache: fix not invalidating vertexNormals in reset
2018-03-17 21:07:31 -04:00
Adam
e4af1aa0da
cache: add updateNote to ItemDefinition
2018-03-17 21:07:09 -04:00
Adam
a3e4dc400f
cache: add provider interfaces for items, models, sprites, and textures
2018-03-17 21:06:55 -04:00
Adam
10311e4965
cache: fix item definition default zoom2d
2018-03-12 20:44:43 -04:00
Max Weber
51b077b479
cache: Add get_is_mobile opcode.
...
This is set to 1 on the mobile build. All that it does is change some sprites in the options panel.
2018-02-23 19:41:17 -07:00
Adam
6cb140503e
rs2asm: allow multiple newlines after header or instruction
...
Even though NEWLINE reads multiple newline characters, the lexer can emit multiple NEWLINE tokens from having only a comment on a line
2018-02-13 16:01:26 -05:00
Seth
cb78508b94
cache: Update ObjectManager to include NULL names
2018-02-09 13:19:35 -05:00