author | Tero Marttila <terom@fixme.fi> |
Fri, 19 Dec 2008 02:20:26 +0200 | |
changeset 10441 | d09735696a9e |
parent 9913 | d9ce89020cc0 |
permissions | -rw-r--r-- |
8775
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
1 |
/* $Id$ */ |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
2 |
|
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
3 |
/** @file waypoint_type.h Types related to waypoints. */ |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
4 |
|
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
5 |
#ifndef WAYPOINT_TYPE_H |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
6 |
#define WAYPOINT_TYPE_H |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
7 |
|
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
8 |
typedef uint16 WaypointID; |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
9 |
struct Waypoint; |
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
10 |
|
9913
d9ce89020cc0
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
rubidium
parents:
8775
diff
changeset
|
11 |
enum { |
d9ce89020cc0
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
rubidium
parents:
8775
diff
changeset
|
12 |
MAX_LENGTH_WAYPOINT_NAME_BYTES = 31, ///< The maximum length of a waypoint name in bytes including '\0' |
d9ce89020cc0
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
rubidium
parents:
8775
diff
changeset
|
13 |
MAX_LENGTH_WAYPOINT_NAME_PIXELS = 180, ///< The maximum length of a waypoint name in pixels |
d9ce89020cc0
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
rubidium
parents:
8775
diff
changeset
|
14 |
}; |
d9ce89020cc0
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
rubidium
parents:
8775
diff
changeset
|
15 |
|
8775
fd5e36ec9f6c
(svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h.
rubidium
parents:
diff
changeset
|
16 |
#endif /* WAYPOINT_TYPE_H */ |