daily update on 20230713 by nitload youmu, linkedlistbug fixed

This commit is contained in:
Nitload
2023-07-13 06:35:38 +08:00
parent 2a78a60358
commit 01d1b7e7ef
88 changed files with 1388 additions and 1159 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5
View File
@@ -20,5 +20,10 @@ namespace StgSharp
TimeLine.allPool.Add(pool);
TimeLine._currentPool = pool;
}
public static void LoadTimeline()
{
}
}
}
+21
View File
@@ -0,0 +1,21 @@
using StgSharp.Control;
using StgSharp.Logic;
namespace StgSharp
{
public static unsafe partial class Instruction
{
public static LinkedList<T> GetAllActivatedPool<T>() where T:Pool
{
/**/
LinkedList<T> pool = new LinkedList<T>();
foreach (Pool item in TimeLine.allPool)
{
pool.Add((T)item);
}
return pool;
/**/
}
}
}
+27 -10
View File
@@ -9,7 +9,7 @@ namespace StgSharp.Control
{
[AllowNull]
internal static Pool _currentPool = default;
internal static LinkedList<Pool> allPool;
internal static LinkedList<Pool> allPool = new LinkedList<Pool>();
internal static LinkedList<Form> allForm;
/// <summary>
@@ -21,30 +21,36 @@ namespace StgSharp.Control
internal static TimelineBlock currentOperation;
private static bool isPaused = false;
public static TimelineBlock CurrentOperation
{
get { return currentOperation; }
set
{
if (currentOperation==default||
currentOperation.isComplete)
{
currentOperation = value;
}
}
}
static TimeLine()
{
allForm = new LinkedList<Form>();
allPool = new LinkedList<Pool>();
#if DEBUG
Console.WriteLine("Timeline init OK!");
#endif
internalIO.InternalInitGL();
}
internal static void OnRender()
public static void OnRender()
{
tickCounter.QuickAdd();
foreach (Pool p in allPool)
{
_currentPool = p;
if (!isPaused)
if (!currentOperation.isComplete)
{
currentOperation.OnUpdating();
}
foreach (EntityPartical b in _currentPool._bulletContainer)
{
}
}
}
@@ -58,5 +64,16 @@ namespace StgSharp.Control
{
}
public static void LoadPool(Pool pool)
{
allPool.Add(pool);
Console.WriteLine(allPool.count.Value);
}
public static Pool GetCurrentPool()
{
return _currentPool;
}
}
}
+15 -1
View File
@@ -2,8 +2,22 @@
{
public abstract class TimelineBlock
{
public T GetCurrentPool<T>() where T:Pool
{
return TimeLine._currentPool as T;
}
public abstract void OnUpdating();
public abstract bool isComplete
{
get;
}
/*
A virtual method api to define what should program do
in a framecycle, an int value is required to express
the result of the cycle, that if there is any error in the cycle
*/
public abstract int OnUpdating();
public abstract bool GetShouldComplete();
}
}
+1 -1
View File
@@ -22,7 +22,7 @@ namespace StgSharp.Entities
TimeLine._currentPool._enemyContainer.Remove(this);
}
internal override void OnRenderFrame()
public override void OnRenderFrame()
{
this.OnUpdate();
foreach (Launcher<EntityPartical> launcher in CommonBulletLauncher)
+1 -1
View File
@@ -21,7 +21,7 @@ namespace StgSharp.Entities
TimeLine._currentPool._enemyContainer.Remove(this);
}
internal override void OnRenderFrame()
public override void OnRenderFrame()
{
CommonBulletLauncher.Launch();
}
+1 -1
View File
@@ -51,7 +51,7 @@ namespace StgSharp
_pos = p;
}
internal abstract void OnRenderFrame();
public abstract void OnRenderFrame();
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ namespace StgSharp
{
public class Partical : IEntity
{
internal override void OnRenderFrame()
public override void OnRenderFrame()
{
throw new NotImplementedException();
}
+20 -4
View File
@@ -4,18 +4,33 @@ namespace StgSharp
{
public class Counter<T> where T : struct, IConvertible, IFormattable, IComparable
{
internal readonly dynamic _defualtValue;
internal readonly dynamic _defualtAddValue;
internal readonly dynamic _defualtSubValue;
internal readonly T _defualtValue;
internal readonly T _defualtAddValue;
internal readonly T _defualtSubValue;
internal dynamic _value;
public dynamic Value
public T Value
{
get { return _value; }
set { _value = value; }
}
public T Span
{
get { return _value - _defualtValue; }
}
public T Increament
{
get { return _defualtAddValue; }
}
public T Decreament
{
get { return _defualtSubValue; }
}
public Counter(T defualtValue, T defualtAddValue, T defualtSubValue)
{
var type = Type.GetTypeCode(defualtValue.GetType());
@@ -45,6 +60,7 @@ namespace StgSharp
throw new ArgumentException("Input is not number value type");
break;
}
_value = defualtValue;
_defualtValue = defualtValue;
_defualtAddValue = defualtAddValue;
_defualtSubValue = defualtSubValue;
+68 -24
View File
@@ -5,37 +5,37 @@ namespace StgSharp
{
public class LinkedList<T> : IEnumerable
{
internal readonly LinkedListNode<T> _heading;
internal readonly LinkedListNode<T> _hook;
private LinkedListNode<T> _cache;
private bool isEmpty;
public Counter<uint> count = new Counter<uint>(0, 1, 1);
public LinkedList()
{
_heading = new LinkedListNode<T>();
_hook = new LinkedListNode<T>();
isEmpty = true;
}
public T First
{
get { return _heading._next._value; }
get { return _hook._next._value; }
/*
* This setter is ued to reset the First node,
* be careful when use this setter to avoid
* unexpected risk of this List lose all nodes.
*/
private set { _heading._next = default; }
private set { _hook._next = default; }
}
public T Tail
{
get { return _heading._previous._value; }
get { return _hook._previous._value; }
/*
* This setter is ued to reset the Last node,
* be careful when use this setter to avoid
* unexpected risk of this List lose all nodes.
*/
private set { _heading._previous = default; }
private set { _hook._previous = default; }
}
/// <summary>
@@ -48,19 +48,19 @@ namespace StgSharp
if (isEmpty)
{
LinkedListNode<T> node = new LinkedListNode<T>(t);
_heading._next = node;
_heading._previous = node;
node.Next = _heading;
node.Previous = _heading;
_hook._next = node;
_hook._previous = node;
node.Next = _hook;
node.Previous = _hook;
isEmpty = false;
}
else
{
LinkedListNode<T> node = new LinkedListNode<T>(t);
node.Next = _heading;
node.Previous = _heading.Previous;
_heading._previous._next = node;
_heading._previous = node;
node.Next = _hook;
node.Previous = _hook.Previous;
_hook._previous._next = node;
_hook._previous = node;
}
count++;
@@ -76,6 +76,21 @@ namespace StgSharp
count--;
}
public void RemoveFirst()
{
if (count._value == 1)
{
First = default;
isEmpty = true;
}
else
{
_hook._next.Remove();
}
count--;
}
public void RemoveTail()
{
//check out if the list has only one member
@@ -86,7 +101,8 @@ namespace StgSharp
}
else
{
_heading.Previous.Next = _heading;
_hook.Previous = _hook.Previous.Previous;
_hook.Previous.Next = _hook;
}
count--;
}
@@ -105,8 +121,8 @@ namespace StgSharp
public void Clear()
{
_heading._previous = null;
_heading._next = null;
_hook._previous = null;
_hook._next = null;
count.Reset();
}
@@ -115,33 +131,61 @@ namespace StgSharp
return new LinkedListEnumrator<T>(this);
}
/**/
internal struct LinkedListEnumrator<T> : IEnumerator
{
private LinkedList<T> _target;
LinkedListNode<T> enumrator;
LinkedListNode<T> enumerator;
private uint index=0;
private T _value;
public LinkedListEnumrator(LinkedList<T> target)
{
_target = target;
enumrator = target._heading;
enumerator = target._hook;
}
object IEnumerator.Current
{
get { return enumrator._value; }
get
{
if (index == 0 || enumerator == _target._hook)
{
throw new InvalidOperationException("Out of index range");
}
else
{
_value = enumerator._value;
return _value;
}
}
}
public T Current
{
get
{
return _value;
}
}
bool IEnumerator.MoveNext()
{
enumrator = enumrator._next;
return enumrator == default(LinkedListNode<T>);
enumerator = enumerator._next;
if (enumerator == _target._hook)
{
return false;
}
index++;
return true;
}
void IEnumerator.Reset()
{
enumrator = _target._heading;
enumerator = _target._hook;
}
}
/**/
}
}
@@ -20,8 +20,6 @@ namespace StgSharp
public LinkedListNode(T t)
{
_value = t;
_previous = new LinkedListNode<T>();
_next = new LinkedListNode<T>();
}
public virtual LinkedListNode<T> Previous
+3 -1
View File
@@ -21,7 +21,7 @@ namespace StgSharp
public Line TopBoarder => topBoader;
public Line BottomBoarder => bottomBoader;
internal Pool()
public Pool()
{
initContainers();
}
@@ -44,6 +44,8 @@ namespace StgSharp
}
}
}
+4
View File
@@ -39,6 +39,10 @@
}
else
{
/*
* define z = n * 2 ^ m
* n is between 0 and 0.5
*/
uint zBit = *(uint*)&z;
uint zBitAbs = zBit & 0b_0111_1111_1111_1111_1111_1111_1111_1111;
uint uintm = (zBitAbs >> 23);
+2 -2
View File
@@ -34,14 +34,14 @@ namespace StgSharp.Math
}
uint input = *(uint*)&x;
uint f = input;
int f = (int)input;
f >>= 23;
f -= 127;
input <<= 9;
input >>= 9;
input += 0b_0011_1111_1000_0000_0000_0000_0000_0000;
float result = *(float*)&input;
int order = (int)(result * 100) - 100;
uint order = (uint)(result * 100) - 100;
float cache = (result) / (1f + 0.01f * order) - 1;
result = cache * -0.25f + 0.3333333333333f;
+1 -1
View File
@@ -29,7 +29,7 @@
}
if (x == 1 && y == 0)
{
return 1.0f / 0;
return float.PositiveInfinity;
}
z = Calc.Log(x) * y;
+1 -1
View File
@@ -63,7 +63,7 @@
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy $(solutiondir)StgSharpGraphic.dll $(targetdir)" />
</Target>
</Project>
@@ -1,37 +0,0 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace StgSharp.StgSharpTest
{
public static class PInvokeTest
{
[DllImport("StgSharpGraphic.dll",EntryPoint ="getPtr")]
internal static extern IntPtr getPtr();
public static void GLloadtest()
{
try
{
IntPtr ptr = Marshal.GetFunctionPointerForDelegate(Graphic.glIO.internalGLcreateWindow);
Console.WriteLine(ptr);
IntPtr ptr1 = getPtr();
Console.WriteLine(ptr1);
}
catch (Exception)
{
throw;
}
}
}
}
@@ -0,0 +1,135 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"StgSharp/1.0.0": {
"dependencies": {
"Facepunch.Steamworks": "2.3.3",
"MSTest.TestFramework": "3.0.4",
"Microsoft.Bcl.HashCode": "1.1.1",
"Microsoft.CSharp": "4.7.0"
},
"runtime": {
"StgSharp.dll": {}
}
},
"Facepunch.Steamworks/2.3.3": {
"runtime": {
"lib/netstandard2.0/Facepunch.Steamworks.Win64.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"Microsoft.Bcl.HashCode/1.1.1": {
"runtime": {
"lib/netstandard2.1/Microsoft.Bcl.HashCode.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "4.700.20.56604"
}
}
},
"Microsoft.CSharp/4.7.0": {
"runtime": {
"lib/netstandard2.0/Microsoft.CSharp.dll": {
"assemblyVersion": "4.0.5.0",
"fileVersion": "4.700.19.56404"
}
}
},
"MSTest.TestFramework/3.0.4": {
"runtime": {
"lib/netstandard2.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll": {
"assemblyVersion": "14.0.0.0",
"fileVersion": "14.0.8501.1"
},
"lib/netstandard2.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll": {
"assemblyVersion": "14.0.0.0",
"fileVersion": "14.0.8501.1"
}
},
"resources": {
"lib/netstandard2.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "cs"
},
"lib/netstandard2.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "de"
},
"lib/netstandard2.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "es"
},
"lib/netstandard2.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "fr"
},
"lib/netstandard2.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "it"
},
"lib/netstandard2.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ja"
},
"lib/netstandard2.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ko"
},
"lib/netstandard2.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "pl"
},
"lib/netstandard2.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "pt-BR"
},
"lib/netstandard2.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ru"
},
"lib/netstandard2.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "tr"
},
"lib/netstandard2.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "zh-Hans"
},
"lib/netstandard2.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "zh-Hant"
}
}
}
}
},
"libraries": {
"StgSharp/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Facepunch.Steamworks/2.3.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7nUjWX/uy6JbDX7Q3n8ij7vrpWjTM0S8hXO24R3ZwQ0QgY0sXVlxzh3unmYoLvKGi31rzDHqGX68I169hnHNxQ==",
"path": "facepunch.steamworks/2.3.3",
"hashPath": "facepunch.steamworks.2.3.3.nupkg.sha512"
},
"Microsoft.Bcl.HashCode/1.1.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==",
"path": "microsoft.bcl.hashcode/1.1.1",
"hashPath": "microsoft.bcl.hashcode.1.1.1.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"MSTest.TestFramework/3.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hYq5xOOr2k09rtXpmcHkJ4Tdt/yS4cy8jiFPNMdDJP+lB6OY8yekOmQC4Fsvug4rhLpXGDd6zbPWYeoewqfePA==",
"path": "mstest.testframework/3.0.4",
"hashPath": "mstest.testframework.3.0.4.nupkg.sha512"
}
}
}
@@ -119,13 +119,6 @@
<returns>The handle of created window</returns>
<exception cref="T:System.Exception"></exception>
</member>
<member name="M:StgSharp.Graphic.InitGL">
<summary>
Init an instance of OpenGL program,
This method should be called before other
graphic methods, after LoadGL method.
</summary>
</member>
<member name="M:StgSharp.Graphic.LoadGL">
<summary>
Load OpenGL API to StgSharp core programm,
@@ -134,6 +127,13 @@
</summary>
<exception cref="T:System.Exception">If run this method twice, will throw exception</exception>
</member>
<member name="M:StgSharp.Graphic.InitGL">
<summary>
Init an instance of OpenGL program,
This method should be called before other
graphic methods, after LoadGL method.
</summary>
</member>
<member name="M:StgSharp.Graphic.InitGLAD">
<summary>
Attach GLFW API to GLAD,
@@ -1,3 +1,11 @@
is_global = true
build_property.TargetFramework = netstandard2.1
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = StgSharp
build_property.ProjectDir = D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\
@@ -1 +1 @@
8cab6b2db52187a41fdaeb6d4e3db4542fe3cc35
5ada391622649cd40a953445f2aff538fe619b3d
@@ -30,9 +30,7 @@ D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\obj\Debug\netstandard2.1\StgSharp.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\obj\Debug\netstandard2.1\refint\StgSharp.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\obj\Debug\netstandard2.1\StgSharp.xml
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\obj\Debug\netstandard2.1\StgSharp.pdb
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\bin\Debug\netstandard2.1\StgSharp.deps.json
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\bin\Debug\netstandard2.1\StgSharp.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\bin\Debug\netstandard2.1\StgSharp.pdb
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\bin\Debug\netstandard2.1\StgSharp.xml
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp\obj\Debug\netstandard2.1\ref\StgSharp.dll
@@ -4,6 +4,20 @@
<name>StgSharp</name>
</assembly>
<members>
<member name="M:StgSharp.Instruction.InitPool">
<summary>
Add a pool to timeline controller, and return the instance of the pool.
</summary>
<returns></returns>
</member>
<member name="T:StgSharp.Control.GLFWproc">
</member>
<member name="F:StgSharp.Control.TimeLine.tickCounter">
<summary>
Tick counter count the frames passed since the program start.
</summary>
</member>
<member name="P:StgSharp.IEntity.CollisionSensor">
<summary>
A sensor used for cheking out if a bullet hit a player or something else
@@ -33,7 +47,7 @@
<summary>
计算位移失量,需要手动输入游戏刻以提供时间数据
</summary>
<param name="tickCounter"></param>
<param name="tick"></param>
<returns>表示位移量的三维矢量</returns>
</member>
<member name="T:StgSharp.Geometries.IPlainGeometry">
@@ -51,11 +65,11 @@
</member>
<member name="M:StgSharp.Geometries.Point.Update(System.UInt32)">
<summary>
刷新点的位置,即移动点。当该点是某个几何体的从动点时
(即点坐标由几何体其他点约束或点参数已经在创建几何体时定义)
请不要再次进行定义,程序将自行忽略此处的代码。
Update the coordinate of the point. If this is a moving point,
(Points on sides or surface if other geometry items)
please do not define any motion here, codes will be ignored by program
</summary>
<param name="tick">当前游戏刻</param>
<param name="tick">Time passes since the program begin, counted by frames</param>
</member>
<member name="M:StgSharp.Geometries.Rectangle.MovCenter(System.UInt32)">
<summary>
@@ -64,6 +78,76 @@
<param name="tick">当前游戏刻</param>
<returns></returns>
</member>
<member name="T:StgSharp.Geometries.Square">
<summary>
A square
</summary>
</member>
<member name="M:StgSharp.Graphics.Form.#ctor">
<summary>
Constructor of a Form, creats an instance of a form and
initilize all the customizing operations.
</summary>
</member>
<member name="T:StgSharp.Graphics.SSGwindow">
<summary>
A window struct that has nearly no differencr with GLFWwindow,
but only can be referred by pointers.
</summary>
</member>
<member name="M:StgSharp.Graphic.GLcreateWindow(System.Int32,System.Int32,System.Byte[],System.IntPtr,StgSharp.Graphics.Form)">
<summary>
Creates a form and its associated context.
</summary>
<param name="width">Required width</param>
<param name="height">Required width</param>
<param name="tittle">Tittle of the window </param>
<param name="monitor"></param>
<param name="share"></param>
<returns>The instance of created form</returns>
<exception cref="T:System.Exception"></exception>
</member>
<member name="M:StgSharp.Graphic.GLcreateWindow(System.Int32,System.Int32,System.String,System.IntPtr,System.IntPtr)">
<summary>
Creates a window and its associated context.
</summary>
<param name="width">Required width</param>
<param name="height">Required width</param>
<param name="tittle">Tittle of the window </param>
<param name="monitor"></param>
<param name="share"></param>
<returns>The handle of created window</returns>
<exception cref="T:System.Exception"></exception>
</member>
<member name="M:StgSharp.Graphic.LoadGL">
<summary>
Load OpenGL API to StgSharp core programm,
please call this method before call any other
graphic APIs in StgSharp.
</summary>
<exception cref="T:System.Exception">If run this method twice, will throw exception</exception>
</member>
<member name="M:StgSharp.Graphic.InitGL">
<summary>
Init an instance of OpenGL program,
This method should be called before other
graphic methods, after LoadGL method.
</summary>
</member>
<member name="M:StgSharp.Graphic.InitGLAD">
<summary>
Attach GLFW API to GLAD,
this method should be called after LoadGL
and before other graphic method.
</summary>
<exception cref="T:System.Exception">The accident that program cannot attach GLFW to GLAD</exception>
</member>
<member name="M:StgSharp.LinkedList`1.Add(`0)">
<summary>
Add an item to the tail of linked list.
</summary>
<param name="t">The item ready to add to the list</param>
</member>
<member name="M:StgSharp.Math.VectorCalc.multiple(StgSharp.Math.colum2,StgSharp.Math.vec2d)">
<summary>
+11 -5
View File
@@ -12,12 +12,18 @@ namespace StgSharp
{
private unsafe static void Main(string[] args)
{
Graphic.LoadGL();
Graphic.InitGL();
Graphic.InitGLAD();
Form form = Graphic.GLcreateWindow
(800, 600, "你好 Stg#!", IntPtr.Zero, IntPtr.Zero);
StgSharp.LinkedList<string> list = new LinkedList<string>();
for (int i = 0; i < 10; i++)
{
string str = Convert.ToString(i, 2);
list.Add(str);
}
foreach (string str in list)
{
Console.WriteLine(str);
}
/*
Form f2 = new Form();
@@ -132,7 +132,6 @@
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy $(solutiondir)StgSharpGraphic.dll $(targetdir)" />
</Target>
</Project>
@@ -7,89 +7,9 @@
"targets": {
".NETCoreApp,Version=v6.0": {
"StgSharpDebug/1.0.0": {
"dependencies": {
"StgSharp": "1.0.0"
},
"runtime": {
"StgSharpDebug.dll": {}
}
},
"Facepunch.Steamworks/2.3.3": {
"runtime": {
"lib/netstandard2.0/Facepunch.Steamworks.Win64.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"Microsoft.Bcl.HashCode/1.1.1": {
"runtime": {
"lib/netcoreapp2.1/Microsoft.Bcl.HashCode.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "4.700.20.56604"
}
}
},
"Microsoft.CSharp/4.7.0": {},
"MSTest.TestFramework/3.0.4": {
"runtime": {
"lib/net6.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll": {
"assemblyVersion": "14.0.0.0",
"fileVersion": "14.0.8501.1"
}
},
"resources": {
"lib/net6.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "cs"
},
"lib/net6.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "de"
},
"lib/net6.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "es"
},
"lib/net6.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "fr"
},
"lib/net6.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "it"
},
"lib/net6.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ja"
},
"lib/net6.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ko"
},
"lib/net6.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "pl"
},
"lib/net6.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "pt-BR"
},
"lib/net6.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "ru"
},
"lib/net6.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "tr"
},
"lib/net6.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "zh-Hans"
},
"lib/net6.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll": {
"locale": "zh-Hant"
}
}
},
"StgSharp/1.0.0": {
"dependencies": {
"Facepunch.Steamworks": "2.3.3",
"MSTest.TestFramework": "3.0.4",
"Microsoft.Bcl.HashCode": "1.1.1",
"Microsoft.CSharp": "4.7.0"
},
"runtime": {
"StgSharp.dll": {}
}
}
}
},
@@ -98,39 +18,6 @@
"type": "project",
"serviceable": false,
"sha512": ""
},
"Facepunch.Steamworks/2.3.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7nUjWX/uy6JbDX7Q3n8ij7vrpWjTM0S8hXO24R3ZwQ0QgY0sXVlxzh3unmYoLvKGi31rzDHqGX68I169hnHNxQ==",
"path": "facepunch.steamworks/2.3.3",
"hashPath": "facepunch.steamworks.2.3.3.nupkg.sha512"
},
"Microsoft.Bcl.HashCode/1.1.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==",
"path": "microsoft.bcl.hashcode/1.1.1",
"hashPath": "microsoft.bcl.hashcode.1.1.1.nupkg.sha512"
},
"Microsoft.CSharp/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
"path": "microsoft.csharp/4.7.0",
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
},
"MSTest.TestFramework/3.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hYq5xOOr2k09rtXpmcHkJ4Tdt/yS4cy8jiFPNMdDJP+lB6OY8yekOmQC4Fsvug4rhLpXGDd6zbPWYeoewqfePA==",
"path": "mstest.testframework/3.0.4",
"hashPath": "mstest.testframework.3.0.4.nupkg.sha512"
},
"StgSharp/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -1 +1 @@
33e829b941322b7705799b130256ae8b3f50882f
f971c7a7adf2e0f4e3b1db39c2f558d2e235f0c2
@@ -2,33 +2,12 @@ D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharp
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharpDebug.deps.json
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharpDebug.runtimeconfig.json
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharpDebug.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharpDebug.pdb
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\Facepunch.Steamworks.Win64.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\Microsoft.Bcl.HashCode.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharp.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\StgSharp.xml
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.csproj.AssemblyReference.cache
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.GeneratedMSBuildEditorConfig.editorconfig
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.AssemblyInfoInputs.cache
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.AssemblyInfo.cs
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.csproj.CoreCompileInputs.cache
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.csproj.CopyComplete
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\refint\StgSharpDebug.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.pdb
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\StgSharpDebug.genruntimeconfig.cache
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\obj\x64\Debug\net6.0\ref\StgSharpDebug.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\cs\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\de\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\es\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\fr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\it\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\ja\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\ko\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\pl\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\pt-BR\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\ru\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\tr\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\zh-Hans\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpDebug\bin\x64\Debug\net6.0\zh-Hant\Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
Binary file not shown.
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.33.31629:TargetPlatformVersion=10.0.20348.0:
Debug|x64|D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\|
Debug|x64|D:\NitloadIndustry\研究项目\1-Flagship\HUFTDT Cooperation\2023固火方案4\CFS\CADC_flight_simulator\|
@@ -1,5 +1,17 @@
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\dllmain.obj
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.obj
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\vc143.idb
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\vc143.pdb
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\vc143.idb
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.obj
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\dllmain.obj
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\glad.obj
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgshqrpgraphic.ilk
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\x64\debug\stgshqrpgraphic.dll
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\x64\debug\stgshqrpgraphic.pdb
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\x64\debug\stgshqrpgraphic.lib
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\x64\debug\stgshqrpgraphic.exp
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\cl.command.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\cl.read.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\cl.write.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\link.command.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\link.read.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\link.write.1.tlog
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\源代码\stgshqrpgraphic\x64\debug\stgsharpgraphic.tlog\stgsharpgraphic.write.1u.tlog
@@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\x64\Debug\StgShqrpGraphic.dll</FullPath>
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\HUFTDT Cooperation\2023固火方案4\CFS\CADC_flight_simulator\x64\Debug\StgShqrpGraphic.dll</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.