2013-12-16 09:00:11 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
// Created 2013 by:
|
|
|
|
// [Dennis Andersen], [Linda Andersson]
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
2013-12-09 11:57:34 +01:00
|
|
|
#ifndef GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H
|
|
|
|
#define GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H
|
|
|
|
|
|
|
|
/* THERE CAN ABSOLUTLEY NOT BE TWO DEFINITIONS WITH THE SAME ID!! */
|
|
|
|
|
2013-12-18 15:28:47 +01:00
|
|
|
#define protocol_Gameplay_PlayerNavigation 0
|
|
|
|
#define protocol_Gameplay_PlayerMouseMovement 1
|
|
|
|
#define protocol_Gameplay_PlayerPosition 2
|
|
|
|
#define protocol_Gameplay_CreateObject 3
|
|
|
|
#define protocol_Gameplay_RemoveObject 4
|
|
|
|
#define protocol_Gameplay_ObjectPosition 5
|
2013-12-18 12:18:01 +01:00
|
|
|
|
2013-12-18 15:28:47 +01:00
|
|
|
#define protocol_Status 50
|
2013-12-09 11:57:34 +01:00
|
|
|
|
2013-12-16 09:50:23 +01:00
|
|
|
#define protocol_Lobby_Msg 100
|
2013-12-16 09:00:11 +01:00
|
|
|
|
2013-12-16 09:50:23 +01:00
|
|
|
#define protocol_General_Disconnect 200
|
|
|
|
#define protocol_General_Ping 201
|
2013-12-16 09:00:11 +01:00
|
|
|
|
2013-12-16 09:50:23 +01:00
|
|
|
#define PROTOCOL_TEST 1000
|
2013-12-12 10:36:55 +01:00
|
|
|
|
2013-12-09 11:57:34 +01:00
|
|
|
#endif // !GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H
|