Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct order of universal values #880

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 62 additions & 58 deletions freeciv-web/src/main/webapp/javascript/fc_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,65 +302,69 @@ var ACT_DEC_ACTIVE = 2;
/* The kind of universals_u (value_union_type was req_source_type).
* Used in the network protocol. */
var VUT_NONE = 0;
var VUT_ADVANCE = 1;
var VUT_GOVERNMENT = 2;
var VUT_IMPROVEMENT = 3;
var VUT_TERRAIN = 4;
var VUT_NATION = 5;
var VUT_UTYPE = 6;
var VUT_UTFLAG = 7;
var VUT_UCLASS = 8;
var VUT_UCFLAG = 9;
var VUT_OTYPE = 10;
var VUT_SPECIALIST = 11;
var VUT_MINSIZE = 12; /* Minimum size: at city range means city size */
var VUT_AI_LEVEL = 13; /* AI level of the player */
var VUT_TERRAINCLASS = 14; /* More generic terrain type, currently "Land" or "Ocean" */
var VUT_MINYEAR = 15;
var VUT_TERRAINALTER = 16; /* Terrain alterations that are possible */
var VUT_CITYTILE = 17; /* Target tile is used by city. */
var VUT_ACHIEVEMENT = 1;
var VUT_ACTION = 2;
var VUT_ACTIVITY = 3;
var VUT_ADVANCE = 4;
var VUT_AGE = 5;
var VUT_AI_LEVEL = 6;
var VUT_CITYSTATUS = 7;
var VUT_CITYTILE = 8;
var VUT_COUNTER = 9;
var VUT_DIPLREL = 10;
var VUT_DIPLREL_TILE = 11;
var VUT_DIPLREL_TILE_O = 12;
var VUT_DIPLREL_UNITANY = 13;
var VUT_DIPLREL_UNITANY_O = 14;
var VUT_EXTRA = 15;
var VUT_EXTRAFLAG = 16;
var VUT_FORM_AGE = 17;
var VUT_GOOD = 18;
var VUT_TERRFLAG = 19;
var VUT_NATIONALITY = 20;
var VUT_ROADFLAG = 21;
var VUT_EXTRA = 22;
var VUT_TECHFLAG = 23;
var VUT_ACHIEVEMENT = 24;
var VUT_DIPLREL = 25;
var VUT_MAXTILEUNITS = 26;
var VUT_STYLE = 27;
var VUT_MINCULTURE = 28;
var VUT_UNITSTATE = 29;
var VUT_MINMOVES = 30;
var VUT_MINVETERAN = 31;
var VUT_MINHP = 32;
var VUT_AGE = 33;
var VUT_NATIONGROUP = 34;
var VUT_TOPO = 35;
var VUT_IMPR_GENUS = 36;
var VUT_ACTION = 37;
var VUT_MINTECHS = 38;
var VUT_EXTRAFLAG = 39;
var VUT_MINCALFRAG = 40;
var VUT_SERVERSETTING = 41;
var VUT_CITYSTATUS = 42;
var VUT_MINFOREIGNPCT = 43;
var VUT_ACTIVITY = 44;
var VUT_DIPLREL_TILE = 45;
var VUT_DIPLREL_TILE_O = 46;
var VUT_DIPLREL_UNITANY = 47;
var VUT_DIPLREL_UNITANY_O = 48;
var VUT_MINLATITUDE = 49;
var VUT_MAXLATITUDE = 50;
var VUT_COUNTER = 51;
var VUT_ORIGINAL_OWNER = 52;
var VUT_IMPR_FLAG = 53;
var VUT_WRAP = 54;
var VUT_PLAYER_FLAG = 55;
var VUT_PLAYER_STATE = 56;
var VUT_FORM_AGE = 57;
var VUT_MINCITIES = 58;
var VUT_COUNT = 59; /* Keep this last. */
var VUT_GOVERNMENT = 19;
var VUT_IMPROVEMENT = 20;
var VUT_IMPR_FLAG = 21;
var VUT_IMPR_GENUS = 22;
var VUT_MAXLATITUDE = 23;
var VUT_MAXTILEUNITS = 24;
var VUT_MAX_DISTANCE_SQ = 25;
var VUT_MAX_REGION_TILES = 26;
var VUT_MINCALFRAG = 27;
var VUT_MINCITIES = 28;
var VUT_MINCULTURE = 29;
var VUT_MINFOREIGNPCT = 30;
var VUT_MINHP = 31;
var VUT_MINLATITUDE = 32;
var VUT_MINMOVES = 33;
var VUT_MINSIZE = 34;
var VUT_MINTECHS = 35;
var VUT_MINVETERAN = 36;
var VUT_MINYEAR = 37;
var VUT_NATION = 38;
var VUT_NATIONALITY = 39;
var VUT_NATIONGROUP = 40;
var VUT_ORIGINAL_OWNER = 41;
var VUT_OTYPE = 42;
var VUT_PLAYER_FLAG = 43;
var VUT_PLAYER_STATE = 44;
var VUT_ROADFLAG = 45;
var VUT_SERVERSETTING = 46;
var VUT_SITE = 47;
var VUT_SPECIALIST = 48;
var VUT_STYLE = 49;
var VUT_TECHFLAG = 50;
var VUT_TERRAIN = 51;
var VUT_TERRAINALTER = 52;
var VUT_TERRAINCLASS = 53;
var VUT_TERRFLAG = 54;
var VUT_TILE_REL = 55;
var VUT_TOPO = 56;
var VUT_UCFLAG = 57;
var VUT_UCLASS = 58;
var VUT_UNITSTATE = 59;
var VUT_UTFLAG = 60;
var VUT_UTYPE = 61;
var VUT_WRAP = 62;
var VUT_COUNT = 63; /* Keep this last. */

/* Freeciv's gui_type enum */
/* GUI_STUB used for options which do not belong to any gui. */
Expand Down
Loading