/* Copyright (C) 1998 Pyrosoft Inc. (www.pyrosoftgames.com), Matthew Bogue This program 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; either version 2 of the License, or (at your option) any later version. This program 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. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _TERMINALNETMESG_HPP #define _TERMINALNETMESG_HPP #include "NetMessage.hpp" #include "UnitMessageTypes.hpp" #include "ObjectiveMessageTypes.hpp" enum { _net_message_id_term_unit_cmd, _net_message_id_term_unit_gen, _net_message_id_term_output_loc }; #ifdef MSVC #pragma pack(1) #endif class TerminalUnitCmdRequest : public NetMessage { public: UMesgAICommand comm_request; TerminalUnitCmdRequest() { message_class = _net_message_class_terminal; message_id = _net_message_id_term_unit_cmd; } } __attribute__((packed)); class TerminalOutpostUnitGenRequest : public NetMessage { public: ChangeUnitGeneration unit_gen_request; TerminalOutpostUnitGenRequest() { message_class = _net_message_class_terminal; message_id = _net_message_id_term_unit_gen; } } __attribute__((packed)); class TerminalOutpostOutputLocRequest : public NetMessage { public: ChangeOutputLocation output_loc_request; TerminalOutpostOutputLocRequest() { message_class = _net_message_class_terminal; message_id = _net_message_id_term_output_loc; } } __attribute__((packed)); #ifdef MSVC #pragma pack() #endif #endif