added simple struct for points

This commit is contained in:
Steffen Vogel 2012-01-19 14:30:34 +01:00
parent 5f7e90e41f
commit 24a2fb4b95
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@
#include <string>
using namespace std;
typedef union {
struct {
int x, y;
};
struct {
int width, height;
};
} Koordinaten;
// Funktionen der Library
bool bInitialisiereGrafik(int sizeX, int sizeY, bool bStarteServer = true, const string& sServer = "localhost", const unsigned short iPort = 7654);
bool bZeichneKreuzung(int posX, int posY);