@@ -261,14 +261,6 @@ CMapListPanel::CMapListPanel(Panel* pParent) : Panel(pParent, "MapListPanel")
261261 m_pList->SetMultiselectEnabled (false );
262262 m_pList->SetSelectIndividualCells (true ); // not sure about keeping this
263263 m_pList->AddActionSignalTarget (this );
264-
265- m_pThumbnail = new ImagePanel (this , " MapThumbnail" );
266- m_pThumbnail->SetBounds (0 , 410 , 250 , 150 );
267- m_pThumbnail->SetImage (" ui/gfx/vgui/nomap.tga" ); // fallback
268- m_pThumbnail->SetShouldScaleImage (true );
269- m_pThumbnail->SetShouldCenterImage (true );
270- m_pThumbnail->SetScaleAmount (1 .0f );
271- m_pThumbnail->SetPos (4 , 4 );
272264}
273265
274266void CMapListPanel::SetMapThumbnail (const char * mapName)
@@ -488,31 +480,6 @@ CComposerOptionsPanel::CComposerOptionsPanel(Panel* pParent) : Panel(pParent, "C
488480 m_pMaxplayers->SetText (" 12" );
489481 y += 30 ;
490482
491- // CHECK BUTTONS
492- m_pLAN = new CheckButton (this , " LAN" , " Local server" );
493- m_pLAN->SetBounds (5 , y, 200 , 20 ); y += 25 ;
494-
495- m_pRealisticFall = new CheckButton (this , " Fall" , " Realistic fall damage" );
496- m_pRealisticFall->SetBounds (5 , y, 200 , 20 ); y += 25 ;
497-
498- m_pAutoGamemode = new CheckButton (this , " AutoGM" , " Auto gamemode switch for CTF maps" );
499- m_pAutoGamemode->SetBounds (5 , y, 250 , 20 ); y += 25 ;
500-
501- m_pFlashlight = new CheckButton (this , " Flash" , " Enable Flashlight" );
502- m_pFlashlight->SetBounds (5 , y, 250 , 20 ); y += 25 ;
503-
504- m_pFriendlyFire = new CheckButton (this , " FF" , " Friendly Fire" );
505- m_pFriendlyFire->SetBounds (5 , y, 200 , 20 ); y += 25 ;
506-
507- m_pWeaponsStay = new CheckButton (this , " WS" , " Weapons Stay" );
508- m_pWeaponsStay->SetBounds (5 , y, 200 , 20 ); y += 25 ;
509-
510- m_pForceRespawn = new CheckButton (this , " FR" , " Force Respawn" );
511- m_pForceRespawn->SetBounds (5 , y, 200 , 20 ); y += 25 ;
512-
513- m_pAllowCheats = new CheckButton (this , " Cheats" , " Allow Cheats" );
514- m_pAllowCheats->SetBounds (5 , y, 200 , 20 ); y += 25 ;
515-
516483 // SPAWN SYSTEM
517484 m_lSpawnSystem = new Label (this , " SpawnLabel" , " Spawn System" );
518485 m_lSpawnSystem->R_BOUNDARY ;
@@ -563,6 +530,32 @@ CComposerOptionsPanel::CComposerOptionsPanel(Panel* pParent) : Panel(pParent, "C
563530 m_pTimeLimit = new TextEntry (this , " TimeLimit" );
564531 m_pTimeLimit->SetBounds (10 , y, 200 , 20 );
565532 m_pTimeLimit->SetText (" 15" ); y += 30 ;
533+
534+ // CHECK BUTTONS
535+ m_pLAN = new CheckButton (this , " LAN" , " Local server" );
536+ m_pLAN->SetBounds (5 , y, 200 , 20 ); y += 25 ;
537+
538+ m_pRealisticFall = new CheckButton (this , " Fall" , " Realistic fall damage" );
539+ m_pRealisticFall->SetBounds (5 , y, 200 , 20 ); y += 25 ;
540+
541+ m_pAutoGamemode = new CheckButton (this , " AutoGM" , " Auto gamemode switch for CTF maps" );
542+ m_pAutoGamemode->SetBounds (5 , y, 250 , 20 ); y += 25 ;
543+
544+ m_pFlashlight = new CheckButton (this , " Flash" , " Enable Flashlight" );
545+ m_pFlashlight->SetBounds (5 , y, 250 , 20 ); y += 25 ;
546+
547+ m_pFriendlyFire = new CheckButton (this , " FF" , " Friendly Fire" );
548+ m_pFriendlyFire->SetBounds (5 , y, 200 , 20 ); y += 25 ;
549+
550+ m_pWeaponsStay = new CheckButton (this , " WS" , " Weapons Stay" );
551+ m_pWeaponsStay->SetBounds (5 , y, 200 , 20 ); y += 25 ;
552+
553+ m_pForceRespawn = new CheckButton (this , " FR" , " Force Respawn" );
554+ m_pForceRespawn->SetBounds (5 , y, 200 , 20 ); y += 25 ;
555+
556+ m_pAllowCheats = new CheckButton (this , " Cheats" , " Allow Cheats" );
557+ m_pAllowCheats->SetBounds (5 , y, 200 , 20 ); y += 25 ;
558+
566559}
567560
568561void CComposerOptionsPanel::LoadMapcycles ()
0 commit comments