-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
289 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
#pragma once | ||
|
||
#include <SDL2/SDL.h> | ||
#include <SDL2/SDL_events.h> | ||
#include <stdbool.h> | ||
#include <libtrx/game/console/common.h> | ||
|
||
void Console_Init(void); | ||
void Console_Shutdown(void); | ||
void Console_Draw(void); | ||
|
||
void Console_Open(void); | ||
void Console_Close(void); | ||
bool Console_IsOpened(void); | ||
|
||
void Console_Confirm(void); | ||
|
||
void Console_HandleKeyDown(const SDL_Event event); | ||
void Console_HandleTextEdit(const SDL_Event event); | ||
void Console_HandleTextInput(const SDL_Event event); | ||
|
||
void Console_Log(const char *fmt, ...); | ||
void Console_ScrollLogs(void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.