src/gfx.h
changeset 6878 5cefd3ac59c7
parent 6729 302e2c8fff07
child 6937 40c760fcf1f6
--- a/src/gfx.h	Tue Jun 12 18:10:14 2007 +0000
+++ b/src/gfx.h	Tue Jun 12 20:24:12 2007 +0000
@@ -7,6 +7,7 @@
 
 #include "openttd.h"
 #include "zoom.hpp"
+#include "renderer/renderer.hpp"
 
 enum WindowKeyCodes {
 	WKC_SHIFT = 0x8000,
@@ -93,7 +94,6 @@
 void CreateConsole();
 
 typedef int32 CursorID;
-typedef byte Pixel;
 
 struct Point {
 	int x,y;
@@ -134,10 +134,11 @@
 };
 
 struct DrawPixelInfo {
-	Pixel *dst_ptr;
+	void *dst_ptr;
 	int left, top, width, height;
 	int pitch;
 	ZoomLevel zoom;
+	Renderer *renderer;
 };
 
 struct Colour {