Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
feat(gameclient): general marks, team rings on start spots
Olcay Seygana956c369dfcb
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 50cb112e7..9cd7e076a 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -43,8 +43,8 @@ found and fixed — EA's own, not port damage.**## A lobby built for your screen-- The skirmish, LAN and online rooms are laid out again from scratch, the same way in all three. Each seat is one row: a bar in that player's colour, his side's crest as a flat mark in the same colour (a question mark for Random, an eye for an observer), the player or the computer's level with its personality beside it, the army, the colour and the team. In LAN and online games a player who is ready turns his whole row green and the host's row wears a gold edge, so you see who you are waiting for without hunting for a little light.-- Teams have colours of their own: white, tan, mint and lavender for teams 1 to 4, pale tints that no player colour can be mistaken for. A swatch beside the team box shows it, and on the map preview a taken start spot's number is drawn in its team's colour, or the player's when he has no team, so you see who starts beside whom before the match. The number stays.+- The skirmish, LAN and online rooms are laid out again from scratch, the same way in all three. Each seat is one row: a bar in that player's colour, a flat mark in the same colour for his general (a jet for the Air Force, a trefoil for Nuke, a lit bomb for Demolition, the side's crest for the plain armies, a question mark for Random, an eye for an observer, and a disc with its initials for a mod's faction), the player or the computer's level with its personality beside it, the army, the colour and the team. In LAN and online games a player who is ready turns his whole row green and the host's row wears a gold edge, so you see who you are waiting for without hunting for a little light.+- Teams have colours of their own: white, black, brown and teal for teams 1 to 4, none of them a colour a player can pick, and four different greys even to an eye that sees no colour at all. A swatch beside the team box shows it, and on the map preview a taken start spot wears a thick ring in its team's colour, or the player's when he has no team, so you see who starts beside whom before the match. The number on the spot stays.- The map preview is square at last, 482 pixels a side in the skirmish room at 1080p where it was a 422 by 266 oblong of a square map, and the match rules sit under it the whole time. The Info, Chat and Lobby Settings tabs are gone: the match rules never hide behind a click. In the skirmish room the seats get the whole height and your medals and career record open over them from the Record button beside Back; Escape or Close puts them away. The network rooms keep their chat under the seats.- The rooms used to be a 4:3 screen pulled out to fit a wide monitor, so every emblem, start spot and the map itself came out a third wider than tall. They are drawn for 16:9 now and keep their shape on any screen: exact at 1080p, twice that at 4K, and centred between bands on a 4:3 or 16:10 monitor instead of squashed.- The personality list opens eight lines tall with a scroll bar. Opened from a lower seat, its sixteen lines used to run off the bottom of the screen.diff --git a/GeneralsMD/Code/Data/Art/Textures/ReforgedLobbyEmblems.tga b/GeneralsMD/Code/Data/Art/Textures/ReforgedLobbyEmblems.tgaindex abcc0b333..780ae7295 100644Binary files a/GeneralsMD/Code/Data/Art/Textures/ReforgedLobbyEmblems.tga and b/GeneralsMD/Code/Data/Art/Textures/ReforgedLobbyEmblems.tga differdiff --git a/GeneralsMD/Code/Data/INI/MappedImages/HandCreated/ReforgedLobbyEmblems.ini b/GeneralsMD/Code/Data/INI/MappedImages/HandCreated/ReforgedLobbyEmblems.iniindex c7edd61d5..fcecdfe18 100644--- a/GeneralsMD/Code/Data/INI/MappedImages/HandCreated/ReforgedLobbyEmblems.ini+++ b/GeneralsMD/Code/Data/INI/MappedImages/HandCreated/ReforgedLobbyEmblems.ini@@ -1,12 +1,14 @@-; The staging rooms' seat marks, one solid white shape a cell: the three side crests cut to their-; outline, then Random's question mark and the observer's eye. Written by Tools/lobby_emblems.py-; into Art/Textures/ReforgedLobbyEmblems.tga; the lobby tints each with its seat's colour as it-; draws it. Mapped images are not in the multiplayer INI checksum.+; The staging rooms' seat marks, one solid shape a cell: the side crests, a mark for each general,+; Random's question mark, the observer's eye, the disc a mod faction's initials go on and the ring a+; taken start spot wears. White, with dark cut-outs; the game multiplies each by its seat's or its+; team's colour as it draws it. Written by Tools/lobby_emblems.py with+; Art/Textures/ReforgedLobbyEmblems.tga; do not edit by hand. Mapped images are not in the+; multiplayer INI checksum.MappedImage ReforgedLobbyUSATexture = ReforgedLobbyEmblems.tgaTextureWidth = 1024- TextureHeight = 128+ TextureHeight = 256Coords = Left:0 Top:0 Right:128 Bottom:128Status = NONEEnd@@ -14,7 +16,7 @@ EndMappedImage ReforgedLobbyChinaTexture = ReforgedLobbyEmblems.tgaTextureWidth = 1024- TextureHeight = 128+ TextureHeight = 256Coords = Left:128 Top:0 Right:256 Bottom:128Status = NONEEnd@@ -22,7 +24,7 @@ EndMappedImage ReforgedLobbyGLATexture = ReforgedLobbyEmblems.tgaTextureWidth = 1024- TextureHeight = 128+ TextureHeight = 256Coords = Left:256 Top:0 Right:384 Bottom:128Status = NONEEnd@@ -30,7 +32,7 @@ EndMappedImage ReforgedLobbyRandomTexture = ReforgedLobbyEmblems.tgaTextureWidth = 1024- TextureHeight = 128+ TextureHeight = 256Coords = Left:384 Top:0 Right:512 Bottom:128Status = NONEEnd@@ -38,7 +40,95 @@ EndMappedImage ReforgedLobbyObserverTexture = ReforgedLobbyEmblems.tgaTextureWidth = 1024- TextureHeight = 128+ TextureHeight = 256Coords = Left:512 Top:0 Right:640 Bottom:128Status = NONEEnd++MappedImage ReforgedLobbyAmericaAirForceGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:640 Top:0 Right:768 Bottom:128+ Status = NONE+End++MappedImage ReforgedLobbyAmericaLaserGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:768 Top:0 Right:896 Bottom:128+ Status = NONE+End++MappedImage ReforgedLobbyAmericaSuperWeaponGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:896 Top:0 Right:1024 Bottom:128+ Status = NONE+End++MappedImage ReforgedLobbyChinaNukeGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:0 Top:128 Right:128 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyChinaTankGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:128 Top:128 Right:256 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyChinaInfantryGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:256 Top:128 Right:384 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyGLAToxinGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:384 Top:128 Right:512 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyGLADemolitionGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:512 Top:128 Right:640 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyGLAStealthGeneral+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:640 Top:128 Right:768 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyFaction+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:768 Top:128 Right:896 Bottom:256+ Status = NONE+End++MappedImage ReforgedLobbyStartRing+ Texture = ReforgedLobbyEmblems.tga+ TextureWidth = 1024+ TextureHeight = 256+ Coords = Left:896 Top:128 Right:1024 Bottom:256+ Status = NONE+Enddiff --git a/GeneralsMD/Code/Data/Window/Menus/GameSpyGameOptionsMenu.wnd b/GeneralsMD/Code/Data/Window/Menus/GameSpyGameOptionsMenu.wndindex 1c7db3979..477a26574 100644--- a/GeneralsMD/Code/Data/Window/Menus/GameSpyGameOptionsMenu.wnd+++ b/GeneralsMD/Code/Data/Window/Menus/GameSpyGameOptionsMenu.wnd@@ -1284,7 +1284,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1321,7 +1321,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1358,7 +1358,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1395,7 +1395,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1432,7 +1432,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1469,7 +1469,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1506,7 +1506,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1543,7 +1543,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,diff --git a/GeneralsMD/Code/Data/Window/Menus/LanGameOptionsMenu.wnd b/GeneralsMD/Code/Data/Window/Menus/LanGameOptionsMenu.wndindex 9dd71765b..b0adbf794 100644--- a/GeneralsMD/Code/Data/Window/Menus/LanGameOptionsMenu.wnd+++ b/GeneralsMD/Code/Data/Window/Menus/LanGameOptionsMenu.wnd@@ -1284,7 +1284,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1321,7 +1321,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1358,7 +1358,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1395,7 +1395,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1432,7 +1432,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1469,7 +1469,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1506,7 +1506,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1543,7 +1543,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,diff --git a/GeneralsMD/Code/Data/Window/Menus/SkirmishGameOptionsMenu.wnd b/GeneralsMD/Code/Data/Window/Menus/SkirmishGameOptionsMenu.wndindex c1e92b56e..99c395a4b 100644--- a/GeneralsMD/Code/Data/Window/Menus/SkirmishGameOptionsMenu.wnd+++ b/GeneralsMD/Code/Data/Window/Menus/SkirmishGameOptionsMenu.wnd@@ -1284,7 +1284,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1321,7 +1321,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1358,7 +1358,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1395,7 +1395,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1432,7 +1432,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1469,7 +1469,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1506,7 +1506,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,@@ -1543,7 +1543,7 @@ WINDOWTEXTCOLOR = ENABLED: 255 255 255 0, ENABLEDBORDER: 255 255 255 0,DISABLED: 255 255 255 0, DISABLEDBORDER: 255 255 255 0,HILITE: 255 255 255 0, HILITEBORDER: 255 255 255 0;- ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 0 0 0 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, IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;+ ENABLEDDRAWDATA = IMAGE: NoImage, COLOR: 48 54 76 255, BORDERCOLOR: 150 160 190 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;DISABLEDDRAWDATA = IMAGE: NoImage, COLOR: 0 0 64 255, BORDERCOLOR: 0 0 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,diff --git a/GeneralsMD/Code/GameEngine/Include/GameNetwork/GUIUtil.h b/GeneralsMD/Code/GameEngine/Include/GameNetwork/GUIUtil.hindex 4af6215d7..d5b8214b3 100644--- a/GeneralsMD/Code/GameEngine/Include/GameNetwork/GUIUtil.h+++ b/GeneralsMD/Code/GameEngine/Include/GameNetwork/GUIUtil.h@@ -125,7 +125,7 @@ void UpdateAIPersonaComboBoxes(GameInfo *myGame, GameWindow *comboPersona[]);Bool HandleAIPersonaSelection(GameInfo *myGame, GameWindow *comboPersona[], NameKeyType comboPersonaID[],NameKeyType controlID);-// What a seat row shows beside its combo boxes: a bar and a swatch in the seat's colour, the side's+// What a seat row shows beside its combo boxes: a bar and a swatch in the seat's colour, the general's// flat mark in that colour, a swatch in the team's colour, and in the network rooms a green card for// a player who is ready and a gold edge round the host's. All of it is drawn from the slot on every// update and none of it takes input. A layout without the windows (a stale Run/Window) leaves themdiff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/SkirmishGameOptionsMenu.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/SkirmishGameOptionsMenu.cppindex ce0f40743..f62063f11 100644--- a/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/SkirmishGameOptionsMenu.cpp+++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GUI/GUICallbacks/Menus/SkirmishGameOptionsMenu.cpp@@ -68,6 +68,8 @@#include "GameClient/MessageBox.h"#include "GameNetwork/GameInfo.h"#include "GameNetwork/GUIUtil.h"+#include "GameClient/Display.h"+#include "GameClient/Image.h"#include "GameNetwork/IPEnumeration.h"#include "WWDownload/Registry.h"@@ -847,6 +849,23 @@ void positionStartSpots( GameInfo *myGame, GameWindow *buttonMapStartPositions[]positionStartSpots(localMapFname, buttonMapStartPositions, mapWindow);}+// A start spot draws as the button it is, then a taken one gets a ring a third wider than the spot+// in the colour its user data holds (a Color, 0 for none).+static GameWinDrawFunc theStartSpotButtonDraw = NULL;+static void drawStartSpot( GameWindow *window, WinInstanceData *instData )+{+ theStartSpotButtonDraw( window, instData );+ const Color ring = (Color)(uintptr_t)window->winGetUserData();+ if ( ring == 0 )+ return;+ Int x, y, width, height;+ window->winGetScreenPosition( &x, &y );+ window->winGetSize( &width, &height );+ const Int grow = width / 6;+ TheDisplay->drawImage( TheMappedImageCollection->findImageByName( "ReforgedLobbyStartRing" ),+ x - grow, y - grow, x + width + grow, y + height + grow, ring );+}+void updateMapStartSpots( GameInfo *myGame, GameWindow *buttonMapStartPositions[], Bool onLoadScreen ){AsciiString lowerMap = myGame->getMap();@@ -870,6 +889,12 @@ void updateMapStartSpots( GameInfo *myGame, GameWindow *buttonMapStartPositions[if ( buttonMapStartPositions[i] != NULL ){GadgetButtonSetText(buttonMapStartPositions[i], UnicodeString::TheEmptyString);+ if ( buttonMapStartPositions[i]->winGetDrawFunc() != drawStartSpot )+ {+ theStartSpotButtonDraw = buttonMapStartPositions[i]->winGetDrawFunc();+ buttonMapStartPositions[i]->winSetDrawFunc( drawStartSpot );+ }+ buttonMapStartPositions[i]->winSetUserData( NULL );if (!onLoadScreen){buttonMapStartPositions[i]->winSetTooltip(TheGameText->fetch("TOOLTIP:StartPosition"));@@ -882,13 +907,14 @@ void updateMapStartSpots( GameInfo *myGame, GameWindow *buttonMapStartPositions[continue;GameSlot *gs =myGame->getSlot(i);- // a taken spot's number wears its team's colour, or the player's without a team; the number+ // a taken spot wears a ring in its team's colour, or the player's without a team; the number// stays for whoever cannot tell the colours apartconst Int spot = onLoadScreen ? gs->getApparentStartPos() : gs->getStartPos();if (spot >= 0 && spot < mmd.m_numPlayers && gs->getPlayerTemplate() > PLAYERTEMPLATE_MIN)- buttonMapStartPositions[spot]->winSetEnabledTextColors(- gs->getTeamNumber() >= 0 ? LobbyTeamColor(gs->getTeamNumber()) : LobbySeatColor(gs),- GameMakeColor(0, 0, 0, 255));+ {+ const Color ring = gs->getTeamNumber() >= 0 ? LobbyTeamColor(gs->getTeamNumber()) : LobbySeatColor(gs);+ buttonMapStartPositions[spot]->winSetUserData((void *)(uintptr_t)ring);+ }if(onLoadScreen){if(gs->getApparentStartPos() >=0 && gs->getApparentStartPos() < mmd.m_numPlayers && gs->getPlayerTemplate() > PLAYERTEMPLATE_MIN )diff --git a/GeneralsMD/Code/GameEngine/Source/GameNetwork/GUIUtil.cpp b/GeneralsMD/Code/GameEngine/Source/GameNetwork/GUIUtil.cppindex 30fd2d36d..38842fafc 100644--- a/GeneralsMD/Code/GameEngine/Source/GameNetwork/GUIUtil.cpp+++ b/GeneralsMD/Code/GameEngine/Source/GameNetwork/GUIUtil.cpp@@ -45,6 +45,8 @@#include "GameClient/GameText.h"#include "GameClient/Image.h"#include "GameClient/Display.h"+#include "GameClient/DisplayStringManager.h"+#include "GameClient/GameFont.h"#include "GameLogic/GameLogic.h" // SUPERWEAPON_RESTRICT_COUNT#include "GameLogic/AI.h" // AIPersonality, for the personality column#include "GameNetwork/GameInfo.h"@@ -904,18 +906,22 @@ static GameWindow *theSeatBar[MAX_SLOTS];static GameWindow *theSeatSwatch[MAX_SLOTS];static GameWindow *theSeatEmblem[MAX_SLOTS];static GameWindow *theSeatTeam[MAX_SLOTS];+// a mod faction's initials, written on its disc+static DisplayString *theSeatInitials[MAX_SLOTS];static Bool theSeatsShowReady;// The eight player colours (gold, red, blue, green, orange, sky blue, purple, pink) take every bright-// hue, so the teams wear pale tints between them: white, tan, mint and lavender, light enough to-// read as a start spot's number on a dark map. The number itself is what a colour-blind eye goes by.+// hue, so the teams go by lightness as much as hue: white, black, brown and a dark teal. Even with+// no colour vision at all white, teal, brown and black come out as four different greys, and the+// spot's number stays besides.static const Color theTeamColors[] ={- GameMakeColor(240, 240, 240, 255),- GameMakeColor(215, 175, 110, 255),- GameMakeColor(140, 240, 190, 255),- GameMakeColor(185, 165, 255, 255),+ GameMakeColor(245, 245, 245, 255),+ GameMakeColor(16, 16, 20, 255),+ GameMakeColor(150, 88, 30, 255),+ GameMakeColor(0, 128, 128, 255),};+static const Color theInitialsColor = GameMakeColor(16, 20, 32, 255);static const Color theSeatEmptyColor = GameMakeColor(48, 54, 76, 255);static const Color theSeatUnpickedColor = GameMakeColor(128, 128, 128, 255);static const Color theCardColor = GameMakeColor(8, 12, 26, 200);@@ -937,13 +943,20 @@ Color LobbySeatColor(const GameSlot *slot)return theSeatUnpickedColor;}-// The seat's mark, its image drawn in the window's own colour: white art tinted per seat.+// The seat's mark, its image drawn in the window's own colour: white art tinted per seat. A mod+// faction's disc carries its initials, the display string in the window's user data.static void drawTintedEmblem(GameWindow *window, WinInstanceData *instData){Int x, y, width, height;window->winGetScreenPosition(&x, &y);window->winGetSize(&width, &height);TheDisplay->drawImage(window->winGetEnabledImage(0), x, y, x + width, y + height, window->winGetEnabledColor(0));+ DisplayString *initials = (DisplayString *)window->winGetUserData();+ if (initials->getTextLength() == 0)+ return;+ Int textWidth, textHeight;+ initials->getSize(&textWidth, &textHeight);+ initials->draw(x + (width - textWidth) / 2, y + (height - textHeight) / 2, theInitialsColor, 0);}void InitLobbySeatVisuals(GameWindow *parent, const char *layoutFilename)@@ -958,36 +971,72 @@ void InitLobbySeatVisuals(GameWindow *parent, const char *layoutFilename)windows[kind][i] = TheWindowManager->winGetWindowFromId(parent, NAMEKEY(name));}for (Int i = 0; i < MAX_SLOTS; ++i)- if (theSeatEmblem[i])- theSeatEmblem[i]->winSetDrawFunc(drawTintedEmblem);+ {+ if (theSeatEmblem[i] == NULL)+ continue;+ theSeatInitials[i] = TheDisplayStringManager->newDisplayString();+ theSeatEmblem[i]->winSetUserData(theSeatInitials[i]);+ theSeatEmblem[i]->winSetDrawFunc(drawTintedEmblem);+ }theSeatsShowReady = strcmp(layoutFilename, "SkirmishGameOptionsMenu.wnd") != 0;}void ShutdownLobbySeatVisuals(void){for (Int i = 0; i < MAX_SLOTS; ++i)+ {+ if (theSeatInitials[i])+ TheDisplayStringManager->freeDisplayString(theSeatInitials[i]);+ theSeatInitials[i] = NULL;theSeatCard[i] = theSeatBar[i] = theSeatSwatch[i] = theSeatEmblem[i] = theSeatTeam[i] = NULL;+ }+}++static const Image *lobbyMark(const char *name)+{+ AsciiString imageName;+ imageName.format("ReforgedLobby%s", name);+ return TheMappedImageCollection->findImageByName(imageName);}-// A side's crest as a flat shape; Random a question mark, an observer an eye. A mod faction on a-// side of its own keeps its side icon, drawn untinted.-static const Image *seatEmblem(Int playerTemplate, Bool *tinted)+// Up to two letters: the first of the first two words of a faction's name.+static UnicodeString factionInitials(const UnicodeString &name){- *tinted = TRUE;+ UnicodeString initials;+ Bool wordStart = TRUE;+ for (Int i = 0; i < name.getLength() && initials.getLength() < 2; ++i)+ {+ const WideChar letter = name.getCharAt(i);+ if (letter == L' ')+ wordStart = TRUE;+ else if (wordStart)+ {+ initials.concat((WideChar)towupper(letter));+ wordStart = FALSE;+ }+ }+ return initials;+}++// The general's own mark ("ReforgedLobby" + his side's name), else his base side's crest; Random a+// question mark, an observer an eye. A mod faction on a side of its own gets a plain disc and its+// initials.+static const Image *seatEmblem(Int playerTemplate, UnicodeString *initials)+{+ initials->clear();if (playerTemplate == PLAYERTEMPLATE_OBSERVER)- return TheMappedImageCollection->findImageByName("ReforgedLobbyObserver");+ return lobbyMark("Observer");const PlayerTemplate *pt = playerTemplate >= 0 ? ThePlayerTemplateStore->getNthPlayerTemplate(playerTemplate) : NULL;if (pt == NULL)- return TheMappedImageCollection->findImageByName("ReforgedLobbyRandom");+ return lobbyMark("Random");+ const Image *general = lobbyMark(pt->getSide().str());+ if (general)+ return general;const AsciiString side = pt->getBaseSide();if (side == "USA" || side == "China" || side == "GLA")- {- AsciiString name;- name.format("ReforgedLobby%s", side.str());- return TheMappedImageCollection->findImageByName(name);- }- *tinted = FALSE;- return pt->getSideIconImage() ? pt->getSideIconImage() : TheMappedImageCollection->findImageByName("ReforgedLobbyRandom");+ return lobbyMark(side.str());+ *initials = factionInitials(pt->getDisplayName());+ return lobbyMark("Faction");}static void showColor(GameWindow *window, Color color)@@ -1011,12 +1060,15 @@ void UpdateLobbySeatVisuals(GameInfo *myGame)if (theSeatEmblem[i]){theSeatEmblem[i]->winHide(!occupied);- Bool tinted = TRUE;+ UnicodeString initials;if (occupied)- theSeatEmblem[i]->winSetEnabledImage(0, seatEmblem(slot->getPlayerTemplate(), &tinted));+ theSeatEmblem[i]->winSetEnabledImage(0, seatEmblem(slot->getPlayerTemplate(), &initials));// an unpicked colour draws the mark white rather than grey- const Bool picked = slot->getColor() >= 0;- theSeatEmblem[i]->winSetEnabledColor(0, tinted && picked ? color : white);+ theSeatEmblem[i]->winSetEnabledColor(0, slot->getColor() >= 0 ? color : white);+ Int width, height;+ theSeatEmblem[i]->winGetSize(&width, &height);+ theSeatInitials[i]->setFont(TheFontLibrary->getFont("Arial", max(8, height * 2 / 5), TRUE));+ theSeatInitials[i]->setText(initials);}if (theSeatCard[i] == NULL || !theSeatsShowReady)diff --git a/GeneralsMD/Code/Tools/lobby_emblems.py b/GeneralsMD/Code/Tools/lobby_emblems.pyindex 5c62ccfdc..1b37abb62 100644--- a/GeneralsMD/Code/Tools/lobby_emblems.py+++ b/GeneralsMD/Code/Tools/lobby_emblems.py@@ -1,17 +1,19 @@-"""Flat seat marks for the staging rooms: one solid white shape a side, plus Random and Observer.+"""Flat seat marks for the staging rooms: one solid shape a general, the side's crest for a side's+plain faction, plus Random, Observer, a mod faction's disc and the ring a taken start spot wears.The lobby's seat rows used to open with the general's own portrait glyph and a side badge, detailed-art that read as noise at 50 pixels. These are the three side crests EA drew for the shell-(SCShellUserInterface512_003/004/001.tga, the 389 pixel emblems in the corner of each sheet) cut to-their outline: the crest's own alpha, white, with a few dark cut-outs drawn back in where a plain-outline turned China's and the GLA's crests into blobs (the disc and star, the bowl, daggers and-disc). Random is a question mark and Observer an eye, drawn here in the same weight. The game-multiplies them by the seat's colour as it draws them (UpdateLobbySeatVisuals in GUIUtil.cpp), so-the white turns that colour and the cut-outs stay dark.+art that read as noise at 50 pixels. The three plain factions get the side crests EA drew for the+shell (SCShellUserInterface512_003/004/001.tga, the 389 pixel emblems in the corner of each sheet)+cut to their outline: the crest's own alpha, white, with a few dark cut-outs drawn back in where a+plain outline turned China's and the GLA's crests into blobs (the disc and star, the bowl, daggers+and disc). Each general has a mark drawn here: a jet, a gun sight, a beam striking from orbit, the+radiation trefoil, a tank, a helmet, a poison drop, a lit bomb and a hooded figure. Random is a question mark+and Observer an open eye. The game multiplies every cell by a seat's or a team's colour as it draws+it (GUIUtil.cpp), so the white turns that colour and the cut-outs stay dark.python Tools/lobby_emblems.py <EnglishZH.big>- writes Data/Art/Textures/ReforgedLobbyEmblems.tga; ReforgedLobbyEmblems.ini maps its cells.- The archive is Zero Hour's, Run/EnglishZH.big on this machine."""+ writes Data/Art/Textures/ReforgedLobbyEmblems.tga and the ReforgedLobbyEmblems.ini that maps+ its cells. The archive is Zero Hour's, Run/EnglishZH.big on this machine."""import ioimport mathimport os@@ -23,15 +25,15 @@ sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))from bigfile import _read_index, _matchesCELL = 128-# cell order is the order of the MappedImage blocks in ReforgedLobbyEmblems.iniCRESTS = [("data/english/art/textures/scshelluserinterface512_003.tga", (1, 1, 389, 389), None), # USA("data/english/art/textures/scshelluserinterface512_004.tga", (1, 1, 389, 388), "china"),("data/english/art/textures/scshelluserinterface512_001.tga", (1, 1, 389, 389), "gla"),]-TEXTURE_W, TEXTURE_H = 1024, 128-OUT_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "Data", "Art", "Textures",- "ReforgedLobbyEmblems.tga")+TEXTURE_W, TEXTURE_H = 1024, 256+HERE = os.path.dirname(os.path.abspath(__file__))+OUT_PATH = os.path.join(HERE, "..", "Data", "Art", "Textures", "ReforgedLobbyEmblems.tga")+INI_PATH = os.path.join(HERE, "..", "Data", "INI", "MappedImages", "HandCreated", "ReforgedLobbyEmblems.ini")def read_member(archive, pattern):@@ -44,17 +46,118 @@ def read_member(archive, pattern):WHITE = (255, 255, 255, 255)+CLEAR = (0, 0, 0, 0)# near black, so the tint multiplied into it stays dark: the cut-outs that keep a solid mark readableCUT = (22, 26, 38, 255)-def star(draw, centre_x, centre_y, radius):+def star(draw, centre_x, centre_y, radius, fill=WHITE):points = []for corner in range(10):angle = -math.pi / 2 + corner * math.pi / 5reach = radius if corner % 2 == 0 else radius * 0.42points.append((centre_x + reach * math.cos(angle), centre_y + reach * math.sin(angle)))- draw.polygon(points, fill=WHITE)+ draw.polygon(points, fill=fill)+++# The generals' own marks, each drawn on a 512 pixel canvas: one solid shape a general, with dark+# cut-outs where the shape alone would not say which general it is.++def air_force(draw, size):+ """A jet from above."""+ draw.polygon([(256, 30), (290, 120), (292, 230), (480, 330), (480, 372), (292, 320), (286, 420),+ (350, 470), (350, 495), (256, 470), (162, 495), (162, 470), (226, 420), (220, 320),+ (32, 372), (32, 330), (220, 230), (222, 120)], fill=WHITE)+ draw.polygon([(256, 70), (272, 130), (240, 130)], fill=CUT)+++def laser(draw, size):+ """A gun sight: a ring, its cross hairs and the dot on the target."""+ draw.ellipse((40, 40, 472, 472), fill=WHITE)+ draw.ellipse((100, 100, 412, 412), fill=CUT)+ draw.rectangle((236, 20, 276, 200), fill=WHITE)+ draw.rectangle((236, 312, 276, 492), fill=WHITE)+ draw.rectangle((20, 236, 200, 276), fill=WHITE)+ draw.rectangle((312, 236, 492, 276), fill=WHITE)+ draw.ellipse((216, 216, 296, 296), fill=WHITE)+++def superweapon(draw, size):+ """A beam from orbit and the burst where it lands."""+ burst = []+ for corner in range(16):+ angle = corner * math.pi / 8+ reach = 230 if corner % 2 == 0 else 120+ burst.append((256 + reach * math.cos(angle), 330 + reach * 0.75 * math.sin(angle)))+ draw.polygon(burst, fill=WHITE)+ draw.ellipse((196, 290, 316, 370), fill=CUT)+ draw.polygon([(206, 0), (306, 0), (276, 330), (236, 330)], fill=WHITE)+++def nuke(draw, size):+ """The radiation trefoil, cut dark out of a disc."""+ draw.ellipse((24, 24, 488, 488), fill=WHITE)+ for start in (-120, 0, 120):+ draw.pieslice((80, 80, 432, 432), start - 30 - 90, start + 30 - 90, fill=CUT)+ draw.ellipse((196, 196, 316, 316), fill=WHITE)+ draw.ellipse((222, 222, 290, 290), fill=CUT)+++def tank(draw, size):+ """A tank side on: tracks, hull, turret and gun."""+ draw.rounded_rectangle((30, 320, 482, 440), radius=60, fill=WHITE)+ for wheel in range(5):+ x = 100 + wheel * 78+ draw.ellipse((x - 26, 354, x + 26, 406), fill=CUT)+ draw.polygon([(70, 320), (110, 250), (420, 250), (450, 320)], fill=WHITE)+ draw.rounded_rectangle((150, 170, 330, 260), radius=30, fill=WHITE)+ draw.rectangle((320, 190, 500, 222), fill=WHITE)+++def infantry(draw, size):+ """A soldier's helmet with the star on its front."""+ draw.pieslice((60, 80, 452, 472), 180, 360, fill=WHITE)+ draw.rounded_rectangle((20, 262, 492, 320), radius=26, fill=WHITE)+ draw.rectangle((110, 320, 400, 420), fill=WHITE)+ draw.rectangle((150, 330, 360, 400), fill=CUT)+ star(draw, 256, 190, 70, CUT)+++def toxin(draw, size):+ """A drop of poison, bubbles in it."""+ draw.polygon([(256, 20), (420, 300), (92, 300)], fill=WHITE)+ draw.ellipse((86, 160, 426, 500), fill=WHITE)+ draw.ellipse((150, 300, 240, 390), fill=CUT)+ draw.ellipse((270, 340, 330, 400), fill=CUT)+ draw.ellipse((230, 230, 270, 270), fill=CUT)+++def demolition(draw, size):+ """A round bomb with its fuse lit."""+ draw.ellipse((40, 130, 400, 490), fill=WHITE)+ draw.rectangle((250, 120, 330, 190), fill=WHITE)+ draw.line([(290, 130), (340, 70), (400, 80)], fill=WHITE, width=24)+ star(draw, 430, 70, 66)+ draw.pieslice((100, 190, 260, 350), 180, 270, fill=CUT)+++def stealth(draw, size):+ """A hooded figure, its face in shadow but for the eyes."""+ draw.polygon([(256, 20), (380, 120), (420, 300), (500, 492), (12, 492), (92, 300), (132, 120)], fill=WHITE)+ draw.ellipse((166, 140, 346, 330), fill=CUT)+ draw.polygon([(196, 220), (246, 236), (240, 252), (200, 240)], fill=WHITE)+ draw.polygon([(316, 220), (266, 236), (272, 252), (312, 240)], fill=WHITE)+++def plain_disc(draw, size):+ """A mod's faction, which this texture cannot know: the game writes its initials on this."""+ draw.ellipse((16, 16, 496, 496), fill=WHITE)+++def start_ring(draw, size):+ """Laid over a taken start spot in its team's colour."""+ draw.ellipse((0, 0, 512, 512), fill=WHITE)+ draw.ellipse((150, 150, 362, 362), fill=CLEAR)def china_cuts(draw):@@ -87,53 +190,100 @@ def fit(image):image = image.crop(image.getbbox())scale = (CELL - 8) / max(image.size)image = image.resize((max(1, round(image.width * scale)), max(1, round(image.height * scale))), Image.LANCZOS)- cell = Image.new("RGBA", (CELL, CELL), (0, 0, 0, 0))+ cell = Image.new("RGBA", (CELL, CELL), CLEAR)cell.alpha_composite(image, ((CELL - image.width) // 2, (CELL - image.height) // 2))return celldef drawn(paint):- big = Image.new("RGBA", (CELL * 4, CELL * 4), (0, 0, 0, 0))+ big = Image.new("RGBA", (CELL * 4, CELL * 4), CLEAR)paint(ImageDraw.Draw(big), CELL * 4)return fit(big)def question(draw, size):font = ImageFont.truetype("arialbd.ttf", int(size * 0.9))- draw.text((size // 2, size // 2), "?", font=font, fill=(255, 255, 255, 255), anchor="mm")+ draw.text((size // 2, size // 2), "?", font=font, fill=WHITE, anchor="mm")def eye(draw, size):w, h = size * 0.92, size * 0.5box = (size / 2 - w / 2, size / 2 - h / 2, size / 2 + w / 2, size / 2 + h / 2)- draw.ellipse(box, fill=(255, 255, 255, 255))+ draw.ellipse(box, fill=WHITE)draw.ellipse((box[0] + size * 0.06, box[1] + size * 0.06, box[2] - size * 0.06, box[3] - size * 0.06),- fill=(0, 0, 0, 0))+ fill=CLEAR)r = size * 0.16- draw.ellipse((size / 2 - r, size / 2 - r, size / 2 + r, size / 2 + r), fill=(255, 255, 255, 255))+ draw.ellipse((size / 2 - r, size / 2 - r, size / 2 + r, size / 2 + r), fill=WHITE)+++# (mapped image name, how its cell is made), in cell order, eight cells a row. A crest is (member,+# crop box, cuts); a drawn mark is its paint function. The game looks a seat up by its faction's side+# name ("ReforgedLobby" + AmericaAirForceGeneral), then by its base side (USA, China, GLA).+MARKS = [+ ("ReforgedLobbyUSA", CRESTS[0]),+ ("ReforgedLobbyChina", CRESTS[1]),+ ("ReforgedLobbyGLA", CRESTS[2]),+ ("ReforgedLobbyRandom", question),+ ("ReforgedLobbyObserver", eye),+ ("ReforgedLobbyAmericaAirForceGeneral", air_force),+ ("ReforgedLobbyAmericaLaserGeneral", laser),+ ("ReforgedLobbyAmericaSuperWeaponGeneral", superweapon),+ ("ReforgedLobbyChinaNukeGeneral", nuke),+ ("ReforgedLobbyChinaTankGeneral", tank),+ ("ReforgedLobbyChinaInfantryGeneral", infantry),+ ("ReforgedLobbyGLAToxinGeneral", toxin),+ ("ReforgedLobbyGLADemolitionGeneral", demolition),+ ("ReforgedLobbyGLAStealthGeneral", stealth),+ ("ReforgedLobbyFaction", plain_disc),+ ("ReforgedLobbyStartRing", start_ring),+]+PER_ROW = TEXTURE_W // CELL+INI_HEAD = """; The staging rooms' seat marks, one solid shape a cell: the side crests, a mark for each general,+; Random's question mark, the observer's eye, the disc a mod faction's initials go on and the ring a+; taken start spot wears. White, with dark cut-outs; the game multiplies each by its seat's or its+; team's colour as it draws it. Written by Tools/lobby_emblems.py with+; Art/Textures/ReforgedLobbyEmblems.tga; do not edit by hand. Mapped images are not in the+; multiplayer INI checksum.+"""+++def cell_origin(index):+ return (index % PER_ROW) * CELL, (index // PER_ROW) * CELLdef texture(archive):- cells = []cut_functions = {"china": china_cuts, "gla": gla_cuts}- for member, box, cuts in CRESTS:- sheet = Image.open(io.BytesIO(read_member(archive, member))).convert("RGBA")- cells.append(fit(silhouette(sheet.crop(box), cut_functions.get(cuts))))- cells.append(drawn(question))- cells.append(drawn(eye))- out = Image.new("RGBA", (TEXTURE_W, TEXTURE_H), (0, 0, 0, 0))- for index, cell in enumerate(cells):- out.paste(cell, (index * CELL, 0))- # every cell has a shape in it and transparent corners- for index in range(len(cells)):- assert out.getpixel((index * CELL + 1, 1))[3] == 0- assert out.crop((index * CELL, 0, (index + 1) * CELL, CELL)).getbbox() is not None+ out = Image.new("RGBA", (TEXTURE_W, TEXTURE_H), CLEAR)+ for index, (name, maker) in enumerate(MARKS):+ if isinstance(maker, tuple):+ member, box, cuts = maker+ sheet = Image.open(io.BytesIO(read_member(archive, member))).convert("RGBA")+ cell = fit(silhouette(sheet.crop(box), cut_functions.get(cuts)))+ else:+ cell = drawn(maker)+ # every cell has a shape in it and transparent corners+ if cell.getpixel((1, 1))[3] != 0 or cell.getbbox() is None:+ raise ValueError("%s: expected a shape with clear corners" % name)+ out.paste(cell, cell_origin(index))return out+def mapped_images():+ blocks = [INI_HEAD]+ for index, (name, _maker) in enumerate(MARKS):+ left, top = cell_origin(index)+ blocks.append("MappedImage %s\n Texture = ReforgedLobbyEmblems.tga\n TextureWidth = %d\n"+ " TextureHeight = %d\n Coords = Left:%d Top:%d Right:%d Bottom:%d\n Status = NONE\nEnd\n"+ % (name, TEXTURE_W, TEXTURE_H, left, top, left + CELL, top + CELL))+ return "\n".join(blocks)++def main():texture(sys.argv[1]).save(OUT_PATH)+ with open(INI_PATH, "w", newline="\r\n") as ini:+ ini.write(mapped_images())print(OUT_PATH)+ print(INI_PATH)if __name__ == "__main__":diff --git a/GeneralsMD/Code/Tools/lobbyroom_layout.py b/GeneralsMD/Code/Tools/lobbyroom_layout.pyindex fd5ad0dc0..42dc23b24 100644--- a/GeneralsMD/Code/Tools/lobbyroom_layout.py+++ b/GeneralsMD/Code/Tools/lobbyroom_layout.py@@ -103,6 +103,7 @@ POPOVER_BORDER = (90, 120, 200, 255)CARD_COLOR = (8, 12, 26, 200)CARD_BORDER = (40, 64, 130, 255)EMPTY_COLOR = (48, 54, 76, 255)+TEAM_SWATCH_BORDER = (150, 160, 190, 255)VEIL = (2, 4, 12, 120)# The personality column: its heading is cloned from the team heading and its combo boxes from the@@ -284,12 +285,13 @@ def add_seat_windows(layout, menu, container, spec):template = need(layout, spec["container"])named = lambda kind, seat: "%s.wnd:%s%d" % (menu, kind, seat)added = {kind: [] for kind in SEAT_WINDOWS}+ # a card has its frame; the team swatch an edge light enough to show the black team+ borders = {"SeatCard": CARD_BORDER, "SeatTeam": TEAM_SWATCH_BORDER}for seat in range(SEAT_COUNT):for kind in SEAT_WINDOWS:- card = kind == "SeatCard"added[kind].append(plain_window(template, named(kind, seat), kind == "SeatEmblem",- CARD_COLOR if card else EMPTY_COLOR,- CARD_BORDER if card else (0, 0, 0, 0)))+ CARD_COLOR if kind == "SeatCard" else EMPTY_COLOR,+ borders.get(kind, (0, 0, 0, 0))))container.children[0:0] = [window for kind in SEAT_WINDOWS for window in added[kind]]