replace context offset with Camera2D

This commit is contained in:
Luka Jankovic 2025-08-13 23:48:14 +02:00
parent 2026f8ac8d
commit af7d6dee00
11 changed files with 132 additions and 70 deletions

View file

@ -51,9 +51,6 @@ struct kubo_context {
struct kubo_wall_arr walls;
struct kubo_context_state_data state;
int offset_x;
int offset_y;
// KUBO_CONTEXT_WALL_SELECT
size_t wall_select_index;
};
@ -74,6 +71,4 @@ void kubo_context_input_down(struct kubo_context *context);
void kubo_context_input_left(struct kubo_context *context);
void kubo_context_input_right(struct kubo_context *context);
void kubo_context_reset_offset(struct kubo_context *context);
#endif