branch | noai |
changeset 9680 | 5ed7bbfd51c7 |
parent 9679 | 788e083db48b |
child 9682 | d031eb183733 |
--- a/src/ai/api/ai_object.hpp Thu Jul 19 17:13:38 2007 +0000 +++ b/src/ai/api/ai_object.hpp Thu Jul 19 19:42:54 2007 +0000 @@ -29,6 +29,7 @@ CommandCost costs; VehicleID new_vehicle_id; SignID new_sign_id; + void *event_data; }; /** @@ -92,6 +93,11 @@ */ static SignID GetNewSignID(); + /** + * Get the pointer to store event data in. + */ + static void **GetEventPointer(); + public: /** * Store a new_vehicle_id per player.