src/map_func.h
branchnoai
changeset 11126 72d4c9314c72
parent 10829 8a0ec0f0f928
--- a/src/map_func.h	Mon Jun 30 21:31:23 2008 +0000
+++ b/src/map_func.h	Wed Jul 09 13:32:13 2008 +0000
@@ -383,15 +383,15 @@
  * A callback function type for searching tiles.
  *
  * @param tile The tile to test
- * @param data additional data for the callback function to use
+ * @param user_data additional data for the callback function to use
  * @return A boolean value, depend on the definition of the function.
  */
-typedef bool TestTileOnSearchProc(TileIndex tile, uint32 data);
+typedef bool TestTileOnSearchProc(TileIndex tile, void *user_data);
 
 /**
  * Searches for some cirumstances of a tile around a given tile with a helper function.
  */
-bool CircularTileSearch(TileIndex *tile, uint size, TestTileOnSearchProc proc, uint32 data);
+bool CircularTileSearch(TileIndex *tile, uint size, TestTileOnSearchProc proc, void *user_data);
 
 /**
  * Get a random tile out of a given seed.