summaryrefslogtreecommitdiff
path: root/src/group.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-28 16:34:50 +0000
committerrubidium <rubidium@openttd.org>2008-03-28 16:34:50 +0000
commitbf54e0ba1c939f0aaa544d80edc4fbde77f66140 (patch)
tree23f7fccf6188a92b23e3ba940ae3cc7e798d5db5 /src/group.h
parenteba67a3b8f7a16a56962b6ca582bf4206ce3790c (diff)
downloadopenttd-bf54e0ba1c939f0aaa544d80edc4fbde77f66140.tar.xz
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
Diffstat (limited to 'src/group.h')
-rw-r--r--src/group.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/group.h b/src/group.h
index 2693523ac..da6ec7f2a 100644
--- a/src/group.h
+++ b/src/group.h
@@ -5,18 +5,12 @@
#ifndef GROUP_H
#define GROUP_H
+#include "group_type.h"
#include "oldpool.h"
#include "player_type.h"
#include "vehicle_type.h"
#include "engine.h"
-enum {
- ALL_GROUP = 0xFFFD,
- DEFAULT_GROUP = 0xFFFE, ///< ungrouped vehicles are in this group.
- INVALID_GROUP = 0xFFFF,
-};
-
-struct Group;
DECLARE_OLD_POOL(Group, Group, 5, 2047)
struct Group : PoolItem<Group, GroupID, &_Group_pool> {