Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11905


Ignore:
Timestamp:
Apr 26, 2018, 1:48:45 PM (7 years ago)
Author:
mdedial
Message:

Add "Refresh" button to Multiplayer menu.

Location:
code/branches/Masterserver_FS18
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Masterserver_FS18/data/gui/layouts/MultiplayerMenu.layout

    r7801 r11905  
    2323                <Property Name="Text" Value="LAN"/>
    2424                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25                 <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.87,0},{0.4,0},{0.97,0}}" />
     25                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.87,0},{0.25,0},{0.97,0}}" />
    2626                <Event Name="SelectStateChanged" Function="MultiplayerMenu.LanButton_clicked"/>
    2727            </Window>
     
    2929                <Property Name="Text" Value="Internet" />
    3030                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    31                 <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.87,0},{0.8,0},{0.97,0}}" />
     31                <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.87,0},{0.6,0},{0.97,0}}" />
    3232                <Event Name="SelectStateChanged" Function="MultiplayerMenu.InternetButton_clicked"/>
     33            </Window>
     34            <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerRefreshButton" >
     35                <Property Name="Text" Value="Refresh" />
     36                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     37                <Property Name="UnifiedAreaRect" Value="{{0.75,0},{0.87,0},{0.95,0},{0.97,0}}" />
     38                <Event Name="Clicked" Function="MultiplayerMenu.showServerList" />
    3339            </Window>
    3440        </Window>
  • code/branches/Masterserver_FS18/src/libraries/network/packet/Gamestate.cc

    r11889 r11905  
    234234                                                 << "Are you sure you don't create a Sychnronisable objcect with 'new' \
    235235                                                     that doesn't have objectMode = 0x0?" << endl;
    236             assert(false);
    237236          }
    238237        }
Note: See TracChangeset for help on using the changeset viewer.