mirror of
https://github.com/jonthysell/MacLO.git
synced 2024-06-17 19:29:29 +00:00
2ce4236ea7
* Added a proper event loop * Added minimal menu bars * Added about menu * GameWindow initializes a GameEngine (even if you can't play it yet) * Updated variable naming conventions
20 lines
413 B
C
20 lines
413 B
C
// Copyright (c) Jon Thysell <http://jonthysell.com>
|
|
// Licensed under the MIT License.
|
|
|
|
#ifndef MACCOMMON_H
|
|
#define MACCOMMON_H
|
|
|
|
#define BaseResID 128
|
|
#define MoveToFront (WindowPtr)-1L
|
|
|
|
#define EmptyString "\p"
|
|
#define NilFilterProc nil
|
|
|
|
#define ErrorAlertResID BaseResID
|
|
|
|
void CenterWindow(WindowPtr window);
|
|
Boolean IsCompactDisplay();
|
|
void ShowError(Str255 message, Boolean isFatal);
|
|
|
|
#endif
|