added kubo_state_wall_new

This commit is contained in:
Luka Jankovic 2025-09-27 16:42:59 +02:00
parent fb8ff21666
commit c3973ae02b
9 changed files with 96 additions and 26 deletions

View file

@ -46,17 +46,6 @@ void kubo_context_set_state(struct kubo_context *context,
enum kubo_context_state state) {
context->state = kubo_context_states[state];
// switch (context->state.id) {
// case KUBO_CONTEXT_COMMAND:
// break;
//
// case KUBO_CONTEXT_WALL_NEW:
// break;
//
// default:
// break;
// }
for (unsigned i = 0; i < kubo_state_data_length; i++) {
if (context->state.id == kubo_state_data[i].id &&
kubo_state_data[i].data.state_entered != NULL) {