Reformatting .pro files, adding test skeleton.

This commit is contained in:
lotodore
2010-10-13 17:47:16 +00:00
parent b87fd5162f
commit 3b1ed27175
7 changed files with 957 additions and 934 deletions
+18
View File
@@ -0,0 +1,18 @@
#include <boost/shared_ptr.hpp>
#include <net/netpacket.h>
#include <game_defs.h>
int
main()
{
boost::shared_ptr<NetPacket> packet(new NetPacket(NetPacket::Alloc));
packet->GetMsg()->present = PokerTHMessage_PR_announceMessage;
AnnounceMessage_t *netAnnounce = &packet->GetMsg()->choice.announceMessage;
netAnnounce->protocolVersion.major = NET_VERSION_MAJOR;
netAnnounce->protocolVersion.minor = NET_VERSION_MINOR;
netAnnounce->latestGameVersion.major = POKERTH_VERSION_MAJOR;
netAnnounce->latestGameVersion.minor = POKERTH_VERSION_MINOR;
netAnnounce->latestBetaRevision = POKERTH_BETA_REVISION;
return 0;
}