diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:14 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:14 +0000 |
commit | 403cd3acdb7b7fedf2b5e823326611bb32113385 (patch) | |
tree | dff28e68ec5c8015279ea1120dc822f2896f9ace /src/script/api/ai/ai_event.hpp.sq | |
parent | 3ada3b9cc5b63a593c2b2655aafedbcbdedcd041 (diff) | |
download | openttd-403cd3acdb7b7fedf2b5e823326611bb32113385.tar.xz |
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
Diffstat (limited to 'src/script/api/ai/ai_event.hpp.sq')
-rw-r--r-- | src/script/api/ai/ai_event.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/ai/ai_event.hpp.sq b/src/script/api/ai/ai_event.hpp.sq index df515755d..e18845188 100644 --- a/src/script/api/ai/ai_event.hpp.sq +++ b/src/script/api/ai/ai_event.hpp.sq @@ -46,6 +46,7 @@ void SQAIEvent_Register(Squirrel *engine) SQAIEvent.DefSQConst(engine, ScriptEvent::ET_TOWN_FOUNDED, "ET_TOWN_FOUNDED"); SQAIEvent.DefSQConst(engine, ScriptEvent::ET_AIRCRAFT_DEST_TOO_FAR, "ET_AIRCRAFT_DEST_TOO_FAR"); SQAIEvent.DefSQConst(engine, ScriptEvent::ET_ADMIN_PORT, "ET_ADMIN_PORT"); + SQAIEvent.DefSQConst(engine, ScriptEvent::ET_WINDOW_WIDGET_CLICK, "ET_WINDOW_WIDGET_CLICK"); SQAIEvent.DefSQMethod(engine, &ScriptEvent::GetEventType, "GetEventType", 1, "x"); |