Index: client/Client/Client.vcxproj
===================================================================
--- client/Client/Client.vcxproj	(revision f3cf1a5d1000dbc387a141a75d8586df215c2a89)
+++ client/Client/Client.vcxproj	(revision 5a64bea142d5f3694a0dd6c567c632ee4b97c3ee)
@@ -56,4 +56,5 @@
       <FunctionLevelLinking>true</FunctionLevelLinking>
       <IntrinsicFunctions>true</IntrinsicFunctions>
+      <AdditionalIncludeDirectories>c:\allegro\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     </ClCompile>
     <Link>
@@ -61,4 +62,6 @@
       <EnableCOMDATFolding>true</EnableCOMDATFolding>
       <OptimizeReferences>true</OptimizeReferences>
+      <AdditionalLibraryDirectories>c:\allegro\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+      <AdditionalDependencies>allegro-5.0.8-monolith-md.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
   </ItemDefinitionGroup>
Index: client/Client/Client.vcxproj.user
===================================================================
--- client/Client/Client.vcxproj.user	(revision f3cf1a5d1000dbc387a141a75d8586df215c2a89)
+++ client/Client/Client.vcxproj.user	(revision 5a64bea142d5f3694a0dd6c567c632ee4b97c3ee)
@@ -6,3 +6,11 @@
     <LocalDebuggerEnvironment>PATH=c:\allegro\bin;%PATH%</LocalDebuggerEnvironment>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LocalDebuggerCommandArguments>medievaltech.com 10000</LocalDebuggerCommandArguments>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LocalDebuggerEnvironment>PATH=c:\allegro\bin;%PATH%
+$(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
+    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+  </PropertyGroup>
 </Project>
Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision f3cf1a5d1000dbc387a141a75d8586df215c2a89)
+++ client/Client/main.cpp	(revision 5a64bea142d5f3694a0dd6c567c632ee4b97c3ee)
@@ -52,4 +52,5 @@
 POSITION screenToMap(POSITION pos);
 POSITION mapToScreen(POSITION pos);
+int getRefreshRate(int width, int height);
 
 // callbacks
@@ -100,5 +101,5 @@
 string username;
 chat chatConsole;
- 
+
 int main(int argc, char **argv)
 {
@@ -113,4 +114,5 @@
    unsigned int curPlayerId = -1;
    int scoreBlue, scoreRed;
+   bool fullscreen = false;
 
    scoreBlue = 0;
@@ -160,5 +162,11 @@
    }
  
-  display = al_create_display(SCREEN_W, SCREEN_H);
+   int refreshRate = getRefreshRate(SCREEN_W, SCREEN_H);
+   // if the computer doesn't support this resolution, just use windowed mode
+   if (refreshRate > 0 && fullscreen) {
+      al_set_new_display_flags(ALLEGRO_FULLSCREEN);
+      al_set_new_display_refresh_rate(refreshRate);
+   }
+   display = al_create_display(SCREEN_W, SCREEN_H);
    if(!display) {
       fprintf(stderr, "failed to create display!\n");
@@ -446,4 +454,6 @@
    return 0;
 }
+
+
 
 // need to make a function like this that works on windows
@@ -550,5 +560,6 @@
 
                   cout << "Got a valid login response with the player" << endl;
-                  cout << "Player id: " << curPlayerId << endl; 
+                  cout << "Player id: " << curPlayerId << endl;
+                  cout << "Player health: " << p.health << endl;
                   cout << "map size: " << mapPlayers.size() << endl;
                }
@@ -611,4 +622,6 @@
             case MSG_TYPE_PLAYER:
             {
+               cout << "Received MSG_TYPE_PLAYER" << endl;
+
                Player p("", "");
                p.deserialize(msg.buffer);
@@ -620,5 +633,11 @@
                   p.isDead = false;
 
+               cout << mapPlayers[p.id].pos.x << ", " << mapPlayers[p.id].pos.y << endl;
+               cout << "health:" << mapPlayers[p.id].health << endl;
+               cout << "is dead?:" << mapPlayers[p.id].isDead << endl;
                mapPlayers[p.id] = p;
+               cout << mapPlayers[p.id].pos.x << ", " << mapPlayers[p.id].pos.y << endl;
+               cout << "health:" << mapPlayers[p.id].health << endl;
+               cout << "is dead?:" << mapPlayers[p.id].isDead << endl;
 
                break;
@@ -956,2 +975,16 @@
    sendMessage(&msgTo, sock, &server);
 }
+
+int getRefreshRate(int width, int height) {
+   int numRefreshRates = al_get_num_display_modes();
+   ALLEGRO_DISPLAY_MODE displayMode;
+
+   for(int i=0; i<numRefreshRates; i++) {
+      al_get_display_mode(i, &displayMode);
+
+      if (displayMode.width == width && displayMode.height == height)
+         return displayMode.refresh_rate;
+   }
+
+   return 0;
+}
