network_data.h
changeset 1977 37bbebf94434
parent 1891 862800791170
child 2186 db48cf29b983
equal deleted inserted replaced
1976:2eb82bb3cb2d 1977:37bbebf94434
    35 	struct CommandPacket *next;
    35 	struct CommandPacket *next;
    36 	byte player;   /// player that is executing the command (PlayerID)
    36 	byte player;   /// player that is executing the command (PlayerID)
    37 	uint32 cmd;    /// command being executed
    37 	uint32 cmd;    /// command being executed
    38 	uint32 p1;     /// parameter p1
    38 	uint32 p1;     /// parameter p1
    39 	uint32 p2;     /// parameter p2
    39 	uint32 p2;     /// parameter p2
    40 	uint32 tile;   /// tile command being executed on ; always make it uint32, so it is bigmap compatible (TileIndex)
    40 	TileIndex tile; /// tile command being executed on
    41 	char text[80];
    41 	char text[80];
    42 	uint32 frame;  /// the frame in which this packet is executed
    42 	uint32 frame;  /// the frame in which this packet is executed
    43 	byte callback; /// any callback function executed upon successful completion of the command
    43 	byte callback; /// any callback function executed upon successful completion of the command
    44 } CommandPacket;
    44 } CommandPacket;
    45 
    45