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
sezero
5db23883e9
glide3x, Makefile.win32: reverted most parts of commit 8c917cb2
2018-08-25 21:20:30 +03:00
sezero
72028096b9
g3df.c: fix msvc build because of a sign-compare warning after 66386d5
2018-08-25 21:05:15 +03:00
sezero
ed0fb7ba52
h3/h5, lin_mode.c, linhwc.c (loadEnvFile): don't leak FILE* pointer
2018-08-24 23:10:40 +03:00
sezero
dbcbbb1313
sst1, sst1InitVoodooFile(): don't leak FILE* pointer in case of failure
2018-08-24 21:55:50 +03:00
sezero
db8ef4d0ef
cvg,sst1, init: shortened a few messages.
2018-08-24 21:03:55 +03:00
sezero
575bafe6c9
glide3x: remove obsoleted README, and rename README.2 to README
...
also edit the Voodoo Rush entry to mention Macronix along with AT3D
2018-08-23 17:20:50 +03:00
sezero
e11ac4e5db
h5, tests: rename Makefile.mgw to Makefile.mingw
2018-08-23 15:39:24 +03:00
sezero
0402d46e43
fxos.c, fxGethostname: fix a strict aliasing issue
2018-08-23 15:37:20 +03:00
sezero
cec38774f4
glide3x, tests: sbench depends on fxos.o for non-linux.
2018-08-23 15:20:02 +03:00
sezero
661f489f88
tests: conio.h or linutil.h includes are not needed
...
kbhit() and getch() are called from tlib
2018-08-23 14:33:50 +03:00
sezero
c430cef2b2
glide3x,tests,sbench.c: rename PI to FX_PI (avoid redefinition warnings)
2018-08-23 14:11:30 +03:00
sezero
4a72d2061d
glide3x, tests, tlib.c: add missing DJGPP includes for cvg, h3 and sst1
2018-08-23 14:05:55 +03:00
sezero
eb40729806
glide3x: remove old makefiles, which are obsoleted for quite some time.
...
the master branch still has the old makefiles I guess, so, look at the
master branch if need reference.
update sst1 makefiles to store the libs under individual sst1 and sst96
directories.
update linux makefiles for XPATH variable usage.
rename makefile.linux to Makefile.linux under the tests directories.
2018-08-23 14:00:02 +03:00
sezero
bd3e0372c1
glide3x, tests, sbench.c: fix build errors:
...
sbench.c:300: error: lvalue required as left operand of assignment
sbench.c:301: error: lvalue required as left operand of assignment
sbench.c:375: error: lvalue required as left operand of assignment
sbench.c:376: error: lvalue required as left operand of assignment
I _think_ this is the correct fix: MSVC6 generates the same output
before and after this patch.
2018-08-23 03:47:50 +03:00
sezero
d565bf19ef
glide3x, tests: more build fixes -- mostly for windows this time.
2018-08-23 01:20:20 +03:00
sezero
2ab9b505eb
glide3x, tests: applied warning and build fixes from glide2x tree.
2018-08-23 00:28:02 +03:00
sezero
f2e22ecf56
glide2x, tests: minor tidy-up.
2018-08-22 22:55:40 +03:00
sezero
8574e105f2
glide2x,tests,display.c: silence 'diff.data' may be used uninitialized warning.
2018-08-22 22:44:50 +03:00
sezero
a4a70bba5b
glide2x, tests: initialize firstTime to 1 instead of 0.
2018-08-22 22:20:10 +03:00
sezero
e649ca4613
glide2x, tests: comment out unused helper proc in plib.c
2018-08-22 22:02:28 +03:00
sezero
64b744733d
glide2x, tests: fix out-of-bounds access to localVerts in test25.c
2018-08-22 21:55:02 +03:00
sezero
e7cc47e93e
glide2x, tests: fix format warning test25.c
2018-08-22 21:36:33 +03:00
sezero
c6de03a346
glide2x, tests: fix warning from qatest00.c:
...
qatest00.c:517: warning: operation on 'nCurrAlpha' may be undefined
qatest00.c:528: warning: operation on 'nCurrAlpha' may be undefined
2018-08-22 21:32:40 +03:00
sezero
40230a559e
glide2x, tests: replace exit()s with return
2018-08-22 20:33:33 +03:00
sezero
ffac0696a3
glide3x: applied commit fd64b6ac of guillemj to the sst1 testsuite.
2018-08-22 16:27:02 +03:00
sezero
1567a193fe
glide2x, testsuite updates:
...
- style tidy-up in cvg and h3
- applied commit df4085a to sst1 tree
- there are suspicious -Wuninitialized warning fixes,
will revisit them soon.
2018-08-22 16:15:37 +03:00
sezero
14c8945a32
tests, tlib.c, tlib.h: silence / fix warnings:
...
fix wrong error check in SimpleRleDecode() (thanks gcc -Wsign-compare).
fix some old wrong warning fixes in glide2x tree.
also remove ctype.h dependency and use a generic strupr().
2018-08-22 14:03:15 +03:00