Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
shpext.c
Go to the documentation of this file.
1/*
2 * Shape frame extent.
3 *
4 * Retail object 0x447170-0x4471AF (link order; see docs/ORDER.md).
5 */
6#include "game.h"
7
8/* Function start: 0x447170 */
9short GetShapeFrameExtent(short x, short y,
10 unsigned char *shape, short frame,
11 short extent)
12{
13 short bounds[4];
14
15 GetShapeFrameBounds(bounds, x, y, shape, frame);
16 return bounds[extent];
17}
short GetShapeFrameBounds(short *bounds, short x, short y, unsigned char *shape, short frame)
Definition eventmgr.c:228
short GetShapeFrameExtent(short x, short y, unsigned char *shape, short frame, short extent)
Definition shpext.c:9
Shared Win32 declarations, types and library interfaces.