- Timestamp:
- May 21, 2013, 10:00:54 PM (12 years ago)
- Branches:
- master
- Children:
- 5f868c0
- Parents:
- cc1c6c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
rcc1c6c1 r6e66ffd 95 95 96 96 WorldMap* gameMap = WorldMap::loadMapFromFile("../data/map.txt"); 97 97 98 // add some items to the map. They will be sent out 99 // to players when they login 100 // m->addObject(x*25+12, y*25+12, OBJECT_BLUE_FLAG); 101 // m->addObject(x*25+12, y*25+12, OBJECT_RED_FLAG); 102 98 103 sock = socket(AF_INET, SOCK_DGRAM, 0); 99 104 if (sock < 0) error("Opening socket");
Note:
See TracChangeset
for help on using the changeset viewer.