Skip to content

Commit

Permalink
Version 1.8.0 (A package of 3D)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilu committed Mar 19, 2022
1 parent ea12bed commit ee98b9e
Show file tree
Hide file tree
Showing 9,814 changed files with 672,630 additions and 306,534 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
72 changes: 37 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ tests/p5.js/
tests/SCR.TGA
tests/SCR.PCX
tests/SCR.BMP
allegro-4.2.2-xc-master/obj/djgpp/asmcapa.h
allegro-4.2.2-xc-master/obj/djgpp/asmdef.inc
allegro-4.2.2-xc-master/obj/djgpp/asmdef.s
mujs-1.0.5/one.c
mujs-1.0.5/opnames.h
3rdparty/allegro-4.2.2-xc-master/obj/djgpp/asmcapa.h
3rdparty/allegro-4.2.2-xc-master/obj/djgpp/asmdef.inc
3rdparty/allegro-4.2.2-xc-master/obj/djgpp/asmdef.s
3rdparty/mujs-1.0.5/one.c
3rdparty/mujs-1.0.5/opnames.h
GLIDE3X.DXE
glide3x.dxe
examples/aoc2019/
Expand All @@ -74,37 +74,36 @@ synJ.txt
STDERR.DJS
STDOUT.DJS
DOjS-cppcheck-build-dir/
lpng1636/pnglibconf.h
dzcomm/obj/djgpp/asmdef.s
3rdparty/dzcomm/obj/djgpp/asmdef.s
JSBOOT.ZIP
cacert.pem
curl-7.74.0/lib/curl_config.h
openssl-1.1.1k/libcrypto.pc
openssl-1.1.1k/libssl.pc
openssl-1.1.1k/openssl.pc
openssl-1.1.1k/crypto/buildinf.h
openssl-1.1.1k/crypto/bf/bf-586.s
openssl-1.1.1k/crypto/bn/bn-586.s
openssl-1.1.1k/crypto/bn/co-586.s
openssl-1.1.1k/crypto/bn/x86-gf2m.s
openssl-1.1.1k/crypto/bn/x86-mont.s
openssl-1.1.1k/crypto/camellia/cmll-x86.s
openssl-1.1.1k/crypto/cast/cast-586.s
openssl-1.1.1k/crypto/chacha/chacha-x86.s
openssl-1.1.1k/crypto/des/crypt586.s
openssl-1.1.1k/crypto/des/des-586.s
openssl-1.1.1k/crypto/ec/ecp_nistz256-x86.s
openssl-1.1.1k/crypto/md5/md5-586.s
openssl-1.1.1k/crypto/modes/ghash-x86.s
openssl-1.1.1k/crypto/poly1305/poly1305-x86.s
openssl-1.1.1k/crypto/rc4/rc4-586.s
openssl-1.1.1k/crypto/ripemd/rmd-586.s
openssl-1.1.1k/crypto/sha/sha1-586.s
openssl-1.1.1k/crypto/sha/sha256-586.s
openssl-1.1.1k/crypto/sha/sha512-586.s
openssl-1.1.1k/include/crypto/bn_conf.h
openssl-1.1.1k/include/crypto/dso_conf.h
openssl-1.1.1k/include/openssl/opensslconf.h
3rdparty/curl-7.80.0/lib/curl_config.h
3rdparty/openssl-1.1.1n/libcrypto.pc
3rdparty/openssl-1.1.1n/libssl.pc
3rdparty/openssl-1.1.1n/3rdparty/openssl.pc
3rdparty/openssl-1.1.1n/crypto/buildinf.h
3rdparty/openssl-1.1.1n/crypto/bf/bf-586.s
3rdparty/openssl-1.1.1n/crypto/bn/bn-586.s
3rdparty/openssl-1.1.1n/crypto/bn/co-586.s
3rdparty/openssl-1.1.1n/crypto/bn/x86-gf2m.s
3rdparty/openssl-1.1.1n/crypto/bn/x86-mont.s
3rdparty/openssl-1.1.1n/crypto/camellia/cmll-x86.s
3rdparty/openssl-1.1.1n/crypto/cast/cast-586.s
3rdparty/openssl-1.1.1n/crypto/chacha/chacha-x86.s
3rdparty/openssl-1.1.1n/crypto/des/crypt586.s
3rdparty/openssl-1.1.1n/crypto/des/des-586.s
3rdparty/openssl-1.1.1n/crypto/ec/ecp_nistz256-x86.s
3rdparty/openssl-1.1.1n/crypto/md5/md5-586.s
3rdparty/openssl-1.1.1n/crypto/modes/ghash-x86.s
3rdparty/openssl-1.1.1n/crypto/poly1305/poly1305-x86.s
3rdparty/openssl-1.1.1n/crypto/rc4/rc4-586.s
3rdparty/openssl-1.1.1n/crypto/ripemd/rmd-586.s
3rdparty/openssl-1.1.1n/crypto/sha/sha1-586.s
3rdparty/openssl-1.1.1n/crypto/sha/sha256-586.s
3rdparty/openssl-1.1.1n/crypto/sha/sha512-586.s
3rdparty/openssl-1.1.1n/include/crypto/bn_conf.h
3rdparty/openssl-1.1.1n/include/crypto/dso_conf.h
3rdparty/openssl-1.1.1n/include/openssl/opensslconf.h
5.BMP
5.PCX
5.PNG
Expand All @@ -117,10 +116,13 @@ TMP1.TMP
TMP1.ZIP
TMP2.TMP
TMP2.ZIP
openssl-1.1.1k/apps/progs.h
3rdparty/openssl-1.1.1n/apps/progs.h
.picasa.ini
fddojs.zip
*.mpg
AUDIO.RAW
tests/deuwe.mp4
vscode/livedojs/node_modules/
W32DHCP.TMP
dosbox.conf
__experiments/
4 changes: 3 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
],
"defines": [
"LFB_3DFX",
"EDI_FAST"
"EDI_FAST",
"USE_MESA",
"USE_GLUT"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
Expand Down
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@
"tuple": "c",
"type_traits": "c",
"internals.h": "c",
"animatedgif.h": "c"
"animatedgif.h": "c",
"glutint.h": "c",
"glut.h": "c",
"*.inc": "c",
"ogl_const.h": "c",
"gl.h": "c",
"ogl.h": "c",
"rand.h": "c"
},
"editor.formatOnSave": true,
"editor.insertSpaces": false,
Expand Down
127 changes: 127 additions & 0 deletions 3rdparty/MesaFX-3.4-master/3dfx/glide/include/3dfx.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/*
** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY
** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT
** TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX
** INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE
** DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC([email protected]).
** THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
** EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A
** FULL TEXT OF THE NON-WARRANTY PROVISIONS.
**
** USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO
** RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN
** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013,
** AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR
** SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF
** THE UNITED STATES.
**
** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED
*/
#ifndef __3DFX_H__
#define __3DFX_H__

/*
** basic data types
*/
typedef unsigned char FxU8;
typedef signed char FxI8;
typedef unsigned short FxU16;
typedef signed short FxI16;
#if defined(__DOS__) || defined(__MSDOS__) || defined(_WIN32) || defined(macintosh)
typedef signed long FxI32;
typedef unsigned long FxU32;
#else
typedef signed int FxI32;
typedef unsigned int FxU32;
#endif
typedef unsigned long AnyPtr;
typedef int FxBool;
typedef float FxFloat;
typedef double FxDouble;

/*
** color types
*/
typedef unsigned long FxColor_t;
typedef struct { float r, g, b, a; } FxColor4;

/*
** fundamental types
*/
#define FXTRUE 1
#define FXFALSE 0

/*
** helper macros
*/
#define FXUNUSED( a ) ((void)(a))
#define FXBIT( i ) ( 1 << (i) )

/*
** export macros
*/

#if defined(__MSC__) || defined(_MSC_VER)
# if defined (MSVC16)
# define FX_ENTRY
# define FX_CALL
# else
# define FX_ENTRY extern
# define FX_CALL __stdcall
# endif
#elif defined(__WATCOMC__)
# define FX_ENTRY extern
# define FX_CALL __stdcall
#elif defined (__IBMC__) || defined (__IBMCPP__)
/* IBM Visual Age C/C++: */
# define FX_ENTRY extern
# define FX_CALL __stdcall
#elif defined(__DJGPP__)
# define FX_ENTRY extern
# define FX_CALL
#elif defined(__MINGW32__)
# define FX_ENTRY extern
# define FX_CALL __stdcall
#elif defined(__unix__)
# define FX_ENTRY extern
# define FX_CALL
#elif defined(__MWERKS__)
# if macintosh
# define FX_ENTRY extern
# define FX_CALL
# else /* !macintosh */
# error "Unknown MetroWerks target platform"
# endif /* !macintosh */
#else
# warning define FX_ENTRY & FX_CALL for your compiler
# define FX_ENTRY extern
# define FX_CALL
#endif

/*
** x86 compiler specific stuff
*/
#if defined(__BORLANDC_)
# define REALMODE

# define REGW( a, b ) ((a).x.b)
# define REGB( a, b ) ((a).h.b)
# define INT86( a, b, c ) int86(a,b,c)
# define INT86X( a, b, c, d ) int86x(a,b,c,d)

# define RM_SEG( a ) FP_SEG( a )
# define RM_OFF( a ) FP_OFF( a )
#elif defined(__WATCOMC__)
# undef FP_SEG
# undef FP_OFF

# define REGW( a, b ) ((a).w.b)
# define REGB( a, b ) ((a).h.b)
# define INT86( a, b, c ) int386(a,b,c)
# define INT86X( a, b, c, d ) int386x(a,b,c,d)

# define RM_SEG( a ) ( ( ( ( FxU32 ) (a) ) & 0x000F0000 ) >> 4 )
# define RM_OFF( a ) ( ( FxU16 ) (a) )
#endif

#endif /* !__3DFX_H__ */
Loading

0 comments on commit ee98b9e

Please sign in to comment.