diff -r d3228c6a1376 -r a5f5a7cf2b61 src/ai/api/ai_object.hpp --- a/src/ai/api/ai_object.hpp Mon Mar 31 17:20:44 2008 +0000 +++ b/src/ai/api/ai_object.hpp Mon Mar 31 18:33:33 2008 +0000 @@ -45,6 +45,7 @@ VehicleID new_vehicle_id; SignID new_sign_id; void *event_data; + void *log_data; }; /** @@ -156,6 +157,12 @@ * @note NEVER use this yourself in your AI! */ static void ResetInternalPlayerData(); + + /** + * Get the pointer to store log message in. + * @note NEVER use this yourself in your AI! + */ + static void *&GetLogPointer(); }; #endif /* AI_OBJECT_HPP */