Changeset 8aed9c0 in network-game
- Timestamp:
- Dec 28, 2013, 2:21:46 PM (11 years ago)
- Branches:
- master
- Children:
- bcfd99a
- Parents:
- 360c0f1
- Location:
- client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
client/.gitignore
r360c0f1 r8aed9c0 8 8 allegro.log 9 9 client.log 10 *.o -
client/Client/main.cpp
r360c0f1 r8aed9c0 23 23 #include <map> 24 24 #include <vector> 25 #include <stdexcept> 25 26 26 27 #include <allegro5/allegro.h> … … 880 881 cout << "Received a JOIN_GAME_SUCCESS message" << endl; 881 882 882 string gameName(msg.buffer); 883 game = new Game(gameName, "../../data/map.txt"); 883 string gameName(msg.buffer); 884 885 #if defined WINDOWS 886 game = new Game(gameName, "../../data/map.txt"); 887 #elif defined LINUX 888 game = new Game(gameName, "../data/map.txt"); 889 #endif 890 884 891 cout << "Game name: " << gameName << endl; 885 892 -
client/makefile
r360c0f1 r8aed9c0 3 3 FLAGS = $(LIB_FLAGS) 4 4 COMMON_PATH = ../common 5 DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o Projectile.o Game.o GameRender.o chat.o GuiComponent.o Window.o Textbox.o Button.o RadioButtonList.o TextLabel.o5 DEPENDENCIES = Common.o MessageContainer.o MessageProcessor.o Player.o WorldMap.o Projectile.o Game.o GameRender.o GameSummary.o chat.o GuiComponent.o Window.o Textbox.o Button.o RadioButtonList.o TextLabel.o 6 6 7 7 gameClient : Client/main.cpp $(DEPENDENCIES) … … 29 29 $(CC) -c -o $@ $? $(FLAGS) 30 30 31 GameSummary.o : $(COMMON_PATH)/GameSummary.cpp 32 $(CC) -c -o $@ $? $(FLAGS) 33 31 34 %.o : Client/%.cpp 32 35 $(CC) -c -o $@ $? $(FLAGS)
Note:
See TracChangeset
for help on using the changeset viewer.