viewport.c
changeset 1093 e8d26c7dc42f
parent 1083 2e9d525af38d
child 1095 90220990fd7c
--- a/viewport.c	Sat Jan 22 19:41:30 2005 +0000
+++ b/viewport.c	Sat Jan 22 20:23:18 2005 +0000
@@ -320,7 +320,7 @@
 	return pt;
 }
 
-Point GetTileBelowCursor()
+Point GetTileBelowCursor(void)
 {
 	return GetTileFromScreenXY(_cursor.pos.x, _cursor.pos.y, _cursor.pos.x, _cursor.pos.y);
 }
@@ -473,12 +473,12 @@
 	}
 }
 
-void StartSpriteCombine()
+void StartSpriteCombine(void)
 {
 	_cur_vd->combine_sprites = 1;
 }
 
-void EndSpriteCombine()
+void EndSpriteCombine(void)
 {
 	_cur_vd->combine_sprites = 0;
 }
@@ -550,7 +550,7 @@
 static int _stored_track[200];
 static int _num_stored;
 
-void dbg_store_path()
+void dbg_store_path(void)
 {
 	memcpy(_stored_tile, _pushed_tile, sizeof(_stored_tile));
 	memcpy(_stored_track, _pushed_track, sizeof(_stored_tile));
@@ -565,7 +565,7 @@
 	dbg_store_path();
 }
 
-void dbg_pop_tile()
+void dbg_pop_tile(void)
 {
 	_num_push--;
 }
@@ -711,7 +711,7 @@
 	}
 }
 
-static void ViewportAddLandscape()
+static void ViewportAddLandscape(void)
 {
 	ViewportDrawer *vd = _cur_vd;
 	int x, y, width, height;
@@ -1427,7 +1427,7 @@
 	);
 }
 
-static void SetSelectionTilesDirty()
+static void SetSelectionTilesDirty(void)
 {
 	int y_size, x_size;
 	TileHighlightData *thd = _thd_ptr;
@@ -1716,7 +1716,7 @@
 	}
 }
 
-Vehicle *CheckMouseOverVehicle()
+Vehicle *CheckMouseOverVehicle(void)
 {
 	Window *w;
 	ViewPort *vp;
@@ -1738,7 +1738,7 @@
 
 
 
-void PlaceObject()
+void PlaceObject(void)
 {
 	Point pt;
 	Window *w;
@@ -1852,7 +1852,7 @@
 }
 
 // called regular to update tile highlighting in all cases
-void UpdateTileSelection()
+void UpdateTileSelection(void)
 {
 	TileHighlightData *thd = _thd_ptr;
 	Point pt;
@@ -1956,7 +1956,7 @@
 	thd->next_drawstyle = HT_RECT;
 }
 
-void VpStartPreSizing()
+void VpStartPreSizing(void)
 {
 	_thd.selend.x = -1;
 	_special_mouse_mode = WSM_PRESIZE;
@@ -2131,7 +2131,7 @@
 }
 
 // while dragging 
-bool VpHandlePlaceSizingDrag()
+bool VpHandlePlaceSizingDrag(void)
 {
 	Window *w;
 	WindowEvent e;
@@ -2225,6 +2225,7 @@
 		SetMouseCursor(icon);
 }
 
-void ResetObjectToPlace(){
+void ResetObjectToPlace(void)
+{
 	SetObjectToPlace(0,0,0,0);
 }