Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macro/enum support #637

Open
Grossley opened this issue Oct 12, 2021 · 2 comments
Open

Add macro/enum support #637

Grossley opened this issue Oct 12, 2021 · 2 comments

Comments

@Grossley
Copy link
Collaborator

Grossley commented Oct 12, 2021

Add macro and enum support in the compiler.
Automatically decompile macros in <= bytecode 14 games.
Autogenerate macros and enums in situations where they are clearly used and where no other situation makes sense (num << 0).
Add ability to save and load custom defined macros and enums from disk for a given game/data file. Would be easiest to integrate this into the profile mode system.

@Grossley Grossley changed the title Add macro support + autogenerate macros + save macros for game to disk to apply in certain circumstances Add macro/enum support Oct 12, 2021
@colinator27
Copy link
Member

Enum support will be coming along with the Underanalyzer merge, but no macro support just yet (although it shouldn't be too terrible to try)

@colinator27
Copy link
Member

Enum and macros are both supported in #2056, although no implementation for a game as a whole yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants