Jump to content

Roland

Members
  • Posts

    2,953
  • Joined

  • Last visited

Everything posted by Roland

  1. Thank's a lot Lazlo. And No.. I will not ask one single question
  2. That does not sound good at all. I was into making my own C# headers but then I saw that there already was a C# implementation. Using a wrapper without source is not an option I think, specially if the authors are seldom here. That leaves me we two options, either not using C# or make my own implementation. Have to think a bit about that. Anyway. Thanks for the info. Roland
  3. My question is not about the C# language. Its more about how to get current Leadwerks C# implementation up and running. What is the procedure? Here is what I have done. I checked out from http://leadwerks-csharp.googlecode.com/svn/trunk (revision 32) into my Leadwerks directory so now I have a subdirectory called leadwerks-csharp. I opened the Leadwerks.sln in Visual Studio 2010 and immediately found that the Leadwerks project was missing. Compilation gives this (Debug x86) ------ Rebuild All started: Project: Leadwerks.Game, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(6,41): error CS0234: The type or namespace name 'Entity' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(58,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(59,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(60,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(61,17): error CS0246: The type or namespace name 'Core' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,76): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,94): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(409,110): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,67): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,85): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(536,101): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,67): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,85): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,101): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,142): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(546,156): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(559,17): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(560,17): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(561,17): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(564,16): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(570,16): error CS0246: The type or namespace name 'Body' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(576,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(582,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(588,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(606,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\GameEntity.cs(612,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\DamageInfo.cs(45,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\DamageInfo.cs(50,16): error CS0246: The type or namespace name 'Vector3' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(10,34): error CS0234: The type or namespace name 'Camera' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(12,44): error CS0246: The type or namespace name 'Camera' could not be found (are you missing a using directive or an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\CameraManager.cs(17,23): error CS0246: The type or namespace name 'Camera' could not be found (are you missing a using directive or an assembly reference?) Compile complete -- 31 errors, 0 warnings Build started 2010-11-04 16:22:01. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Game.dll /target:library Ammo.cs Behavior.cs Bullet.cs CameraManager.cs Clip.cs Component.cs DamageInfo.cs DamageType.cs GameEntity.cs GameEntityManager.cs HitInfo.cs IGameEntity.cs Player.cs Properties\AssemblyInfo.cs State.cs Timer.cs Weapon.cs WeaponClip.cs FireMode.cs ZoomMode.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.11 ------ Rebuild All started: Project: Leadwerks.UI, Configuration: Debug x86 ------ Build started 2010-11-04 16:22:01. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\obj\x86\Debug\Leadwerks.UI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\obj\x86\Debug\Leadwerks.UI.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.UI.dll /target:library Class1.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.UI.dll" to "bin\x86\Debug\Leadwerks.UI.dll". Leadwerks.UI -> C:\Leadwerks\leadwerks-csharp\Leadwerks.UI\bin\x86\Debug\Leadwerks.UI.dll Copying file from "obj\x86\Debug\Leadwerks.UI.pdb" to "bin\x86\Debug\Leadwerks.UI.pdb". Build succeeded. Time Elapsed 00:00:00.17 ------ Rebuild All started: Project: Leadwerks.AI, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\OpenSteer\Vector3.cs(41,15): warning CS0660: 'OpenSteerDotNet.Vector3' defines operator == or operator != but does not override Object.Equals(object o) C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\OpenSteer\Vector3.cs(41,15): warning CS0661: 'OpenSteerDotNet.Vector3' defines operator == or operator != but does not override Object.GetHashCode() Compile complete -- 0 errors, 2 warnings Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Recast.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\obj\x86\Debug\Leadwerks.AI.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\obj\x86\Debug\Leadwerks.AI.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\Recast\Recast.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.AI.dll /target:library OpenSteer\AbstractVehicle.cs OpenSteer\Colours.cs OpenSteer\LocalSpace.cs OpenSteer\lq.cs OpenSteer\lqProximity.cs OpenSteer\Obstacle.cs OpenSteer\OpenSteerUtility.cs OpenSteer\PathWay.cs OpenSteer\Proximity.cs OpenSteer\RandomGenerator.cs OpenSteer\SimpleVehicle.cs OpenSteer\SteerLibrary.cs OpenSteer\Vector3.cs Properties\AssemblyInfo.cs Recast\Class1.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" _CopyFilesMarkedCopyLocal: Copying file from "C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\Recast\Recast.dll" to "bin\x86\Debug\Recast.dll". CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.AI.dll" to "bin\x86\Debug\Leadwerks.AI.dll". Leadwerks.AI -> C:\Leadwerks\leadwerks-csharp\Leadwerks.AI\bin\x86\Debug\Leadwerks.AI.dll Copying file from "obj\x86\Debug\Leadwerks.AI.pdb" to "bin\x86\Debug\Leadwerks.AI.pdb". Build succeeded. Time Elapsed 00:00:00.21 ------ Rebuild All started: Project: Leadwerks.Controls, Configuration: Debug x86 ------ C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(17,27): error CS0234: The type or namespace name 'Buffer' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(18,27): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(19,27): error CS0234: The type or namespace name 'Core' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\LETKControl.cs(92,26): error CS0234: The type or namespace name 'Buffer' does not exist in the namespace 'Leadwerks' (are you missing an assembly reference?) Compile complete -- 4 errors, 0 warnings Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\GenerateResource.read.1.tlog". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\obj\x86\Debug\GenerateResource.write.1.tlog". c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. CoreResGen: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.Compatibility.dll /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.dll /r:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.GLControl.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /compile Properties\Resources.resx,obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources Processing resource file "Properties\Resources.resx" into "obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.Compatibility.dll /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.dll /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Controls\bin\Debug\OpenTK.GLControl.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Controls.dll /resource:obj\x86\Debug\Leadwerks.Controls.Properties.Resources.resources /target:library Properties\AssemblyInfo.cs Properties\Resources.Designer.cs LETKControl.cs LETKControl.Designer.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.11 ------ Rebuild All started: Project: Leadwerks.Sound, Configuration: Debug x86 ------ Build started 2010-11-04 16:22:02. CoreClean: Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\fmodex.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.pdb". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\obj\x86\Debug\Leadwerks.Sound.dll". Deleting file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\obj\x86\Debug\Leadwerks.Sound.pdb". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks.Sound.dll /target:library fmod.cs fmod_dsp.cs fmod_errors.cs fmod_memoryinfo.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" _CopyOutOfDateSourceItemsToOutputDirectoryAlways: Copying file from "C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\fmodex.dll" to "bin\x86\Debug\fmodex.dll". CopyFilesToOutputDirectory: Copying file from "obj\x86\Debug\Leadwerks.Sound.dll" to "bin\x86\Debug\Leadwerks.Sound.dll". Leadwerks.Sound -> C:\Leadwerks\leadwerks-csharp\Leadwerks.Sound\bin\x86\Debug\Leadwerks.Sound.dll Copying file from "obj\x86\Debug\Leadwerks.Sound.pdb" to "bin\x86\Debug\Leadwerks.Sound.pdb". Build succeeded. Time Elapsed 00:00:00.24 ------ Rebuild All started: Project: Leadwerks_Console_Tests, Configuration: Debug x86 ------ error CS0006: Metadata file 'C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll' could not be found Compile complete -- 1 errors, 0 warnings Build started 2010-11-04 16:22:02. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1200,9): warning : The referenced project '..\..\Leadwerks CSharp Headers\Leadwerks.csproj' does not exist. ResolveAssemblyReferences: Primary reference "Leadwerks.Game". Could not find dependent files. Expected file "C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll" does not exist. Could not find dependent files. Det går inte att hitta filen. (Exception from HRESULT: 0x80070002) Resolved file path is "C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll". Reference found at search path location "". GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /define:DEBUG;TRACE /reference:C:\Leadwerks\leadwerks-csharp\Leadwerks.Game\bin\x86\Debug\Leadwerks.Game.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /out:obj\x86\Debug\Leadwerks_Console_Tests.exe /target:exe Program.cs Properties\AssemblyInfo.cs "C:\Users\rost\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs" Build FAILED. Time Elapsed 00:00:00.02 ========== Rebuild All: 3 succeeded, 3 failed, 0 skipped ========== Apparently the most of this is because leadwerks namespace members are missing (=no leadwerks project I guess) So whats next to do?
  4. This is absolutely fantastic work. However there is a little tiny details that disturbs me. The movie starts by telling that this area has no people since 1986. Still there are fires burning !? Who made them? But anyway. That's details. Awesome work .
  5. Not needed. You can keep them as different files. Normally one .h file/class
  6. Header files are needed in both cases.
  7. Yes Lumooja. I know the reason why the engine.h looks like it does in LE2.x. It could not have been done another way, just reminding that it would be nice to have clean headers in LE3
  8. It would be nice if the header file(s) for LE3 would be free from all weird macros. The format should be in normal format like extern "C" { int somefunction( int arg1, const std::string& arg2 ) ; ... ... } and not some strange typedefs' Why then? The reason is that if you have standard notation, the header files can be brought into PInvoke-Toolkit and converted to C# files just with a click.
  9. Yes. Thanks Lumooja for this effort. Will be very handy.
  10. yes you are right. excuse an old man with bad memory
  11. Yes. It's very possible. I even did a tutorial on that and placed in the Wiki. Now someone has removed it...
  12. Sleep(1) will give a sleep time between 0 and 15.6 milliseconds. If you test with a loop of Sleep(1) you will get results varying between those values, Precision is 15 milliseconds on Windows, no matter what method that i used. There are way to trim this to about 10 msec, but 1 msec... No. Then you can always start tinkering around with using multimedia timers that uses the hardware clock in the sound-card to make things better. But that does not always work either. So in the end. 15 msec precision is what you have. There may be some method to solve this that I don't know about. In that case I would be very pleased as this is a reoccurring problem in routines sending audio over internet which is something I work with right now.
  13. Ok. I see. But still thats a small thing compared to the fact that you get time i 15 msec step using function thats may mislead you to believe that you have a real 1 msec timer. That's my point. About clock() and Linux I have no knowledge but if it is like you say that means that clock() different resolutions in Linux and Windows. That would make it a bad candidate then. Good research Lumooja.
  14. I don't know what new this brings to the subject. 15 msec is the resolution, as you also show in your example. About that article I have no further comments, its written by Johan Nilsson at Swedish Space Center.
  15. You have to be aware that using any of mentioned functions only gives you a best precision of 15 milliseconds. All those clock, timeGetTime, GetSystemTime etc... is updated on each NT clock interval, which is 15 milliseconds. You may read a more detailed description on how to get a bit better results in this article Implement a Continuously Updating, High-Resolution Time Provider for Windows
  16. Josh. You probably have this defined before the include of windows. I guess in stdafx.h #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include <windows.h> remove the WIN32_LEAN_AND_MEAN line and you will be fine //#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: #include <windows.h>
  17. The compiler just needs a little hint on whats going on. So this will do the trick float ratio = 200.0 / 800; ration will get the value 0.25 as excepted.
  18. Roland

    My GUI

    Oh. Yeah. No problem
  19. Roland

    My GUI

    That one is made very simple as my need was just some buttons and simple things. Most simple games does not need more. Maybe (as you say) the text could be made better. But for most cases the in-game GUI's are very simple. If we are talking about making a tool or something like that something more complicated is need of course. In that case I would have a look at some third-party GUI (like some of the guys have). But I'm open to all suggestions although I'm working with some music recording right now. Cheers
  20. Roland

    My GUI

    Yeah... and my little GUI sample has event handling also
  21. Roland

    My GUI

    If you are talking about my little sample, I can agree. That is aimed to be a real full GUI. Its just some tests I did for my needs. My meaning was to give some idea of the event handling, not on how to write a GUI
  22. Roland

    My GUI

    I did this simple gui sometime ago. I has event handling. The source can be downloaded from that page. Maybe you could get some help from there. Edit: the provided link does not work any more. Sorry about that.
  23. So this means that (in that sample ) Material* mat1 = new Material; mat1->SetColor(0,0,1,1); Material* mat2 = mat1->Copy(true); Material* mat3 = mat1->Copy(false); mat1->SetColor(1,0,0,1) mat2 is a new Material with same attributes as mat1 mat3 is essential a pointer to mat1. what happens with mat1 if mat3 is deleted, or with mat3 if mat1 is deleted? Also. What is the meaning of having a Copy( true ). That can be handled by a copy operator. Copy(false) is the better called something like CreateInstance or CreateReference Then it would be Material* mat1 = new Material; mat1->SetColor(0,0,1,1); Material* mat2 = new( *mat1 ) ; / Material* mat3 = mat1->CreateReference(); mat1->SetColor(1,0,0,1) or Material mat1; mat1.SetColor(0,0,1,1); Material mat2( mat1 ) ; Material* mat3 = mat1->CreateReference(); mat1.SetColor(1,0,0,1); or Material mat1; mat1.SetColor(0,0,1,1); Material mat2; mat2 = mat1 ; Material* mat3 = mat1->CreateReference(); mat1.SetColor(1,0,0,1);
  24. What is the 'true' or 'false' in Copy used for ?
  25. My sincerely condolences. May the board rest in peace.
×
×
  • Create New...