mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetic: rename the main event function
This commit is contained in:
parent
ce80abf359
commit
0c4085e862
@ -299,7 +299,7 @@ static void FinishObjects (void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void WindowProc2 (const SDL_Event &event)
|
static void HandleEvent (const SDL_Event &event)
|
||||||
{
|
{
|
||||||
POINT totalDim, iconDim;
|
POINT totalDim, iconDim;
|
||||||
|
|
||||||
@ -646,8 +646,7 @@ static void initGettext ()
|
|||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
while (SDL_WaitEvent (&event))
|
while (SDL_WaitEvent (&event))
|
||||||
{
|
{
|
||||||
WindowProc2 (event);
|
HandleEvent (event);
|
||||||
|
|
||||||
if (event.type == SDL_QUIT)
|
if (event.type == SDL_QUIT)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user