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
commit878489e38dc875e644c5de25f690c4aa64aa2d19 (patch)
tree23f7fccf6188a92b23e3ba940ae3cc7e798d5db5 /src/group.h
parent58e6e75320a3d6ca864625f6dbd2cbb961997edc (diff)
downloadopenttd-878489e38dc875e644c5de25f690c4aa64aa2d19.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> {