Skip to content

Commit

Permalink
Gathering Storm update (1.0.0.290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azurency committed Feb 14, 2019
1 parent 4ab72fa commit 6a4521c
Show file tree
Hide file tree
Showing 291 changed files with 28,695 additions and 11,157 deletions.
28 changes: 16 additions & 12 deletions ARXManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ local m_ScreenMode:number = 0;
local m_LocalPlayer:table;
local m_LocalPlayerID:number;
local fullStr:string = "";
local m_kEras:table = {};
local m_bIsPortrait:boolean = false;
m_kEras = nil; -- Table of all era names sorted properly.


-- ===========================================================================
-- Draw the Top 5 Civs screen
Expand Down Expand Up @@ -400,14 +401,14 @@ function RefreshARX()

local eraName;
if(m_LocalPlayer) then
local eraIndex:number = m_LocalPlayer:GetEra() + 1;
for _,era in pairs(m_kEras) do
if era.Index == eraIndex then
eraName = Locale.Lookup("LOC_GAME_ERA_DESC", era.Description );
break;
end
local eraIndex = m_LocalPlayer:GetEra() + 1;
local era = m_kEras[eraIndex];
if(era) then
eraName = Locale.Lookup("LOC_GAME_ERA_DESC", era.Name);
end
else
end

if(eraName == nil) then
eraName = Locale.Lookup("LOC_MULTIPLAYER_UNKNOWN");
end

Expand Down Expand Up @@ -476,11 +477,14 @@ function Initialize()
-- build era table
m_kEras = {};
for row:table in GameInfo.Eras() do
m_kEras[row.EraType] = {
Description = Locale.Lookup(row.Name),
Index = row.ChronologyIndex,
}
table.insert(m_kEras, {
Name = row.Name,
ChronologyIndex = row.ChronologyIndex,
});
end
table.sort(m_kEras, function(a,b)
return a.ChronologyIndex < b.ChronologyIndex;
end);

OnTurnBegin();
end
Expand Down
117 changes: 117 additions & 0 deletions Accessibility/PlayerDeuteranopiaColors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GameInfo>
<Colors>
<Replace>
<Type>COLOR_STANDARD_RED_LT</Type>
<Color>136,128,80,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_RED_MD</Type>
<Color>83,76,14,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_RED_DK</Type>
<Color>54,50,19,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_LT</Type>
<Color>208,191,66,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_MD</Type>
<Color>157,144,14,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_DK</Type>
<Color>95,86,10,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_LT</Type>
<Color>255,244,129,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_MD</Type>
<Color>247,226,19,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_DK</Type>
<Color>123,112,10,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_LT</Type>
<Color>203,210,237,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_MD</Type>
<Color>82,93,129,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_DK</Type>
<Color>55,62,85,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_LT</Type>
<Color>177,192,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_MD</Type>
<Color>32,78,155,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_DK</Type>
<Color>24,52,102,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_LT</Type>
<Color>124,158,254,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_MD</Type>
<Color>0,67,216,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_DK</Type>
<Color>0,44,140,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_LT</Type>
<Color>189,189,189,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_MD</Type>
<Color>114,114,114,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_DK</Type>
<Color>44,48,44,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_LT</Type>
<Color>153,156,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_MD</Type>
<Color>0,7,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_DK</Type>
<Color>0,2,117,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_LT</Type>
<Color>249,249,249,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_MD</Type>
<Color>83,83,83,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_MD2</Type>
<Color>174,174,174,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_DK</Type>
<Color>24,24,24,255</Color>
</Replace>
</Colors>
</GameInfo>
117 changes: 117 additions & 0 deletions Accessibility/PlayerProtanopiaColors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<GameInfo>
<Colors>
<Replace>
<Type>COLOR_STANDARD_RED_LT</Type>
<Color>134,126,81,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_RED_MD</Type>
<Color>83,76,22,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_RED_DK</Type>
<Color>57,53,26,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_LT</Type>
<Color>205,188,69,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_MD</Type>
<Color>155,141,24,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_ORANGE_DK</Type>
<Color>94,86,19,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_LT</Type>
<Color>254,241,129,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_MD</Type>
<Color>244,223,31,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_YELLOW_DK</Type>
<Color>121,110,20,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_LT</Type>
<Color>203,209,236,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_MD</Type>
<Color>84,94,128,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_GREEN_DK</Type>
<Color>59,65,86,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_LT</Type>
<Color>178,192,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_MD</Type>
<Color>44,82,153,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_AQUA_DK</Type>
<Color>36,56,102,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_LT</Type>
<Color>126,160,254,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_MD</Type>
<Color>0,81,215,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_BLUE_DK</Type>
<Color>0,55,139,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_LT</Type>
<Color>189,189,189,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_MD</Type>
<Color>114,114,114,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_PURPLE_DK</Type>
<Color>44,44,44,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_LT</Type>
<Color>153,156,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_MD</Type>
<Color>0,7,255,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_MAGENTA_DK</Type>
<Color>0,2,117,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_LT</Type>
<Color>249,249,249,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_MD</Type>
<Color>83,83,83,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_MD2</Type>
<Color>174,174,174,255</Color>
</Replace>
<Replace>
<Type>COLOR_STANDARD_WHITE_DK</Type>
<Color>24,24,24,255</Color>
</Replace>
</Colors>
</GameInfo>
Loading

0 comments on commit 6a4521c

Please sign in to comment.