Author: sveinung
Date: Sun Dec  6 10:13:32 2015
New Revision: 30861

URL: http://svn.gna.org/viewcvs/freeciv?rev=30861&view=rev
Log:
packets.def: make enum barbarian_type explicit

Record in packets.def what type enum barbarian_type fields have.

See patch #6651

Modified:
    trunk/common/packets.def

Modified: trunk/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/packets.def?rev=30861&r1=30860&r2=30861&view=diff
==============================================================================
--- trunk/common/packets.def    (original)
+++ trunk/common/packets.def    Sun Dec  6 10:13:32 2015
@@ -214,6 +214,7 @@
 type VICTORY_CONDITIONS = uint8(enum victory_condition_type)
 type TECH_UPKEEP_STYLE  = uint8(enum tech_upkeep_style)
 type AUTH_TYPE          = uint8(enum authentication_type)
+type BARBARIAN_TYPE     = uint8(enum barbarian_type)
 type BASE_GUI           = uint8(enum base_gui_type)
 type BORDERS_MODE       = uint8(enum borders_mode)
 type CLAUSE             = uint8(enum clause_type)
@@ -816,7 +817,7 @@
   BOOL is_connected;
   TURN revolution_finishes;
   UINT8 ai_skill_level;
-  UINT8 barbarian_type;
+  BARBARIAN_TYPE barbarian_type;
   BV_PLAYER gives_shared_vision;
   UINT16 culture;
   SINT16 love[MAX_NUM_PLAYER_SLOTS];
@@ -1458,7 +1459,7 @@
   BOOL leader_is_male[MAX_NUM_LEADERS:leader_count];
 
   BOOL is_playable;
-  UINT8 barbarian_type;
+  BARBARIAN_TYPE barbarian_type;
   
   UINT8 nsets;
   UINT8 sets[MAX_NUM_NATION_SETS:nsets];


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to