mirror of
https://github.com/softdorothy/GliderPRO.git
synced 2025-01-14 17:31:07 +00:00
7a70d18ba6
Sources for Glider PRO, a Macintosh game written by John Calhoun and published by Casady & Greene, Inc. I believe it was using CodeWarrior IDE to create a fat (68K and PowerPC) binary.
1 line
1.1 KiB
C
Executable File
1 line
1.1 KiB
C
Executable File
//============================================================================
|
|
//----------------------------------------------------------------------------
|
|
// RectUtils.h
|
|
//----------------------------------------------------------------------------
|
|
//============================================================================
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include <Quickdraw.h>
|
|
|
|
|
|
void FrameWHRect (short, short, short, short);
|
|
void NormalizeRect (Rect *);
|
|
void ZeroRectCorner (Rect *);
|
|
void CenterRectOnPoint (Rect *, Point);
|
|
short HalfRectWide (Rect *);
|
|
short HalfRectTall (Rect *);
|
|
short RectWide (Rect *);
|
|
short RectTall (Rect *);
|
|
void GlobalToLocalRect (Rect *);
|
|
void LocalToGlobalRect (Rect *);
|
|
void CenterRectInRect (Rect *, Rect *);
|
|
void HOffsetRect (Rect *, short);
|
|
void VOffsetRect (Rect *, short);
|
|
Boolean IsRectLeftOfRect (Rect *, Rect *);
|
|
void QOffsetRect (Rect *, short, short);
|
|
void QSetRect (Rect *, short, short, short, short);
|
|
Boolean ForceRectInRect (Rect *, Rect *);
|
|
void QUnionSimilarRect (Rect *, Rect *, Rect *);
|
|
void FrameRectSansCorners (Rect *);
|
|
void SetEraseRect (short, short, short, short);
|