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
Adam
550a079093
cache: allow carriage returns in newlines in scripts
2018-01-28 22:14:58 -05:00
Adam
049ab21819
cache: add script id to grammar
2018-01-27 13:07:14 -05:00
Adam
6353bb0138
cache: add get_camera_focal_point_height
2018-01-27 13:07:12 -05:00
Adam
d53200cb14
cache: add set_camera_focal_point_height
2018-01-27 13:07:07 -05:00
Adam
7b3c8c34e9
cache: add comment to rs2asm grammar
2018-01-27 13:07:06 -05:00
Adam
cdfc7c549a
cache: add get_zoom_distance
2018-01-27 13:07:04 -05:00
Adam
4ca7ee2014
cache: add set_zoom_distance
2018-01-27 13:07:01 -05:00
Adam
e650637176
cache: allow passing instruction set to assembler
2018-01-27 13:06:53 -05:00
Adam
4624371bf9
cache: remove script interpreter
...
It is unfinished and probably not something I want to complete soon
2018-01-26 20:30:52 -05:00
Adam
a29f55362c
cache test: get tmpdir from a system property
2018-01-06 22:26:09 -05:00
Adam
a407af8672
cache: also disable map dumper test
2018-01-02 08:16:00 -05:00
Adam
ee3f4add78
cache: disable map image dumper test
2018-01-01 21:15:42 -05:00
Adam
82d277a8a5
cache: split cache client and server into their own projects
...
Split handshake and update protocol also into their own projects
2017-12-28 21:15:01 -05:00
Adam
c4bee1127c
cache: add map and location definition, convert Region loading to use it
2017-12-28 21:15:00 -05:00
Adam
162efc9bfc
cache: add savers
2017-12-28 21:14:59 -05:00
Adam
a27d3686c2
cache: add a few more write* to outputstream
2017-12-28 21:14:59 -05:00