From ad03b67b5f0065c3c84d34b52ed2d7a291e9ea2e Mon Sep 17 00:00:00 2001 From: Graham Date: Fri, 29 Jan 2021 23:42:16 +0000 Subject: [PATCH] Refactor the Filter class Still not sure about a lot of this, but it's better than nothing. Signed-off-by: Graham --- share/deob/map/client.yaml | 148 ++++++++++++++++++------------------- 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/share/deob/map/client.yaml b/share/deob/map/client.yaml index 9a45a3d6..e57bc8ea 100644 --- a/share/deob/map/client.yaml +++ b/share/deob/map/client.yaml @@ -210,7 +210,7 @@ classes: client!ql: "GameCanvas" client!qm: "SkyBoxType" client!qn: "VorbisSound" - client!qo: "Class146" + client!qo: "Filter" client!r: "SecondaryParticleNode" client!ra: "ChangeLocRequest" client!rd: "VorbisMapping" @@ -8361,29 +8361,29 @@ fields: owner: "VorbisSound" name: "prevQuarter" client!qo.a [[F: - owner: "Static6" - name: "aFloatArrayArray2" + owner: "Filter" + name: "floatingCoefficients" client!qo.b [[I: - owner: "Static6" - name: "anIntArrayArray38" + owner: "Filter" + name: "coefficients" client!qo.c I: - owner: "Static6" - name: "anInt4425" + owner: "Filter" + name: "inverseA0" client!qo.d [[[I: - owner: "Class146" - name: "anIntArrayArrayArray11" + owner: "Filter" + name: "gain" client!qo.e [[[I: - owner: "Class146" - name: "anIntArrayArrayArray12" + owner: "Filter" + name: "octaves" client!qo.f [I: - owner: "Class146" - name: "anIntArray471" + owner: "Filter" + name: "pairs" client!qo.g F: - owner: "Static6" - name: "aFloat107" + owner: "Filter" + name: "floatingInverseA0" client!qo.h [I: - owner: "Class146" - name: "anIntArray472" + owner: "Filter" + name: "inverseGain" client!r.k I: owner: "WorldList" name: "iterator" @@ -10405,7 +10405,7 @@ fields: name: "oscillatorAmplitudes" client!uh.p Lclient!qo;: owner: "SynthInstrument" - name: "aClass146_1" + name: "filter" client!uh.q [I: owner: "SynthInstrument" name: "oscillatorStartMillis" @@ -10429,7 +10429,7 @@ fields: name: "oscillatorTimes" client!uh.x Lclient!h;: owner: "SynthInstrument" - name: "aClass73_9" + name: "filterEnvelope" client!uh.y [I: owner: "SynthInstrument" name: "oscillatorIntervalRanges" @@ -37254,62 +37254,62 @@ methods: 18: "mask" 53: "mask" client!qo.a (F)F: - owner: "Static30" - name: "method3641" + owner: "Filter" + name: "getOctavePhase" arguments: - 0: "arg0" + 0: "octave" locals: - 7: "local7" + 7: "frequency" client!qo.a (IF)I: - owner: "Class146" - name: "method3640" + owner: "Filter" + name: "compute" arguments: - 0: "arg0" - 1: "arg1" + 0: "direction" + 1: "t" locals: - 20: "local20" - 50: "local50" - 77: "local77" - 89: "local89" - 102: "local102" - 106: "local106" - 162: "local162" - 168: "local168" - 197: "local197" - 226: "local226" - 237: "local237" - 247: "local247" + 20: "decibels" + 50: "amplitude" + 77: "i" + 89: "amplitude2" + 102: "b1" + 106: "b2" + 162: "j" + 168: "temp" + 197: "temp" + 226: "i" + 237: "temp" + 247: "i" client!qo.a (IIF)F: - owner: "Class146" - name: "method3638" + owner: "Filter" + name: "getAmplitude" arguments: - 0: "arg0" - 1: "arg1" - 2: "arg2" + 0: "direction" + 1: "i" + 2: "t" locals: - 30: "local30" + 30: "decibels" client!qo.a (Lclient!fd;Lclient!h;)V: - owner: "Class146" + owner: "Filter" name: "decode" arguments: 0: "buffer" 1: "envelope" locals: - 3: "local3" - 37: "local37" - 39: "i" - 44: "j" - 78: "i" - 83: "j" + 3: "pairs" + 37: "interpolated" + 39: "direction" + 44: "i" + 78: "direction" + 83: "i" client!qo.b (IIF)F: - owner: "Class146" - name: "method3643" + owner: "Filter" + name: "getPhase" arguments: - 0: "arg0" - 1: "arg1" - 2: "arg2" + 0: "direction" + 1: "i" + 2: "t" locals: - 30: "local30" + 30: "octave" client!r.c (I)V: owner: "SecondaryParticleNode" name: "unlinkSecondary" @@ -43052,21 +43052,21 @@ methods: 424: "delay" 426: "i" 430: "samples" - 469: "local469" - 478: "local478" - 487: "local487" - 494: "local494" - 496: "local496" - 521: "local521" - 523: "local523" - 553: "local553" - 594: "local594" - 619: "local619" - 621: "local621" - 651: "local651" - 721: "local721" - 727: "local727" - 757: "local757" + 469: "t" + 478: "forwardOrder" + 487: "backOrder" + 494: "i" + 496: "n" + 521: "sample" + 523: "j" + 553: "j" + 594: "n2" + 619: "sample" + 621: "j" + 651: "j" + 721: "sample" + 727: "j" + 757: "j" 798: "i" client!uh.a (III)I: owner: "SynthInstrument" @@ -43086,7 +43086,7 @@ methods: 51: "amplitudeModulationWavetable" 81: "gateWavetable" 109: "i" - 116: "local116" + 116: "amplitude" client!ui.a (IIBI)I: owner: "Static35" name: "method4327"