Added basic server list, and added yield calls

This commit is contained in:
Kayne Ruse
2013-05-20 17:43:16 +10:00
parent d5409d2006
commit d76cbe13da
6 changed files with 52 additions and 12 deletions
+8 -1
View File
@@ -14,6 +14,11 @@
#include <vector>
#include <string>
struct Server {
std::string name;
IPaddress add;
};
class Lobby : public BaseScene {
public:
//Public access members
@@ -37,7 +42,7 @@ protected:
//utilities
void PingNetwork();
// void JoinRequest();
void PushServer(Packet*);
//members
ConfigUtility* configUtil = nullptr;
@@ -46,6 +51,8 @@ protected:
RasterFont font;
Button pingButton;
std::vector<Server> serverVector;
};
#endif