Changeset 384b7e0 in network-game for client


Ignore:
Timestamp:
Feb 12, 2013, 8:42:42 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
093c141
Parents:
62ee2ce
Message:

The client displays a small map upon login and lets the user move around

Location:
client/Client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • client/Client/Client.vcxproj.filters

    r62ee2ce r384b7e0  
    5656    </ClCompile>
    5757    <ClCompile Include="..\..\common\WorldMap.cpp">
    58       <Filter>Source Files\gui</Filter>
     58      <Filter>Source Files\common</Filter>
    5959    </ClCompile>
    6060  </ItemGroup>
  • client/Client/main.cpp

    r62ee2ce r384b7e0  
    2929#include "../../common/Message.h"
    3030#include "../../common/Common.h"
     31#include "../../common/WorldMap.h"
    3132#include "../../common/Player.h"
    32 #include "../../common/WorldMap.h"
    3333
    3434#include "Window.h"
     
    160160   }
    161161
    162    WorldMap* gameMap = WorldMap::createDefaultMap();
     162   WorldMap* gameMap = WorldMap::loadMapFromFile("../../data/map.txt");
     163   //delete gameMap;
     164   //gameMap = WorldMap::createDefaultMap();
    163165
    164166   wndLogin = new Window(0, 0, SCREEN_W, SCREEN_H);
Note: See TracChangeset for help on using the changeset viewer.