summaryrefslogtreecommitdiff
path: root/road_cmd.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-03 06:44:54 +0000
committertron <tron@openttd.org>2006-08-03 06:44:54 +0000
commited26c5e14c6d530b52ef199267648612c456a4d6 (patch)
treec97ab5288c58e7857825a1db757a20ad123891de /road_cmd.h
parent5f18b6792a67e8e06f3949da63cf11c37cb59d99 (diff)
downloadopenttd-ed26c5e14c6d530b52ef199267648612c456a4d6.tar.xz
(svn r5723) - Move the declaration of DrawRoadDepotSprite() out of functions.h (but I'm not too happy with the new header)
- Use DiagDirection instead of plain int for the orientation of the depot graphics - Rename the associated data tables with sprites to something more meaningful
Diffstat (limited to 'road_cmd.h')
-rw-r--r--road_cmd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/road_cmd.h b/road_cmd.h
new file mode 100644
index 000000000..aeda82db1
--- /dev/null
+++ b/road_cmd.h
@@ -0,0 +1,10 @@
+/* $Id$ */
+
+#ifndef ROAD_CMD_H
+#define ROAD_CMD_H
+
+#include "direction.h"
+
+void DrawRoadDepotSprite(int x, int y, DiagDirection dir);
+
+#endif