mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-16 00:08:15 +00:00
Review build system for Android and RPI
This commit is contained in:
14
src/core.c
14
src/core.c
@@ -170,7 +170,6 @@ static Matrix downscaleView; // Matrix to downscale view (in case
|
||||
|
||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_RPI) || defined(PLATFORM_WEB)
|
||||
static const char *windowTitle; // Window text title...
|
||||
static char configFlags = 0;
|
||||
|
||||
static bool customCursor = false; // Tracks if custom cursor has been set
|
||||
static bool cursorOnScreen = false; // Tracks if cursor is inside client area
|
||||
@@ -204,6 +203,7 @@ static double updateTime, drawTime; // Time measures for update and draw
|
||||
static double frameTime; // Time measure for one frame
|
||||
static double targetTime = 0.0; // Desired time for one frame, if 0 not applied
|
||||
|
||||
static char configFlags = 0;
|
||||
static bool showLogo = false;
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
@@ -455,12 +455,6 @@ int GetScreenHeight(void)
|
||||
return screenHeight;
|
||||
}
|
||||
|
||||
// Get the last key pressed
|
||||
int GetKeyPressed(void)
|
||||
{
|
||||
return lastKeyPressed;
|
||||
}
|
||||
|
||||
// Sets Background Color
|
||||
void ClearBackground(Color color)
|
||||
{
|
||||
@@ -674,6 +668,12 @@ bool IsKeyUp(int key)
|
||||
else return false;
|
||||
}
|
||||
|
||||
// Get the last key pressed
|
||||
int GetKeyPressed(void)
|
||||
{
|
||||
return lastKeyPressed;
|
||||
}
|
||||
|
||||
// Detect if a mouse button has been pressed once
|
||||
bool IsMouseButtonPressed(int button)
|
||||
{
|
||||
|
Reference in New Issue
Block a user