Changeset 60b77d2 in network-game


Ignore:
Timestamp:
Feb 5, 2013, 3:40:47 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
62ee2ce
Parents:
b128109
Message:

Added a Map class

Files:
2 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • common/Message.h

    rb128109 r60b77d2  
    66#define MSG_TYPE_LOGOUT       3
    77#define MSG_TYPE_CHAT         4
    8 #define MSG_TYPE_PLAYER       5
    9 #define MSG_TYPE_PLAYER_MOVE  6
     8#define MSG_TYPE_PLAYER       5  // server sends this to update player positions
     9#define MSG_TYPE_PLAYER_MOVE  6  // client sends this when a player wants to move
    1010
    1111typedef struct
  • readme.txt

    rb128109 r60b77d2  
     1This info is outdated. The latest info is on the github wiki.
     2
    13BoostPro Installer options
    24
  • server/makefile

    rb128109 r60b77d2  
    33FLAGS = $(LIB_FLAGS)
    44COMMON_PATH = ../common
    5 DEPENDENCIES = Common.o Message.o Player.o DataAccess.o
     5DEPENDENCIES = Common.o Message.o Player.o Map.o DataAccess.o
    66
    77server : server.cpp $(DEPENDENCIES)
     
    1717        $(CC) -c -o $@ $?
    1818
     19Map.o : $(COMMON_PATH)/Map.cpp
     20        $(CC) -c -o $@ $?
     21
    1922%.o : %.cpp
    2023        $(CC) -c -o $@ $?
Note: See TracChangeset for help on using the changeset viewer.