Skip to content

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.

feat(gameengine): options for drag threshold, zoom, edge scroll ramp and hud readouts

Olcay Seygane53d21381e88
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 89f6f7553..f84cce5b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -181,6 +181,7 @@ found and fixed — EA's own, not port damage.**
- A box drawn with Ctrl held takes those units back out of your selection instead of replacing it, so a group is trimmed by dragging over the corner of it rather than picked again from scratch. Held with Alt the box keeps only what can shoot: drag across your base and you get the tanks, not the dozers and supply trucks standing among them. Both are drag-only, and a single click still means exactly what it always did.
- A box dragged over your army and your economy together takes the army. The dozers, workers, supply trucks and hackers standing among the tanks stay where they are, and ambulances and troop carriers go with the soldiers they look after. A box with nobody military in it takes the workers the way it always did.
- The three buttons are split cleanly now. Left selects, and only selects. A right click gives the order, and a right drag scrolls the map the way it did in 2003: the spot you pressed on stays put, and the further you pull away from it the faster the map runs. The drag only starts once the pointer has really travelled, so a click your hand wobbles a pixel or two is still an order and the camera does not twitch. A pan never throws away the building on your cursor or the power you were about to aim. The middle button turns the view, with no key held, and a middle click without a drag puts the camera back where it started. The wheel zooms toward whatever the cursor is over and the screen edges still scroll. The classic scheme, where left both selected and commanded and right scrolled and deselected, is gone rather than switched off, and the two checkboxes that used to choose between them are out of the options screen.
+- How far the pointer travels before a click becomes a drag is yours to set. Drag Threshold on Options > Controls runs from 2 to 50 pixels, and the game's own value was 25. Raise it if selection boxes start by accident, lower it if your drags are read as clicks.
- An isometric camera, on Options > Controls. It looks at the battlefield from far off through a narrow lens, so a tank at the top of the screen is drawn the same size as one at the bottom and a base reads like a city-builder's plan instead of shrinking into the distance. It buys no extra sight. The normal camera's corners, edges and centre are laid over the isometric screen as closely as a flat picture allows, hills and ultrawide screens included: the normal camera still sees a little more at the far corners and the isometric one the same amount more at the near corners, because a perspective view is wider at the back than at the front and an isometric one is not. Pan across a ridge and the picture holds its size and its angle; it does not rise and dip with the ground under it. Campaign cinematics are filmed with the normal camera whatever the box says, and the isometric view comes back when the black bars go. They are shot from ten feet off the ground looking up at a rocket leaving its pad or a skyline, and the isometric camera turned each of those shots into a view from above of somewhere else: the picture lurched sideways every time the shot tilted, and a low shot ran off the edge of the map into a white screen. With the box ticked, USA 1's opening now plays the way it does without it. You still turn and zoom it the way you always did, and the box takes effect the moment you tick it, mid-match included.
- Press V, or the move button, then drag the left button and you draw a line: the selection spreads itself evenly along it, in the order the units already stand, so a column arrives as a firing line instead of a queue. It is the line you actually drew, curves and all, however far you keep drawing it: a long sweep used to give up partway through and finish as one straight run to the cursor, and now it holds its shape to the end. Letting go over the sidebar finishes the order rather than leaving the line stuck to the cursor. Draw the line with the left button while attack move is armed and the whole line is an attack move: artillery spread across a front, each gun firing on what walks into it, instead of one clump on one spot. Guard draws the same way. Every line is drawn with the left button, the one armed orders are aimed with, and the right button never draws one: its drag is the camera. Without an order armed a left drag is the selection box it always was. Armed with attack instead, every unit fires on its own station along the line, which is a barrage laid across a ridge in one drag. `FormationDrag = no` in Options.ini turns the line off if you would rather an armed drag did nothing.
- Selected units draw a thread to wherever they are going, with the pointer, tinted, sitting on the spot. Every order draws one: move, attack move, attack, force fire, ground fire, enter, dock, repair, heal, capture, hack, guard, a waypoint path. Green for a move, pink for an attack-move, red for anything that shoots, so a group told three different things reads as three different colours. Units standing together and headed the same way share one thread, from the middle of the knot to the middle of where they are going, so twenty tanks sent across the map draw one line instead of twenty laid on top of each other; a selection spread over the map draws one per knot, and a flank sent on its own still shows. An angry mob draws one thread for the whole mob, not one per rioter. An attack move and a shot at the ground both point at the spot you clicked: the attack move's thread used to wander off to whichever free ground each unit was steering for, and ground fire pointed at the middle of the nearest map cell. An attack move stays pink from start to finish, too. A unit that stopped to fight used to swing its thread onto the enemy it was fighting, and only swung it back to your destination once the enemy was dead. A dot and a ring stood in for the pointer for a while, and players asked for the pointer back. It is not a flash at the moment of the order: the line is asked of the unit every frame, so it lasts until the unit gets there, changes its mind or leaves your selection, and it shows on the formation line while you are still drawing it. A unit that has walked off the edge of the screen still draws its line, which is how you see where the half of your army you cannot see is headed. The animated ring the ground used to sprout wherever you clicked is gone: it flashed for a second and told you nothing the marker sitting on the destination does not, and that marker stays for as long as the order does. A marker that has just appeared slides the last few pixels up out of the bottom right and fades in as it lands, over about an eighth of a second, so a fresh order catches your eye without anything flashing. Aircraft draw their thread from the click, not from the moment they leave the runway. A plane parked on its airfield answers an order by starting its takeoff and puts the order itself aside until the wheels are up, so the taxi and the climb, which is exactly the stretch where you are wondering whether the strike went out at all, used to show nothing.
@@ -655,7 +656,7 @@ A third pass went through the generals' powers, promotions and unit abilities.
- The general's powers you have bought and can fire, the column that climbed the right edge of the screen, stand in the bottom right corner now in a tray of the bar's own steel. The first sits in the corner against the right edge of the screen, and each one you gain takes the place to the left of the last, three to a row before a new row starts above, so the tray is only ever as big as what you hold and an empty one takes no room at all. Each power sits on a dark cell three quarters the size of a build button, where the side's old tray art used to frame it. It is always out; there is no button to fold it away.
- Three buttons sit side by side in a step of the radar's own steel, on its top edge: the smoke signals Alt+Z, X and C send. Press one and the pointer turns to a cross; your next click puts the signal there, on the ground or on the radar, and a right click or Escape takes it back; until now a button dropped its smoke in the middle of your view. Every signal now leaves a mark on the ground in your colour for ten seconds, and the radar ping lasts as long: crossed swords to attack, a shield to defend, an eye to look, each in a ring a few tanks across, fading out over its last two seconds. Each is a key sunk into the steel with a sharp white picture on it instead of a word: a crosshair to attack, a shield to defend, an eye to look. Point at one and it comes up out of its well as lit steel with a gold rim, and it sinks in darker while you hold the button down. They rise into place one after another from the bottom of the screen when the match starts. A game with nobody on your side to see the smoke, a skirmish against the computer or a replay, has no signal buttons at all.
- Tooltips wear the bar's steel. Point at a build button and a card opens right above it rather than in a fixed box at the side: the name on a steel header in your side's colour with the price in gold at its end, every "Power Supplied: 5" or "Strong: infantry" line of the description laid out as a label and a bold figure, then the unit's health, damage, attacks a second, damage a second, range and build time in gold, counted with the upgrades you own. Under them every upgrade that touches the unit and what it does to it: a Gattling Tank's card says Chain Guns takes its damage from 15 to 18 and its damage a second from 37 to 46, a Humvee's that TOW adds a 50 damage missile with a range of 317, and an upgrade you already bought turns gold. Point at the upgrade itself and the card lists the units it changes, Composite Armor putting a Crusader from 480 health to 680. An upgrade you already own still says what it does: its card keeps the description and puts the already-purchased note under it. At the bottom, "not enough money" or what you still need in a sunk red note at the bottom. Point at something on the battlefield and a small dark box beside the pointer names it, its owner's colour in a stripe down the left edge.
-- 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.
+- The readout in the top right corner is a box of its own: 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. It is on unless you switch it off: untick Clock And Frame Rate Box on Options > Gameplay and the superweapon timers move up into the corner it left.
- The top of the screen is battlefield. The players, their teams, their superweapons with the seconds left and the match clock are all on Tab, which already had every one of them, so the column of superweapon countdowns that used to sit in the top right is gone while you play, and so is a strip of flags that repeated the scoreboard across the top edge.
- The steel between the build buttons, the portrait's grid and the promotion screen's cells is half as wide as it was, so the pictures take the room. The queue's tray has a thinner rim. The portrait and its upgrade icons sit under the portrait's grid, framed the same way as every other picture on the bar.
- The command bar slides up from the bottom of the screen again when a match starts. The new steel frame had been drawn at its final place from the first frame, so the buttons rose into a frame that was already standing.
@@ -720,7 +721,7 @@ A third pass went through the generals' powers, promotions and unit abilities.
- A unit that is inside a transport and also disabled wears the blue bar. Being carried and being knocked out were asked as one question, so the two together answered no: a squad EMP'd inside a bunker, or hacked while riding a Battle Bus, looked perfectly healthy from outside.
- A building being captured wears a capture clock under its health bar, filling in the colour of whoever is taking it. The building flashes while a rifleman works on it, which says somebody is at the door and nothing about whether that is nearly over: the choice between driving across to shoot him and carrying on with your fight was made blind. The bar runs from the moment he reaches the door to the moment the building changes hands, and Black Lotus hacking one gets the same bar.
- The progress bar stacked over the health bar is white, wherever it turns up - a factory turning out a tank, a silo charging, a supply drop counting down to its payout. It was yellow, which is a colour the game already spends on your own units and on damage, and a strip of it sitting directly above a coloured health bar read as part of the same bar.
-- Every garrisonable building shows how full it is, whoever holds it.
+- Every garrisonable building shows how full it is, whoever holds it. An empty one shows it too, and so does your own Barracks: ten grey boxes over it for the whole match, because soldiers can walk in to heal. Untick Empty Building Slots on Options > Gameplay and a building wears its row only while somebody is inside.
- A vehicle's load stays private.
- What you have selected wears a white frame just outside its bar, so a selection is still readable in a crowd where every unit carries a bar - and the bar itself keeps its owner colour all the way round.
- Lamps, barrels, rocks and bushes no longer wear health bars.
@@ -945,7 +946,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.
-- 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.
+- 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.
- Watching a match, everybody gets the full row, with a team column to say who is with whom.
@@ -1066,6 +1067,8 @@ The whole HUD is on the hardware. Four colours carry it, and they mean the same
- Zoom further out, with the whole map drawn instead of black corners. The ceiling is twice what it was again, which is the difference between watching your own half of the map and watching both.
- The zoom-out ceiling is the same for everyone; no setting buys you a wider view.
- The wheel covers that whole range in about six notches instead of thirty-eight.
+- Hold Ctrl and the wheel zooms five times as fast. With a building on the cursor, Ctrl and the wheel still turn the building.
+- Closer Zoom, a slider on Options > Controls, lets the wheel bring the camera up to 60 percent nearer the ground than the game's own limit. The zoom-out ceiling does not move with it.
- Zoom toward the cursor works; the spot under your pointer stays there.
- Zoomed in over uneven ground, the camera holds still. Keeping the spot under the pointer moved the camera over different ground, the camera then settled to a new height, which moved it again, and on hilly ground that went on forever as a slow rocking forward and back.
- The camera stays above the ground. Zoomed in on a slope it used to end up inside the hill it was looking over, and the world opened up along the near plane.
@@ -1073,8 +1076,9 @@ The whole HUD is on the hardware. Four colours carry it, and they mean the same
- The box on the radar follows the camera when you pan. It only ever redrew itself when the zoom or the angle changed, so scrolling left it behind.
- The camera turns in whole 45-degree steps, instantly, while you hold the key.
- Edge scrolling works windowed, and scroll speed no longer follows your frame rate. It also stops when you take the pointer off the window. Windows says nothing about a cursor that has walked out onto the desktop, so the game kept reading the last edge it crossed and the map slid on its own until you brought the mouse back. A game that has only just opened asks Windows where the pointer actually is instead of assuming the top left corner, which is an edge like any other and used to drag the camera there before you had touched anything.
+- Edge scrolling starts as the pointer nears the edge of the screen and speeds up the closer it gets, reaching the old speed at the edge itself. Over the command bar and the minimap nothing moves until the last three pixels.
- Taking over another base no longer squeezes the picture into the top four fifths of the screen.
-- A skirmish opens zoomed all the way out (`StartAtMaxZoom = No` restores the old opening).
+- A skirmish opens zoomed all the way out. Start Zoomed Out on Options > Controls is the box for it: untick it and a map opens at the height it was framed for.
- Hold Ctrl and roll the wheel to turn a building before placing it.
- Buildings snap to the pathfinder's own grid (`GridBuildPlacement = No` for the old way).
- The grid under a structure is drawn, with blocked squares crossed out.
@@ -1594,6 +1598,7 @@ The whole HUD is on the hardware. Four colours carry it, and they mean the same
- The shade under smoke vanished between builds and was rewritten from these notes.
- The missing tree shadows were found by painting them red, not by reasoning.
- Zoom toward the cursor was fixed twice and is argued from code, not watched.
+- Blocks of buildings on Alt, the idle unit key, builders going to work through the tunnels, an ally's queue on your strip, the rally point you can take away, the softer edge scroll and the new sliders on the Controls page are written and have not been played yet.
- The frame was finally measured rather than guessed at: 2003's own stopwatches were switched back on for a separate measurement build, and a seven-minute four-way match with two hundred and seventy units on the map was timed scope by scope.
- That killed a plan. Spreading the shadow work over sixteen cores would have bought two percent of a frame; particles, four hundredths of one percent. Nine tenths of the time is spent handing triangles to the graphics card, which no amount of threads makes faster. The plan is written down, with the numbers, so nobody spends a fortnight rediscovering it.
- One thing did come out of it: sixteen thousand five hundred lock operations per frame, all on the same lock, every time a scrap of memory is taken or given back. That is the next thing worth chasing.
diff --git a/GeneralsMD/Code/Data/Patch.str b/GeneralsMD/Code/Data/Patch.str
index f30335757..4d0f03ed8 100644
--- a/GeneralsMD/Code/Data/Patch.str
+++ b/GeneralsMD/Code/Data/Patch.str
@@ -710,6 +710,30 @@ TOOLTIP:ZoomToCursor
"The wheel zooms towards whatever the cursor is over instead of the middle of the screen. Modern controls only."
END
+GUI:StartAtMaxZoom
+"Start Zoomed Out"
+END
+
+TOOLTIP:StartAtMaxZoom
+"A match opens with the camera as far out as the wheel goes. Off, it opens at the height the map was framed for."
+END
+
+GUI:CloserZoom
+"Closer Zoom"
+END
+
+TOOLTIP:CloserZoom
+"How much nearer the ground the wheel may bring the camera. 0% is the game's own limit."
+END
+
+GUI:DragTolerance
+"Drag Threshold"
+END
+
+TOOLTIP:DragTolerance
+"How many pixels the mouse may move with a button held before a click becomes a drag. Raise it if selection boxes start by accident, lower it if drags read as clicks."
+END
+
GUI:IsometricCamera
"Isometric Camera"
END
@@ -790,6 +814,46 @@ TOOLTIP:HudOverlay
"The extra readouts across the top of the screen: power, income and the production strip."
END
+GUI:NetBox
+"Clock And Frame Rate Box"
+END
+
+TOOLTIP:NetBox
+"The box in the top right corner with the match clock, the frame rates and the connection. Off, the superweapon timers move up into the corner."
+END
+
+GUI:OptionsGroupHud
+"HUD"
+END
+
+GUI:IncomeRate
+"Income Shown"
+END
+
+GUI:IncomeRate0
+"Per Second"
+END
+
+GUI:IncomeRate1
+"Per Minute"
+END
+
+GUI:IncomeRate2
+"Automatic"
+END
+
+TOOLTIP:IncomeRate
+"What the income beside your money is counted over. Automatic shows it per minute while you earn less than $10 a second, where a whole number per second hides most of the change, and per second above that."
+END
+
+GUI:EmptyBuildingPips
+"Empty Building Slots"
+END
+
+TOOLTIP:EmptyBuildingPips
+"The row of empty slots over a building with nobody inside, like the ten over a Barracks. Off, a building shows its slots only while someone is in it."
+END
+
GUI:ArchiveReplays
"Archive Replays"
END
@@ -1330,6 +1394,10 @@ GUI:ControlBarMoneyEarning
"$ %d +%d/s"
END
+GUI:ControlBarMoneyEarningMinute
+"$ %d +%d/min"
+END
+
CONTROLBAR:MoneyDescription
"The money you have, and what you earned a second over the last half minute"
END
diff --git a/GeneralsMD/Code/Data/Turkish/Generals.str b/GeneralsMD/Code/Data/Turkish/Generals.str
index 2ff7f3457..40526c42b 100644
--- a/GeneralsMD/Code/Data/Turkish/Generals.str
+++ b/GeneralsMD/Code/Data/Turkish/Generals.str
@@ -15277,6 +15277,30 @@ TOOLTIP:ZoomToCursor
"Tekerlek, ekranın ortası yerine imlecin üzerinde durduğu yere doğru yakınlaştırır. Yalnızca Modern kontrollerde."
END
+GUI:StartAtMaxZoom
+"Uzak Kamerayla Başla"
+END
+
+TOOLTIP:StartAtMaxZoom
+"Maç, kamera tekerleğin gittiği en uzak noktadayken açılır. Kapalıyken haritanın kendisi için ayarlanan yükseklikte açılır."
+END
+
+GUI:CloserZoom
+"Daha Yakın Kamera"
+END
+
+TOOLTIP:CloserZoom
+"Tekerleğin kamerayı yere ne kadar daha yaklaştırabileceği. Yüzde 0 oyunun kendi sınırıdır."
+END
+
+GUI:DragTolerance
+"Sürükleme Eşiği"
+END
+
+TOOLTIP:DragTolerance
+"Bir tuş basılıyken fare kaç piksel oynarsa tıklamanın sürüklemeye döneceği. Seçim kutuları yanlışlıkla açılıyorsa yükseltin, sürüklemeler tıklama sayılıyorsa düşürün."
+END
+
GUI:IsometricCamera
"İzometrik Kamera"
END
@@ -15357,6 +15381,46 @@ TOOLTIP:HudOverlay
"Ekranın üst kısmındaki ek göstergeler: enerji, gelir ve üretim şeridi."
END
+GUI:NetBox
+"Saat ve Kare Hızı Kutusu"
+END
+
+TOOLTIP:NetBox
+"Sağ üst köşedeki kutu: maç saati, kare hızları ve bağlantı. Kapalıyken süper silah sayaçları köşeye çıkar."
+END
+
+GUI:OptionsGroupHud
+"Arayüz"
+END
+
+GUI:IncomeRate
+"Gelir Gösterimi"
+END
+
+GUI:IncomeRate0
+"Saniyelik"
+END
+
+GUI:IncomeRate1
+"Dakikalık"
+END
+
+GUI:IncomeRate2
+"Otomatik"
+END
+
+TOOLTIP:IncomeRate
+"Paranızın yanındaki gelirin hangi süreye göre yazılacağı. Otomatik, saniyede 10 dolardan az kazanırken dakikalık yazar, çünkü o düzeyde saniyelik tam sayı değişimin çoğunu göstermez; üstünde saniyelik yazar."
+END
+
+GUI:EmptyBuildingPips
+"Boş Bina Yuvaları"
+END
+
+TOOLTIP:EmptyBuildingPips
+"İçinde kimse olmayan binanın üstündeki boş yuva sırası, örneğin Kışlanın üstündeki on yuva. Kapalıyken bina yuvalarını yalnızca içinde biri varken gösterir."
+END
+
GUI:ArchiveReplays
"Tekrarları Arşivle"
END
@@ -15817,6 +15881,10 @@ GUI:ControlBarMoneyEarning
"$ %d +%d/sn"
END
+GUI:ControlBarMoneyEarningMinute
+"$ %d +%d/dk"
+END
+
GUI:ScoreboardKills
"K"
END
diff --git a/GeneralsMD/Code/Data/Window/Menus/OptionsMenu.wnd b/GeneralsMD/Code/Data/Window/Menus/OptionsMenu.wnd
index 9fff66263..a3cc856ca 100644
--- a/GeneralsMD/Code/Data/Window/Menus/OptionsMenu.wnd
+++ b/GeneralsMD/Code/Data/Window/Menus/OptionsMenu.wnd
@@ -7049,6 +7049,221 @@ WINDOW
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
END
CHILD
+ WINDOW
+ WINDOWTYPE = CHECKBOX;
+ SCREENRECT = UPPERLEFT: 40 294, BOTTOMRIGHT: 264 318, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:CheckStartAtMaxZoom";
+ STATUS = ENABLED+IMAGE+BORDER;
+ STYLE = CHECKBOX+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPTEXT = "TOOLTIP:StartAtMaxZoom";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:StartAtMaxZoom";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: Active-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Checked, COLOR: 64 64 64 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: Active-HiLighted, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 34 322, BOTTOMRIGHT: 258 346, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelCloserZoom";
+ TOOLTIPTEXT = "TOOLTIP:CloserZoom";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:CloserZoom";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 178 346, BOTTOMRIGHT: 258 370, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ValueCloserZoom";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPDELAY = -1;
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = HORZSLIDER;
+ SCREENRECT = UPPERLEFT: 40 346, BOTTOMRIGHT: 176 370, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:SliderCloserZoom";
+ STATUS = ENABLED+IMAGE+TABSTOP;
+ STYLE = HORZSLIDER+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Times New Roman", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "[None]";
+ TOOLTIPTEXT = "TOOLTIP:CloserZoom";
+ TOOLTIPDELAY = -1;
+ TEXTCOLOR = ENABLED: 254 254 254 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: hilightedbox, COLOR: 128 128 128 255, BORDERCOLOR: 64 64 64 255,
+ IMAGE: dehilightedbox, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: linebox, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: arrow, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERDATA = MINVALUE: 0, MAXVALUE: 60;
+ SLIDERTHUMBENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 128 128 255, BORDERCOLOR: 255 0 0 255,
+ IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERTHUMBDISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 128 128 128 255,
+ IMAGE: NoImage, COLOR: 0 0 0 255, BORDERCOLOR: 64 64 64 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERTHUMBHILITEDRAWDATA = IMAGE: arrow, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: arrow, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ END
+ CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
SCREENRECT = UPPERLEFT: 282 150, BOTTOMRIGHT: 506 174, CREATIONRESOLUTION: 800 600;
@@ -7234,62 +7449,230 @@ WINDOW
END
CHILD
WINDOW
- WINDOWTYPE = CHECKBOX;
- SCREENRECT = UPPERLEFT: 536 182, BOTTOMRIGHT: 760 206, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:CheckChromaLighting";
- STATUS = ENABLED+IMAGE+BORDER;
- STYLE = CHECKBOX+MOUSETRACK;
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 530 182, BOTTOMRIGHT: 754 206, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelDragTolerance";
+ TOOLTIPTEXT = "TOOLTIP:DragTolerance";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
INPUTCALLBACK = "[None]";
TOOLTIPCALLBACK = "[None]";
DRAWCALLBACK = "[None]";
FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
HEADERTEMPLATE = "MinorTitle";
- TOOLTIPTEXT = "TOOLTIP:ChromaLighting";
TOOLTIPDELAY = -1;
- TEXT = "GUI:ChromaLighting";
+ TEXT = "GUI:DragTolerance";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
- HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
- IMAGE: Active-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
- IMAGE: Active-Checked, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
- DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
- IMAGE: Disabled-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 192 192 192 255,
- IMAGE: Disabled-Checked, COLOR: 64 64 64 255, BORDERCOLOR: 254 254 254 255,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
- HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
- IMAGE: Active-HiLighted, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
- IMAGE: Active-Checked, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
- IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
- END
- ENDALLCHILDREN
- END
- CHILD
- WINDOW
- WINDOWTYPE = USER;
- SCREENRECT = UPPERLEFT: 36 142, BOTTOMRIGHT: 764 462, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:PageGameplay";
- STATUS = ENABLED+NOFOCUS+SEE_THRU;
- STYLE = USER;
- SYSTEMCALLBACK = "PassMessagesToParentSystem";
- INPUTCALLBACK = "[None]";
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 674 206, BOTTOMRIGHT: 754 230, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ValueDragTolerance";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPDELAY = -1;
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = HORZSLIDER;
+ SCREENRECT = UPPERLEFT: 536 206, BOTTOMRIGHT: 672 230, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:SliderDragTolerance";
+ STATUS = ENABLED+IMAGE+TABSTOP;
+ STYLE = HORZSLIDER+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Times New Roman", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "[None]";
+ TOOLTIPTEXT = "TOOLTIP:DragTolerance";
+ TOOLTIPDELAY = -1;
+ TEXTCOLOR = ENABLED: 254 254 254 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: hilightedbox, COLOR: 128 128 128 255, BORDERCOLOR: 64 64 64 255,
+ IMAGE: dehilightedbox, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: linebox, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: arrow, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERDATA = MINVALUE: 2, MAXVALUE: 50;
+ SLIDERTHUMBENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 128 128 255, BORDERCOLOR: 255 0 0 255,
+ IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERTHUMBDISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 128 128 128 255,
+ IMAGE: NoImage, COLOR: 0 0 0 255, BORDERCOLOR: 64 64 64 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ SLIDERTHUMBHILITEDRAWDATA = IMAGE: arrow, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: arrow, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = CHECKBOX;
+ SCREENRECT = UPPERLEFT: 536 238, BOTTOMRIGHT: 760 262, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:CheckChromaLighting";
+ STATUS = ENABLED+IMAGE+BORDER;
+ STYLE = CHECKBOX+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPTEXT = "TOOLTIP:ChromaLighting";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:ChromaLighting";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: Active-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Checked, COLOR: 64 64 64 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: Active-HiLighted, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ END
+ ENDALLCHILDREN
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = USER;
+ SCREENRECT = UPPERLEFT: 36 142, BOTTOMRIGHT: 764 462, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:PageGameplay";
+ STATUS = ENABLED+NOFOCUS+SEE_THRU;
+ STYLE = USER;
+ SYSTEMCALLBACK = "PassMessagesToParentSystem";
+ INPUTCALLBACK = "[None]";
TOOLTIPCALLBACK = "[None]";
DRAWCALLBACK = "[None]";
FONT = NAME: "Times New Roman", SIZE: 14, BOLD: 0;
@@ -7373,9 +7756,297 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
- SCREENRECT = UPPERLEFT: 34 182, BOTTOMRIGHT: 258 206, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:LabelHealthBars";
- TOOLTIPTEXT = "TOOLTIP:HealthBars";
+ SCREENRECT = UPPERLEFT: 34 182, BOTTOMRIGHT: 258 206, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelHealthBars";
+ TOOLTIPTEXT = "TOOLTIP:HealthBars";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:HealthBars";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = COMBOBOX;
+ SCREENRECT = UPPERLEFT: 40 206, BOTTOMRIGHT: 264 230, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ComboBoxHealthBars";
+ TOOLTIPTEXT = "TOOLTIP:HealthBars";
+ STATUS = ENABLED+IMAGE;
+ STYLE = MOUSETRACK+COMBOBOX;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 10, BOLD: 0;
+ HEADERTEMPLATE = "ComboBoxEntry";
+ TOOLTIPDELAY = -1;
+ TEXTCOLOR = ENABLED: 254 254 254 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: NoImage, COLOR: 47 55 168 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: ListBoxHiliteSelectedItemLeftEnd, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: ListBoxHiliteSelectedItemRightEnd, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteSelectedItemRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteSelectedItemSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXDATA = ISEDITABLE: 0,
+ MAXCHARS: 16,
+ MAXDISPLAY: 5,
+ ASCIIONLY: 0,
+ LETTERSANDNUMBERS: 0;
+ COMBOBOXDROPDOWNBUTTONENABLEDDRAWDATA = IMAGE: VSliderDownButtonEnabled, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: VSliderDownButtonHiliteSelected, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXDROPDOWNBUTTONDISABLEDDRAWDATA = IMAGE: VSliderDownButtonDisabled, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 128 128 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXDROPDOWNBUTTONHILITEDRAWDATA = IMAGE: VSliderDownButtonHilite, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: VSliderDownButtonHiliteSelected, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXEDITBOXENABLEDDRAWDATA = IMAGE: TextEntryEnabledLeftEnd, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: TextEntryEnabledRightEnd, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: TextEntryEnabledRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: TextEntryEnabledSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXEDITBOXDISABLEDDRAWDATA = IMAGE: TextEntryDisabledLeftEnd, COLOR: 128 128 128 255, BORDERCOLOR: 0 0 0 255,
+ IMAGE: TextEntryDisabledRightEnd, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: TextEntryDisabledRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: TextEntryDisabledSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXEDITBOXHILITEDRAWDATA = IMAGE: TextEntryHiliteLeftEnd, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: TextEntryHiliteRightEnd, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: TextEntryHiliteRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: TextEntryHiliteSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXLISTBOXENABLEDDRAWDATA = IMAGE: BlackSquare, COLOR: 0 0 0 255, BORDERCOLOR: 49 55 168 255,
+ IMAGE: ListBoxHiliteItemLeftEnd, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: ListBoxHiliteItemRightEnd, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteItemRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteItemSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXLISTBOXDISABLEDDRAWDATA = IMAGE: BlackSquare, COLOR: 0 0 0 255, BORDERCOLOR: 49 55 168 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ COMBOBOXLISTBOXHILITEDRAWDATA = IMAGE: BlackSquare, COLOR: 0 0 0 255, BORDERCOLOR: 49 55 168 255,
+ IMAGE: ListBoxHiliteSelectedItemLeftEnd, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: ListBoxHiliteSelectedItemRightEnd, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteSelectedItemRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: ListBoxHiliteSelectedItemSmallRepeatingCenter, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXENABLEDUPBUTTONDRAWDATA = IMAGE: VSliderUpButtonEnabled, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: VSliderUpButtonHiliteSelected, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXDISABLEDUPBUTTONDRAWDATA = IMAGE: VSliderUpButtonDisabled, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXHILITEUPBUTTONDRAWDATA = IMAGE: VSliderUpButtonHilite, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: VSliderUpButtonHiliteSelected, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXENABLEDDOWNBUTTONDRAWDATA = IMAGE: VSliderDownButtonEnabled, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: VSliderDownButtonHiliteSelected, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXDISABLEDDOWNBUTTONDRAWDATA = IMAGE: VSliderDownButtonDisabled, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXHILITEDOWNBUTTONDRAWDATA = IMAGE: VSliderDownButtonHilite, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: VSliderDownButtonHiliteSelected, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXENABLEDSLIDERDRAWDATA = IMAGE: NoImage, COLOR: 168 255 12 0, BORDERCOLOR: 47 55 168 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXDISABLEDSLIDERDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 0, BORDERCOLOR: 148 112 0 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ LISTBOXHILITESLIDERDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 0, BORDERCOLOR: 49 55 168 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ SLIDERTHUMBENABLEDDRAWDATA = IMAGE: ScrollBarThumbEnabled, COLOR: 255 4 0 0, BORDERCOLOR: 255 243 28 255,
+ IMAGE: ScrollBarThumbHiliteSelected, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ SLIDERTHUMBDISABLEDDRAWDATA = IMAGE: ScrollBarThumbDisabled, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 192 192 192 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ SLIDERTHUMBHILITEDRAWDATA = IMAGE: ScrollBarThumbHilite, COLOR: 0 255 0 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: ScrollBarThumbHiliteSelected, COLOR: 254 254 254 255, BORDERCOLOR: 0 128 0 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 34 238, BOTTOMRIGHT: 258 262, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelPlayerColors";
+ TOOLTIPTEXT = "TOOLTIP:PlayerColors";
STATUS = ENABLED;
STYLE = STATICTEXT+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
@@ -7385,7 +8056,7 @@ WINDOW
FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
HEADERTEMPLATE = "MinorTitle";
TOOLTIPDELAY = -1;
- TEXT = "GUI:HealthBars";
+ TEXT = "GUI:PlayerColors";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
@@ -7421,9 +8092,9 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = COMBOBOX;
- SCREENRECT = UPPERLEFT: 40 206, BOTTOMRIGHT: 264 230, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:ComboBoxHealthBars";
- TOOLTIPTEXT = "TOOLTIP:HealthBars";
+ SCREENRECT = UPPERLEFT: 40 262, BOTTOMRIGHT: 264 286, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ComboBoxPlayerColors";
+ TOOLTIPTEXT = "TOOLTIP:PlayerColors";
STATUS = ENABLED+IMAGE;
STYLE = MOUSETRACK+COMBOBOX;
SYSTEMCALLBACK = "[None]";
@@ -7659,11 +8330,150 @@ WINDOW
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
END
CHILD
+ WINDOW
+ WINDOWTYPE = CHECKBOX;
+ SCREENRECT = UPPERLEFT: 40 294, BOTTOMRIGHT: 264 318, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:CheckOrderLines";
+ STATUS = ENABLED+IMAGE+BORDER;
+ STYLE = CHECKBOX+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPTEXT = "TOOLTIP:OrderLines";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:OrderLines";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: Active-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Checked, COLOR: 64 64 64 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: Active-HiLighted, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = CHECKBOX;
+ SCREENRECT = UPPERLEFT: 40 322, BOTTOMRIGHT: 264 346, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:CheckEmptyBuildingPips";
+ STATUS = ENABLED+IMAGE+BORDER;
+ STYLE = CHECKBOX+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
+ HEADERTEMPLATE = "MinorTitle";
+ TOOLTIPTEXT = "TOOLTIP:EmptyBuildingPips";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:EmptyBuildingPips";
+ TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
+ DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
+ HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 255 0 0 255, BORDERCOLOR: 255 128 128 255,
+ IMAGE: Active-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 0 0 255 255, BORDERCOLOR: 128 128 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 128 128 128 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Unchecked, COLOR: 255 255 255 0, BORDERCOLOR: 192 192 192 255,
+ IMAGE: Disabled-Checked, COLOR: 64 64 64 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 255 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: Active-HiLighted, COLOR: 255 255 255 0, BORDERCOLOR: 128 128 255 255,
+ IMAGE: Active-Checked, COLOR: 255 255 0 255, BORDERCOLOR: 254 254 254 255,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0,
+ IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
+ END
+ CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
- SCREENRECT = UPPERLEFT: 34 238, BOTTOMRIGHT: 258 262, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:LabelPlayerColors";
- TOOLTIPTEXT = "TOOLTIP:PlayerColors";
+ SCREENRECT = UPPERLEFT: 282 150, BOTTOMRIGHT: 506 174, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:GroupHeadingGameplay1";
+ STATUS = ENABLED;
+ STYLE = STATICTEXT+MOUSETRACK;
+ SYSTEMCALLBACK = "[None]";
+ INPUTCALLBACK = "[None]";
+ TOOLTIPCALLBACK = "[None]";
+ DRAWCALLBACK = "[None]";
+ FONT = NAME: "Generals", SIZE: 15, BOLD: 0;
+ HEADERTEMPLATE = "MainButton";
+ TOOLTIPDELAY = -1;
+ TEXT = "GUI:OptionsGroupHud";
+ TEXTCOLOR = ENABLED: 186 255 12 255, ENABLEDBORDER: 0 2 0 255, DISABLED: 186 255 12 255, DISABLEDBORDER: 0 2 0 255, HILITE: 186 255 12 255, HILITEBORDER: 0 2 0 255;
+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 0 0, BORDERCOLOR: 0 0 0 0,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 64 64 64 255, BORDERCOLOR: 192 192 192 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ HILITEDRAWDATA = IMAGE: NoImage, COLOR: 0 128 0 255, BORDERCOLOR: 128 255 128 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255,
+ IMAGE: NoImage, COLOR: 255 255 255 255, BORDERCOLOR: 255 255 255 255;
+ STATICTEXTDATA = CENTERED: 0;
+ END
+ CHILD
+ WINDOW
+ WINDOWTYPE = STATICTEXT;
+ SCREENRECT = UPPERLEFT: 282 182, BOTTOMRIGHT: 506 206, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelHudScale";
+ TOOLTIPTEXT = "TOOLTIP:HudScale";
STATUS = ENABLED;
STYLE = STATICTEXT+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
@@ -7673,7 +8483,7 @@ WINDOW
FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
HEADERTEMPLATE = "MinorTitle";
TOOLTIPDELAY = -1;
- TEXT = "GUI:PlayerColors";
+ TEXT = "GUI:HudScale";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
@@ -7709,9 +8519,9 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = COMBOBOX;
- SCREENRECT = UPPERLEFT: 40 262, BOTTOMRIGHT: 264 286, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:ComboBoxPlayerColors";
- TOOLTIPTEXT = "TOOLTIP:PlayerColors";
+ SCREENRECT = UPPERLEFT: 288 206, BOTTOMRIGHT: 512 230, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ComboBoxHudScale";
+ TOOLTIPTEXT = "TOOLTIP:HudScale";
STATUS = ENABLED+IMAGE;
STYLE = MOUSETRACK+COMBOBOX;
SYSTEMCALLBACK = "[None]";
@@ -7949,9 +8759,9 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
- SCREENRECT = UPPERLEFT: 34 294, BOTTOMRIGHT: 258 318, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:LabelHudScale";
- TOOLTIPTEXT = "TOOLTIP:HudScale";
+ SCREENRECT = UPPERLEFT: 282 238, BOTTOMRIGHT: 506 262, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:LabelIncomeRate";
+ TOOLTIPTEXT = "TOOLTIP:IncomeRate";
STATUS = ENABLED;
STYLE = STATICTEXT+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
@@ -7961,7 +8771,7 @@ WINDOW
FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
HEADERTEMPLATE = "MinorTitle";
TOOLTIPDELAY = -1;
- TEXT = "GUI:HudScale";
+ TEXT = "GUI:IncomeRate";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
HILITE: 128 128 255 255, HILITEBORDER: 0 0 128 255;
@@ -7997,9 +8807,9 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = COMBOBOX;
- SCREENRECT = UPPERLEFT: 40 318, BOTTOMRIGHT: 264 342, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:ComboBoxHudScale";
- TOOLTIPTEXT = "TOOLTIP:HudScale";
+ SCREENRECT = UPPERLEFT: 288 262, BOTTOMRIGHT: 512 286, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:ComboBoxIncomeRate";
+ TOOLTIPTEXT = "TOOLTIP:IncomeRate";
STATUS = ENABLED+IMAGE;
STYLE = MOUSETRACK+COMBOBOX;
SYSTEMCALLBACK = "[None]";
@@ -8237,8 +9047,8 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = CHECKBOX;
- SCREENRECT = UPPERLEFT: 40 350, BOTTOMRIGHT: 264 374, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:CheckOrderLines";
+ SCREENRECT = UPPERLEFT: 288 294, BOTTOMRIGHT: 512 318, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:CheckNetBox";
STATUS = ENABLED+IMAGE+BORDER;
STYLE = CHECKBOX+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
@@ -8247,9 +9057,9 @@ WINDOW
DRAWCALLBACK = "[None]";
FONT = NAME: "Arial", SIZE: 14, BOLD: 0;
HEADERTEMPLATE = "MinorTitle";
- TOOLTIPTEXT = "TOOLTIP:OrderLines";
+ TOOLTIPTEXT = "TOOLTIP:NetBox";
TOOLTIPDELAY = -1;
- TEXT = "GUI:OrderLines";
+ TEXT = "GUI:NetBox";
TEXTCOLOR = ENABLED: 255 255 255 255, ENABLEDBORDER: 0 0 0 255,
DISABLED: 192 192 192 255, DISABLEDBORDER: 64 64 64 255,
HILITE: 186 255 12 255, HILITEBORDER: 0 0 0 255;
@@ -8284,8 +9094,8 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
- SCREENRECT = UPPERLEFT: 282 150, BOTTOMRIGHT: 506 174, CREATIONRESOLUTION: 800 600;
- NAME = "OptionsMenu.wnd:GroupHeadingGameplay1";
+ SCREENRECT = UPPERLEFT: 530 150, BOTTOMRIGHT: 754 174, CREATIONRESOLUTION: 800 600;
+ NAME = "OptionsMenu.wnd:GroupHeadingGameplay2";
STATUS = ENABLED;
STYLE = STATICTEXT+MOUSETRACK;
SYSTEMCALLBACK = "[None]";
@@ -8329,7 +9139,7 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = STATICTEXT;
- SCREENRECT = UPPERLEFT: 282 182, BOTTOMRIGHT: 506 206, CREATIONRESOLUTION: 800 600;
+ SCREENRECT = UPPERLEFT: 530 182, BOTTOMRIGHT: 754 206, CREATIONRESOLUTION: 800 600;
NAME = "OptionsMenu.wnd:LabelLanguage";
TOOLTIPTEXT = "TOOLTIP:Language";
STATUS = ENABLED;
@@ -8377,7 +9187,7 @@ WINDOW
CHILD
WINDOW
WINDOWTYPE = COMBOBOX;
- SCREENRECT = UPPERLEFT: 288 206, BOTTOMRIGHT: 512 230, CREATIONRESOLUTION: 800 600;
+ SCREENRECT = UPPERLEFT: 536 206, BOTTOMRIGHT: 760 230, CREATIONRESOLUTION: 800 600;
NAME = "OptionsMenu.wnd:ComboBoxLanguage";
TOOLTIPTEXT = "TOOLTIP:Language";
STATUS = ENABLED+IMAGE;
diff --git a/GeneralsMD/Code/GameEngine/Include/Common/GlobalData.h b/GeneralsMD/Code/GameEngine/Include/Common/GlobalData.h
index 8b7f56976..236395c1c 100644
--- a/GeneralsMD/Code/GameEngine/Include/Common/GlobalData.h
+++ b/GeneralsMD/Code/GameEngine/Include/Common/GlobalData.h
@@ -75,6 +75,20 @@ enum HealthBarModeType
/** The HudScale option's steps, 100/115/130/150% of the bottom HUD's own size (ControlBarHudScale). */
enum { HUD_SCALE_COUNT = 4 };
+/** The IncomeRate option: what the income beside the money is counted over. Automatic is per
+ * minute below INCOME_RATE_AUTOMATIC_PER_SECOND_FROM dollars a second and per second from there
+ * up: under that a whole number of dollars a second rounds most of the income away, which is
+ * what "+2/s" for $135 a minute does. */
+enum IncomeRateModeType
+{
+ INCOME_RATE_PER_SECOND = 0, ///< "+40/s", what the bar has always shown
+ INCOME_RATE_PER_MINUTE = 1, ///< "+2400/min"
+ INCOME_RATE_AUTOMATIC = 2,
+
+ INCOME_RATE_MODE_COUNT = 3,
+};
+enum { INCOME_RATE_AUTOMATIC_PER_SECOND_FROM = 10 };
+
/** The language the game's words are shown in. English is the string table EA shipped; every other
* entry names a translation GameText lays over it. Speech and video stay what the install has. */
enum TextLanguageType
@@ -394,6 +408,8 @@ public:
Bool m_buildPlacementShadows; ///< whether that structure casts a shadow while it rides the cursor
Bool m_zoomToCursor; ///< the mouse wheel zooms toward whatever the cursor is over
Bool m_isometricCamera; ///< the tactical view from far off down a narrow cone, near enough orthographic
+ Int m_closerZoomPercent; ///< percent taken off MinCameraHeight, so the wheel comes nearer the ground; 0 = as GameData.ini has it
+ Int m_dragTolerance; ///< pixels the pointer may travel with a button held before the press is a drag; replaces Mouse.ini's DragTolerance
Bool m_formationDrag; ///< with the move, attack move or guard key armed, a left drag spreads the selection along the line drawn
Bool m_showAllyCursors; ///< in a network game, draw where each ally's mouse is pointing
Bool m_chromaLighting; ///< put the state of the match on Razer hardware
@@ -401,6 +417,9 @@ public:
Int m_textureFilterMode; ///< 0 bilinear, 1 trilinear, 2 anisotropic
Int m_anisotropyLevel; ///< samples anisotropic filtering may take; 0 = whatever the card offers
Bool m_showHudOverlay; ///< draw the fps / elapsed time / income line in the corner
+ Bool m_showNetBox; ///< the player's own switch for that corner: the network box, or the plate where the bar has no page
+ Int m_incomeRateMode; ///< IncomeRateModeType: the income beside the money per second, per minute or whichever reads better
+ Bool m_showEmptyBuildingPips; ///< the row of empty slots over a building nobody is in
Bool m_showPlacementRangeRing; ///< while placing a structure, ring its weapon range
Bool m_showSkillStrip; ///< watching, every general's bought promotions, bottom right
Bool m_showSuperweaponStrip; ///< the superweapon countdown cameos, top right
diff --git a/GeneralsMD/Code/GameEngine/Include/GameClient/InGameUI.h b/GeneralsMD/Code/GameEngine/Include/GameClient/InGameUI.h
index de519dc1c..5c5cd40c6 100644
--- a/GeneralsMD/Code/GameEngine/Include/GameClient/InGameUI.h
+++ b/GeneralsMD/Code/GameEngine/Include/GameClient/InGameUI.h
@@ -370,6 +370,10 @@ struct MoneyPlateWidth
enum { MONEY_SHRINK_HOLD_MS = 3000, MONEY_SHRINK_EASE_MS = 200 };
Int InGameUI_moneyPlateWidth( MoneyPlateWidth &plate, Int needed, UnsignedInt nowMs );
+/** The IncomeRate option: TRUE when the income beside the money is written per minute, for a
+ * player earning `perSecond` dollars a second. See IncomeRateModeType for what automatic picks. */
+Bool InGameUI_incomePerMinute( Int incomeRateMode, Int perSecond );
+
// ------------------------------------------------------------------------------------------------
/** Basic functionality common to all in-game user interfaces */
// ------------------------------------------------------------------------------------------------
@@ -466,7 +470,8 @@ public: // ********************************************************************
void drawCellGridFront( Int grid );
void drawScoreboard( void ); ///< that scoreboard, over everything
void sampleEarnings( void ); ///< every player's money earned, once a game second
- Int earnedPerSecond( Int playerIndex ) const; ///< what that player earned a second over the readings held
+ Int earnedOver( Int playerIndex, Int seconds ) const; ///< what that player earned in that many seconds, at the rate of the readings held
+ Int earnedPerSecond( Int playerIndex ) const { return earnedOver( playerIndex, 1 ); }
/** Window/Html/Tooltip.html is there to draw with, in a match. */
Bool isTooltipPageReady( void );
/** The tooltip page: the command bar's build tooltip over the hovered button while one is up,
@@ -1624,6 +1629,7 @@ protected:
DisplayString * m_peaceCountdownDisplayString; ///< the big digit of its last ten seconds
Int m_lastMoneyDisplayed; ///< so the money gadget is only written when the amount changes
Int m_lastEarningDisplayed; ///< or the money earned a second beside it
+ Bool m_lastEarningPerMinute; ///< or whether that was written per minute
MoneyPlateWidth m_moneyPlate; ///< the money plate's width, following the figure's
UnsignedInt m_hudDrawCount; ///< rendered frames counted by drawHudOverlay itself
UnsignedInt m_hudLastSampleFrame; ///< m_hudDrawCount the fps sample was last refreshed on
diff --git a/GeneralsMD/Code/GameEngine/Include/GameClient/LookAtXlat.h b/GeneralsMD/Code/GameEngine/Include/GameClient/LookAtXlat.h
index 8ba7cd247..82aaf95cf 100644
--- a/GeneralsMD/Code/GameEngine/Include/GameClient/LookAtXlat.h
+++ b/GeneralsMD/Code/GameEngine/Include/GameClient/LookAtXlat.h
@@ -86,4 +86,16 @@ private:
extern LookAtTranslator *TheLookAtTranslator;
+// EDGE SCROLL ////////////////////////////////////////////////////////////////////////////////////
+// The map scrolls while the pointer is in a band along the screen's edges, faster the deeper in
+// it goes. Free functions so the arithmetic can be tested without a display.
+
+/** How many pixels in from each edge the band reaches on a display this tall: three percent of
+ * the height, and never less than the three pixels the game shipped with. */
+extern Int EdgeScroll_bandForHeight( Int displayHeight );
+
+/** The share of the full scroll speed at this many pixels from an edge: nothing outside the band,
+ * all of it on the last three pixels, a straight ramp between. */
+extern Real EdgeScroll_strength( Int distanceFromEdge, Int band );
+
#endif
diff --git a/GeneralsMD/Code/GameEngine/Include/GameClient/View.h b/GeneralsMD/Code/GameEngine/Include/GameClient/View.h
index af3a65644..0124182ce 100644
--- a/GeneralsMD/Code/GameEngine/Include/GameClient/View.h
+++ b/GeneralsMD/Code/GameEngine/Include/GameClient/View.h
@@ -187,6 +187,7 @@ public:
virtual void anchorZoomAt( const ICoord2D *pixel ) { } ///< ZoomToCursor: hold the ground under this pixel there while the zoom settles
virtual void setZoomToDefault( void ) { } ///< Set zoom to default value
virtual void setZoomToMax( void ) { } ///< Set zoom as far out as the player may zoom by hand
+ void setMinHeightAboveGround( Real height ) { m_minHeightAboveGround = height; } ///< CloserZoom: how near the ground the wheel may come
virtual void setOkToAdjustHeight( Bool val ) { m_okToAdjustHeight = val; } ///< Set this to adjust camera height
// for debugging
@@ -343,6 +344,13 @@ class ViewLocation
extern Real View_snapAngleToEighth( Real angle ); ///< nearest multiple of 45 degrees
extern Real View_stepAngleByEighths( Real angle, Int steps ); ///< snap, then move that many eighths
+// CLOSEST ZOOM ///////////////////////////////////////////////////////////////////////////////////
+// The CloserZoom option takes a percentage off GameData.ini's MinCameraHeight. It can only bring
+// the camera nearer: the far limit is how much of the map a player sees, and that stays the same
+// for everyone in the match. A free function for the reason above, and so View::init and the
+// option's setter share one copy.
+extern Real View_closestCameraHeight( Real minCameraHeight, Int closerZoomPercent );
+
// EXTERNALS //////////////////////////////////////////////////////////////////////////////////////
extern View *TheTacticalView; ///< the main tactical interface to the game world
diff --git a/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp b/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp
index 931ec1e77..10e49c333 100644
--- a/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/Common/GlobalData.cpp
@@ -1132,6 +1132,8 @@ GlobalData::GlobalData()
m_snapCameraRotateTo45 = TRUE;
m_zoomToCursor = TRUE;
m_isometricCamera = FALSE;
+ m_closerZoomPercent = 0;
+ m_dragTolerance = 25; // what Mouse.ini in INIZH.big says, so nothing moves until the slider does
// a left drag with the move, attack move or guard key armed draws a formation line
m_formationDrag = TRUE;
m_showAllyCursors = TRUE;
@@ -1147,6 +1149,9 @@ GlobalData::GlobalData()
m_buildPlacementOpacity = PLACEMENT_SILHOUETTE_OPACITY;
m_buildPlacementShadows = TRUE;
m_showHudOverlay = TRUE;
+ m_showNetBox = TRUE;
+ m_incomeRateMode = INCOME_RATE_PER_SECOND;
+ m_showEmptyBuildingPips = TRUE;
m_showPlacementRangeRing = TRUE;
m_showSkillStrip = TRUE;
m_showSuperweaponStrip = TRUE;
diff --git a/GeneralsMD/Code/GameEngine/Source/Common/OptionsCatalog.cpp b/GeneralsMD/Code/GameEngine/Source/Common/OptionsCatalog.cpp
index e9e173afa..c678ccbdf 100644
--- a/GeneralsMD/Code/GameEngine/Source/Common/OptionsCatalog.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/Common/OptionsCatalog.cpp
@@ -25,6 +25,7 @@
#include "Common/OptionsCatalog.h"
#include "Common/GlobalData.h"
#include "Common/UserPreferences.h"
+#include "GameClient/Mouse.h"
#include "GameClient/PlayerColorScheme.h"
#include "GameClient/View.h"
@@ -58,6 +59,27 @@ OPTION_BOOL_ACCESSORS( m_edgeScrollInWindowedMode )
OPTION_BOOL_ACCESSORS( m_snapCameraRotateTo45 )
OPTION_BOOL_ACCESSORS( m_zoomToCursor )
OPTION_BOOL_ACCESSORS( m_isometricCamera )
+OPTION_BOOL_ACCESSORS( m_startAtMaxZoom )
+
+// The view copied its closest height out of GlobalData once, when it was made, so a change from
+// the menu has to be handed to it. It is not moved: the next turn of the wheel meets the new limit.
+static Int get_m_closerZoomPercent( void ) { return TheGlobalData->m_closerZoomPercent; }
+static void set_m_closerZoomPercent( Int value )
+{
+ TheWritableGlobalData->m_closerZoomPercent = value;
+ if (TheTacticalView)
+ TheTacticalView->setMinHeightAboveGround( View_closestCameraHeight( TheGlobalData->m_minCameraHeight, value ) );
+}
+
+// This catalog loads before there is a mouse, so the value waits in GlobalData and Mouse::parseIni
+// takes it from there. The menu changes it with the mouse up, which is the branch below.
+static Int get_m_dragTolerance( void ) { return TheGlobalData->m_dragTolerance; }
+static void set_m_dragTolerance( Int value )
+{
+ TheWritableGlobalData->m_dragTolerance = value;
+ if (TheMouse)
+ TheMouse->m_dragTolerance = (UnsignedInt)value;
+}
OPTION_BOOL_ACCESSORS( m_formationDrag )
OPTION_BOOL_ACCESSORS( m_showAllyCursors )
OPTION_BOOL_ACCESSORS( m_chromaLighting )
@@ -75,6 +97,9 @@ OPTION_INT_ACCESSORS( m_hudScale )
OPTION_INT_ACCESSORS( m_playerColorScheme )
OPTION_INT_ACCESSORS( m_textLanguage )
OPTION_BOOL_ACCESSORS( m_showOrderLines )
+OPTION_BOOL_ACCESSORS( m_showNetBox )
+OPTION_INT_ACCESSORS( m_incomeRateMode )
+OPTION_BOOL_ACCESSORS( m_showEmptyBuildingPips )
OPTION_BOOL_ACCESSORS( m_useShadowVolumesForSkins )
OPTION_BOOL_ACCESSORS( m_shadowsForProjectiles )
OPTION_BOOL_ACCESSORS( m_shadowsForProps )
@@ -233,6 +258,27 @@ const OptionDef TheOptionCatalog[] =
OPTION_BOOL, APPLY_LIVE, 0, 1,
get_m_isometricCamera, set_m_isometricCamera },
+ // A match opens as far out as the wheel goes, or at the height the map's author framed it for.
+ // Read when the map loads, so it counts from the next match. On Options > Controls.
+ { "StartAtMaxZoom", OPT_WND( "CheckStartAtMaxZoom" ), "GUI:StartAtMaxZoom",
+ OPTION_BOOL, APPLY_LIVE, 0, 1,
+ get_m_startAtMaxZoom, set_m_startAtMaxZoom },
+
+ // Percent taken off GameData.ini's MinCameraHeight, so the wheel comes nearer the ground than
+ // the 120 units the game ships with; 60 leaves 48. There is no row for the far end and there
+ // will not be one: how much of the map a player sees is an advantage, and Options.ini is outside
+ // the mismatch check. This one only ever shows less.
+ { "CloserZoom", OPT_WND( "SliderCloserZoom" ), "GUI:CloserZoom",
+ OPTION_INT, APPLY_LIVE, 0, 60,
+ get_m_closerZoomPercent, set_m_closerZoomPercent },
+
+ // Pixels the pointer may travel with a button held before the press stops being a click and
+ // starts a selection box, a camera drag or a formation line. Mouse.ini says 25, which is the
+ // default here; a high-DPI mouse wants more and a small screen less.
+ { "DragTolerance", OPT_WND( "SliderDragTolerance" ), "GUI:DragTolerance",
+ OPTION_INT, APPLY_LIVE, 2, 50,
+ get_m_dragTolerance, set_m_dragTolerance },
+
// With the move, attack move or guard key armed, a left drag over the ground spreads the
// selection along the line drawn instead of sending everyone to one point. On by default, and
// here for anyone who would rather that drag did nothing at all.
@@ -353,6 +399,28 @@ const OptionDef TheOptionCatalog[] =
OPTION_BOOL, APPLY_LIVE, 0, 1,
get_m_showOrderLines, set_m_showOrderLines },
+ // The box in the top right corner: the match clock, the frame rates and, in a network game, the
+ // connection. Off, the superweapon timers move up into the corner it leaves. A key of its own
+ // and not ShowHudOverlay, which left this catalog on purpose: an Options.ini from before that
+ // still says "no" under the old name.
+ { "ShowNetBox", OPT_WND( "CheckNetBox" ), "GUI:NetBox",
+ OPTION_BOOL, APPLY_LIVE, 0, 1,
+ get_m_showNetBox, set_m_showNetBox },
+
+ // The income beside the money: per second, per minute, or automatic, which is per minute while
+ // the player earns under ten dollars a second and per second from there up. A supply line
+ // bringing in $135 a minute reads "+2/s" per second, and losing a third of it still reads "+2/s".
+ { "IncomeRate", OPT_WND( "ComboBoxIncomeRate" ), "GUI:IncomeRate",
+ OPTION_ENUM, APPLY_LIVE, 0, INCOME_RATE_MODE_COUNT - 1,
+ get_m_incomeRateMode, set_m_incomeRateMode },
+
+ // The row of slots over a building that holds troops is drawn empty too: ten grey boxes over a
+ // Barracks nobody is healing in. Off, a building wears its slots only while somebody is inside.
+ // Vehicles keep theirs either way, where an empty row is how much the transport carries.
+ { "EmptyBuildingPips", OPT_WND( "CheckEmptyBuildingPips" ), "GUI:EmptyBuildingPips",
+ OPTION_BOOL, APPLY_LIVE, 0, 1,
+ get_m_showEmptyBuildingPips, set_m_showEmptyBuildingPips },
+
// Which language the words are in. English is the string table the game shipped with, and every
// other entry is a translation laid over it, so a line the translation lacks stays English. The
// table is built once while the game starts: a new language is on screen from the next launch.
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/Drawable.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/Drawable.cpp
index 05cf6e2f1..d5d5d773a 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/Drawable.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/Drawable.cpp
@@ -3196,7 +3196,10 @@ void Drawable::drawContained( const IRegion2D *healthBarRegion )
if (!container->getContainerPipsToShow(numTotal, numFull))
return;
- // empty containers still show their (empty) pips
+ // empty containers still show their (empty) pips, unless the player switched that off for
+ // buildings: a Barracks wears ten empty boxes for the whole match otherwise
+ if (numFull == 0 && !TheGlobalData->m_showEmptyBuildingPips && obj->isKindOf( KINDOF_STRUCTURE ))
+ return;
Int numInfantry = 0;
const ContainedItemsList* contained = container->getContainedItemsList();
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp
index 7dd2afb24..6f8cdc021 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/OptionsMenu.cpp
@@ -2023,6 +2023,8 @@ static const SliderReadout TheSliderReadouts[] =
{ "OptionsMenu.wnd:SliderSFXVolume", "OptionsMenu.wnd:ValueSFXVolume", READOUT_PERCENT },
{ "OptionsMenu.wnd:SliderVoiceVolume", "OptionsMenu.wnd:ValueVoiceVolume", READOUT_PERCENT },
{ "OptionsMenu.wnd:SliderScrollSpeed", "OptionsMenu.wnd:ValueScrollSpeed", READOUT_NUMBER },
+ { "OptionsMenu.wnd:SliderCloserZoom", "OptionsMenu.wnd:ValueCloserZoom", READOUT_PERCENT },
+ { "OptionsMenu.wnd:SliderDragTolerance", "OptionsMenu.wnd:ValueDragTolerance", READOUT_NUMBER },
};
static const char *const TheTextureResolutionCaptions[] = { "GUI:Low", "GUI:Medium", "GUI:High" };
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp
index 78d420347..09bebc1cf 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp
@@ -1190,6 +1190,7 @@ InGameUI::InGameUI()
m_peaceCountdownDisplayString = NULL;
m_lastMoneyDisplayed = -1;
m_lastEarningDisplayed = 0;
+ m_lastEarningPerMinute = FALSE;
m_moneyPlate = MoneyPlateWidth();
m_hudDrawCount = 0;
m_hudLastSampleFrame = 0;
@@ -3913,15 +3914,22 @@ void InGameUI::update( void )
{
Int currentMoney = moneyPlayer->getMoney()->countMoney();
Int currentEarning = earnedPerSecond( moneyPlayer->getPlayerIndex() );
+ // the IncomeRate option: the same half minute of readings, counted per minute
+ const Bool perMinute = InGameUI_incomePerMinute( TheGlobalData->m_incomeRateMode, currentEarning );
+ if( perMinute )
+ currentEarning = earnedOver( moneyPlayer->getPlayerIndex(), 60 );
- if( m_lastMoneyDisplayed != currentMoney || m_lastEarningDisplayed != currentEarning )
+ if( m_lastMoneyDisplayed != currentMoney || m_lastEarningDisplayed != currentEarning ||
+ m_lastEarningPerMinute != perMinute )
{
UnicodeString buffer;
- buffer.format( TheGameText->fetch( "GUI:ControlBarMoneyEarning" ), currentMoney, currentEarning );
+ buffer.format( TheGameText->fetch( perMinute ? "GUI:ControlBarMoneyEarningMinute" : "GUI:ControlBarMoneyEarning" ),
+ currentMoney, currentEarning );
GadgetStaticTextSetText( moneyWin, buffer );
m_lastMoneyDisplayed = currentMoney;
m_lastEarningDisplayed = currentEarning;
+ m_lastEarningPerMinute = perMinute;
} // end if
@@ -9653,7 +9661,7 @@ void InGameUI::drawHudOverlay( void )
// the command bar page's network box reads these whether the plate is switched on or not; the
// plate itself stands down while the page is up, the box is where they are written then
- const Bool plate = TheGlobalData->m_showHudOverlay && !m_controlBarPageShown;
+ const Bool plate = TheGlobalData->m_showHudOverlay && TheGlobalData->m_showNetBox && !m_controlBarPageShown;
// only once a real game is under way - not in the shell, and not on the menu's background map
if( TheGameLogic == NULL || !TheGameLogic->isInGame() || TheGameLogic->isInShellGame() )
@@ -10779,11 +10787,12 @@ void InGameUI::sampleEarnings( void )
}
//-------------------------------------------------------------------------------------------------
-/** Money a player earned a second between the oldest reading held and the newest, rounded; 0
- * until there are two. It is shared over the whole half minute even before the readings reach
- * back that far, so the first truck of a match reads as a trickle rather than a fortune. */
+/** Money a player earned in `over` seconds at the rate between the oldest reading held and the
+ * newest, rounded; 0 until there are two. It is shared over the whole half minute even before the
+ * readings reach back that far, so the first truck of a match reads as a trickle rather than a
+ * fortune. */
//-------------------------------------------------------------------------------------------------
-Int InGameUI::earnedPerSecond( Int playerIndex ) const
+Int InGameUI::earnedOver( Int playerIndex, Int over ) const
{
if( m_earnedReadingCount < 2 )
return 0;
@@ -10791,7 +10800,16 @@ Int InGameUI::earnedPerSecond( Int playerIndex ) const
const EarnedReading &oldest = m_earnedReadings[ 0 ];
const EarnedReading &newest = m_earnedReadings[ m_earnedReadingCount - 1 ];
const Int seconds = max( (Int)( newest.second - oldest.second ), (Int)EARNINGS_WINDOW_SECONDS );
- return ( newest.earned[ playerIndex ] - oldest.earned[ playerIndex ] + seconds / 2 ) / seconds;
+ return ( ( newest.earned[ playerIndex ] - oldest.earned[ playerIndex ] ) * over + seconds / 2 ) / seconds;
+}
+
+//-------------------------------------------------------------------------------------------------
+Bool InGameUI_incomePerMinute( Int incomeRateMode, Int perSecond )
+{
+ if( incomeRateMode == INCOME_RATE_AUTOMATIC )
+ return perSecond < INCOME_RATE_AUTOMATIC_PER_SECOND_FROM;
+
+ return incomeRateMode == INCOME_RATE_PER_MINUTE;
}
/** One seat on the scoreboard page. `full` is whether the local player may see the numbers: his
@@ -11708,6 +11726,10 @@ static const char *const NET_PAGE = "Window\\Html\\Net.html";
* own: they change several times a second, and each change lays its page out again. */
void InGameUI::drawNetPage( void )
{
+ // ShowNetBox: the player switched the corner box off
+ if( !TheGlobalData->m_showNetBox )
+ return;
+
if( !m_netPageLoaded )
{
m_netPageLoaded = TRUE;
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/Input/Mouse.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/Input/Mouse.cpp
index 299dd721d..c225d8ae9 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/Input/Mouse.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/Input/Mouse.cpp
@@ -564,6 +564,10 @@ void Mouse::parseIni(void)
{
INI ini;
ini.load( AsciiString( "Data\\INI\\Mouse.ini" ), INI_LOAD_OVERWRITE, NULL );
+
+ // The drag threshold is the player's now. Options.ini was read into GlobalData long before
+ // this mouse existed, so this is where the DragTolerance line above gives way to it.
+ m_dragTolerance = (UnsignedInt)TheGlobalData->m_dragTolerance;
}
//-------------------------------------------------------------------------------------------------
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/LookAtXlat.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/LookAtXlat.cpp
index a237e4e29..1deffbc0b 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/LookAtXlat.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/LookAtXlat.cpp
@@ -40,6 +40,7 @@
#include "GameLogic/PartitionManager.h"
#include "GameClient/Display.h"
#include "GameClient/GameText.h"
+#include "GameClient/GameWindowManager.h" // for what the pointer is over, at the screen's edges
#include "GameClient/Mouse.h"
#include "GameClient/Shell.h"
#include "GameClient/GameClient.h"
@@ -68,14 +69,68 @@ static Bool scrollDir[4] = { false, false, false, false };
Int SCROLL_AMT = 100;
+// The last pixels of the screen, where the edge scroll has always run at full speed.
static const Int edgeScrollSize = 3;
-static Bool isAtScreenEdge( const ICoord2D& pos )
+// One wheel notch with Ctrl held counts as this many. The band from the closest zoom to the
+// farthest is about fifteen notches, so three of these cross it.
+static const Real CTRL_WHEEL_ZOOM_NOTCHES = 5.0f;
+
+//-----------------------------------------------------------------------------
+Int EdgeScroll_bandForHeight( Int displayHeight )
+{
+ const Int band = displayHeight * 3 / 100; // 32 pixels at 1080, 43 at 1440
+ return band > edgeScrollSize ? band : edgeScrollSize;
+}
+
+//-----------------------------------------------------------------------------
+Real EdgeScroll_strength( Int distanceFromEdge, Int band )
+{
+ if (distanceFromEdge >= band)
+ return 0.0f;
+ if (distanceFromEdge < edgeScrollSize)
+ return 1.0f;
+ return (Real)(band - distanceFromEdge) / (Real)(band - edgeScrollSize);
+}
+
+//-----------------------------------------------------------------------------
+/** The command bar, the minimap and every other window that draws stand on the screen's edges.
+ * The same walk pickDrawable makes: a window under the pointer counts unless it and everything
+ * it sits in is see-through. */
+static Bool isOverWindow( const ICoord2D& pos )
+{
+ GameWindow *window = NULL;
+ if (TheWindowManager)
+ window = TheWindowManager->getWindowUnderCursor( pos.x, pos.y );
+
+ for( ; window; window = window->winGetParent() )
+ if (!BitTest( window->winGetStatus(), WIN_STATUS_SEE_THRU ))
+ return TRUE;
+
+ return FALSE;
+}
+
+//-----------------------------------------------------------------------------
+/** How hard the screen's edges pull the view with the pointer here: -1..1 on each axis, and zero
+ * on both when the pointer is not in the band at all. Over a window only the last three pixels
+ * count, as they always did, so reaching for a button on the command bar neither moves the map
+ * nor turns the pointer into a scroll arrow. */
+static Coord2D edgeScrollPull( const ICoord2D& pos )
{
const Int width = (Int)TheDisplay->getWidth();
const Int height = (Int)TheDisplay->getHeight();
- return pos.x < edgeScrollSize || pos.y < edgeScrollSize
- || pos.x >= width - edgeScrollSize || pos.y >= height - edgeScrollSize;
+ const Int band = isOverWindow( pos ) ? edgeScrollSize : EdgeScroll_bandForHeight( height );
+
+ Coord2D pull;
+ pull.x = EdgeScroll_strength( width - 1 - pos.x, band ) - EdgeScroll_strength( pos.x, band );
+ pull.y = EdgeScroll_strength( height - 1 - pos.y, band ) - EdgeScroll_strength( pos.y, band );
+ return pull;
+}
+
+static Bool isAtScreenEdge( const ICoord2D& pos )
+{
+ const Coord2D pull = edgeScrollPull( pos );
+ return pull.x != 0.0f || pull.y != 0.0f;
}
static Mouse::MouseCursor prevCursor = Mouse::ARROW;
@@ -446,6 +501,12 @@ GameMessageDisposition LookAtTranslator::translateGameMessage(const GameMessage
if (TheGlobalData->m_zoomToCursor && TheInGameUI->getInputEnabled())
TheTacticalView->anchorZoomAt( &msg->getArgument( 0 )->pixel );
+ // Ctrl+wheel with nothing to place crosses the zoom range in three notches instead of
+ // fifteen. Ctrl and not Shift: Shift is what lays a row of structures, and the wheel
+ // under it sets that row's gap (PlaceEventTranslator).
+ if (TheKeyboard->isCtrl() && TheInGameUI->getPendingPlaceType() == NULL)
+ spin *= CTRL_WHEEL_ZOOM_NOTCHES;
+
if (spin > 0.0f)
TheTacticalView->zoomIn( spin );
else if (spin < 0.0f)
@@ -539,24 +600,11 @@ GameMessageDisposition LookAtTranslator::translateGameMessage(const GameMessage
break;
case SCROLL_SCREENEDGE:
{
- UnsignedInt height = TheDisplay->getHeight();
- UnsignedInt width = TheDisplay->getWidth();
- if (m_currentPos.y < edgeScrollSize)
- {
- offset.y -= TheGlobalData->m_verticalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor;
- }
- if (m_currentPos.y >= height-edgeScrollSize)
- {
- offset.y += TheGlobalData->m_verticalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor;
- }
- if (m_currentPos.x < edgeScrollSize)
- {
- offset.x -= TheGlobalData->m_horizontalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor;
- }
- if (m_currentPos.x >= width-edgeScrollSize)
- {
- offset.x += TheGlobalData->m_horizontalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor;
- }
+ // The speed the last three pixels always gave, scaled by how deep into the band
+ // the pointer is: barely moving where it enters, all of it at the edge itself.
+ const Coord2D pull = edgeScrollPull( m_currentPos );
+ offset.x = TheGlobalData->m_horizontalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor * pull.x;
+ offset.y = TheGlobalData->m_verticalScrollSpeedFactor * SCROLL_AMT * TheGlobalData->m_keyboardScrollFactor * pull.y;
}
break;
}
diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/View.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/View.cpp
index 593772eba..5007006e5 100644
--- a/GeneralsMD/Code/GameEngine/Source/GameClient/View.cpp
+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/View.cpp
@@ -130,7 +130,7 @@ void View::init( void )
m_zoom = 1.0f;
m_maxHeightAboveGround = TheGlobalData->m_maxCameraHeight;
- m_minHeightAboveGround = TheGlobalData->m_minCameraHeight;
+ m_minHeightAboveGround = View_closestCameraHeight( TheGlobalData->m_minCameraHeight, TheGlobalData->m_closerZoomPercent );
m_okToAdjustHeight = FALSE;
m_defaultAngle = 0.0f;
@@ -214,6 +214,15 @@ Real View_stepAngleByEighths( Real angle, Int steps )
return View_snapAngleToEighth( angle ) + steps * step;
}
+/**
+ * CloserZoom: the lowest the wheel may bring the camera, which is GameData.ini's MinCameraHeight
+ * with that percentage taken off.
+ */
+Real View_closestCameraHeight( Real minCameraHeight, Int closerZoomPercent )
+{
+ return minCameraHeight * (Real)(100 - closerZoomPercent) / 100.0f;
+}
+
/**
* Rotate the view around the up axis by the given angle.
*/
diff --git a/GeneralsMD/Code/Tests/test_camera_behavior.inc b/GeneralsMD/Code/Tests/test_camera_behavior.inc
index f75d80de0..2a7681688 100644
--- a/GeneralsMD/Code/Tests/test_camera_behavior.inc
+++ b/GeneralsMD/Code/Tests/test_camera_behavior.inc
@@ -222,6 +222,56 @@ TEST(camera_wheel_anchors_zoom_to_cursor_only_with_the_box_ticked)
CHECK_EQ(f.view.zoomAnchors, 1);
}
+TEST(ctrl_wheel_zooms_five_notches_for_one)
+{
+ CHECK(bootOnce());
+ CameraInputFixture f;
+ const auto heightAfterOneNotch = [&f]()
+ {
+ f.view.setHeightAboveGround(1000.0f);
+ GameMessage *message = newInstance(GameMessage)(GameMessage::MSG_RAW_MOUSE_WHEEL);
+ const ICoord2D cursor = {320, 240};
+ message->appendPixelArgument(cursor);
+ message->appendRealArgument(1.0f);
+ f.camera.translateGameMessage(message);
+ message->deleteInstance();
+ return f.view.getHeightAboveGround();
+ };
+
+ const Real plain = 1000.0f - heightAfterOneNotch();
+ CHECK(plain > 0.0f);
+ f.keyboard.modifiers(KEY_STATE_LCONTROL);
+ const Real held = 1000.0f - heightAfterOneNotch();
+ CHECK_NEAR(held, 5.0f * plain, 0.01f);
+ // Shift is the row placement's key and changes nothing here
+ f.keyboard.modifiers(KEY_STATE_LSHIFT);
+ CHECK_NEAR(1000.0f - heightAfterOneNotch(), plain, 0.01f);
+}
+
+TEST(edge_scroll_ramps_from_the_band_to_the_old_three_pixels)
+{
+ // three percent of the height, and a tiny window keeps the three pixels it always had
+ CHECK_EQ(EdgeScroll_bandForHeight(1080), 32);
+ CHECK_EQ(EdgeScroll_bandForHeight(1440), 43);
+ CHECK_EQ(EdgeScroll_bandForHeight(60), 3);
+
+ const Int band = EdgeScroll_bandForHeight(1080);
+ // outside the band nothing; on the last three pixels what the game always gave
+ CHECK_EQ(EdgeScroll_strength(band, band), 0.0f);
+ CHECK_EQ(EdgeScroll_strength(500, band), 0.0f);
+ for (Int distance = 0; distance < 3; ++distance)
+ CHECK_EQ(EdgeScroll_strength(distance, band), 1.0f);
+ // entering the band barely moves the map, and every pixel deeper moves it faster
+ CHECK(EdgeScroll_strength(band - 1, band) > 0.0f);
+ CHECK(EdgeScroll_strength(band - 1, band) < 0.05f);
+ for (Int distance = 1; distance < band; ++distance)
+ CHECK(EdgeScroll_strength(distance, band) <= EdgeScroll_strength(distance - 1, band));
+
+ // over a window the band is the three pixels alone: full speed on them, nothing a pixel in
+ CHECK_EQ(EdgeScroll_strength(2, 3), 1.0f);
+ CHECK_EQ(EdgeScroll_strength(3, 3), 0.0f);
+}
+
TEST(arrow_keys_scroll_the_camera_and_w_a_s_d_stay_grid_keys)
{
CHECK(bootOnce());
diff --git a/GeneralsMD/Code/Tests/test_gameengine.cpp b/GeneralsMD/Code/Tests/test_gameengine.cpp
index 512405e86..6eaea7298 100644
--- a/GeneralsMD/Code/Tests/test_gameengine.cpp
+++ b/GeneralsMD/Code/Tests/test_gameengine.cpp
@@ -12296,6 +12296,143 @@ TEST(texture_filter_defaults_to_anisotropic)
delete scratch;
}
+/* Three rows on the Controls page. The zoom one may only ever bring the camera nearer: the far
+ limit is how much of the map a player sees, Options.ini is outside the mismatch check, and a row
+ whose range let the floor climb past the ceiling would push the ceiling up with it in
+ W3DView::setDefaultView. */
+TEST(start_zoom_closer_zoom_and_drag_threshold_are_rows_that_change_nothing_until_asked)
+{
+ const OptionDef *start = findOptionDef( "StartAtMaxZoom" );
+ const OptionDef *closer = findOptionDef( "CloserZoom" );
+ const OptionDef *drag = findOptionDef( "DragTolerance" );
+ CHECK( start != NULL && closer != NULL && drag != NULL );
+ if( start == NULL || closer == NULL || drag == NULL )
+ return;
+
+ CHECK_EQ( (Int)start->kind, (Int)OPTION_BOOL );
+ CHECK_EQ( (Int)closer->kind, (Int)OPTION_INT );
+ CHECK_EQ( (Int)drag->kind, (Int)OPTION_INT );
+ CHECK( strstr( start->widgetName, "CheckStartAtMaxZoom" ) != NULL );
+ CHECK( strstr( closer->widgetName, "SliderCloserZoom" ) != NULL );
+ CHECK( strstr( drag->widgetName, "SliderDragTolerance" ) != NULL );
+
+ GlobalData *saved = TheWritableGlobalData;
+ GlobalData *scratch = NEW GlobalData;
+ TheWritableGlobalData = scratch;
+
+ // an Options.ini with none of the three keys plays the way the last version did
+ CHECK_EQ( start->get(), 1 );
+ CHECK_EQ( closer->get(), 0 );
+ CHECK_EQ( drag->get(), 25 ); // DragTolerance in INIZH.big's Mouse.ini
+ CHECK( drag->lo > 0 && drag->lo <= 25 && drag->hi >= 25 );
+
+ start->set( 0 );
+ CHECK_EQ( (Int)scratch->m_startAtMaxZoom, 0 );
+ drag->set( 8 );
+ CHECK_EQ( scratch->m_dragTolerance, 8 );
+ closer->set( 40 );
+ CHECK_EQ( scratch->m_closerZoomPercent, 40 );
+
+ // the slider's left end is GameData.ini's own limit, and no position on it is above that
+ CHECK_EQ( closer->lo, 0 );
+ CHECK( closer->hi < 100 );
+ CHECK_NEAR( View_closestCameraHeight( 120.0f, closer->lo ), 120.0f, 0.001f );
+ CHECK_NEAR( View_closestCameraHeight( 120.0f, 60 ), 48.0f, 0.001f );
+ for( Int percent = closer->lo; percent <= closer->hi; ++percent )
+ {
+ const Real height = View_closestCameraHeight( 120.0f, percent );
+ CHECK( height > 0.0f && height <= 120.0f );
+ }
+
+ TheWritableGlobalData = saved;
+ delete scratch;
+}
+
+/* The corner box is the player's to switch off, under a key of its own. ShowHudOverlay left the
+ catalog with a "no" still sitting in old Options.ini files, and a row under that name would
+ read it back and take the box away from people who never asked. */
+TEST(net_box_is_a_check_box_that_starts_on_under_its_own_key)
+{
+ const OptionDef *def = findOptionDef( "ShowNetBox" );
+ CHECK( def != NULL );
+ if( def == NULL )
+ return;
+ CHECK_EQ( (Int)def->kind, (Int)OPTION_BOOL );
+ CHECK_EQ( (Int)def->apply, (Int)APPLY_LIVE );
+ CHECK( strstr( def->widgetName, "CheckNetBox" ) != NULL );
+ CHECK( findOptionDef( "ShowHudOverlay" ) == NULL );
+
+ GlobalData *saved = TheWritableGlobalData;
+ GlobalData *scratch = NEW GlobalData;
+ TheWritableGlobalData = scratch;
+
+ CHECK( scratch->m_showNetBox );
+ def->set( 0 );
+ CHECK( !scratch->m_showNetBox );
+ // the older plate's own switch is not this one's to move
+ CHECK( scratch->m_showHudOverlay );
+
+ TheWritableGlobalData = saved;
+ delete scratch;
+}
+
+/* The income beside the money, per second as it always was until the player picks otherwise.
+ Automatic is the one with a rule in it: under ten dollars a second the whole number rounds most
+ of the income away, $135 a minute reading "+2/s", so that is where it goes per minute. */
+TEST(income_rate_stays_per_second_until_picked_and_automatic_turns_at_ten_a_second)
+{
+ const OptionDef *def = findOptionDef( "IncomeRate" );
+ CHECK( def != NULL );
+ if( def == NULL )
+ return;
+ CHECK_EQ( (Int)def->kind, (Int)OPTION_ENUM );
+ CHECK_EQ( def->hi, (Int)INCOME_RATE_MODE_COUNT - 1 );
+ CHECK( strstr( def->widgetName, "ComboBoxIncomeRate" ) != NULL );
+
+ GlobalData *saved = TheWritableGlobalData;
+ GlobalData *scratch = NEW GlobalData;
+ TheWritableGlobalData = scratch;
+
+ CHECK_EQ( def->get(), (Int)INCOME_RATE_PER_SECOND );
+ def->set( INCOME_RATE_AUTOMATIC );
+ CHECK_EQ( scratch->m_incomeRateMode, (Int)INCOME_RATE_AUTOMATIC );
+
+ TheWritableGlobalData = saved;
+ delete scratch;
+
+ CHECK( !InGameUI_incomePerMinute( INCOME_RATE_PER_SECOND, 0 ) );
+ CHECK( !InGameUI_incomePerMinute( INCOME_RATE_PER_SECOND, 500 ) );
+ CHECK( InGameUI_incomePerMinute( INCOME_RATE_PER_MINUTE, 0 ) );
+ CHECK( InGameUI_incomePerMinute( INCOME_RATE_PER_MINUTE, 500 ) );
+ CHECK( InGameUI_incomePerMinute( INCOME_RATE_AUTOMATIC, 0 ) );
+ CHECK( InGameUI_incomePerMinute( INCOME_RATE_AUTOMATIC, 2 ) );
+ CHECK( InGameUI_incomePerMinute( INCOME_RATE_AUTOMATIC, 9 ) );
+ CHECK( !InGameUI_incomePerMinute( INCOME_RATE_AUTOMATIC, 10 ) );
+ CHECK( !InGameUI_incomePerMinute( INCOME_RATE_AUTOMATIC, 40 ) );
+}
+
+TEST(empty_building_slots_are_a_check_box_that_starts_on)
+{
+ const OptionDef *def = findOptionDef( "EmptyBuildingPips" );
+ CHECK( def != NULL );
+ if( def == NULL )
+ return;
+ CHECK_EQ( (Int)def->kind, (Int)OPTION_BOOL );
+ CHECK_EQ( (Int)def->apply, (Int)APPLY_LIVE );
+ CHECK( strstr( def->widgetName, "CheckEmptyBuildingPips" ) != NULL );
+
+ GlobalData *saved = TheWritableGlobalData;
+ GlobalData *scratch = NEW GlobalData;
+ TheWritableGlobalData = scratch;
+
+ CHECK( scratch->m_showEmptyBuildingPips );
+ def->set( 0 );
+ CHECK( !scratch->m_showEmptyBuildingPips );
+
+ TheWritableGlobalData = saved;
+ delete scratch;
+}
+
TEST(high_static_lod_keeps_the_picture_settings)
{
StaticGameLODInfo high;
diff --git a/GeneralsMD/Code/Tools/optionsmenu_layout.py b/GeneralsMD/Code/Tools/optionsmenu_layout.py
index 0bdeee308..31ba7847f 100644
--- a/GeneralsMD/Code/Tools/optionsmenu_layout.py
+++ b/GeneralsMD/Code/Tools/optionsmenu_layout.py
@@ -153,8 +153,17 @@ NEW_CONTROLS = [
(LABEL, "LabelLanguage", "GUI:Language"),
(COMBO, "ComboBoxLanguage", None),
(CHECK, "CheckOrderLines", "GUI:OrderLines"),
+ (CHECK, "CheckNetBox", "GUI:NetBox"),
+ (LABEL, "LabelIncomeRate", "GUI:IncomeRate"),
+ (COMBO, "ComboBoxIncomeRate", None),
+ (CHECK, "CheckEmptyBuildingPips", "GUI:EmptyBuildingPips"),
(CHECK, "CheckZoomToCursor", "GUI:ZoomToCursor"),
(CHECK, "CheckIsometricCamera", "GUI:IsometricCamera"),
+ (CHECK, "CheckStartAtMaxZoom", "GUI:StartAtMaxZoom"),
+ (LABEL, "LabelCloserZoom", "GUI:CloserZoom"),
+ (SLIDER, "SliderCloserZoom", None),
+ (LABEL, "LabelDragTolerance", "GUI:DragTolerance"),
+ (SLIDER, "SliderDragTolerance", None),
(CHECK, "CheckTreeSway", "GUI:TreeSway"),
(CHECK, "CheckInfantryShadows", "GUI:InfantryShadows"),
(CHECK, "CheckProjectileShadows", "GUI:ProjectileShadows"),
@@ -171,10 +180,13 @@ NEW_CONTROLS = [
READOUTS = [
"ValueGamma", "ValueTextureResolution", "ValueParticleCap", "ValueAnisotropy",
"ValueMusicVolume", "ValueSFXVolume", "ValueVoiceVolume", "ValueScrollSpeed",
+ "ValueCloserZoom", "ValueDragTolerance",
]
-# a cloned slider keeps its template's range unless it is given one
-SLIDER_RANGES = [("SliderAnisotropy", 0, 16)]
+# a cloned slider keeps its template's range unless it is given one; selfcheck holds these to the
+# catalog row's own bounds
+SLIDER_RANGES = [("SliderAnisotropy", 0, 16), ("SliderCloserZoom", 0, 60),
+ ("SliderDragTolerance", 2, 50)]
# EA's captions that do not fit the page: two popup headings written in capitals, and a check box
# caption that ran 20 pixels past the panel's right edge once it stood in a 268 pixel column.
@@ -261,19 +273,26 @@ GROUP_LAYOUT = [
("PageControls", 0, "GUI:OptionsGroupScrolling", [
setting("ScrollSpeedLabel", "SliderScrollSpeed", "ValueScrollSpeed"),
("check", "CheckZoomToCursor"),
- ("check", "CheckIsometricCamera")]),
+ ("check", "CheckIsometricCamera"),
+ ("check", "CheckStartAtMaxZoom"),
+ setting("LabelCloserZoom", "SliderCloserZoom", "ValueCloserZoom")]),
("PageControls", 1, "GUI:OptionsGroupOrders", [
("check", "Retaliation"),
("check", "CheckDoubleClickAttackMove")]),
("PageControls", 2, "GUI:OptionsGroupInput", [
+ setting("LabelDragTolerance", "SliderDragTolerance", "ValueDragTolerance"),
("check", "CheckChromaLighting")]),
("PageGameplay", 0, "GUI:OptionsGroupBattlefield", [
setting("LabelHealthBars", "ComboBoxHealthBars"),
setting("LabelPlayerColors", "ComboBoxPlayerColors"),
+ ("check", "CheckOrderLines"),
+ ("check", "CheckEmptyBuildingPips")]),
+ ("PageGameplay", 1, "GUI:OptionsGroupHud", [
setting("LabelHudScale", "ComboBoxHudScale"),
- ("check", "CheckOrderLines")]),
- ("PageGameplay", 1, "GUI:OptionsGroupLanguage", [
+ setting("LabelIncomeRate", "ComboBoxIncomeRate"),
+ ("check", "CheckNetBox")]),
+ ("PageGameplay", 2, "GUI:OptionsGroupLanguage", [
setting("LabelLanguage", "ComboBoxLanguage")]),
("PageNetwork", 0, "GUI:OptionsGroupAddresses", [
@@ -640,6 +659,13 @@ def selfcheck():
if tooltip not in keys:
problems.append("%s tooltip %s is not in Patch.str" % (row["ini"], tooltip))
+ # a slider narrower than its row never reaches the row's ends, and says nothing about it
+ if row["kind"] == "OPTION_INT":
+ bounds = (int(row["lo"]), int(row["hi"]))
+ if dict((name, (low, high)) for name, low, high in SLIDER_RANGES).get(widget) != bounds:
+ problems.append("%s runs %d to %d and SLIDER_RANGES does not give %s that range"
+ % ((row["ini"],) + bounds + (widget,)))
+
if row["kind"] == "OPTION_ENUM":
constant = row["hi"].split()[0]
count = enum_count(constant)