File: region.h

package info (click to toggle)
sludge 2.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,852 kB
  • sloc: cpp: 32,432; sh: 1,237; makefile: 634; xml: 284
file content (15 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct screenRegion {
	int x1, y1, x2, y2, sX, sY, di;
	objectType * thisType;
	screenRegion * next;
};

bool addScreenRegion (int x1, int y1, int x2, int y2, int, int, int, int objectNum);
void getOverRegion ();
screenRegion * getRegionForObject (int obj);
void removeScreenRegion (int objectNum);
void killAllRegions ();
void loadRegions (FILE *);
void saveRegions (FILE *);
void showBoxes ();