Ozkan Sezer
a20bb982cc
cvg, sst1: tweak another getenv() usage.
2021-11-11 17:33:40 +03:00
Ozkan Sezer
5ffccc63b8
cvg, sst1, sst96: cache the getenv() results in init code.
2021-11-11 17:33:32 +03:00
Ozkan Sezer
c9727c8829
shortened a few error messages
2021-11-11 17:33:02 +03:00
Ozkan Sezer
d254f7f28e
reverted commit a6ceeebd00 from glide2x/h3 - not needed.
2021-08-08 23:55:50 +03:00
Ozkan Sezer
170185784e
fxpci.c (pciOpen): commented out assert(0) for !busDetected case :
...
let the procedure return false with pciErrorCode == PCI_ERR_NO_BUS
2021-08-08 23:55:50 +03:00
Ozkan Sezer
a6ceeebd00
h3, h5, grGlideInit: return if _GlideRoot.hwConfig.num_sst == 0:
...
In case of error, _GlideInitEnvironment() calls GrErrorCallback() which is
supposed to be a noreturn function, but it really is not for non-windows..
Eww...
2021-08-08 23:55:10 +03:00
Ozkan Sezer
67ad843c88
removed dxe description from djgpp dxe builds
2021-08-08 23:55:04 +03:00
Ozkan Sezer
f7bcf2ba77
h3, minihwc.c: added missing string.h include
2021-08-08 23:55:02 +03:00
Ozkan Sezer
5e6b39fb2b
h3/h5, hwcInit, GLIDE_INIT_HWC: set errorString in case of failure.
2021-08-08 20:23:02 +03:00
Ozkan Sezer
43fbe0bf3c
minor warning fixes.
2021-02-02 11:11:10 +03:00
Ozkan Sezer
438ac12be4
fix typo from unintended search/replace
2020-11-27 11:44:50 +03:00
Ozkan Sezer
1f827a4602
glide2x/README: added note about cross-compiling on 64-bit hosts.
2020-10-07 23:00:50 +03:00
Ozkan Sezer
acddb52685
glide3x/sst1: replaced several [unsigned] long type usage with FxI32/FxU32
...
should fix issue noted at
e8f60ad8bb (commitcomment-40186242)
the glide2x tree in whole needs a similar massage..
2020-10-07 23:00:40 +03:00
Ozkan Sezer
fe35279d12
updated djgpp cross-build scripts
2020-07-08 15:10:00 +03:00
Ozkan Sezer
6d671089f6
added quick shell scripts for djgpp cross-compile.
2020-07-08 14:32:30 +03:00
sezero
1ceb326d78
added top-level 3DFX GLIDE Source Code General Public License file.
2019-09-11 11:11:50 +03:00
sezero
9fbf8482a8
swlibs: remove rest of the old makefiles
...
the old glide-devel-branch has them for reference.
2019-09-08 01:20:00 +03:00
sezero
f0adaa0423
glide2x: remove rest of the old makefiles
...
the old glide-devel-branch has them for reference.
2019-09-08 01:10:00 +03:00
sezero
0cfcfe0e88
glide2x: added new Makefiles for tests.
2019-09-08 00:28:00 +03:00
sezero
8522edee5c
glide2x: allow disabling the splash screen and the shameless plug code.
2019-07-07 00:47:28 +03:00
sezero
8be8bb66b5
glide2x, sst1: use different lib directories for sst1 and sst96 targets,
...
just like we do in the glide3x/sst1 tree.
2019-07-06 23:44:02 +03:00
sezero
91669cea49
glide2x, sst1: use different lib directories for sst1 and sst96 targets,
...
just like we do in the glide3x/sst1 tree.
2019-07-06 23:33:10 +03:00
sezero
305fab3650
glide2x: initial makefiles to target DOS/DJGPP.
...
build-tested yet, will see if they actually run later.
2019-07-06 18:37:00 +03:00
sezero
a5e52f47f5
glide2x djgpp build fixes #7/7:
...
h3, dos_mode.c: backported a fix by Daniel Borca from commit 3e642e03 .
2019-07-06 14:06:40 +03:00
sezero
671cee61eb
glide2x djgpp build fixes #6/7:
...
h3, dos_mode.c: add missing includes.
2019-07-06 14:06:07 +03:00
sezero
7f50068a47
glide2x djgpp build fixes #5/7:
...
h3, minihwc.c, gdebug.c: minor warning fixes.
2019-07-06 14:05:50 +03:00
sezero
ccadf5f395
glide2x djgpp build fixes #4/7:
...
sst1: change Int10 handler code to build if GLIDE_DEBUG10 is defined
instead of just GLIDE_DEBUG. (same thing is done in glide3x/sst1 tree.)
the code is for watcom, but can actually be ported to djgpp if it is
really needed some day.
2019-07-06 14:05:35 +03:00
sezero
1096fc0efb
glide2x djgpp build fixes #3/7:
...
enable rle_decode_line_asm() stub for djgpp builds too.
2019-07-06 14:05:18 +03:00
sezero
0e352d42c1
glide2x djgpp build fixes #2/7:
...
gerror.c: _guHeapCheck() is for watcom builds only due to _heapchk()
2019-07-06 14:05:04 +03:00
sezero
ee5fecf71f
glide2x djgpp build fixes #1/7:
...
sst1, gerror.c: add proper dos includes for djgpp
2019-07-06 14:04:45 +03:00
sezero
26c95e24f6
glide2x, h3: added cinit from glide3x after removing napalm-only bits.
2019-07-06 14:03:26 +03:00
sezero
a0f4e5a4e6
sst1: a bit more style cleanup
2018-11-05 21:50:20 +03:00
sezero
347ccd8391
glide2x, sst1/sst96, init: added includes for djgpp
2018-11-05 19:41:28 +03:00
sezero
c468e627e7
sst1/sst96: some whitespace/style cleanup.
...
also removed commented out code from glide3x _grChromaRangeExt(),
guGammaCorrectionRGB() and grLoadGammaTable().
the djgpp dxe output is still exactly the same.
2018-11-05 19:35:55 +03:00
sezero
426c3988a3
glide2x, cvg: fix fxoem2x.dll build (in case it ever gets enabled.)
2018-09-12 14:00:02 +03:00
sezero
da8d31c9d5
Makefile.mingw: revise so that it works for both cross- and native-builds
2018-09-11 23:00:02 +03:00
sezero
50de6810a0
Makefile.wat: fix linkage of texus.exe if run with TEXUS2=1
2018-09-11 19:15:02 +03:00
sezero
cd39eb5320
fx64.h: Watcom 11.0 added "long long" support, adjust accordingly.
...
The legacy Watcom <= 10.5 code of 3dfx didn't compile using OpenWatcom.
2018-09-11 19:10:51 +03:00
sezero
99ee5eec74
Makefile.wat: revise so that watcom builds work on both linux and win32
...
- not tested on pure dos, and it shouldn't be a problem really..
- this needs to be done for Makefile.DJ and Makefile.mingw, too.
2018-09-11 17:21:04 +03:00
sezero
186bb19d28
tests, tlib.c: include conio.h for watcom builds
2018-09-11 17:20:01 +03:00
sezero
274d0d31c2
3dfx.h, glidesys.h: check __MSDOS__ along with __DOS__
...
Necessary when they are used for building 3rd-party programs.
__DOS__ is defined by Watcom, __MSDOS__ is defined by DJGPP.
2018-09-10 06:55:10 +03:00
sezero
01f2e823f7
Makefile.wat: use -bt=dos option for cross-builds to target dos correctly
2018-09-10 06:27:50 +03:00
sezero
fa2272350a
Makefile.linux updates for XPATH usage: add and use X11LIBS variable.
2018-08-30 17:51:56 +03:00
sezero
4a33160a11
glide2x, sst1, Makefile.linux: updated XPATH usage to match glide3x tree
...
minor tidy-up in its glide3x counterpart.
2018-08-30 17:05:56 +03:00
sezero
c93f294492
sst1, init96.c: fixed minor warning in DEBUG builds
2018-08-30 17:04:05 +03:00
sezero
34fa903aea
glide2x, cvg: fixed DEBUG builds.
2018-08-30 17:03:20 +03:00
sezero
2a770d57d5
cvg, gglide.c (grBufferClear): avoid parentheses warning.
...
binary output is identical.
2018-08-30 17:02:47 +03:00
sezero
a7b3d9290c
glide3x, h5: remove gendate.h dependency.
...
BUILD_DATE is not used anywhare, at all.
2018-08-30 16:01:55 +03:00
sezero
e2dd1b0ba0
fxbldno.c: minor warning fixes.
2018-08-30 15:40:32 +03:00
sezero
11f9ba7f56
glide3x, Makefile.DJ: tweaked DXE descriptions.
2018-08-25 21:21:10 +03:00