Daily update on 20230505 by nitload youmu, confuse on OpenGL
This commit is contained in:
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -9,7 +9,7 @@ void main()
|
||||
{
|
||||
FILE* fpi, * fpo;
|
||||
fpi = fopen("glew.h", "rt");
|
||||
fpo = fopen("gl.txt", "wt");
|
||||
fpo = fopen("glConst.txt", "wt");
|
||||
|
||||
while (!feof(fpi))
|
||||
{
|
||||
@@ -17,12 +17,28 @@ void main()
|
||||
char str2[200] = "";
|
||||
char str3[200] = "";
|
||||
char str4[200] = "";
|
||||
char str5[200] = "";
|
||||
char str6[600] = "";
|
||||
//char str5[200] = "";
|
||||
//char str6[600] = "";
|
||||
|
||||
|
||||
fscanf(fpi, "%s", str1);
|
||||
fgets(str1, 200, fpi);
|
||||
sscanf(str1, "%s%s%s", str2, str3, str4);
|
||||
|
||||
if (strcmp(str2,"#define") == 0)
|
||||
{
|
||||
char s1[10];
|
||||
strncpy(s1, str3, 3);
|
||||
s1[3] = '\0';
|
||||
if (strcmp("GL_",s1)==0)
|
||||
{
|
||||
char s2[150];
|
||||
sprintf(s2,"%s%s%s%s%s\n","public const uint ",str3,"=",str4,";");
|
||||
fputs(s2, fpo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
if (strcmp(str1, "GLAPI") == 0)
|
||||
{
|
||||
fscanf(fpi, "%s%s%s", str2, str3, str4);
|
||||
@@ -42,6 +58,7 @@ void main()
|
||||
fputs(s, fpo);
|
||||
fputs(s1, fpo);
|
||||
}
|
||||
*/
|
||||
}
|
||||
fclose(fpi);
|
||||
fclose(fpo);
|
||||
|
||||
@@ -70,6 +70,9 @@
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<OutDir>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\OpenGLAssis</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+12
@@ -0,0 +1,12 @@
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\vc143.pdb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\vc143.idb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consoleapplication1.obj
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consoleapplication1.ilk
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1.exe
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1.pdb
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\cl.command.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\cl.read.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\cl.write.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\link.command.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\link.read.1.tlog
|
||||
d:\nitloadindustry\研究项目\1-flagship\th2020\projectfile\openglassis\consoleapplication1\consoleapplication1\x64\debug\consolea.457a0bc0.tlog\link.write.1.tlog
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
<Project>
|
||||
<ProjectOutputs>
|
||||
<ProjectOutput>
|
||||
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\OpenGLAssis\ConsoleApplication1\x64\Debug\ConsoleApplication1.exe</FullPath>
|
||||
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\OpenGLAssis\ConsoleApplication1.exe</FullPath>
|
||||
</ProjectOutput>
|
||||
</ProjectOutputs>
|
||||
<ContentFiles />
|
||||
|
||||
Binary file not shown.
+1070
-922
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.
Binary file not shown.
Reference in New Issue
Block a user