Changeset 7114 for 2015/24


Ignore:
Timestamp:
2016-01-16 14:57:22 (3 years ago)
Author:
otjojunt
Message:
 
Location:
2015/24/EemeliK
Files:
73 added
19 edited

Legend:

Unmodified
Added
Removed
  • 2015/24/EemeliK/Simssi/Simssi/Kentta.Designer.cs

    r7091 r7114  
    321321            this.Name = "Kentta"; 
    322322            this.Text = "Kentta"; 
     323            this.Load += new System.EventHandler(this.Kentta_Load); 
    323324            this.Click += new System.EventHandler(this.Kentta_Click); 
    324325            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Kentta_KeyDown); 
  • 2015/24/EemeliK/Simssi/Simssi/Kentta.cs

    r7091 r7114  
    66using System.Linq; 
    77using System.Text; 
     8using System.Text.RegularExpressions; 
    89using System.Threading.Tasks; 
    910using System.Windows.Forms; 
     
    3435        private void Paivitys_Tick(object sender, EventArgs e) 
    3536        { 
    36             pictureBox1.Location = new Point(pictureBox1.Location.X + nopeus.X, pictureBox1.Location.Y + nopeus.Y); 
     37            Point newLocation = new Point(pictureBox1.Location.X + nopeus.X, pictureBox1.Location.Y + nopeus.Y); 
     38            bool saaLiikkua = true; 
     39 
     40            foreach(var palikka in Controls) 
     41            { 
     42                PictureBox box = palikka as PictureBox; 
     43                if (box != null && Regex.IsMatch(box.Name, ".*Wall")) 
     44                { 
     45                    Rectangle koko = new Rectangle(box.Location, box.Size); 
     46                    if (koko.IntersectsWith(new Rectangle(newLocation, pictureBox1.Size))) 
     47                    { 
     48                        saaLiikkua = false; 
     49                    } 
     50                } 
     51            } 
     52 
     53            // tarkastus, törmääkö, johonkin rakennelmaan 
     54            // jos ei niin 
     55            if (saaLiikkua) 
     56            { 
     57                pictureBox1.Location = newLocation; 
     58            } 
     59            // muuten ei liikuta 
     60 
    3761        } 
    3862 
     
    241265            Rahalaskuri+=1000; 
    242266        } 
     267 
     268        private void Kentta_Load(object sender, EventArgs e) 
     269        { 
     270 
     271        } 
    243272    } 
    244273} 
  • 2015/24/EemeliK/Tuplapotti/Tuplapotti/Tuplapotti.csproj

    r7091 r7114  
    1313    <FileAlignment>512</FileAlignment> 
    1414    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> 
     15    <IsWebBootstrapper>true</IsWebBootstrapper> 
     16    <PublishUrl>C:\MyTemp\EemeliK\</PublishUrl> 
     17    <Install>true</Install> 
     18    <InstallFrom>Web</InstallFrom> 
     19    <UpdateEnabled>true</UpdateEnabled> 
     20    <UpdateMode>Foreground</UpdateMode> 
     21    <UpdateInterval>7</UpdateInterval> 
     22    <UpdateIntervalUnits>Days</UpdateIntervalUnits> 
     23    <UpdatePeriodically>false</UpdatePeriodically> 
     24    <UpdateRequired>false</UpdateRequired> 
     25    <MapFileExtensions>true</MapFileExtensions> 
     26    <InstallUrl>https://www.google.fi/%3fgws_rd=ssl/</InstallUrl> 
     27    <CreateWebPageOnPublish>true</CreateWebPageOnPublish> 
     28    <WebPage>publish.htm</WebPage> 
     29    <ApplicationRevision>1</ApplicationRevision> 
     30    <ApplicationVersion>1.0.0.%2a</ApplicationVersion> 
     31    <UseApplicationTrust>false</UseApplicationTrust> 
     32    <PublishWizardCompleted>true</PublishWizardCompleted> 
     33    <BootstrapperEnabled>true</BootstrapperEnabled> 
    1534  </PropertyGroup> 
    1635  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> 
     
    3251    <ErrorReport>prompt</ErrorReport> 
    3352    <WarningLevel>4</WarningLevel> 
     53  </PropertyGroup> 
     54  <PropertyGroup> 
     55    <ManifestCertificateThumbprint>BFE3463A73157DF2A7B30666590AC1B52B000E8D</ManifestCertificateThumbprint> 
     56  </PropertyGroup> 
     57  <PropertyGroup> 
     58    <ManifestKeyFile>Tuplapotti_TemporaryKey.pfx</ManifestKeyFile> 
     59  </PropertyGroup> 
     60  <PropertyGroup> 
     61    <GenerateManifests>true</GenerateManifests> 
     62  </PropertyGroup> 
     63  <PropertyGroup> 
     64    <SignManifests>true</SignManifests> 
    3465  </PropertyGroup> 
    3566  <ItemGroup> 
     
    76107      <DesignTimeSharedInput>True</DesignTimeSharedInput> 
    77108    </Compile> 
     109    <None Include="Tuplapotti_TemporaryKey.pfx" /> 
    78110  </ItemGroup> 
    79111  <ItemGroup> 
    80112    <None Include="App.config" /> 
     113  </ItemGroup> 
     114  <ItemGroup> 
     115    <BootstrapperPackage Include=".NETFramework,Version=v4.5.2"> 
     116      <Visible>False</Visible> 
     117      <ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName> 
     118      <Install>true</Install> 
     119    </BootstrapperPackage> 
     120    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> 
     121      <Visible>False</Visible> 
     122      <ProductName>.NET Framework 3.5 SP1</ProductName> 
     123      <Install>false</Install> 
     124    </BootstrapperPackage> 
    81125  </ItemGroup> 
    82126  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 
  • 2015/24/EemeliK/Tuplapotti/Tuplapotti/bin/Debug/Tuplapotti.vshost.exe.manifest

    r7091 r7114  
    1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
    2 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
    3   <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> 
    4   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 
     1<?xml version="1.0" encoding="utf-8"?> 
     2<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2"> 
     3  <asmv1:assemblyIdentity name="Tuplapotti.exe" version="1.0.0.1" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" /> 
     4  <application /> 
     5  <entryPoint> 
     6    <assemblyIdentity name="Tuplapotti" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> 
     7    <commandLine file="Tuplapotti.exe" parameters="" /> 
     8  </entryPoint> 
     9  <trustInfo> 
    510    <security> 
     11      <applicationRequestMinimum> 
     12        <PermissionSet Unrestricted="true" ID="Custom" SameSite="site" /> 
     13        <defaultAssemblyRequest permissionSetReference="Custom" /> 
     14      </applicationRequestMinimum> 
    615      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 
    7         <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 
     16        <!-- 
     17          UAC Manifest Options 
     18          If you want to change the Windows User Account Control level replace the  
     19          requestedExecutionLevel node with one of the following. 
     20 
     21        <requestedExecutionLevel  level="asInvoker" uiAccess="false" /> 
     22        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" /> 
     23        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" /> 
     24 
     25         If you want to utilize File and Registry Virtualization for backward  
     26         compatibility then delete the requestedExecutionLevel node. 
     27    --> 
     28        <requestedExecutionLevel level="asInvoker" uiAccess="false" /> 
    829      </requestedPrivileges> 
    930    </security> 
    1031  </trustInfo> 
    11 </assembly> 
     32  <dependency> 
     33    <dependentOS> 
     34      <osVersionInfo> 
     35        <os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" /> 
     36      </osVersionInfo> 
     37    </dependentOS> 
     38  </dependency> 
     39  <dependency> 
     40    <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true"> 
     41      <assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" /> 
     42    </dependentAssembly> 
     43  </dependency> 
     44  <dependency> 
     45    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Tuplapotti.exe" size="69048"> 
     46      <assemblyIdentity name="Tuplapotti" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> 
     47      <hash> 
     48        <dsig:Transforms> 
     49          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 
     50        </dsig:Transforms> 
     51        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> 
     52        <dsig:DigestValue>p1QWF+ip9iblPxKFfJPGdFfAA9mEdXUWp0YZjVM7Iu0=</dsig:DigestValue> 
     53      </hash> 
     54    </dependentAssembly> 
     55  </dependency> 
     56  <file name="Tuplapotti.exe.config" size="189"> 
     57    <hash> 
     58      <dsig:Transforms> 
     59        <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 
     60      </dsig:Transforms> 
     61      <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> 
     62      <dsig:DigestValue>6N7MliNbVJSIAIPrecIshMbZ7zEoKLr5SQvud4LDUOw=</dsig:DigestValue> 
     63    </hash> 
     64  </file> 
     65</asmv1:assembly> 
  • 2015/24/EemeliK/Tuplapotti/Tuplapotti/obj/Debug/Tuplapotti.csproj.FileListAbsolute.txt

    r7091 r7114  
    88C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.exe 
    99C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.pdb 
     10C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\bin\Debug\Tuplapotti.exe.manifest 
     11C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\bin\Debug\Tuplapotti.application 
     12C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.exe.manifest 
     13C:\MyTemp\EemeliK\Tuplapotti\Tuplapotti\obj\Debug\Tuplapotti.application 
  • 2015/24/EemeliK/nativelog.txt

    r7091 r7114  
    33Operating System: Windows 7 Enterprise 
    44Application Hash: 8f1d31dfea0301cfa2ca7aaedc34da8e9fa25b31 
    5 Application Data directory: C:\Users\agora03\AppData\Roaming 
     5Application Data directory: C:\Users\agora08\AppData\Roaming 
    66Executable Path: Minecraft.exe 
    77App Directory dir: C:\MyTemp\EemeliK 
Note: See TracChangeset for help on using the changeset viewer.