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
docs(changelog): the bar's panels are containers with borders outside
Olcay Seygana7120de7d40d
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 363a7abb3..5e6a85aa5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -497,9 +497,9 @@ found and fixed — EA's own, not port damage.**- When a superweapon comes ready, the left side says so for eight seconds: whose it is, its picture and its name, "ready to fire". The newest is at the bottom, four at most.- Both are an ordinary web page with a stylesheet, in the game's Window folder. Change the colours, the sizes or the order there and the next match you watch draws it that way, and the page opens in a browser too.- A minimised command bar stays minimised. Changing seats, or clicking another player's unit while watching, put the whole bar back up over the battlefield you had just cleared. A new match still opens with the bar up.-- The command bar's frame is drawn new, in the same steel as the boards: three dark panels under a steel rail, the radar and the portrait each set in a bezel with a rivet at every corner, the command buttons in a shallow well, the money on a plaque and the power bar in a groove. Grey for America, red for China, sand for GLA. It slides and minimises with the bar, and like the boards it is a page in the Window folder; take the page away and the old painted bar comes back.-- Every panel of the bar is only as big as what it holds now, and stands on the bottom of the screen. The left one fits round the radar's bezel and runs out to the screen's left edge, the right one fits round the portrait and the experience bar and runs out to the right edge, and the middle one is built up like bricks laid flush: the command grid's panel at the bottom, the power bar standing on it in a steel frame of its own, a row of forty cells that light up from the left with your production and fill the frame from edge to edge when full, the consumption marked by a white needle, and on top of that a narrower block no taller than the money written on it. Everything the old painting filled round them is battlefield again, and a click there lands on the battlefield.-- The bar's own buttons are drawn to match, steel caps lit gold under the pointer and pressed in when pushed. The menu is a small square with three bars in the screen's top left corner. The idle worker button is a tab over the middle panel's top left corner, and there is no chat button any more: Enter opens the chat as it always did. The general's promotions and a Skills button are two small caps in the right panel's top right corner, the promotions marked with three stars, which glow gold on the half second while you have one to spend. The bar has no minimise arrow any more: it is only as big as what it holds. The under-attack light is a tab on the top left corner of the radar's panel that blinks red, written UNDER ATTACK.+- The command bar's frame is drawn new, in the same steel as the boards. Each panel holds one thing and is exactly its size, the radar, the command grid, the portrait with the experience bar, and wears a steel border outside it. Grey for America, red for China, sand for GLA. It slides and minimises with the bar, and like the boards it is a page in the Window folder; take the page away and the old painted bar comes back.+- Every panel of the bar is only as big as what it holds now, and stands on the bottom of the screen. The radar's border runs out to the screen's left edge, the portrait's to the right edge, and the middle is built up like bricks laid flush: the command grid's panel at the bottom, the power bar standing on its border in a steel frame of its own, a row of forty cells that light up from the left with your production and fill the frame from edge to edge when full, the consumption marked by a white needle, and on top of that a narrower block no taller than the money written on it. Everything the old painting filled round them is battlefield again, and a click there lands on the battlefield.+- The bar's own buttons are drawn to match, steel caps lit gold under the pointer and pressed in when pushed. The menu is a small square with three bars in the screen's top left corner. The idle worker button is a tab standing on the middle panel's border at its left end, and there is no chat button any more: Enter opens the chat as it always did. The general's promotions and a Skills button are two small caps standing on the portrait's border at its right end, the promotions marked with three stars, which glow gold on the half second while you have one to spend. The bar has no minimise arrow any more: it is only as big as what it holds. The under-attack light is a tab standing on the radar's border at its left end that blinks red, written UNDER ATTACK.- The general's powers you have bought and can fire, the column that climbed the right edge of the screen, stand three to a row over the portrait now, on a grid of nine places, the first power in the top left. The Skills button folds them away and brings them back.- Three buttons stand against the radar's panel, ATTACK, DEFEND and LOOK: the smoke signals Alt+Z, X and C send, placed in the middle of your view for your allies to see. They are greyed out where the keys would do nothing either, outside a multiplayer game.- The readout in the top right corner is a box of its own and always there: the time of day, the match time and the real time beside it, the logic rate and the frame rate, the renderer and the frame number. In a network game it adds how many frames are ready out of the input delay, the room's frame rate and the traffic in and out, and under a unit limit your count against it.