Let AI refactor everything and see if it breaks.

This commit is contained in:
2026-03-29 00:59:27 +01:00
parent 561b99b710
commit b873ac24ca
11 changed files with 656 additions and 576 deletions

23
include/game_input.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef GAME_INPUT_H
#define GAME_INPUT_H
#include <nds.h>
#include "game_audio.h"
#include "game_render.h"
#include "game_state.h"
struct InputContext {
GameState *state = nullptr;
RenderAssets *renderAssets = nullptr;
AudioContext *audio = nullptr;
volatile bool *internals = nullptr;
PrintConsole *topScreen = nullptr;
void (*init_game)() = nullptr;
};
bool handle_input_frame(InputContext &ctx);
#endif