Changeset b53c6b3 in network-game
- Timestamp:
- Dec 3, 2012, 1:18:53 PM (12 years ago)
- Branches:
- master
- Children:
- 1a1aebd, 3b1efcc
- Parents:
- cbc595d
- git-author:
- dportnoy <dmp1488@…> (12/03/12 13:17:58)
- git-committer:
- dportnoy <dmp1488@…> (12/03/12 13:18:53)
- Files:
-
- 4 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rcbc595d rb53c6b3 1 #include "../../common/compiler.h"2 3 1 #if defined WINDOWS 4 2 #include <winsock2.h> … … 23 21 #include <allegro5/allegro_ttf.h> 24 22 25 #include "../../common/message.h" 23 #include "../../common/Compiler.h" 24 #include "../../common/Message.h" 26 25 27 26 #include "Window.h" -
client/makefile
rcbc595d rb53c6b3 1 gameClient : ../common/ message.cpp Client/main.cpp1 gameClient : ../common/Message.cpp Client/main.cpp 2 2 g++ -o $@ $? -
common/Message.cpp
rcbc595d rb53c6b3 1 #include " message.h"1 #include "Message.h" 2 2 3 #include " compiler.h"3 #include "Compiler.h" 4 4 5 5 #if defined WINDOWS -
server/makefile
rcbc595d rb53c6b3 3 3 FLAGS = $(LIB_FLAGS) 4 4 COMMON_PATH = ../common 5 DEPENDENCIES = message.o Player.o DataAccess.o5 DEPENDENCIES = Message.o Player.o DataAccess.o 6 6 7 7 server : server.cpp $(DEPENDENCIES) 8 8 $(CC) -o $@ $+ $(FLAGS) 9 9 10 message.o : $(COMMON_PATH)/message.cpp10 Message.o : $(COMMON_PATH)/Message.cpp 11 11 $(CC) -c -o $@ $? 12 12 -
server/server.cpp
rcbc595d rb53c6b3 1 #include "../common/compiler.h"2 3 1 #include <cstdlib> 4 2 #include <cstdio> … … 21 19 #include <openssl/err.h> 22 20 21 #include "../common/Compiler.h" 22 #include "../common/Message.h" 23 23 24 #include "Player.h" 24 25 #include "DataAccess.h" 25 #include "../common/message.h"26 26 27 27 using namespace std;
Note:
See TracChangeset
for help on using the changeset viewer.