HackerN64 / HackerN64/HackerSM64
Framework for defining menus modularly
- Dominant language
- C
- Stars
- 529
- Forks
- 209
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 1
Description
Custom framework, similar to a levelscript or behavior script, that allows for easier creation of custom menus for hackers.
Should support:
- Callbacks
- Submenus
- Input types (numbers, toggles, etc)
- Different text engines
Mockup code by @thecozies (would be passed to a function such as `render_menu(x, y, pauseOptions)`):
```c
struct SubOptions modelOptions[] = {
{ .label = "big chungus", .value MODEL_BC },
{ .label = "luigi", .value MODEL_LUIGI }
}
struct MenuOptions pauseOptions[] = {
{ .callback: set_mario_model, .options: &modelOptions },
...more options
};
```
Possibly take [this menu code](https://github.com/aglab2/hacktice/blob/master/src/cfg.c) by @aglab2 as reference.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.