mirror of
https://github.com/jonthysell/MacLO.git
synced 2024-06-17 19:29:29 +00:00
31 lines
469 B
C
31 lines
469 B
C
// Copyright (c) Jon Thysell <http://jonthysell.com>
|
|
// Licensed under the MIT License.
|
|
|
|
#include "GameWindow.h"
|
|
#include "MacLO.h"
|
|
|
|
GameWindow gGameWindow;
|
|
|
|
void MacLO_InitToolBox()
|
|
{
|
|
InitGraf(&thePort);
|
|
InitFonts();
|
|
InitWindows();
|
|
InitMenus();
|
|
TEInit();
|
|
InitDialogs(nil);
|
|
FlushEvents(everyEvent, 0);
|
|
InitCursor();
|
|
}
|
|
|
|
void MacLO_InitWindows()
|
|
{
|
|
GameWindow_Init(&gGameWindow);
|
|
}
|
|
|
|
void MacLO_MainLoop()
|
|
{
|
|
while (!Button()) { }
|
|
}
|
|
|