Skip to content

Commit 73d72d5

Browse files
committed
Remove unused stuff.
1 parent 7b71ce9 commit 73d72d5

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

src/engine_lib/src/debug_console.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ debug_console_command_compare(const void* a, const void* b, void* udata) {
2929
struct te_debug_console {
3030
struct hashmap* commands;
3131

32-
// Current user input. Non-NULL because preallocated. Size of this array is @ref input_len.
32+
// Current user input. Non-NULL because preallocated.
33+
// Actually valid char count is @ref input_valid_len.
34+
// Size of this array is @ref input_total_len.
3335
char* input;
3436

3537
// Result of the user input, displayed if @ref message_sec_left is > 0.

src/engine_lib/src/game_manager.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ struct te_game_manager {
2121
// Game worlds. Size of this array is @ref world_count.
2222
te_world** worlds;
2323

24-
te_debug_stats debug_stats;
25-
2624
// Number of elements in the @ref worlds array.
2725
unsigned int world_count;
2826
};
@@ -177,10 +175,3 @@ void
177175
prv_game_manager_on_window_size_changed(te_game_manager* game_manager) {
178176
prv_renderer_on_window_size_changed(game_manager->renderer);
179177
}
180-
181-
#if defined(ENGINE_DEBUG_TOOLS)
182-
te_debug_stats*
183-
prv_game_manager_get_debug_stats(te_game_manager* game_manager) {
184-
return &game_manager->debug_stats;
185-
}
186-
#endif

0 commit comments

Comments
 (0)