From ce48af53646cd9e7ec762fc1ac176b3aa620b11d Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 5 May 2011 00:57:07 +0200 Subject: - refactorized the whole project and made a few subprojects - replaced tcp with enet - added connect dialog - some smaller bugfixes --- pacman-c++/proto/pacman.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pacman-c++/proto/pacman.proto (limited to 'pacman-c++/proto/pacman.proto') diff --git a/pacman-c++/proto/pacman.proto b/pacman-c++/proto/pacman.proto new file mode 100644 index 0000000..8e088e8 --- /dev/null +++ b/pacman-c++/proto/pacman.proto @@ -0,0 +1,18 @@ +package ProtoBuf; + +message KeyPressUpdate { + required uint32 newKey = 1; +} + +message Init { + required uint32 color = 1; + required uint32 maxplayers = 2; +} + +message MapUpdate { + repeated uint32 field = 1 [packed=true]; + repeated uint32 round_points = 2; + repeated uint32 game_points = 3; + repeated uint32 eating_order = 4; +} + -- cgit v1.2.3