Browse Source

Spieler können jetzt Inventarfälder auswählen

Kolja Strohm 4 years ago
parent
commit
b638b0e572

+ 2 - 0
StickmanWorldOnline/Spieler.cpp

@@ -224,6 +224,8 @@ bool Spieler::setTastenStand( unsigned char taste, bool pressed )
             ausrichtung = UNTEN;
         if( taste == 'd' )
             ausrichtung = RECHTS;
+        if( taste >= '1' && taste <= '8' )
+            inv.setSelected( taste - '1' );
     }
     else
     {

+ 2 - 0
StickmanWorldOnline/StickmanWorldOnline.vcxproj

@@ -71,6 +71,7 @@
     <RemoteProjectDir>$(RemoteRootDir)/Spiele/StickmanWorldOnline/debug</RemoteProjectDir>
     <IncludePath>..\..\..\..\..\Allgemein\Framework;..\..\..\..\..\Allgemein\Network\Network;../../../Framework/debug;../../../Network/debug;..\Linie;$(IncludePath)</IncludePath>
     <TargetName>StickmanWorldOnline</TargetName>
+    <RemoteTargetPath>$(RemoteRootDir)/Spiele/StickmanWorldOnline/debug/$(TargetName)$(TargetExt)</RemoteTargetPath>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     <OutDir>$(RemoteRootDir)/Spiele/StickmanWorldOnline/release/</OutDir>
@@ -79,6 +80,7 @@
     <RemoteProjectDir>$(RemoteRootDir)/Spiele/StickmanWorldOnline/release</RemoteProjectDir>
     <IncludePath>..\..\..\..\..\Allgemein\Framework;..\..\..\..\..\Allgemein\Network\Network;../../../Framework/release;../../../Network/release;..\Linie;$(IncludePath)</IncludePath>
     <TargetName>StickmanWorldOnline</TargetName>
+    <RemoteTargetPath>$(RemoteRootDir)/Spiele/StickmanWorldOnline/release/$(TargetName)$(TargetExt)</RemoteTargetPath>
   </PropertyGroup>
   <ItemGroup>
     <ClCompile Include="Aktionen.cpp" />