summaryrefslogtreecommitdiffstats
path: root/edit.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-06-25 18:55:01 +0200
committerneoraider <devnull@localhost>2007-06-25 18:55:01 +0200
commitb8549034bef0de090547f32af07df248e68c7064 (patch)
tree2cf8128807a5d9e4b53e1461492b4930a2743ad3 /edit.h
parenta686a31daece494006e3ce841a5883472a0f412a (diff)
downloadzoomedit-b8549034bef0de090547f32af07df248e68c7064.tar
zoomedit-b8549034bef0de090547f32af07df248e68c7064.zip
zoomedit: Added Pixmap to drawing; added "point in polygon" checker; rooms are now selectable
Diffstat (limited to 'edit.h')
-rw-r--r--edit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/edit.h b/edit.h
new file mode 100644
index 0000000..c0f7d8f
--- /dev/null
+++ b/edit.h
@@ -0,0 +1,15 @@
+#ifndef EDIT_H_
+#define EDIT_H_
+
+#include "level.h"
+
+#define EDIT_MODE_VIEW 0
+#define EDIT_MODE_SELECTED 1
+#define EDIT_MODE_ADD 2
+
+int getEditMode();
+
+ROOM *getActiveRoom();
+void setActiveRoom(ROOM *room);
+
+#endif /*EDIT_H_*/