Graham
|
ccf7056a93
|
Use private companion objects where possible
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Desetude
|
c99ebcb355
|
Add logging to the AST deobfuscator
Signed-off-by: Desetude <harry@desetude.com>
|
4 years ago |
Graham
|
a52d58e8b5
|
Use Clikt to implement the command-line interface
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
462ae7cb9c
|
Improve PrettyPrinterConfiguration
Both of these settings are closer to IDEA's code style.
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
b9c707782c
|
Place @Pc annotations on the same line as variable declarations
This is much more readable than placing them on a separate line.
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
caed5cebce
|
Remove gl-dri from AstDeobfuscator
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
2e1c6c22ff
|
Rename GlConstantTransformer to GlTransformer
It transforms more than just constants now.
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Major
|
424a2d7a31
|
Fix compilation errors
Signed-off-by: Major <major@emulate.rs>
|
4 years ago |
Graham
|
7db0c971ee
|
Use OpenGL registry to replace magic numbers with constants
|
4 years ago |
Graham
|
597aa2018e
|
Add support for whole program AST transforms
|
4 years ago |
Graham
|
64abe46971
|
Replace forEach calls with for loops
These are artifacts of the Java port.
|
4 years ago |
Graham
|
ab75a2f0c9
|
Add IdentityTransformer
|
4 years ago |
Desetude
|
d8c3f4e31c
|
Flip > and >= in for loop conditions to < and <= respectively
Signed-off-by: Graham <gpe@openrs2.dev>
|
4 years ago |
Graham
|
7d1dc59d6a
|
Convert pre-increments to post-increments where possible
|
4 years ago |
Graham
|
e9a9a8f962
|
Format with ktlint
|
4 years ago |
Graham
|
4df5754dac
|
Include generics in Function cast
The Kotlin compiler was happy with the old code, but IDEA wasn't.
Including the generics explicitly in the cast makes both happy.
|
4 years ago |
Graham
|
77e8b0cdc0
|
Use top-level Kotlin main() functions
|
4 years ago |
Graham
|
9b81c813dd
|
Convert AstDeobfuscator to Kotlin
|
4 years ago |