]> git.mxchange.org Git - flightgear.git/blob - src/Server/msg_0001_hello.cxx
Tune up the starter torque to match the recent changes to engine
[flightgear.git] / src / Server / msg_0001_hello.cxx
1 // message.hxx -- Multiplayer Client/Server message base class\r
2 //\r
3 // Written by John Barrett, started November 2003.\r
4 //\r
5 // Copyright (C) 2003  John R. Barrett - jbarrett@accesshosting.com\r
6 //\r
7 // This program is free software; you can redistribute it and/or\r
8 // modify it under the terms of the GNU General Public License as\r
9 // published by the Free Software Foundation; either version 2 of the\r
10 // License, or (at your option) any later version.\r
11 //\r
12 // This program is distributed in the hope that it will be useful, but\r
13 // WITHOUT ANY WARRANTY; without even the implied warranty of\r
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
15 // General Public License for more details.\r
16 //\r
17 // You should have received a copy of the GNU General Public License\r
18 // along with this program; if not, write to the Free Software\r
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
20 //\r
21 \r
22 \r
23 #include "msg_0001_hello.hxx"\r
24 \r
25 FGMPSMsg0001Hello::FGMPSMsg0001Hello() \r
26 {\r
27         msgid = FGMPSMsg0001HelloID;\r
28         elements[0].type = fgmps_uint;          elements[0].data = &vermajor;   \r
29         elements[1].type = fgmps_uint;          elements[1].data = &verminor;   \r
30         elements[2].type = fgmps_uint;          elements[2].data = &verpatch;   \r
31         elements[3].type = fgmps_string;        elements[3].data = &servname;   \r
32         elements[4].type = fgmps_null;          elements[4].data = NULL;        \r
33 }\r
34 \r
35 \r
36 \r
37 \r