shithub: cstory

ref: b5699d976026e3c02f54727056efac0986e1be68
dir: /src/WindowsWrapper.h/

View raw version
#pragma once

int rep_rand();
void rep_srand(unsigned int seed);

typedef int BOOL;

#ifndef FALSE
#define FALSE 0
#endif

#ifndef TRUE
#define TRUE 1
#endif

#define SET_RECT(rect, l, t, r, b) \
	rect.left = l; \
	rect.top = t; \
	rect.right = r; \
	rect.bottom = b;

struct RECT
{
	union
	{
		int left;
		int front;
	};
	int top;
	union
	{
		int right;
		int back;
	};
	int bottom;
};

bool SystemTask();