mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
45318be063
* decomp: mostly finish `cam-master` * decomp/scripts: lots of work in cam-states * stash * Merge remote-tracking branch 'water111/master' into decomp/camera-master Updated submodule third-party/googletest * decompiler: Add support for non power of 2 offsets for inline arr access * decomp: mostly finish `cam-states` need to fix a macro issue * blocked: `cam-master` decompiler crash when adding casts * decomp: finish `cam-states-dbg` * decomp: mostly finish `pov-camera` with the exception of joint-related code * decomp: `cam-debug` finished decompiling, no way does this compile yet though * decomp: considerable work done in `cam-layout` * decomp: `cam-layout` almost done! * decomp: `pov-camera` finished, TC tests will fail for now * decomp: working on resolving issues * decomp: cam-layout decompiling * fixing more issues in cam-master...one event handler remains * skip problematic function in `cam-master` for now * gsrc: update res macros * decomp: finish `cam-states` * decomp: giving up on `cam-debug` * tests: allow skipping state handlers in ref tests * decomp: working through cam-layout bugs * decomp: allow for shifting non-integers * decomp: finalize `cam-layout` and `cam-master` * decomp: finalize `cam-states` * cleanup: bi-annual formatting of the casting files * formatting * address feedback - leave the float labels alone for now * address feedback * linting/formatting * update gsrc and ref tests Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
277 lines
6 KiB
JSON
277 lines
6 KiB
JSON
{
|
|
"files.associations": {
|
|
"*ir2.asm": "Plain Text",
|
|
".gc": "lisp",
|
|
".gs": "lisp",
|
|
".gd": "lisp"
|
|
},
|
|
"highlight.maxMatches": 50000, // Maximum number of matches to decorate per regex, in order not to crash the app with accidental cathastropic regexes
|
|
"highlight.regexes": {
|
|
"(\\.function.*)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#41f041",
|
|
"fontWeight": "bold"
|
|
}
|
|
]
|
|
},
|
|
"(<uninitialized>)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#c72855"
|
|
}
|
|
]
|
|
},
|
|
"(.*Flagged as asm.*)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "yellow",
|
|
"color": "yellow",
|
|
"fontWeight": "bold"
|
|
}
|
|
]
|
|
},
|
|
"(INFO:.*)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "yellow",
|
|
"fontWeight": "bold"
|
|
}
|
|
]
|
|
},
|
|
"(sp, -?\\d+ )": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#00ff08",
|
|
"fontWeight": "bold"
|
|
}
|
|
]
|
|
},
|
|
"( \\d+\\(sp\\))": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#00ff08",
|
|
"fontWeight": "bold"
|
|
}
|
|
]
|
|
},
|
|
"(at op \\d+)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#4de0ff"
|
|
}
|
|
]
|
|
},
|
|
"(.*;; )(\\[\\s*\\d+\\])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#4de0ff"
|
|
}
|
|
]
|
|
},
|
|
"(lw.+, )(.+\\(s7\\))": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "magenta"
|
|
}
|
|
]
|
|
},
|
|
"(lwu t9)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "magenta"
|
|
}
|
|
]
|
|
},
|
|
"(jalr)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "magenta"
|
|
}
|
|
]
|
|
},
|
|
"(L\\d+)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#f0d541"
|
|
}
|
|
]
|
|
},
|
|
"(B\\d+:)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#f07341"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(at)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "red"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(gp)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#64c5e3"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(v0)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#c6c1e6"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(v1)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#dae6be"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(s6)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#41f0b0"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(a0)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "pink"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(a1)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#e065bb"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(a2)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#6dd1a6"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(a3)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#bad192"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(t0)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#b56b82"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(t1)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#6d32ba"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(t2)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#db9267"
|
|
}
|
|
]
|
|
},
|
|
"([\\s\\(])(t3)([\\s\\),:-])": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{},
|
|
{
|
|
"overviewRulerColor": "transparent",
|
|
"color": "#92db67"
|
|
}
|
|
]
|
|
},
|
|
"(WARN:.*)": {
|
|
"filterFileRegex": ".*ir2\\.asm",
|
|
"decorations": [
|
|
{
|
|
"overviewRulerColor": "red",
|
|
"color": "red",
|
|
"fontWeight": "bold",
|
|
"filterFileRegex": ".*ir2\\.asm"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|