Mercurial > hg > openttd
annotate src/script/api/game/game_waypointlist.hpp.sq @ 20667:55cadfa90ef5 draft
(svn r25623) -Fix [FS#5611] (r25296): Progress column width in goal window was not updated when a string changed while the window is open
author | zuu <zuu@openttd.org> |
---|---|
date | Sun, 21 Jul 2013 15:59:07 +0000 (2013-07-21) |
parents | 50f4f95caf36 |
children |
rev | line source |
---|---|
18767
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
1 /* $Id$ */ |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
2 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
3 /* |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
4 * This file is part of OpenTTD. |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
8 */ |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
9 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
10 /* THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY */ |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
11 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
12 #include "../script_waypointlist.hpp" |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
13 #include "../template/template_waypointlist.hpp.sq" |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
14 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
15 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
16 template <> const char *GetClassName<ScriptWaypointList, ST_GS>() { return "GSWaypointList"; } |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
17 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
18 void SQGSWaypointList_Register(Squirrel *engine) |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
19 { |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
20 DefSQClass<ScriptWaypointList, ST_GS> SQGSWaypointList("GSWaypointList"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
21 SQGSWaypointList.PreRegister(engine, "GSList"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
22 SQGSWaypointList.AddConstructor<void (ScriptWaypointList::*)(ScriptWaypoint::WaypointType waypoint_type), 2>(engine, "xi"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
23 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
24 SQGSWaypointList.PostRegister(engine); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
25 } |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
26 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
27 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
28 template <> const char *GetClassName<ScriptWaypointList_Vehicle, ST_GS>() { return "GSWaypointList_Vehicle"; } |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
29 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
30 void SQGSWaypointList_Vehicle_Register(Squirrel *engine) |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
31 { |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
32 DefSQClass<ScriptWaypointList_Vehicle, ST_GS> SQGSWaypointList_Vehicle("GSWaypointList_Vehicle"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
33 SQGSWaypointList_Vehicle.PreRegister(engine, "GSList"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
34 SQGSWaypointList_Vehicle.AddConstructor<void (ScriptWaypointList_Vehicle::*)(VehicleID vehicle_id), 2>(engine, "xi"); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
35 |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
36 SQGSWaypointList_Vehicle.PostRegister(engine); |
50f4f95caf36
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
truebrain <truebrain@openttd.org>
parents:
diff
changeset
|
37 } |