Hooked up the new serial code, nothing broke

This commit is contained in:
Kayne Ruse
2014-05-26 01:08:10 +10:00
parent 1dd8042d3d
commit 7b76e07231
2 changed files with 67 additions and 14 deletions
+7 -6
View File
@@ -68,6 +68,12 @@ union SerialPacket {
REGION_CONTENT,
REGION_REJECTION,
//combat data
COMBAT_ENTER,
COMBAT_EXIT,
COMBAT_REJECTION,
//character data
CHARACTER_NEW,
CHARACTER_DELETE,
@@ -88,12 +94,6 @@ union SerialPacket {
ENEMY_REJECTION,
//combat data
COMBAT_ENTER,
COMBAT_EXIT,
COMBAT_REJECTION,
//more packet types go here
//not used
@@ -141,6 +141,7 @@ union SerialPacket {
int difficulty;
//TODO: background image, based on terrain type
//TODO: array of combatants
//TODO: rewards
}combatInfo;
//info about a character