diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000000000000000000000000000000000000..8f0d733463d30657c0cd500f8b136d73ba96437e --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": "x64-Debug" +} \ No newline at end of file diff --git a/.vs/RealGame/v16/.suo b/.vs/RealGame/v16/.suo index 826df0708be02f5ff71a934c97ba504c0c316728..5c371661a5b24bc405467a48e381a53ae47cec3e 100644 Binary files a/.vs/RealGame/v16/.suo and b/.vs/RealGame/v16/.suo differ diff --git a/.vs/RealGame/v16/Browse.VC.db b/.vs/RealGame/v16/Browse.VC.db index 910bc5f68639588fd5bd1b6a9d3b067783aea7b3..3343683dfcb02e1aec27e47485efa74889d51ce0 100644 Binary files a/.vs/RealGame/v16/Browse.VC.db and b/.vs/RealGame/v16/Browse.VC.db differ diff --git a/.vs/RealGame/v16/Solution.VC.db b/.vs/RealGame/v16/Solution.VC.db index 6ab4bb63be0fe6a38dcd99f552fa78d6e4b508a6..e3846b359cebba414306eb3cda7ce9bd260b5be4 100644 Binary files a/.vs/RealGame/v16/Solution.VC.db and b/.vs/RealGame/v16/Solution.VC.db differ diff --git a/.vs/RealGame/v16/Solution.VC.db-shm b/.vs/RealGame/v16/Solution.VC.db-shm deleted file mode 100644 index 0059e85cfd4f1a4e7676d03549ae043aee208cdf..0000000000000000000000000000000000000000 Binary files a/.vs/RealGame/v16/Solution.VC.db-shm and /dev/null differ diff --git a/.vs/RealGame/v16/Solution.VC.db-wal b/.vs/RealGame/v16/Solution.VC.db-wal deleted file mode 100644 index cb1ce53f39d9d90b83c43db62e948902fd448c4c..0000000000000000000000000000000000000000 Binary files a/.vs/RealGame/v16/Solution.VC.db-wal and /dev/null differ diff --git a/.vs/TheCreativeProjectCombinationProject/config/applicationhost.config b/.vs/TheCreativeProjectCombinationProject/config/applicationhost.config new file mode 100644 index 0000000000000000000000000000000000000000..2bec529f0914043c1c980c1522834d78569b64fa --- /dev/null +++ b/.vs/TheCreativeProjectCombinationProject/config/applicationhost.config @@ -0,0 +1,1027 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + IIS configuration sections. + + For schema documentation, see + %IIS_BIN%\config\schema\IIS_schema.xml. + + Please make a backup of this file before making any changes to it. + + NOTE: The following environment variables are available to be used + within this file and are understood by the IIS Express. + + %IIS_USER_HOME% - The IIS Express home directory for the user + %IIS_SITES_HOME% - The default home directory for sites + %IIS_BIN% - The location of the IIS Express binaries + %SYSTEMDRIVE% - The drive letter of %IIS_BIN% + +--> +<configuration> + + <!-- + + The <configSections> section controls the registration of sections. + Section is the basic unit of deployment, locking, searching and + containment for configuration settings. + + Every section belongs to one section group. + A section group is a container of logically-related sections. + + Sections cannot be nested. + Section groups may be nested. + + <section + name="" [Required, Collection Key] [XML name of the section] + allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set] + overrideModeDefault="Allow" [Allow|Deny] [Default delegation mode] + allowLocation="true" [true|false] [Allowed in location tags] + /> + + The recommended way to unlock sections is by using a location tag: + <location path="Default Web Site" overrideMode="Allow"> + <system.webServer> + <asp /> + </system.webServer> + </location> + + --> + <configSections> + <sectionGroup name="system.applicationHost"> + <section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + </sectionGroup> + + <sectionGroup name="system.webServer"> + <section name="asp" overrideModeDefault="Deny" /> + <section name="caching" overrideModeDefault="Allow" /> + <section name="cgi" overrideModeDefault="Deny" /> + <section name="defaultDocument" overrideModeDefault="Allow" /> + <section name="directoryBrowse" overrideModeDefault="Allow" /> + <section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="handlers" overrideModeDefault="Deny" /> + <section name="httpCompression" overrideModeDefault="Allow" /> + <section name="httpErrors" overrideModeDefault="Allow" /> + <section name="httpLogging" overrideModeDefault="Deny" /> + <section name="httpProtocol" overrideModeDefault="Allow" /> + <section name="httpRedirect" overrideModeDefault="Allow" /> + <section name="httpTracing" overrideModeDefault="Deny" /> + <section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /> + <section name="odbcLogging" overrideModeDefault="Deny" /> + <sectionGroup name="security"> + <section name="access" overrideModeDefault="Deny" /> + <section name="applicationDependencies" overrideModeDefault="Deny" /> + <sectionGroup name="authentication"> + <section name="anonymousAuthentication" overrideModeDefault="Deny" /> + <section name="basicAuthentication" overrideModeDefault="Deny" /> + <section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="digestAuthentication" overrideModeDefault="Deny" /> + <section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="windowsAuthentication" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="authorization" overrideModeDefault="Allow" /> + <section name="ipSecurity" overrideModeDefault="Deny" /> + <section name="dynamicIpSecurity" overrideModeDefault="Deny" /> + <section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="requestFiltering" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="serverRuntime" overrideModeDefault="Deny" /> + <section name="serverSideInclude" overrideModeDefault="Deny" /> + <section name="staticContent" overrideModeDefault="Allow" /> + <sectionGroup name="tracing"> + <section name="traceFailedRequests" overrideModeDefault="Allow" /> + <section name="traceProviderDefinitions" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="urlCompression" overrideModeDefault="Allow" /> + <section name="validation" overrideModeDefault="Allow" /> + <sectionGroup name="webdav"> + <section name="globalSettings" overrideModeDefault="Deny" /> + <section name="authoring" overrideModeDefault="Deny" /> + <section name="authoringRules" overrideModeDefault="Deny" /> + </sectionGroup> + <sectionGroup name="rewrite"> + <section name="allowedServerVariables" overrideModeDefault="Deny" /> + <section name="rules" overrideModeDefault="Allow" /> + <section name="outboundRules" overrideModeDefault="Allow" /> + <section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" /> + <section name="providers" overrideModeDefault="Allow" /> + <section name="rewriteMaps" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="webSocket" overrideModeDefault="Deny" /> + <section name="aspNetCore" overrideModeDefault="Allow" /></sectionGroup> + </configSections> + + <configProtectedData> + <providers> + <add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" /> + <add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAAKmFQvWHDEETRz8l2bjZlRxIkwcqTFaCUnCLljn3Q1OkesrhEO9YyLyx4bUhsj1/DyShAv7OAFFhXlrlomaornnk5PLeyO4lIXxaiT33yOFUUgxDx4GSaygkqghVV0tO5yQ/XguUBp2juMfZyztnsNa4pLcz7ZNZQ6p4yn9hxwNs=" /> + <add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA4WoiRJ8KHwzAG8AgejPxEOO4/2Vhkolbwo/8gZeNdUDSD36m55hWv4uC9tr/MlKdnwRLL0NhT50Gccyftqz5xTZ0dg5FtvQhTw/he1NwexTKbV+I4Zrd+sZUqHZTsr7JiEr6OHGXL70qoISW5G2m9U8wKT3caPiDPNj2aAaYPLo=" /> + </providers> + </configProtectedData> + + <system.applicationHost> + + <applicationPools> + <add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" /> + <applicationPoolDefaults managedRuntimeLoader="v4.0"> + <processModel /> + </applicationPoolDefaults> + </applicationPools> + + <!-- + + The <listenerAdapters> section defines the protocols with which the + Windows Process Activation Service (WAS) binds. + + --> + <listenerAdapters> + <add name="http" /> + </listenerAdapters> + + <sites> + <site name="WebSite1" id="1" serverAutoStart="true"> + <application path="/"> + <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" /> + </application> + <bindings> + <binding protocol="http" bindingInformation=":8080:localhost" /> + </bindings> + </site> + <siteDefaults> + <logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" /> + <traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" /> + </siteDefaults> + <applicationDefaults applicationPool="Clr4IntegratedAppPool" /> + <virtualDirectoryDefaults allowSubDirConfig="true" /> + </sites> + + <webLimits /> + + </system.applicationHost> + + <system.webServer> + + <serverRuntime /> + + <asp scriptErrorSentToBrowser="true"> + <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /> + <limits /> + </asp> + + <caching enabled="true" enableKernelCache="true"> + </caching> + + <cgi /> + + <defaultDocument enabled="true"> + <files> + <add value="Default.htm" /> + <add value="Default.asp" /> + <add value="index.htm" /> + <add value="index.html" /> + <add value="iisstart.htm" /> + <add value="default.aspx" /> + </files> + </defaultDocument> + + <directoryBrowse enabled="false" /> + + <fastCgi /> + + <!-- + + The <globalModules> section defines all native-code modules. + To enable a module, specify it in the <modules> section. + + --> + <globalModules> + <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> + <add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" /> + <add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" /> + <add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" /> + <add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" /> + <add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" /> + <add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" /> + <add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" /> + <add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" /> + <add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" /> + <add name="StaticFileModule" image="%IIS_BIN%\static.dll" /> + <add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" /> + <add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" /> + <add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" /> + <add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" /> + <add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" /> + <add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" /> + <add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" /> + <add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" /> + <add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" /> + <add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" /> + <add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" /> + <add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" /> + <add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" /> + <add name="IsapiModule" image="%IIS_BIN%\isapi.dll" /> + <add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" /> + <add name="CgiModule" image="%IIS_BIN%\cgi.dll" /> + <add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" /> +<!-- <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> --> + <add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" /> + <add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" /> + <add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" /> + <add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" /> + <add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" /> + <add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" /> + <add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" /> + <add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" /> + <add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" /> + <add name="AspNetCoreModule" image="%IIS_BIN%\aspnetcore.dll" /> + <add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" /> + </globalModules> + + <httpCompression /> +<!-- + <httpCompression directory="%TEMP%\iisexpress\IIS Temporary Compressed Files"> + <scheme name="gzip" dll="%IIS_BIN%\gzip.dll" /> + <dynamicTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/x-javascript" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + </dynamicTypes> + <staticTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="application/atom+xml" enabled="true" /> + <add mimeType="application/xaml+xml" enabled="true" /> + <add mimeType="image/svg+xml" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + </staticTypes> + </httpCompression> +--> + <httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> + <error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" /> + <error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" /> + <error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" /> + <error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" /> + <error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" /> + <error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" /> + <error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" /> + <error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" /> + <error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" /> + </httpErrors> + + <httpLogging dontLog="false" /> + + <httpProtocol> + <customHeaders> + <clear /> + <add name="X-Powered-By" value="ASP.NET" /> + </customHeaders> + <redirectHeaders> + <clear /> + </redirectHeaders> + </httpProtocol> + + <httpRedirect enabled="false" /> + + <httpTracing> + </httpTracing> + + <isapiFilters> + <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" /> + <filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" /> + <filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" /> + </isapiFilters> + + <odbcLogging /> + + <security> + + <access sslFlags="None" /> + + <applicationDependencies> + <application name="Active Server Pages" groupId="ASP" /> + </applicationDependencies> + + <authentication> + + <anonymousAuthentication enabled="true" userName="" /> + + <basicAuthentication enabled="false" /> + + <clientCertificateMappingAuthentication enabled="false" /> + + <digestAuthentication enabled="false" /> + + <iisClientCertificateMappingAuthentication enabled="false"> + </iisClientCertificateMappingAuthentication> + + <windowsAuthentication enabled="false"> + <providers> + <add value="Negotiate" /> + <add value="NTLM" /> + </providers> + </windowsAuthentication> + + </authentication> + + <authorization> + <add accessType="Allow" users="*" /> + </authorization> + + <ipSecurity allowUnlisted="true" /> + + <isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true"> + <add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + <add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + </isapiCgiRestriction> + + <requestFiltering> + <fileExtensions allowUnlisted="true" applyToWebDAV="true"> + <add fileExtension=".asa" allowed="false" /> + <add fileExtension=".asax" allowed="false" /> + <add fileExtension=".ascx" allowed="false" /> + <add fileExtension=".master" allowed="false" /> + <add fileExtension=".skin" allowed="false" /> + <add fileExtension=".browser" allowed="false" /> + <add fileExtension=".sitemap" allowed="false" /> + <add fileExtension=".config" allowed="false" /> + <add fileExtension=".cs" allowed="false" /> + <add fileExtension=".csproj" allowed="false" /> + <add fileExtension=".vb" allowed="false" /> + <add fileExtension=".vbproj" allowed="false" /> + <add fileExtension=".webinfo" allowed="false" /> + <add fileExtension=".licx" allowed="false" /> + <add fileExtension=".resx" allowed="false" /> + <add fileExtension=".resources" allowed="false" /> + <add fileExtension=".mdb" allowed="false" /> + <add fileExtension=".vjsproj" allowed="false" /> + <add fileExtension=".java" allowed="false" /> + <add fileExtension=".jsl" allowed="false" /> + <add fileExtension=".ldb" allowed="false" /> + <add fileExtension=".dsdgm" allowed="false" /> + <add fileExtension=".ssdgm" allowed="false" /> + <add fileExtension=".lsad" allowed="false" /> + <add fileExtension=".ssmap" allowed="false" /> + <add fileExtension=".cd" allowed="false" /> + <add fileExtension=".dsprototype" allowed="false" /> + <add fileExtension=".lsaprototype" allowed="false" /> + <add fileExtension=".sdm" allowed="false" /> + <add fileExtension=".sdmDocument" allowed="false" /> + <add fileExtension=".mdf" allowed="false" /> + <add fileExtension=".ldf" allowed="false" /> + <add fileExtension=".ad" allowed="false" /> + <add fileExtension=".dd" allowed="false" /> + <add fileExtension=".ldd" allowed="false" /> + <add fileExtension=".sd" allowed="false" /> + <add fileExtension=".adprototype" allowed="false" /> + <add fileExtension=".lddprototype" allowed="false" /> + <add fileExtension=".exclude" allowed="false" /> + <add fileExtension=".refresh" allowed="false" /> + <add fileExtension=".compiled" allowed="false" /> + <add fileExtension=".msgx" allowed="false" /> + <add fileExtension=".vsdisco" allowed="false" /> + <add fileExtension=".rules" allowed="false" /> + </fileExtensions> + <verbs allowUnlisted="true" applyToWebDAV="true" /> + <hiddenSegments applyToWebDAV="true"> + <add segment="web.config" /> + <add segment="bin" /> + <add segment="App_code" /> + <add segment="App_GlobalResources" /> + <add segment="App_LocalResources" /> + <add segment="App_WebReferences" /> + <add segment="App_Data" /> + <add segment="App_Browsers" /> + </hiddenSegments> + </requestFiltering> + + </security> + + <serverSideInclude ssiExecDisable="false" /> + + <staticContent lockAttributes="isDocFooterFileName"> + <mimeMap fileExtension=".323" mimeType="text/h323" /> + <mimeMap fileExtension=".3g2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".3gpp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".aac" mimeType="audio/aac" /> + <mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accde" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> + <mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> + <mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ai" mimeType="application/postscript" /> + <mimeMap fileExtension=".aif" mimeType="audio/x-aiff" /> + <mimeMap fileExtension=".aifc" mimeType="audio/aiff" /> + <mimeMap fileExtension=".aiff" mimeType="audio/aiff" /> + <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" /> + <mimeMap fileExtension=".application" mimeType="application/x-ms-application" /> + <mimeMap fileExtension=".art" mimeType="image/x-jg" /> + <mimeMap fileExtension=".asd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asm" mimeType="text/plain" /> + <mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".atom" mimeType="application/atom+xml" /> + <mimeMap fileExtension=".au" mimeType="audio/basic" /> + <mimeMap fileExtension=".avi" mimeType="video/avi" /> + <mimeMap fileExtension=".axs" mimeType="application/olescript" /> + <mimeMap fileExtension=".bas" mimeType="text/plain" /> + <mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" /> + <mimeMap fileExtension=".bin" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".bmp" mimeType="image/bmp" /> + <mimeMap fileExtension=".c" mimeType="text/plain" /> + <mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" /> + <mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" /> + <mimeMap fileExtension=".cdf" mimeType="application/x-cdf" /> + <mimeMap fileExtension=".chm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".class" mimeType="application/x-java-applet" /> + <mimeMap fileExtension=".clp" mimeType="application/x-msclip" /> + <mimeMap fileExtension=".cmx" mimeType="image/x-cmx" /> + <mimeMap fileExtension=".cnf" mimeType="text/plain" /> + <mimeMap fileExtension=".cod" mimeType="image/cis-cod" /> + <mimeMap fileExtension=".cpio" mimeType="application/x-cpio" /> + <mimeMap fileExtension=".cpp" mimeType="text/plain" /> + <mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" /> + <mimeMap fileExtension=".crl" mimeType="application/pkix-crl" /> + <mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".csh" mimeType="application/x-csh" /> + <mimeMap fileExtension=".css" mimeType="text/css" /> + <mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".cur" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dcr" mimeType="application/x-director" /> + <mimeMap fileExtension=".deploy" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".dib" mimeType="image/bmp" /> + <mimeMap fileExtension=".dir" mimeType="application/x-director" /> + <mimeMap fileExtension=".disco" mimeType="text/xml" /> + <mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> + <mimeMap fileExtension=".dll.config" mimeType="text/xml" /> + <mimeMap fileExtension=".dlm" mimeType="text/dlm" /> + <mimeMap fileExtension=".doc" mimeType="application/msword" /> + <mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" /> + <mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> + <mimeMap fileExtension=".dot" mimeType="application/msword" /> + <mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" /> + <mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> + <mimeMap fileExtension=".dsp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dtd" mimeType="text/xml" /> + <mimeMap fileExtension=".dvi" mimeType="application/x-dvi" /> + <mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" /> + <mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" /> + <mimeMap fileExtension=".dwp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dxr" mimeType="application/x-director" /> + <mimeMap fileExtension=".eml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".emz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> + <mimeMap fileExtension=".eps" mimeType="application/postscript" /> + <mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".etx" mimeType="text/x-setext" /> + <mimeMap fileExtension=".evy" mimeType="application/envoy" /> + <mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".exe.config" mimeType="text/xml" /> + <mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" /> + <mimeMap fileExtension=".fif" mimeType="application/fractals" /> + <mimeMap fileExtension=".fla" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".flv" mimeType="video/x-flv" /> + <mimeMap fileExtension=".gif" mimeType="image/gif" /> + <mimeMap fileExtension=".glb" mimeType="model/gltf-binary" /> + <mimeMap fileExtension=".gtar" mimeType="application/x-gtar" /> + <mimeMap fileExtension=".gz" mimeType="application/x-gzip" /> + <mimeMap fileExtension=".h" mimeType="text/plain" /> + <mimeMap fileExtension=".hdf" mimeType="application/x-hdf" /> + <mimeMap fileExtension=".hdml" mimeType="text/x-hdml" /> + <mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" /> + <mimeMap fileExtension=".hhk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hhp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hlp" mimeType="application/winhlp" /> + <mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" /> + <mimeMap fileExtension=".hta" mimeType="application/hta" /> + <mimeMap fileExtension=".htc" mimeType="text/x-component" /> + <mimeMap fileExtension=".htm" mimeType="text/html" /> + <mimeMap fileExtension=".html" mimeType="text/html" /> + <mimeMap fileExtension=".htt" mimeType="text/webviewhtml" /> + <mimeMap fileExtension=".hxt" mimeType="text/html" /> + <mimeMap fileExtension=".ico" mimeType="image/x-icon" /> + <mimeMap fileExtension=".ics" mimeType="text/calendar" /> + <mimeMap fileExtension=".ief" mimeType="image/ief" /> + <mimeMap fileExtension=".iii" mimeType="application/x-iphone" /> + <mimeMap fileExtension=".inf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".IVF" mimeType="video/x-ivf" /> + <mimeMap fileExtension=".jar" mimeType="application/java-archive" /> + <mimeMap fileExtension=".java" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jck" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jfif" mimeType="image/pjpeg" /> + <mimeMap fileExtension=".jpb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jpe" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".js" mimeType="application/javascript" /> + <mimeMap fileExtension=".json" mimeType="application/json" /> + <mimeMap fileExtension=".jsonld" mimeType="application/ld+json" /> + <mimeMap fileExtension=".jsx" mimeType="text/jscript" /> + <mimeMap fileExtension=".latex" mimeType="application/x-latex" /> + <mimeMap fileExtension=".less" mimeType="text/css" /> + <mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" /> + <mimeMap fileExtension=".lpk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lzh" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m1v" mimeType="video/mpeg" /> + <mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" /> + <mimeMap fileExtension=".m4a" mimeType="audio/mp4" /> + <mimeMap fileExtension=".m4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".man" mimeType="application/x-troff-man" /> + <mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" /> + <mimeMap fileExtension=".map" mimeType="text/plain" /> + <mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" /> + <mimeMap fileExtension=".mdp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".me" mimeType="application/x-troff-me" /> + <mimeMap fileExtension=".mht" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mhtml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mid" mimeType="audio/mid" /> + <mimeMap fileExtension=".midi" mimeType="audio/mid" /> + <mimeMap fileExtension=".mix" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mmf" mimeType="application/x-smaf" /> + <mimeMap fileExtension=".mno" mimeType="text/xml" /> + <mimeMap fileExtension=".mny" mimeType="application/x-msmoney" /> + <mimeMap fileExtension=".mov" mimeType="video/quicktime" /> + <mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" /> + <mimeMap fileExtension=".mp2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> + <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> + <mimeMap fileExtension=".mp4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".mpa" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpe" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpeg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" /> + <mimeMap fileExtension=".mpv2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" /> + <mimeMap fileExtension=".msi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mso" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" /> + <mimeMap fileExtension=".nc" mimeType="application/x-netcdf" /> + <mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".nws" mimeType="message/rfc822" /> + <mimeMap fileExtension=".ocx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".oda" mimeType="application/oda" /> + <mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" /> + <mimeMap fileExtension=".ods" mimeType="application/oleobject" /> + <mimeMap fileExtension=".oga" mimeType="audio/ogg" /> + <mimeMap fileExtension=".ogg" mimeType="video/ogg" /> + <mimeMap fileExtension=".ogv" mimeType="video/ogg" /> + <mimeMap fileExtension=".one" mimeType="application/onenote" /> + <mimeMap fileExtension=".onea" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc2" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetmp" mimeType="application/onenote" /> + <mimeMap fileExtension=".onepkg" mimeType="application/onenote" /> + <mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" /> + <mimeMap fileExtension=".otf" mimeType="font/otf" /> + <mimeMap fileExtension=".p10" mimeType="application/pkcs10" /> + <mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" /> + <mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" /> + <mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" /> + <mimeMap fileExtension=".pcx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pcz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pdf" mimeType="application/pdf" /> + <mimeMap fileExtension=".pfb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" /> + <mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" /> + <mimeMap fileExtension=".pma" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pml" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".png" mimeType="image/png" /> + <mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" /> + <mimeMap fileExtension=".pnz" mimeType="image/png" /> + <mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" /> + <mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" /> + <mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" /> + <mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" /> + <mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" /> + <mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> + <mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" /> + <mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> + <mimeMap fileExtension=".prf" mimeType="application/pics-rules" /> + <mimeMap fileExtension=".prm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".prx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ps" mimeType="application/postscript" /> + <mimeMap fileExtension=".psd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" /> + <mimeMap fileExtension=".qt" mimeType="video/quicktime" /> + <mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" /> + <mimeMap fileExtension=".qxd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".rar" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" /> + <mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" /> + <mimeMap fileExtension=".rgb" mimeType="image/x-rgb" /> + <mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" /> + <mimeMap fileExtension=".rmi" mimeType="audio/mid" /> + <mimeMap fileExtension=".roff" mimeType="application/x-troff" /> + <mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" /> + <mimeMap fileExtension=".rtf" mimeType="application/rtf" /> + <mimeMap fileExtension=".rtx" mimeType="text/richtext" /> + <mimeMap fileExtension=".scd" mimeType="application/x-msschedule" /> + <mimeMap fileExtension=".sct" mimeType="text/scriptlet" /> + <mimeMap fileExtension=".sea" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" /> + <mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" /> + <mimeMap fileExtension=".sgml" mimeType="text/sgml" /> + <mimeMap fileExtension=".sh" mimeType="application/x-sh" /> + <mimeMap fileExtension=".shar" mimeType="application/x-shar" /> + <mimeMap fileExtension=".sit" mimeType="application/x-stuffit" /> + <mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" /> + <mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" /> + <mimeMap fileExtension=".smd" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".smx" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smz" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".snd" mimeType="audio/basic" /> + <mimeMap fileExtension=".snp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".spl" mimeType="application/futuresplash" /> + <mimeMap fileExtension=".spx" mimeType="audio/ogg" /> + <mimeMap fileExtension=".src" mimeType="application/x-wais-source" /> + <mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" /> + <mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" /> + <mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" /> + <mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" /> + <mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" /> + <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" /> + <mimeMap fileExtension=".t" mimeType="application/x-troff" /> + <mimeMap fileExtension=".tar" mimeType="application/x-tar" /> + <mimeMap fileExtension=".tcl" mimeType="application/x-tcl" /> + <mimeMap fileExtension=".tex" mimeType="application/x-tex" /> + <mimeMap fileExtension=".texi" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".tgz" mimeType="application/x-compressed" /> + <mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" /> + <mimeMap fileExtension=".thn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tif" mimeType="image/tiff" /> + <mimeMap fileExtension=".tiff" mimeType="image/tiff" /> + <mimeMap fileExtension=".toc" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tr" mimeType="application/x-troff" /> + <mimeMap fileExtension=".trm" mimeType="application/x-msterminal" /> + <mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" /> + <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".txt" mimeType="text/plain" /> + <mimeMap fileExtension=".u32" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".uls" mimeType="text/iuls" /> + <mimeMap fileExtension=".ustar" mimeType="application/x-ustar" /> + <mimeMap fileExtension=".vbs" mimeType="text/vbscript" /> + <mimeMap fileExtension=".vcf" mimeType="text/x-vcard" /> + <mimeMap fileExtension=".vcs" mimeType="text/plain" /> + <mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" /> + <mimeMap fileExtension=".vml" mimeType="text/xml" /> + <mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vss" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vst" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" /> + <mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> + <mimeMap fileExtension=".wav" mimeType="audio/wav" /> + <mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" /> + <mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" /> + <mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".webm" mimeType="video/webm" /> + <mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" /> + <mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> + <mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" /> + <mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" /> + <mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" /> + <mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" /> + <mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" /> + <mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" /> + <mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" /> + <mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" /> + <mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" /> + <mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" /> + <mimeMap fileExtension=".woff" mimeType="font/x-woff" /> + <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> + <mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wri" mimeType="application/x-mswrite" /> + <mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wsdl" mimeType="text/xml" /> + <mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" /> + <mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" /> + <mimeMap fileExtension=".x" mimeType="application/directx" /> + <mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> + <mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" /> + <mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" /> + <mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" /> + <mimeMap fileExtension=".xdr" mimeType="text/plain" /> + <mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" /> + <mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" /> + <mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" /> + <mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> + <mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" /> + <mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> + <mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xml" mimeType="text/xml" /> + <mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" /> + <mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" /> + <mimeMap fileExtension=".xsd" mimeType="text/xml" /> + <mimeMap fileExtension=".xsf" mimeType="text/xml" /> + <mimeMap fileExtension=".xsl" mimeType="text/xml" /> + <mimeMap fileExtension=".xslt" mimeType="text/xml" /> + <mimeMap fileExtension=".xsn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xtp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" /> + <mimeMap fileExtension=".z" mimeType="application/x-compress" /> + <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> + </staticContent> + + <tracing> + + <traceProviderDefinitions> + <add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"> + <areas> + <clear /> + <add name="Authentication" value="2" /> + <add name="Security" value="4" /> + <add name="Filter" value="8" /> + <add name="StaticFile" value="16" /> + <add name="CGI" value="32" /> + <add name="Compression" value="64" /> + <add name="Cache" value="128" /> + <add name="RequestNotifications" value="256" /> + <add name="Module" value="512" /> + <add name="Rewrite" value="1024" /> + <add name="FastCGI" value="4096" /> + <add name="WebSocket" value="16384" /> + <add name="ANCM" value="65536" /> + </areas> + </add> + <add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}"> + <areas> + <clear /> + </areas> + </add> + <add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}"> + <areas> + <clear /> + </areas> + </add> + <add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"> + <areas> + <add name="Infrastructure" value="1" /> + <add name="Module" value="2" /> + <add name="Page" value="4" /> + <add name="AppServices" value="8" /> + </areas> + </add> + </traceProviderDefinitions> + + <traceFailedRequests> + <add path="*"> + <traceAreas> + <add provider="ASP" verbosity="Verbose" /> + <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> + <add provider="ISAPI Extension" verbosity="Verbose" /> + <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" /> + </traceAreas> + <failureDefinitions statusCodes="200-999" /> + </add> + </traceFailedRequests> + + </tracing> + + <urlCompression /> + + <validation /> + <webdav> + <globalSettings> + <propertyStores> + <add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" /> + </propertyStores> + <lockStores> + <add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" /> + </lockStores> + + </globalSettings> + <authoring> + <locks enabled="true" lockStore="webdav_simple_lock" /> + </authoring> + <authoringRules /> + </webdav> + <webSocket /> + <applicationInitialization /> + + </system.webServer> + <location path="" overrideMode="Allow"> + <system.webServer> + <modules> + <add name="IsapiFilterModule" lockItem="true" /> + <add name="BasicAuthenticationModule" lockItem="true" /> + <add name="IsapiModule" lockItem="true" /> + <add name="HttpLoggingModule" lockItem="true" /> + <add name="DynamicCompressionModule" lockItem="true" /> + <add name="StaticCompressionModule" lockItem="true" /> + <add name="DefaultDocumentModule" lockItem="true" /> + <add name="DirectoryListingModule" lockItem="true" /> + <add name="ProtocolSupportModule" lockItem="true" /> + <add name="HttpRedirectionModule" lockItem="true" /> + <add name="ServerSideIncludeModule" lockItem="true" /> + <add name="StaticFileModule" lockItem="true" /> + <add name="AnonymousAuthenticationModule" lockItem="true" /> + <add name="CertificateMappingAuthenticationModule" lockItem="true" /> + <add name="UrlAuthorizationModule" lockItem="true" /> + <add name="WindowsAuthenticationModule" lockItem="true" /> + <add name="IISCertificateMappingAuthenticationModule" lockItem="true" /> + <add name="WebMatrixSupportModule" lockItem="true" /> + <add name="IpRestrictionModule" lockItem="true" /> + <add name="DynamicIpRestrictionModule" lockItem="true" /> + <add name="RequestFilteringModule" lockItem="true" /> + <add name="CustomLoggingModule" lockItem="true" /> + <add name="CustomErrorModule" lockItem="true" /> + <add name="FailedRequestsTracingModule" lockItem="true" /> + <add name="CgiModule" lockItem="true" /> + <add name="FastCgiModule" lockItem="true" /> +<!-- <add name="WebDAVModule" /> --> + <add name="RewriteModule" /> + <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" /> + <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" /> + <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" /> + <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" /> + <add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" /> + <add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" /> + <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" /> + <add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" /> + <add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" /> + <add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" /> + <add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" /> + <add name="ApplicationInitializationModule" lockItem="true" /> + <add name="WebSocketModule" lockItem="true" /> + <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ConfigurationValidationModule" lockItem="true" /> + <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" /> + <add name="AspNetCoreModule" lockItem="true" /> + <add name="AspNetCoreModuleV2" lockItem="true" /> + </modules> + <handlers accessPolicy="Read, Script"> +<!-- <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> --> + <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="rules-64-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="xoml-64-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="ExtensionlessUrl-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="ExtensionlessUrl-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" /> + <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> + </handlers> + </system.webServer> + </location> +</configuration> diff --git a/.vs/TheCreativeProjectCombinationProject/v16/.suo b/.vs/TheCreativeProjectCombinationProject/v16/.suo index b5a19d819c23864ed906c784e2bd5b23546088b3..6ee4037bdd65c002aec2e84d04fb92060fd3474d 100644 Binary files a/.vs/TheCreativeProjectCombinationProject/v16/.suo and b/.vs/TheCreativeProjectCombinationProject/v16/.suo differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/Browse.VC.db b/.vs/TheCreativeProjectCombinationProject/v16/Browse.VC.db index bff3880f986e1e315862d1809c24d3302d10c1f4..8637db432ae92eb2becaf970b62e23458e07a631 100644 Binary files a/.vs/TheCreativeProjectCombinationProject/v16/Browse.VC.db and b/.vs/TheCreativeProjectCombinationProject/v16/Browse.VC.db differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/Solution.VC.db b/.vs/TheCreativeProjectCombinationProject/v16/Solution.VC.db index f9381bdf9b29510dec1433521294750ca93fe175..b7c5ae44bb4caec31f86603fb1c8e032a2c2e130 100644 Binary files a/.vs/TheCreativeProjectCombinationProject/v16/Solution.VC.db and b/.vs/TheCreativeProjectCombinationProject/v16/Solution.VC.db differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/64bd71ef8b6863cc/PLAYERSTATS.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/64bd71ef8b6863cc/PLAYERSTATS.ipch new file mode 100644 index 0000000000000000000000000000000000000000..4898bab0335347c5d2eb5e4732b4c35245dbd2c2 Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/64bd71ef8b6863cc/PLAYERSTATS.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/6c42e74bf64643ed/MAIN.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/6c42e74bf64643ed/MAIN.ipch new file mode 100644 index 0000000000000000000000000000000000000000..f39026219eee114a526350d2b1aa3b4669780eda Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/6c42e74bf64643ed/MAIN.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/8d2861c9d7e4301e/OFAPP.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/8d2861c9d7e4301e/OFAPP.ipch new file mode 100644 index 0000000000000000000000000000000000000000..91c5aaa4282b1afc09e048d69b68d66ab8f52626 Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/8d2861c9d7e4301e/OFAPP.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a554a6043ef77ed0/GAME.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a554a6043ef77ed0/GAME.ipch new file mode 100644 index 0000000000000000000000000000000000000000..99319b102638ba2aa6f03a478b46ad51ec97ad77 Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a554a6043ef77ed0/GAME.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a66b06ec9c6645a2/XMLREADER.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a66b06ec9c6645a2/XMLREADER.ipch new file mode 100644 index 0000000000000000000000000000000000000000..290bc451fed2b10d170d52008f5535de6faaa2a9 Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/a66b06ec9c6645a2/XMLREADER.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/c79edb8c53f5aa00/TRUMP.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/c79edb8c53f5aa00/TRUMP.ipch index 35920a10fe789034e8b7ca55ff896efb158d185c..d8007951c21b1f52d2080357ef6bff75b7bcf89e 100644 Binary files a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/c79edb8c53f5aa00/TRUMP.ipch and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/c79edb8c53f5aa00/TRUMP.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/d71a7b1b16f54344/ENEMY.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/d71a7b1b16f54344/ENEMY.ipch index 27fa50e4eade97899dc71781d541aba0ed872dd5..6da2dd1cd8588b7ac5882310d5b957208e4f77d2 100644 Binary files a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/d71a7b1b16f54344/ENEMY.ipch and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/d71a7b1b16f54344/ENEMY.ipch differ diff --git a/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/f78322e846d510b6/HUBWORLDTEXT.ipch b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/f78322e846d510b6/HUBWORLDTEXT.ipch new file mode 100644 index 0000000000000000000000000000000000000000..bf5e3b126237eed9810d55436b9bd668088cae2a Binary files /dev/null and b/.vs/TheCreativeProjectCombinationProject/v16/ipch/AutoPCH/f78322e846d510b6/HUBWORLDTEXT.ipch differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000000000000000000000000000000000000..101cc68a00fc0e2ed4e5e616e1a0802039663b98 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,8 @@ +{ + "ExpandedNodes": [ + "", + "\\src" + ], + "SelectedNode": "\\src\\trump.cpp", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..04a04de4a4f6bc4d78a141f4d489d9b30ff76778 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/CppProperties.json b/CppProperties.json new file mode 100644 index 0000000000000000000000000000000000000000..f598ba59c4fcb04c1daa0041d8133432df23d437 --- /dev/null +++ b/CppProperties.json @@ -0,0 +1,21 @@ +{ + "configurations": [ + { + "inheritEnvironments": [ + "msvc_x64" + ], + "name": "x64-Debug", + "includePath": [ + "${env.INCLUDE}", + "${workspaceRoot}\\**" + ], + "defines": [ + "WIN32", + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "intelliSenseMode": "windows-msvc-x64" + } + ] +} \ No newline at end of file diff --git a/RealGame.vcxproj.user b/RealGame.vcxproj.user deleted file mode 100644 index 988b987e6223fbb5bd700863d093f8d4f45416bb..0000000000000000000000000000000000000000 --- a/RealGame.vcxproj.user +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> - <LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory> - <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> - <LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory> - <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> - <LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory> - <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> - </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> - <LocalDebuggerWorkingDirectory>$(ProjectDir)/bin</LocalDebuggerWorkingDirectory> - <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> - </PropertyGroup> -</Project> \ No newline at end of file diff --git a/bin/The Game Project_debug.exe b/bin/The Game Project_debug.exe new file mode 100644 index 0000000000000000000000000000000000000000..ae2e6f9755663d88d38bf63e65170d4fe34e289d Binary files /dev/null and b/bin/The Game Project_debug.exe differ diff --git a/bin/The Game Project_debug.exp b/bin/The Game Project_debug.exp new file mode 100644 index 0000000000000000000000000000000000000000..c03ac71dc6b78b921e1637c88549f6418fe9de46 Binary files /dev/null and b/bin/The Game Project_debug.exp differ diff --git a/bin/The Game Project_debug.ilk b/bin/The Game Project_debug.ilk new file mode 100644 index 0000000000000000000000000000000000000000..780c1e3c49aa75d2266006c937658f84a13e692a Binary files /dev/null and b/bin/The Game Project_debug.ilk differ diff --git a/bin/The Game Project_debug.lib b/bin/The Game Project_debug.lib new file mode 100644 index 0000000000000000000000000000000000000000..b5ebadea7b676d7863048d5ace488709f6dfc43a Binary files /dev/null and b/bin/The Game Project_debug.lib differ diff --git a/bin/The Game Project_debug.pdb b/bin/The Game Project_debug.pdb new file mode 100644 index 0000000000000000000000000000000000000000..c43d079f8a53cb7f8b0639994441bf04d4fd77fa Binary files /dev/null and b/bin/The Game Project_debug.pdb differ diff --git a/bin/TheCreativeProjectCombinationProject_debug.exe b/bin/TheCreativeProjectCombinationProject_debug.exe index 038dadf80e88a2c4529c83be5bd1d7f1986ad00a..228b6b6a4c8cba470200a1104fa7b9781b632512 100644 Binary files a/bin/TheCreativeProjectCombinationProject_debug.exe and b/bin/TheCreativeProjectCombinationProject_debug.exe differ diff --git a/bin/TheCreativeProjectCombinationProject_debug.ilk b/bin/TheCreativeProjectCombinationProject_debug.ilk index ab62c30f6052aca198586b73d6c712103f7a398f..7ddcee1c13c14793893a73c4776e5ff4c4e872a4 100644 Binary files a/bin/TheCreativeProjectCombinationProject_debug.ilk and b/bin/TheCreativeProjectCombinationProject_debug.ilk differ diff --git a/bin/TheCreativeProjectCombinationProject_debug.pdb b/bin/TheCreativeProjectCombinationProject_debug.pdb index e5e1ff2127d2992de89c49ceae0880b21aeedd09..818e2955660685aabb27d812177e7fbba22c13c0 100644 Binary files a/bin/TheCreativeProjectCombinationProject_debug.pdb and b/bin/TheCreativeProjectCombinationProject_debug.pdb differ diff --git a/bin/data/duke.xml b/bin/data/duke.xml new file mode 100644 index 0000000000000000000000000000000000000000..2bb61c52937533130dc6d8aaabd2a393996f3a8b --- /dev/null +++ b/bin/data/duke.xml @@ -0,0 +1,45 @@ +<!-- + This is the XML file for an enemy. The structure is the following : + -text : This is the question that comes up in the line box + -power : The amount of damage the question will do. I keep it at 4 currently. + -answer : The correct answer to the question + -WrongAnswer1 and WrongAnswer2 : These are other answers paired with the real answer. + -ResponseRight : What the character will say if you get the correct answer + -ReponseWrong : What the character will say if you get the incorrect answer + + Notes : + - The answer order is always randomised in the C++ program. +--> +<lines> + + <!-- https://www.independent.co.uk/news/world/americas/dog-mayor-minnesota-cormorant-duke-lassie-a7205801.html--> + <speech> + <text>*Woof Woof Woof*</text> + <power> 4 </power> + <wrongAnswer1> *Do nothing* </wrongAnswer1> + <wrongAnswer2> *Do nothing* </wrongAnswer2> + <answer> *Give him some food*</answer> + <responseRight>*Duke seems to be happy...*</responseRight> + <responseWrong>*Duke seems to be sad...*</responseWrong> + </speech> + + <speech> + <text>*Bark Bark Bark*</text> + <power> 4 </power> + <wrongAnswer1> *Do nothing* </wrongAnswer1> + <wrongAnswer2> *Do nothing* </wrongAnswer2> + <answer> *Take him out for a walk*</answer> + <responseRight>*Duke seems to be happy...*</responseRight> + <responseWrong>*Duke seems to be sad...*</responseWrong> + </speech> + + <speech> + <text>*Woof Woof Woof Woof*</text> + <power> 4 </power> + <wrongAnswer1> *Do nothing* </wrongAnswer1> + <wrongAnswer2> *Do nothing* </wrongAnswer2> + <answer>*Tell him his a good boy*</answer> + <responseRight>*Duke seems to be happy...*</responseRight> + <responseWrong>*Duke seems to be sad...*</responseWrong> + </speech> +</lines> \ No newline at end of file diff --git a/bin/data/farage.xml b/bin/data/farage.xml index eadd5eae148c8dac8ec38cd522faf9535caca1b0..efbbb450df78f6b9d6862073a5cd8dae9e7d9f17 100644 --- a/bin/data/farage.xml +++ b/bin/data/farage.xml @@ -1,30 +1,54 @@ +<!-- + This is the XML file for an enemy. The structure is the following : + -text : This is the question that comes up in the line box + -power : The amount of damage the question will do. I keep it at 4 currently. + -answer : The correct answer to the question + -WrongAnswer1 and WrongAnswer2 : These are other answers paired with the real answer. + -ResponseRight : What the character will say if you get the correct answer + -ReponseWrong : What the character will say if you get the incorrect answer + + Notes : + - The answer order is always randomised in the C++ program. +--> <lines> <speech> - <text>My name is Donald J Trump, the J stands for?</text> + <text>Which party do I belong to currently?</text> <power> 4 </power> - <wrongAnswer1> Jesus </wrongAnswer1> - <wrongAnswer2> Junior</wrongAnswer2> - <answer> Genius </answer> - <responseRight> Genius? That sounds right.</responseRight> - <responseWrong> Wrong wrong wrong, we should be build a wall!</responseWrong> + <wrongAnswer1> Some party you've never heard of... </wrongAnswer1> + <wrongAnswer2> UKIP </wrongAnswer2> + <answer> Brexit Party </answer> + <responseRight>How do you know.....</responseRight> + <responseWrong>You know I change parties every 30 seconds?.....</responseWrong> </speech> + <speech> - <text>Russia did not interfere with the 2016 election. I swear!</text> + <text>The Brexit vote was fair and square!</text> <power> 4 </power> - <wrongAnswer1> Yeah I believe you. </wrongAnswer1> - <wrongAnswer2> Are you sure?</wrongAnswer2> - <answer> Russia has a history of messing with democracy we shouldn't believe them! </answer> - <responseRight> Well when I slept with putin, he said no! You monster!</responseRight> - <responseWrong> Wrong wrong wrong, we should be build a wall!</responseWrong> + <wrongAnswer1>The vote was really stupid...</wrongAnswer1> + <wrongAnswer2>The vote was stupid...</wrongAnswer2> + <answer>It broke multiple advertising rules.</answer> + <responseRight>How did you know, I told the russians to keep it quiet.....</responseRight> + <responseWrong>Come on, you must have a better response than that.....</responseWrong> </speech> + <speech> - <text>We need to build a wall!</text> + <text>What is my nickname in the US?</text> <power> 4 </power> - <wrongAnswer1> Are you sure? </wrongAnswer1> - <wrongAnswer2> Why?</wrongAnswer2> - <answer> A wall has worked well in history *cough* Berlin Wall *cough* </answer> - <responseRight> You're right? How is that possible?</responseRight> - <responseWrong> Do you want this wall?</responseWrong> + <wrongAnswer1>Trumps Best Friend</wrongAnswer1> + <wrongAnswer2>Mr No Good</wrongAnswer2> + <answer>Mr Brexit</answer> + <responseRight> You're right? How is that possible?.....</responseRight> + <responseWrong> No, no, no, what is my flagship policy?.....</responseWrong> </speech> - + + <speech> + <text>How much money did I promise the NHS?</text> + <power> 4 </power> + <wrongAnswer1>£1.20</wrongAnswer1> + <wrongAnswer2>£2.50</wrongAnswer2> + <answer>£350 Million pounds</answer> + <responseRight> Wait, how did you know.....</responseRight> + <responseWrong> That seems a little low.....</responseWrong> + </speech> + </lines> \ No newline at end of file diff --git a/bin/data/img/boris.png b/bin/data/img/boris.png index d2fb1f961bbef80af51220bbeb0e0cf2add73f43..26a63ec8662d1d69ef42d6ecd8f9488efb96c060 100644 Binary files a/bin/data/img/boris.png and b/bin/data/img/boris.png differ diff --git a/bin/data/img/duke.png b/bin/data/img/duke.png new file mode 100644 index 0000000000000000000000000000000000000000..bb1dc49558ed461b0cf0541a91e1b0cec7ea93d2 Binary files /dev/null and b/bin/data/img/duke.png differ diff --git a/bin/data/img/farage.png b/bin/data/img/farage.png index fb386446377b84985087a80fad1b2afbde1f52aa..3f44c5158a98b52993f46d1ba2a9ac3b43d3f970 100644 Binary files a/bin/data/img/farage.png and b/bin/data/img/farage.png differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.command.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.command.1.tlog index 4a61141e960fe3d864b29ec96698f6e56145fde4..8332b05ba269355857d89df824c13a84d82c42a8 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.command.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.command.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.read.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.read.1.tlog index f248f3e4402d9330adab20db4404b15e29d5f1b4..3729878d80cb2881e4ba33457b4e44ddd5e4e47d 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.read.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.read.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.write.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.write.1.tlog index 106363bf4bf9b4e2069386a8b9f0a1e8aaf0f388..b92fb5083a70f1c6e43006c8f8fa434561badb3c 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.write.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/CL.write.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/TheCreativeProjectCombinationProject.write.1u.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/TheCreativeProjectCombinationProject.write.1u.tlog index 8b896002a97f04eba298ea4c03b7f80284331fea..d11361c7ef27a2505e5a99c182bc1d5f22ae441c 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/TheCreativeProjectCombinationProject.write.1u.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/TheCreativeProjectCombinationProject.write.1u.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.command.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.command.1.tlog index 87848a9f693916ffa43d4f30bff9a778a824f1f8..0bde945a6bc588733bc084c02a5ab3f1fdb28597 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.command.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.command.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.read.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.read.1.tlog index 66e70c7364c2f604f38c53151533db1d02b2bb24..5a4bd9f739a55b4b6f6d768d9051d95fb39c8a0d 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.read.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.read.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.write.1.tlog b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.write.1.tlog index 45bfef2728eb0589d641210bde3a9b4e35ab66e7..1c99e46366cdea159cfea7f8a3387a0ed4b872ac 100644 Binary files a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.write.1.tlog and b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/link.write.1.tlog differ diff --git a/obj/x64/Debug/TheCreat.7FD42DF7.tlog/unsuccessfulbuild b/obj/x64/Debug/TheCreat.7FD42DF7.tlog/unsuccessfulbuild deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/obj/x64/Debug/TheCreativeProjectCombinationProject.log b/obj/x64/Debug/TheCreativeProjectCombinationProject.log index 9c2dc92a9c4ae9012ece0317da02616130b10dbe..200d46258a8fe36ebcc70a2a97a7e0c9f6e4b96e 100644 --- a/obj/x64/Debug/TheCreativeProjectCombinationProject.log +++ b/obj/x64/Debug/TheCreativeProjectCombinationProject.log @@ -1,92 +1,19 @@ - collision.cpp - game.cpp - gameObject.cpp - main.cpp - ofApp.cpp - tile.cpp - trump.cpp -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\gameObject.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\trump.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\gameObject.cpp(6): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead + ofApp.cpp +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\math\ofMatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\ofApp.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\ofApp.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\ofApp.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\main.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\main.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\main.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(35): error C2059: syntax error: '<<' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(108): error C2059: syntax error: '<<' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(112): error C2143: syntax error: missing ';' before '{' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(72): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(100): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(102): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(138): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(146): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(157): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(165): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(174): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\trump.cpp(182): warning C4996: 'ofRect': Use ofDrawRectangle instead - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofGraphics.h(512): note: see declaration of 'ofRect' -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\collision.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\collision.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\collision.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\tile.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\tile.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\tile.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\colliderComponent.h(52): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\game.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\game.cpp) -C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead (compiling source file src\game.cpp) - C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' (compiling source file src\game.cpp) +C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\src\ECS\tileComponent.h(34): warning C4996: 'ofImage_<unsigned char>::loadImage': Use load instead + C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\openFrameworks\graphics\ofImage.h(227): note: see declaration of 'ofImage_<unsigned char>::loadImage' + TheCreativeProjectCombinationProject.vcxproj -> C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\bin\TheCreativeProjectCombinationProject_debug.exe + + 2 C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\fmodex\lib\vs\x64\ + *EXTRA File 6942208 C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\bin\FreeImage.dll + + 1 C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\libs\FreeImage\lib\vs\x64\ + *EXTRA File 1503232 C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\bin\fmodex64.dll + *EXTRA File 1552384 C:\OpenFrameworks\of_v0.10.1_vs2017_release\of_v0.10.1_vs2017_release\apps\myApps\TheCreativeProjectCombinationProject\bin\fmodexL64.dll diff --git a/obj/x64/Debug/vc142.pdb b/obj/x64/Debug/vc142.pdb index 375fd80590a36e8920f2d1f8fdcaf97daaf5c0d4..5310e5a86c5e6d832a8ee50bfc9b32f3bd1808ce 100644 Binary files a/obj/x64/Debug/vc142.pdb and b/obj/x64/Debug/vc142.pdb differ diff --git a/src/HubWorldText.cpp b/src/HubWorldText.cpp index b6c99e5924c84c55e0b4d93e4ef38fdcc8f06adf..5f0243df5d728687b30ac14b2a4ea224c8e3a48a 100644 --- a/src/HubWorldText.cpp +++ b/src/HubWorldText.cpp @@ -1,18 +1,26 @@ #include "HubWorldText.h" void HubWorldText::process(string filename) { - lineText.load("Gameplay.ttf", 20); //Loading the font + //Loading the font, seems to have issues within classes. + lineText.load("Gameplay.ttf", 20); - - lines.loadFile(filename); //This is the value that will be changed when the process function is called + //This is the value that will be changed when the process function is called + lines.loadFile(filename); + lines.pushTag("lines"); int numberOfSpeeches = lines.getNumTags("speech"); //Grabbing the amount of tags + //Looping through the amount of tags with "speech" for (int i = 0; i < numberOfSpeeches; i++) { lines.pushTag("speech", i); - //In order for variety, I've decided to make 3 diffirent types of text, the idea being that the player would get diffirent results when they go to the same area! + /* + In order for variety, I've decided to make three diffirent text states for the hub world. + The idea being that the player would get diffirent results when they interact with the same object. + + Note : The parameter at the end of getValue is a placeholder + */ string textState0i = lines.getValue("text1", "error text not found"); string textState1i = lines.getValue("text2", "error text not found"); string textState2i = lines.getValue("text3", "error text not found"); @@ -27,7 +35,7 @@ void HubWorldText::process(string filename) { lines.popTag(); //Popping for lines } -void HubWorldText::drawTextBox(int x, int y) +void HubWorldText::drawTextBox(int x, int y) //Placeholder to allow for the text box to appear whereever. { ofSetColor(0); ofRect(0, ofGetHeight() * 0.65, ofGetWidth(), ofGetHeight() * 0.09); //This box is the where the enemy lines will appear! diff --git a/src/duke.cpp b/src/duke.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e94a182a05dfd33e205cbc0c2c1fb218f2b8bb57 --- /dev/null +++ b/src/duke.cpp @@ -0,0 +1,275 @@ +#include "duke.h" +#include "enemy.h" +#include "ofMain.h" + +duke::duke(float x, float y) : enemy(3, 100, 0, 0, 0) { //The values of the enemy + xPos = x; + yPos = y; +} + +void duke::setup() { + XMLlines.process("duke.xml"); //Reading the XML file found in the data folder + + heightValues.push_back(ofGetHeight() * 0.82); + heightValues.push_back(ofGetHeight() * 0.90); + heightValues.push_back(ofGetHeight() * 0.98); + /* + This randomises the order, this makes it so the correct answer + isn't in the same position every time + */ + std::random_shuffle(heightValues.begin(), heightValues.end()); + + /* Uncomment this to see the values (Not to be modified) + + std::cout << heightValues[0] << std::endl; + std::cout << heightValues[1] << std::endl; + std::cout << heightValues[2] << std::endl; + + */ + wrongResponseCheck = false; + rightResponseCheck = false; +} +void duke::draw() { + //This variable simply handles the method to make the text loading effect + timeMeasure += ofGetFrameRate(); //Default; + timeMeasure += 1000; //Debug Option to skip through animations much quicker + + //Health Bar Calculation + mappedEnemy = ofMap(health, 0, 10, 0, ofGetWidth() - 70); + mappedPlayer = ofMap(playerValues.health, 0, 5, 0, ofGetWidth() * 0.19); + + //DEBUG Stuff + ofDrawBitmapString("Health : " + ofToString(health), 10, 10); + ofDrawBitmapString("Skill : " + ofToString(skillLevel), 10, 30); + + //ENEMY LINES BOX + ofSetColor(0); + ofRect(0, ofGetHeight() * 0.65, ofGetWidth(), ofGetHeight() * 0.09); //This box is the where the enemy lines will appear! + ofSetColor(255); + + //The following if statements allow the NPC to respond accordingly if the user has inputed the correct or incorrect answer. + if (playerValues.health != 0) + { + if (!wrongResponseCheck && !rightResponseCheck) + { + lineText.drawString("Farage : " + XMLlines.text[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); // Question + } + if (wrongResponseCheck && !rightResponseCheck) + { + + //std::cout << "Loading incorrect Answer" << std::endl; + + lineText.drawString("Farage : " + XMLlines.responseWrong[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); + if (loopCheck == XMLlines.responseWrong[id].size()) + { + //std::cout << "Incorrect Answer" << std::endl; + wrongResponseCheck = false; + loopCheck = 0; + + //std::cout << wrongResponseCheck << std::endl; + } + } + if (rightResponseCheck && !wrongResponseCheck) + { + //std::cout << "Loading correct answer" << std::endl; + + lineText.drawString("Farage : " + XMLlines.responseRight[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); + if (loopCheck == XMLlines.responseRight[id].size()) + { + rightResponseCheck = false; + loopCheck = 0; + + if (id <= XMLlines.answer.size()) + { + id++; + if (id == XMLlines.answer.size()) + { + id = 0; + } + ; + } + + } + } + //For some reason there is a bug when both responses get triggered at the same time, this is a fix to that problem + if (wrongResponseCheck && rightResponseCheck) + { + playerValues.health += 1; + std::cout << "Euston we have a problem"; + wrongResponseCheck = false; + } + + } + else //Fail state + { + lineText.drawString("HaHaHa, I will make america great again!", ofGetWidth() * 0.1, ofGetHeight() * 0.71); + } + + //ENEMY HEALTH BAR---------------------------------------------- + ofSetColor(0); + ofRect(30, 10, ofGetWidth() - 60, ofGetHeight() * 0.075); + ofSetColor(255, 0, 0); //Red + ofRect(35, 15, mappedEnemy, ofGetHeight() * 0.06); + ofSetColor(255); + healthText.drawString("Enemy Health", ofGetWidth() / 2 - 75, ofGetHeight() * 0.05); + + //Player Health Bar + ofSetColor(0); + ofRect(20, ofGetHeight() * 0.55, ofGetWidth() * 0.20, ofGetHeight() * 0.05); + ofSetColor(0, 255, 0); + ofRect(25, ofGetHeight() * 0.555, mappedPlayer, ofGetHeight() * 0.040); + ofSetColor(255, 255, 255); + healthText.drawString("Your Health", ofGetWidth() * 0.05, ofGetHeight() * 0.585); + + + + //Changing time measure here will + if (!wrongResponseCheck && !rightResponseCheck) + { + if (timeMeasure > 1000 && loopCheck < XMLlines.text[id].size()) //This if statement allows for the loading animation in the program + { + loopCheck = loopCheck + 1; + timeMeasure = 0; + } + } + if (wrongResponseCheck) + { + if (timeMeasure > 1000 && loopCheck < XMLlines.responseWrong[id].size()) //This if statement allows for the loading animation in the program + { + loopCheck = loopCheck + 1; + timeMeasure = 0; + } + } + if (rightResponseCheck) + { + if (timeMeasure > 1000 && loopCheck < XMLlines.responseRight[id].size()) //This if statement allows for the loading animation in the program + { + loopCheck = loopCheck + 1; + timeMeasure = 0; + } + } + + /* + BOX GUI section + - This GUI section handles the text boxes color and gives feedback to the user + */ + if (!wrongResponseCheck && !rightResponseCheck) { + if (loopCheck == XMLlines.text[id].size() && playerValues.health != 0) //Loads the text boxes only if the text has fully loaded. This is to give an animation effect + { + ofSetColor(0); + //TEXT BOX 1----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) + { + ofSetColor(0); + ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(255); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + } + else + { + ofSetColor(255); + ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(0); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + } + //--------------------------------------------------------------------------------------------- + + //TEXT BOX 2----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) + { + ofSetColor(0); + ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(255); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + } + else + { + ofSetColor(255); + ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(0); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + } + //TEXT BOX 3----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) + { + ofSetColor(0, 0, 0); + ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(255, 255, 255); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + } + else + { + ofSetColor(255, 255, 255); + ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(0, 0, 0); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + } + //----------------------------------------------------------------------------------- + } + } + +} + +void duke::mousePressed() { + /* + This function passes the result that the user has clicked. + There are only two possible states in this section of program + - Correct, if correct the user will continue to the next question + - Incorrect, if incorrect the user will lose health and the enemy will respond. + + */ + if (playerValues.health != 0) { + if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) + { + health -= 1; //Enemy Health + loopCheck = 0; + timeMeasure = 0; + rightResponseCheck = true; + + //This simply stops the vector from going out of range which causes a nasty runtime error. + + + std::random_shuffle(heightValues.begin(), heightValues.end()); //Shuffles the question order + + /* + //Uncomment this to print off the values after std::random_shuffle() + std::cout << heightValues[0] << std::endl; + std::cout << heightValues[1] << std::endl; + std::cout << heightValues[2] << std::endl; + */ + + } + //The incorrect response + if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) + { + std::cout << "Why has this been executed?"; + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong + loopCheck = 0; + timeMeasure = 0; + wrongResponseCheck = true; + + } + if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) + { + std::cout << "Why has this been executed?"; + + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong + loopCheck = 0; + timeMeasure = 0; + wrongResponseCheck = true; + + } + } + + +} \ No newline at end of file diff --git a/src/duke.h b/src/duke.h new file mode 100644 index 0000000000000000000000000000000000000000..9795cd80bd53436edd0c8e174f8cc45b330bdb61 --- /dev/null +++ b/src/duke.h @@ -0,0 +1,26 @@ +#ifndef DUKE_H +#define DUKE_H + +#include "ofMain.h" +#include "enemy.h" +#include <string> +#include "ofxXmlSettings.h" + +class duke : public enemy { +public: + duke(float x, float y); + void draw(); + void setup(); + float mappedEnemy; + float mappedPlayer; + vector <string> linesXML; + void mousePressed(); + + bool wrongResponseCheck; + bool rightResponseCheck; +private: + //These variables are used for the loading animaition feature + float timeMeasure; + int loopCheck; +}; +#endif diff --git a/src/enemy.cpp b/src/enemy.cpp index b1cafae45eb6eae66cbc629cd0a3b71e78c14d74..57645f1fd38fb14e2e65bf19edd337711aa7b1cd 100644 --- a/src/enemy.cpp +++ b/src/enemy.cpp @@ -11,9 +11,6 @@ enemy::enemy(float hp, float Level, float var3, float var4, float var5) healthText.load("ARCADECLASSIC.TTF", 20); } -void enemy::draw() -{ -} void enemy::imageLoad(string filename) { @@ -25,15 +22,6 @@ void enemy::imageDraw(float x, float y) enemyIcon.draw(x, y); //Shows an image at the centre top of the screen } -void enemy::enemyAttack(float damage) //Call this function to allow for the user to attack -{ - health = health - damage; -} - -void enemy::enemyDefend() -{ -} - enemy::~enemy() { } \ No newline at end of file diff --git a/src/enemy.h b/src/enemy.h index 92faaba7cdb84f8be4cf2c8106e4ef07875c0844..6bdb3aa0f33cc3105fa27d5426aeb37dc0a69b75 100644 --- a/src/enemy.h +++ b/src/enemy.h @@ -1,11 +1,13 @@ /* -This is the enemy class, this acts as a global variable. -Every enemy type will use this class as a stepping stone for -all of the other NPCS + This is the enemy class, this acts as a global variable. + Every enemy type will use this class as a stepping stone for + all of the other NPCS */ + #ifndef ENEMY_H #define ENEMY_H +//Files required for this class to be operational #include "ofMain.h" #include "XMLreader.h" #include "playerStats.h" @@ -13,21 +15,28 @@ all of the other NPCS class enemy { public: + //Constructor enemy(float hp, float Level, float var3, float var4, float var5); //These are the global values of the enemy - virtual void draw(); - ofImage enemyIcon; //This is the image file of the project + + //Image related functions + ofImage enemyIcon; ofImage backgroundImage; - void imageLoad(string filename); //This is seperate from - void imageDraw(float x, float y); //MUST BE RUN IN DRAW FUNCTION OF ofApp.cpp + + //Must be run in setup + void imageLoad(string filename); - void enemyAttack(float damage); - void enemyDefend(); //The first variable is the playerHealth, the second is the damage the NPC will do! + //Must be run in draw + void imageDraw(float x, float y); - playerStats playerValues; + playerStats playerValues; //Player health, gets reset for every battle; ~enemy(); protected: //Variables that can only be accessed with inhertiance + + //Variables for the moving object float xPos; float yPos; + + //Values of the enemy float health; float skillLevel; vector <int> heightValues; //This is to help out with randomising values @@ -36,6 +45,6 @@ protected: //Variables that can only be accessed with inhertiance //LineReader Object XMLreader XMLlines; - int id; //This is required to increment the value + int id; }; #endif diff --git a/src/farage.cpp b/src/farage.cpp index cb8631f582f26f68a225db0066bb815a5a8e7e09..ff63575e271a4a053983bb651f1f54744d6341fe 100644 --- a/src/farage.cpp +++ b/src/farage.cpp @@ -2,13 +2,13 @@ #include "enemy.h" #include "ofMain.h" -farage::farage(float x, float y) : enemy(10, 100, 0, 0, 0) { //The values of the enemy +farage::farage(float x, float y) : enemy(4, 100, 0, 0, 0) { //The values of the enemy xPos = x; yPos = y; } void farage::setup() { - XMLlines.process("trump.xml"); //Reading the XML file found in the data folder + XMLlines.process("farage.xml"); //Reading the XML file found in the data folder heightValues.push_back(ofGetHeight() * 0.82); heightValues.push_back(ofGetHeight() * 0.90); @@ -26,148 +26,250 @@ void farage::setup() { std::cout << heightValues[2] << std::endl; */ - + wrongResponseCheck = false; + rightResponseCheck = false; } void farage::draw() { //This variable simply handles the method to make the text loading effect timeMeasure += ofGetFrameRate(); //Default; - //timeMeasure += 1000; //Debug Option to skip through animations much quicker + timeMeasure += 1000; //Debug Option to skip through animations much quicker - //Health Bar Calculation (SCALE NOT PERFECT) - mapped = ofMap(health, 0, 10, 0, ofGetWidth() - 70); + //Health Bar Calculation + mappedEnemy = ofMap(health, 0, 10, 0, ofGetWidth() - 70); + mappedPlayer = ofMap(playerValues.health, 0, 5, 0, ofGetWidth() * 0.19); - //DEBUG STUFF + //DEBUG Stuff ofDrawBitmapString("Health : " + ofToString(health), 10, 10); ofDrawBitmapString("Skill : " + ofToString(skillLevel), 10, 30); - //ENEMY LINES BOX---------------------------------------- + //ENEMY LINES BOX ofSetColor(0); ofRect(0, ofGetHeight() * 0.65, ofGetWidth(), ofGetHeight() * 0.09); //This box is the where the enemy lines will appear! ofSetColor(255); + + //The following if statements allow the NPC to respond accordingly if the user has inputed the correct or incorrect answer. if (playerValues.health != 0) { - lineText.drawString("Trump : " + XMLlines.text[id].substr(0, loopCheck), ofGetWidth()*0.1, ofGetHeight()*0.71); // Question + if (!wrongResponseCheck && !rightResponseCheck) + { + lineText.drawString("Farage : " + XMLlines.text[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); // Question + } + if (wrongResponseCheck && !rightResponseCheck) + { + + //std::cout << "Loading incorrect Answer" << std::endl; + + lineText.drawString("Farage : " + XMLlines.responseWrong[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); + if (loopCheck == XMLlines.responseWrong[id].size()) + { + //std::cout << "Incorrect Answer" << std::endl; + wrongResponseCheck = false; + loopCheck = 0; + + //std::cout << wrongResponseCheck << std::endl; + } + } + if (rightResponseCheck && !wrongResponseCheck) + { + //std::cout << "Loading correct answer" << std::endl; + + lineText.drawString("Farage : " + XMLlines.responseRight[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); + if (loopCheck == XMLlines.responseRight[id].size()) + { + rightResponseCheck = false; + loopCheck = 0; + + if (id <= XMLlines.answer.size()) + { + id++; + if (id == XMLlines.answer.size()) + { + id = 0; + } + ; + } + + } + } + //For some reason there is a bug when both responses get triggered at the same time, this is a fix to that problem + if (wrongResponseCheck && rightResponseCheck) + { + playerValues.health += 1; + std::cout << "Euston we have a problem"; + wrongResponseCheck = false; + } + } - else + else //Fail state { - lineText.drawString("HaHaHa, I will make america great again!", ofGetWidth()*0.1, ofGetHeight()*0.71); + lineText.drawString("HaHaHa, I will make america great again!", ofGetWidth() * 0.1, ofGetHeight() * 0.71); } - //HEALTH BAR---------------------------------------------- + //ENEMY HEALTH BAR---------------------------------------------- ofSetColor(0); ofRect(30, 10, ofGetWidth() - 60, ofGetHeight() * 0.075); - ofSetColor(0, 255, 0); - ofRect(35, 15, mapped, ofGetHeight() * 0.06); + ofSetColor(255, 0, 0); //Red + ofRect(35, 15, mappedEnemy, ofGetHeight() * 0.06); ofSetColor(255); healthText.drawString("Enemy Health", ofGetWidth() / 2 - 75, ofGetHeight() * 0.05); - //-------------------------------------------------------- + //Player Health Bar + ofSetColor(0); + ofRect(20, ofGetHeight() * 0.55, ofGetWidth() * 0.20, ofGetHeight() * 0.05); + ofSetColor(0, 255, 0); + ofRect(25, ofGetHeight() * 0.555, mappedPlayer, ofGetHeight() * 0.040); + ofSetColor(255, 255, 255); + healthText.drawString("Your Health", ofGetWidth() * 0.05, ofGetHeight() * 0.585); + + - if (timeMeasure > 300 && loopCheck < XMLlines.text[id].size()) //This if statement allows for the loading animation in the program + //Changing time measure here will + if (!wrongResponseCheck && !rightResponseCheck) { - loopCheck = loopCheck + 1; - timeMeasure = 0; + if (timeMeasure > 1000 && loopCheck < XMLlines.text[id].size()) //This if statement allows for the loading animation in the program + { + loopCheck = loopCheck + 1; + timeMeasure = 0; + } } - - if (loopCheck == XMLlines.text[id].size() && playerValues.health != 0) //Loads the text boxes only if the text has fully loaded. This is to give an animation effect + if (wrongResponseCheck) { - ofSetColor(0); - //TEXT BOX 1----------------------------------------------------------------------------------- - if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) + if (timeMeasure > 1000 && loopCheck < XMLlines.responseWrong[id].size()) //This if statement allows for the loading animation in the program { - ofSetColor(0); - ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); - - ofSetColor(255); - lineText.drawString("1 . " + XMLlines.answer[id], ofGetWidth()*0.1, heightValues[0]); + loopCheck = loopCheck + 1; + timeMeasure = 0; } - else + } + if (rightResponseCheck) + { + if (timeMeasure > 1000 && loopCheck < XMLlines.responseRight[id].size()) //This if statement allows for the loading animation in the program { - ofSetColor(255); - ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); - - ofSetColor(0); - lineText.drawString("1 . " + XMLlines.answer[id], ofGetWidth()*0.1, heightValues[0]); + loopCheck = loopCheck + 1; + timeMeasure = 0; } - //--------------------------------------------------------------------------------------------- + } - //TEXT BOX 2----------------------------------------------------------------------------------- - if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) + /* + BOX GUI section + - This GUI section handles the text boxes color and gives feedback to the user + */ + if (!wrongResponseCheck && !rightResponseCheck) { + if (loopCheck == XMLlines.text[id].size() && playerValues.health != 0) //Loads the text boxes only if the text has fully loaded. This is to give an animation effect { ofSetColor(0); - ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + //TEXT BOX 1----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) + { + ofSetColor(0); + ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); - ofSetColor(255); - lineText.drawString("2 . " + XMLlines.wrongAnswer1[id], ofGetWidth()*0.1, heightValues[1]); - } - else - { - ofSetColor(255); - ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + ofSetColor(255); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + } + else + { + ofSetColor(255); + ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); - ofSetColor(0); - lineText.drawString("2 . " + XMLlines.wrongAnswer1[id], ofGetWidth()*0.1, heightValues[1]); - } - //TEXT BOX 3----------------------------------------------------------------------------------- - if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) - { - ofSetColor(0); - ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + ofSetColor(0); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + } + //--------------------------------------------------------------------------------------------- - ofSetColor(255); - lineText.drawString("3 . " + XMLlines.wrongAnswer2[id], ofGetWidth()*0.1, heightValues[2]); - } - else - { - ofSetColor(255); - ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + //TEXT BOX 2----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) + { + ofSetColor(0); + ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); - ofSetColor(0); - lineText.drawString("3 . " + XMLlines.wrongAnswer2[id], ofGetWidth()*0.1, heightValues[2]); + ofSetColor(255); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + } + else + { + ofSetColor(255); + ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(0); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + } + //TEXT BOX 3----------------------------------------------------------------------------------- + if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) + { + ofSetColor(0, 0, 0); + ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(255, 255, 255); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + } + else + { + ofSetColor(255, 255, 255); + ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); + + ofSetColor(0, 0, 0); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + } + //----------------------------------------------------------------------------------- } - //----------------------------------------------------------------------------------- - } //Word of Warning this a gigantic function + } + } void farage::mousePressed() { - //The correct Answer + /* + This function passes the result that the user has clicked. + There are only two possible states in this section of program + - Correct, if correct the user will continue to the next question + - Incorrect, if incorrect the user will lose health and the enemy will respond. + + */ if (playerValues.health != 0) { - if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) + if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) { - health -= 1; + health -= 1; //Enemy Health + loopCheck = 0; + timeMeasure = 0; + rightResponseCheck = true; - //This simply stops the vector from going out of range which causes a hard crash; - if (id <= XMLlines.answer.size()) - { - std::cout << XMLlines.answer.size() << std::endl; - id++; - if (id == XMLlines.answer.size()) - { - id = 0; - } - ; - } + //This simply stops the vector from going out of range which causes a nasty runtime error. - loopCheck = 0; //To make sure the animation works smoothly - timeMeasure = 0; - //The function below randmoises the order everytime the correct answer is selected + std::random_shuffle(heightValues.begin(), heightValues.end()); //Shuffles the question order - std::random_shuffle(heightValues.begin(), heightValues.end()); + /* + //Uncomment this to print off the values after std::random_shuffle() + std::cout << heightValues[0] << std::endl; + std::cout << heightValues[1] << std::endl; + std::cout << heightValues[2] << std::endl; + */ - std::cout << heightValues[0] << std::endl; - std::cout << heightValues[1] << std::endl; - std::cout << heightValues[2] << std::endl; } - //The incorrect answers + //The incorrect response if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) { - playerValues.playerLoseHealth(1); + std::cout << "Why has this been executed?"; + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong + loopCheck = 0; + timeMeasure = 0; + wrongResponseCheck = true; + } if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) { - playerValues.playerLoseHealth(1); + std::cout << "Why has this been executed?"; + + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong + loopCheck = 0; + timeMeasure = 0; + wrongResponseCheck = true; + } } + } \ No newline at end of file diff --git a/src/farage.h b/src/farage.h index 83e4a99e090655efef7ca498894e9683f6253cad..580467d4aeabae97c537ea3e1338600a59232147 100644 --- a/src/farage.h +++ b/src/farage.h @@ -11,16 +11,16 @@ public: farage(float x, float y); void draw(); void setup(); - float mapped; + float mappedEnemy; + float mappedPlayer; vector <string> linesXML; void mousePressed(); + bool wrongResponseCheck; + bool rightResponseCheck; private: - ofMaterial material; + //These variables are used for the loading animaition feature float timeMeasure; - string result; - int loopCheck; - ofColor colors; }; #endif diff --git a/src/ofApp.cpp b/src/ofApp.cpp index 7bf03708f304eb80c16c14f826e7d1a12b6b7837..b30659600e55e55a9d25ee1f49cbe93a7096038e 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -14,6 +14,12 @@ void ofApp::setup(){ TrumpEnemy.imageLoad("img/trump.png"); TrumpEnemy.setup(); + farageEnemy.imageLoad("img/farage.png"); + farageEnemy.setup(); + + dukeEnemy.imageLoad("img/duke.png"); + dukeEnemy.setup(); + hubTextClass.process("HubWorldText.xml"); outskirts.loadImage("Outskirts_image.png"); @@ -141,13 +147,18 @@ void ofApp::draw(){ //Text for boxes ofSetColor(255, 255, 255); //PLAYER VALUES------------------------------------------ - ofDrawBitmapString("Your Health : " + ofToString(TrumpEnemy.playerValues.health), 400, 400); + //ofDrawBitmapString("Your Health : " + ofToString(TrumpEnemy.playerValues.health), 400, 400); } if (testing2) //The condition needs to be a position in the map. Maybe a texture with a chat bubble on it? { - //The arguements do nothing currently don't worry about this - hubTextClass.drawTextBox(0, 0); + is_hitpoint = true; + ofBackground(125, 125, 125); + //Enemy Appearence + dukeEnemy.imageDraw(ofGetWidth() / 2 - 250 + enemyMoveX, ofGetHeight() / 2 - 250 + enemyMoveY); //Position for the character head + dukeEnemy.draw(); + + ofSetColor(255, 255, 255); } } @@ -212,7 +223,8 @@ void ofApp::mouseDragged(int x, int y, int button){ //-------------------------------------------------------------- void ofApp::mousePressed(int x, int y, int button){ - TrumpEnemy.mousePressed(); + //TrumpEnemy.mousePressed(); + dukeEnemy.mousePressed(); } //-------------------------------------------------------------- diff --git a/src/ofApp.h b/src/ofApp.h index e56802de49464564ef436ccd07814c3a1c8e0449..2b2048ff87b80da5339dd75f3a03f1680a1ec2a0 100644 --- a/src/ofApp.h +++ b/src/ofApp.h @@ -17,12 +17,13 @@ #include "XMLreader.h" #include "ofxXmlSettings.h" +//Enemy Classes #include "trump.h" #include "farage.h" - -#include "HubWorldText.h" +#include "duke.h" +#include "HubWorldText.h" using namespace std; @@ -68,9 +69,10 @@ class ofApp : public ofBaseApp{ //FIGHTING SYSTEM RELATED FUNCTIONS - //Enemy Types + //Enemy Types trump TrumpEnemy{ 0,0 }; farage farageEnemy{ 0,0 }; + duke dukeEnemy{ 0,0 }; //This class stores all of the player values, this contains health, skill and morale playerStats playerValues; diff --git a/src/trump.cpp b/src/trump.cpp index 7d5fc9c2f9afd17a0ab17071364e9799aa660df2..044c57dbfceaaea88298da08345db985363844e3 100644 --- a/src/trump.cpp +++ b/src/trump.cpp @@ -28,45 +28,22 @@ void trump::setup() { */ wrongResponseCheck = false; rightResponseCheck = false; - rWhite = 0; - rBlack = 255; } void trump::draw() { - /* - //This function has been taken out the code since it does not currently function correctly. Uncommenting it may cause unexpected problems. - - if (colorChanger) - { - std::cout << "What is happening" << std::endl; - if (rWhite < 255 && rBlack > 0) - { - rWhite++; - rBlack--; - } - else - { - colorChanger = false; - } - - } - */ - - - std::cout << "Loopcheck Int : " + loopCheck << std::endl; - //This variable simply handles the method to make the text loading effect timeMeasure += ofGetFrameRate(); //Default; //timeMeasure += 1000; //Debug Option to skip through animations much quicker - //Health Bar Calculation (SCALE NOT PERFECT) - mapped = ofMap(health, 0, 10, 0, ofGetWidth() - 70); + //Health Bar Calculation + mappedEnemy = ofMap(health, 0, 10, 0, ofGetWidth() - 70); + mappedPlayer = ofMap(playerValues.health, 0, 5, 0, ofGetWidth() *0.19); - //DEBUG STUFF + //DEBUG Stuff ofDrawBitmapString("Health : " + ofToString(health), 10, 10); ofDrawBitmapString("Skill : " + ofToString(skillLevel), 10, 30); - //ENEMY LINES BOX---------------------------------------- + //ENEMY LINES BOX ofSetColor(0); ofRect(0, ofGetHeight() * 0.65, ofGetWidth(), ofGetHeight() * 0.09); //This box is the where the enemy lines will appear! ofSetColor(255); @@ -78,27 +55,40 @@ void trump::draw() { { lineText.drawString("Trump : " + XMLlines.text[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); // Question } - else if (wrongResponseCheck) + if (wrongResponseCheck && !rightResponseCheck) { + + //std::cout << "Loading incorrect Answer" << std::endl; + lineText.drawString("Trump : " + XMLlines.responseWrong[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); if (loopCheck == XMLlines.responseWrong[id].size()) { - std::cout << "Incorrect Answer" << std::endl; + //std::cout << "Incorrect Answer" << std::endl; wrongResponseCheck = false; loopCheck = 0; + + //std::cout << wrongResponseCheck << std::endl; } } - else if (rightResponseCheck) + if (rightResponseCheck && !wrongResponseCheck) { + //std::cout << "Loading correct answer" << std::endl; + lineText.drawString("Trump : " + XMLlines.responseRight[id].substr(0, loopCheck), ofGetWidth() * 0.1, ofGetHeight() * 0.71); if (loopCheck == XMLlines.responseRight[id].size()) { - std::cout << "Correct Answer" << std::endl; rightResponseCheck = false; loopCheck = 0; id++; } } + //For some reason there is a bug when both responses get triggered at the same time, this is a fix to that problem + if (wrongResponseCheck && rightResponseCheck) + { + std::cout << "Euston we have a problem"; + playerValues.health += 1; + wrongResponseCheck = false; + } } else //Fail state @@ -106,15 +96,23 @@ void trump::draw() { lineText.drawString("HaHaHa, I will make america great again!", ofGetWidth() * 0.1, ofGetHeight() * 0.71); } - //HEALTH BAR---------------------------------------------- + //ENEMY HEALTH BAR---------------------------------------------- ofSetColor(0); ofRect(30, 10, ofGetWidth() - 60, ofGetHeight() * 0.075); - ofSetColor(0, 255, 0); - ofRect(35, 15, mapped, ofGetHeight() * 0.06); + ofSetColor(255, 0, 0); //Red + ofRect(35, 15, mappedEnemy, ofGetHeight() * 0.06); ofSetColor(255); healthText.drawString("Enemy Health", ofGetWidth() / 2 - 75, ofGetHeight() * 0.05); - //-------------------------------------------------------- + //Player Health Bar + ofSetColor(0); + ofRect(20, ofGetHeight() * 0.55, ofGetWidth() * 0.20, ofGetHeight() * 0.05); + ofSetColor(0, 255, 0); + ofRect(25, ofGetHeight() * 0.555, mappedPlayer, ofGetHeight()*0.040); + ofSetColor(255, 255, 255); + healthText.drawString("Your Health", ofGetWidth()*0.05, ofGetHeight() * 0.585); + + //Changing time measure here will if (!wrongResponseCheck && !rightResponseCheck) @@ -133,7 +131,6 @@ void trump::draw() { timeMeasure = 0; } } - if (rightResponseCheck) { if (timeMeasure > 1000 && loopCheck < XMLlines.responseRight[id].size()) //This if statement allows for the loading animation in the program @@ -143,8 +140,10 @@ void trump::draw() { } } - - + /* + BOX GUI section + - This GUI section handles the text boxes color and gives feedback to the user + */ if (!wrongResponseCheck && !rightResponseCheck) { if (loopCheck == XMLlines.text[id].size() && playerValues.health != 0) //Loads the text boxes only if the text has fully loaded. This is to give an animation effect { @@ -156,7 +155,7 @@ void trump::draw() { ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(255); - lineText.drawString("1 . " + XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); } else { @@ -164,7 +163,7 @@ void trump::draw() { ofRect(0, heightValues[0] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(0); - lineText.drawString("1 . " + XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); + lineText.drawString(XMLlines.answer[id], ofGetWidth() * 0.1, heightValues[0]); } //--------------------------------------------------------------------------------------------- @@ -175,7 +174,7 @@ void trump::draw() { ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(255); - lineText.drawString("2 . " + XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); } else { @@ -183,7 +182,7 @@ void trump::draw() { ofRect(0, heightValues[1] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(0); - lineText.drawString("2 . " + XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); + lineText.drawString(XMLlines.wrongAnswer1[id], ofGetWidth() * 0.1, heightValues[1]); } //TEXT BOX 3----------------------------------------------------------------------------------- if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) @@ -192,7 +191,7 @@ void trump::draw() { ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(255, 255, 255); - lineText.drawString("3 . " + XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); } else { @@ -200,16 +199,22 @@ void trump::draw() { ofRect(0, heightValues[2] - ofGetHeight() * 0.08, ofGetWidth(), ofGetHeight() * 0.08); ofSetColor(0, 0, 0); - lineText.drawString("3 . " + XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); + lineText.drawString(XMLlines.wrongAnswer2[id], ofGetWidth() * 0.1, heightValues[2]); } //----------------------------------------------------------------------------------- - } //Word of Warning this a gigantic function + } } } void trump::mousePressed() { - //The correct Answer + /* + This function passes the result that the user has clicked. + There are only two possible states in this section of program + - Correct, if correct the user will continue to the next question + - Incorrect, if incorrect the user will lose health and the enemy will respond. + + */ if (playerValues.health != 0) { if (ofGetMouseY() > heightValues[0] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[0]) { @@ -218,10 +223,10 @@ void trump::mousePressed() { timeMeasure = 0; rightResponseCheck = true; - //This simply stops the vector from going out of range which causes a hard crash; + //This simply stops the vector from going out of range which causes a nasty runtime error. if (id <= XMLlines.answer.size()) { - std::cout << XMLlines.answer.size() << std::endl; + if (id == XMLlines.answer.size()) { id = 0; @@ -238,13 +243,13 @@ void trump::mousePressed() { std::cout << heightValues[2] << std::endl; */ - - } - //The incorrect answers + //The incorrect response if (ofGetMouseY() > heightValues[1] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[1]) { - playerValues.playerLoseHealth(1); + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong loopCheck = 0; timeMeasure = 0; wrongResponseCheck = true; @@ -252,7 +257,9 @@ void trump::mousePressed() { } if (ofGetMouseY() > heightValues[2] - ofGetHeight() * 0.08 && ofGetMouseY() < heightValues[2]) { - playerValues.playerLoseHealth(1); + playerValues.playerLoseHealth(1); //The player health + + //The animations need to be reset, even if the user gets the question wrong loopCheck = 0; timeMeasure = 0; wrongResponseCheck = true; diff --git a/src/trump.h b/src/trump.h index 60d46ef80d3d45107bad1cd4607e5f3132dde873..7d6c66e565747bd3c15473aab9bdef34e50e6eda 100644 --- a/src/trump.h +++ b/src/trump.h @@ -6,26 +6,25 @@ #include <string> #include "ofxXmlSettings.h" +/* + Each enemy NPC is attached to the enemy class which gives our enemy some values. +*/ + class trump : public enemy { public: trump(float x, float y); void draw(); void setup(); - float mapped; + float mappedEnemy; + float mappedPlayer; vector <string> linesXML; void mousePressed(); - int rWhite; - int rBlack; - bool wrongResponseCheck; bool rightResponseCheck; private: - ofMaterial material; + //These variables are used for the loading animaition feature float timeMeasure; - string result; - int loopCheck; - ofColor colors; }; #endif