From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../code/tool/bin2c/?hideattic=0/index.html | 103 +++++++++++++++ .../code/tool/bin2c/?sortby=author/index.html | 103 +++++++++++++++ .../code/tool/bin2c/?sortby=date/index.html | 103 +++++++++++++++ .../code/tool/bin2c/?sortby=log/index.html | 103 +++++++++++++++ .../code/tool/bin2c/?sortby=rev/index.html | 103 +++++++++++++++ .../x-cvsweb-markup/index.html | 32 +++++ cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp | 134 +++++++++++++++++++ .../x-cvsweb-markup/index.html | 92 +++++++++++++ cvs/cvsweb.cgi/code/tool/bin2c/bin2c.dsp | 144 +++++++++++++++++++++ cvs/cvsweb.cgi/code/tool/bin2c/index.html | 102 +++++++++++++++ 10 files changed, 1019 insertions(+) create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/?hideattic=0/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/?sortby=author/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/?sortby=date/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/?sortby=log/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/?sortby=rev/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/StdAfx.h?rev=1.1&content-type=text/x-cvsweb-markup/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp?rev=1.1&content-type=text/x-cvsweb-markup/index.html create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/bin2c.dsp create mode 100644 cvs/cvsweb.cgi/code/tool/bin2c/index.html (limited to 'cvs/cvsweb.cgi/code/tool/bin2c') diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/?hideattic=0/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/?hideattic=0/index.html new file mode 100644 index 00000000..f38fef48 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/?hideattic=0/index.html @@ -0,0 +1,103 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+ +Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=author/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=author/index.html new file mode 100644 index 00000000..92011734 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=author/index.html @@ -0,0 +1,103 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+ +Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=date/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=date/index.html new file mode 100644 index 00000000..64f4b0bb --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=date/index.html @@ -0,0 +1,103 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+ +Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=log/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=log/index.html new file mode 100644 index 00000000..65336fea --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=log/index.html @@ -0,0 +1,103 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+ +Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=rev/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=rev/index.html new file mode 100644 index 00000000..edb22ce3 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/?sortby=rev/index.html @@ -0,0 +1,103 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+ +Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/StdAfx.h?rev=1.1&content-type=text/x-cvsweb-markup/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/StdAfx.h?rev=1.1&content-type=text/x-cvsweb-markup/index.html new file mode 100644 index 00000000..adc35a74 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/StdAfx.h?rev=1.1&content-type=text/x-cvsweb-markup/index.html @@ -0,0 +1,32 @@ + + + +code/tool/bin2c/StdAfx.h - view - 1.1 + +
[BACK] Return to StdAfx.h + CVS log [TXT][DIR] Up to Nevrax / code / tool / bin2c

File: Nevrax / code / tool / bin2c / StdAfx.h (download)
+Revision 1.1, Tue Dec 5 15:02:11 2000 UTC (18 months, 3 weeks ago) by corvazier +
Branch: MAIN +
CVS Tags: HEAD
+no message
+
+

// stdafx.h : include file for standard system include files,
+//  or project specific include files that are used frequently, but
+//      are changed infrequently
+//
+
+#if !defined(AFX_STDAFX_H__A0CC7702_CAB6_11D4_9CD4_0050DAC3A412__INCLUDED_)
+#define AFX_STDAFX_H__A0CC7702_CAB6_11D4_9CD4_0050DAC3A412__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+
+// TODO: reference additional headers your program requires here
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
+
+#endif // !defined(AFX_STDAFX_H__A0CC7702_CAB6_11D4_9CD4_0050DAC3A412__INCLUDED_)
+
\ No newline at end of file diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp new file mode 100644 index 00000000..91b8d8fa --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp @@ -0,0 +1,134 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + +
Nevrax / code / tool / bin2c / bin2c.cpp
+ + + + + +
bin2c.cpp
+

+

Default branch: MAIN
+


+ Revision 1.1 / (download) - annotate - [select for diffs] +, Tue Dec 5 15:02:11 2000 UTC (18 months, 3 weeks ago) by corvazier +
Branch: MAIN + +
CVS Tags: HEAD +
Diff

+no message
+
+ + + + + +
Request Diffs
+

+

+

+Diffs between + + + and + + +
Type of Diff should be a  +
+ + + + + +
Select branch
+

+

+ +

+View only Branch: + + +
+ +
+Sort log by: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp?rev=1.1&content-type=text/x-cvsweb-markup/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp?rev=1.1&content-type=text/x-cvsweb-markup/index.html new file mode 100644 index 00000000..ed037a8d --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.cpp?rev=1.1&content-type=text/x-cvsweb-markup/index.html @@ -0,0 +1,92 @@ + + + +code/tool/bin2c/bin2c.cpp - view - 1.1 + +
[BACK] Return to bin2c.cpp + CVS log [TXT][DIR] Up to Nevrax / code / tool / bin2c

File: Nevrax / code / tool / bin2c / bin2c.cpp (download)
+Revision 1.1, Tue Dec 5 15:02:11 2000 UTC (18 months, 3 weeks ago) by corvazier +
Branch: MAIN +
CVS Tags: HEAD
+no message
+
+

// bin2c.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+#include "stdio.h"
+#include <stdlib.h>
+#include <string.h>
+
+int main(int argc, char* argv[])
+{
+        if (argc<2)
+        {
+                printf ("bin2c [filename.bin] [filename.c]\n");
+        }
+        else
+        {
+                char sDir[256];
+                char sPath[256];
+                char sName[256];
+                char sExt[256];
+                _splitpath (argv[1], sDir, sPath, sName, sExt);
+
+                char sOutput[256];
+                if (argc>2)
+                        strcpy (sOutput, argv[2]);
+                else
+                {
+                        _makepath (sOutput, sDir, sPath, sName, ".cpp");
+                }
+
+                FILE *pIn=fopen( argv[1], "rb");
+                if (pIn==NULL)
+                        printf ("Can't open %s.", argv[1]);
+                else
+                {
+                        FILE *pOut=fopen( sOutput, "w");
+                        if (pOut==NULL)
+                                printf ("Can't open %s.", sOutput);
+                        else
+                        {
+                                fprintf (pOut, 
+                                        "/**\n"
+                                        "  * Generated by bin2c.exe\n"
+                                        "  * binfile: %s\n"
+                                        "  */\n"
+                                        "\n"
+                                        "extern const unsigned char %s[];\n"
+                                        "extern const unsigned int %sSize;\n\n"
+                                        "static const unsigned char %s[] =\n"
+                                        "{\n", argv[1], sName, sName, sName);
+
+                                unsigned int size=0;
+                                while (1)
+                                {
+                                        fprintf (pOut, "\t");
+                                        for (int i=0; i<8; i++)
+                                        {
+                                                int c=fgetc (pIn);
+                                                if (c==EOF)
+                                                        break;
+                                                fprintf (pOut, "0x%02x, ", c);
+                                                size++;
+                                        }
+                                        fprintf (pOut, "\n");
+                                        if (i!=8)
+                                                break;
+                                }
+                                fprintf (pOut, "};\n\n");
+                                
+                                fprintf (pOut, "static const unsigned int %sSize = %d;\n\n", sName, size);
+
+                                fclose (pOut);
+                                fclose (pIn);
+                        }
+                }
+        }
+        
+        return 0;
+}
+
\ No newline at end of file diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.dsp b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.dsp new file mode 100644 index 00000000..db2ad478 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/bin2c.dsp @@ -0,0 +1,144 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + +
Nevrax / code / tool / bin2c / bin2c.dsp
+ + + + + +
bin2c.dsp
+

+

Default branch: MAIN
+


+ Revision 1.2 / (download) - annotate - [select for diffs] +, Thu Sep 6 07:27:11 2001 UTC (9 months, 3 weeks ago) by corvazier +
Branch: MAIN + +
CVS Tags: HEAD +
Changes since 1.1: +1 -1 + lines
Diff to previous 1.1 +

+ADDED: vertex buffer extension for vertx program
+
+

+ Revision 1.1 / (download) - annotate - [select for diffs] +, Tue Dec 5 15:02:11 2000 UTC (18 months, 3 weeks ago) by corvazier +
Branch: MAIN + +
Diff

+no message
+
+ + + + + +
Request Diffs
+

+

+

+Diffs between + + + and + + +
Type of Diff should be a  +
+ + + + + +
Select branch
+

+

+ +

+View only Branch: + + +
+ +
+Sort log by: + + +
+ + +
                                                                                                                                                                    +
+ + diff --git a/cvs/cvsweb.cgi/code/tool/bin2c/index.html b/cvs/cvsweb.cgi/code/tool/bin2c/index.html new file mode 100644 index 00000000..718e7404 --- /dev/null +++ b/cvs/cvsweb.cgi/code/tool/bin2c/index.html @@ -0,0 +1,102 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + + +
Nevrax / code / tool / bin2c
+ + + + + + + + + +
FileRev.AgeAuthorLast log entry
[BACK] + Previous Directory +    
[TXT] + StdAfx.cpp + 1.1  18 months corvazier  no message +
[TXT] + StdAfx.h + 1.1  18 months corvazier  no message +
[TXT] + bin2c.cpp + 1.1  18 months corvazier  no message +
[TXT] + bin2c.dsp + 1.2  9 months corvazier  ADDED: vertex buffer extension for vertx program +
[TXT] + bin2c.dsw + 1.1  18 months corvazier  no message +

+Show only files with tag: + + +
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1