Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
fix(gameclient): widen the scoreboard income column for turkish
Olcay Seygan308e3d152618
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 147f46b3c..2fa27f84a 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1003,7 +1003,7 @@ A third pass went through the generals' powers, promotions and unit abilities.- Hold Tab and a scoreboard opens in the top left corner of the screen, beside the menu key; let go and it is gone. All eight seats of a full game fit in the top half of a 720 line screen. It is built from your command bar's steel, grey, red or sand for your side, with the match clock in its corner. Each side sits under a band edged green for yours and red for the enemy, and the band says how many of that side are still in the game, 4/4 down to 0/4. Watching, there is a band for every team. With a group selected, Tab still steps through the units in it as before, so the scoreboard wants one unit or none selected.- Every row on your side opens on a stripe of that player's colour, then the general's flag, the player's name and the general under it. Then rank, money in the bank, income per minute, kills and losses, every promotion bought, once, at the level it has reached, and the unit that player has built the most of. Numbers line up on their last digit, and your own row is lit. The promotions are drawn the size of the favourite unit's picture and the same shape, where they used to be 13 pixel squares you had to squint at. Point at a promotion, the favourite unit, a superweapon or something in a player's queue and the same card opens as over a build button: what it is, what it costs, and for a unit its health, damage, attacks a second and range.-- Beside income per minute, in brackets, is what that player earned a second over the last half minute, "1250(24)" on one line under "PER MIN(PER SEC)". The per-minute number is the average of the whole match, and ten minutes in a lost supply line hardly moves it. The small one falls within half a minute of the trucks stopping, and climbs again once a new line starts paying.+- Beside income per minute, in brackets, is what that player earned a second over the last half minute, "1250 (24)" on one line under "PER MIN (PER SEC)". The per-minute number is the average of the whole match, and ten minutes in a lost supply line hardly moves it. The small one falls within half a minute of the trucks stopping, and climbs again once a new line starts paying. The heading fits in every language now. In Turkish it is the longest caption on the board and ran eighteen pixels into the money heading beside it, so money and the kill columns gave up width their digits never used, and each figure keeps a space between itself and its rate.- The same figure sits beside your money on the command bar, "$ 16800 +40/s", so you see a supply line die without opening anything. Watching a match, it is the player you are looking at. Income Shown on Options > Gameplay counts it per minute instead, "+2400/min", or leaves the choice to Automatic. A whole number per second is a blunt instrument early on: $135 a minute reads "+2/s", and so does $90. Automatic writes it per minute while you earn under $10 a second and per second from there up.- Names are written in white and the player's colour goes on the stripe. Dark red on a black panel measured about 2 to 1 and could barely be read. A player who is out goes grey.- An enemy row is a colour, a name and a team and nothing more. What they are playing and what they have in the bank is theirs to know.diff --git a/GeneralsMD/Code/Data/Window/Html/Scoreboard.html b/GeneralsMD/Code/Data/Window/Html/Scoreboard.htmlindex 2365a0fa9..2cb4dd862 100644--- a/GeneralsMD/Code/Data/Window/Html/Scoreboard.html+++ b/GeneralsMD/Code/Data/Window/Html/Scoreboard.html@@ -58,17 +58,21 @@.gla #board { border-top-color: #473f23; }/* every column's left edge, shared by the captions and the seats; the Turkish captions are the- long ones, so a number column is as wide as its caption rather than its digits, and- "DAKIKADA(SANIYEDE)" is the longest. The columns are packed against the right edge, the- favourite unit last, and the name takes what is left: at 98 pixels "USA Air Force General" ran- into the team */+ long ones, so a number column is as wide as its caption rather than its digits. A 7px caption+ is drawn in 7 point Arial, about 9.3 of these pixels high, and up to 10 at the scales where+ the point size rounds up: "DAKIKADA (SANIYEDE)" then measures 111, "RUTBE" 34 and "PARA" 27,+ and the widest figures, six bold digits of money and "99999 (9999)", 44 and 78. The money+ and the two kill columns gave up what their digits never used, so the income column holds its+ caption: at 90 pixels it ran 18 into "PARA". The columns are packed against the right edge,+ the favourite unit last, and the name takes what is left: at 98 pixels "USA Air Force General"+ ran into the team */.c-name { left: 30px; }.c-team { left: 192px; width: 34px; }- .c-rank { left: 228px; width: 34px; text-align: right; }- .c-cash { left: 264px; width: 70px; text-align: right; }- .c-income { left: 336px; width: 90px; text-align: right; white-space: nowrap; }- .c-kills { left: 428px; width: 46px; text-align: right; }- .c-losses { left: 476px; width: 46px; text-align: right; }+ .c-rank { left: 228px; width: 36px; text-align: right; }+ .c-cash { left: 266px; width: 54px; text-align: right; }+ .c-income { left: 322px; width: 124px; text-align: right; white-space: nowrap; }+ .c-kills { left: 448px; width: 36px; text-align: right; }+ .c-losses { left: 486px; width: 36px; text-align: right; }.c-skills { left: 530px; }.c-favourite { left: 682px; }@@ -145,7 +149,7 @@<span class="c-team">{{text:GUI:ScoreboardTeam}}</span><span class="c-rank">{{text:GUI:ScoreboardLevel}}</span><span class="c-cash">{{text:GUI:ScoreboardMoney}}</span>- <span class="c-income">{{text:GUI:ScoreboardPerMinute}}({{text:GUI:ScoreboardPerSecond}})</span>+ <span class="c-income">{{text:GUI:ScoreboardPerMinute}} ({{text:GUI:ScoreboardPerSecond}})</span><span class="c-kills">{{text:GUI:ScoreboardKills}}</span><span class="c-losses">{{text:GUI:ScoreboardDeaths}}</span><span class="c-skills">{{text:GUI:ScoreboardPowers}}</span>@@ -162,7 +166,7 @@<span class="cell team c-team">{{team}}</span><span class="cell num c-rank">{{rank}}</span><span class="cell num cash c-cash">{{cash}}</span>- <span class="cell num income c-income">{{income}}<span class="persecond">({{persecond}})</span></span>+ <span class="cell num income c-income">{{income}} <span class="persecond">({{persecond}})</span></span><span class="cell num c-kills">{{kills}}</span><span class="cell num c-losses">{{losses}}</span><img class="skill" src="{{skill0}}" data-tip="{{skill0.tip}}" style="left: 530px">