Commit graph

70 commits

Author SHA1 Message Date
Bill Currie
e1965a27b9 cvar.h cvar.c:
add int_val field to cvar_t. this should be used instead of value for
	boolean / integral values (no conversions done yet).
in_*.c:
	Add IN_HandlePause
vid_*.c:
	Add VID_HandlePause
context_x11.h vid_glx.c vid_x11.c context_x11.c:
	move some common code out of vid_*.c into context_x11.c. Also, disable
	the screen saver while nuq is running. NOTE: while vid_glx.c compiles,
	it has not been tested yes as glx crashes this machine :(
2000-08-30 22:45:44 +00:00
Bill Currie
775d9ebe54 wrong not sign :/ 2000-08-30 15:58:18 +00:00
Bill Currie
514fb7069e rename net_com.c to checksum.c and create checksum.h.
Also, preliminary steps to merging model.c and gl_model.c as much as possible
before splitting them into functional chunks.
2000-08-30 06:56:25 +00:00
Brian Koropoff
c1ac5ca92a This update adds a proper instruction and subroutine stack and a better parser. 2000-08-30 06:07:02 +00:00
Bill Currie
60c112bc68 configure.in:
print config info for sound type
source/quakefs.c:
	fix fs_userpath handling for other game types and add support for
	abyss
source/qargs.c:
	add -abyss checking
include/qdefs.h:
	add abyss support

Rudimentary support for the abyss mission pack has been added. Currently this
involves just the addition of -abyss to the supported command line options
(acts just like -rogue and -hipnotic) and adding abyss to the list of game
directories. Any other support that's needed (as with other rogue and hipnotic
modifications) has not been added as it is not known what's needed.
2000-08-29 20:30:28 +00:00
Jeff Teunissen
97fb68093e Minor configure.in cleanup...nuke a couple of file-not-found warnings,
clean up Makefile.am with the version I was going to commit Saturday (but
forgot, argh).
2000-08-29 05:33:48 +00:00
Bill Currie
89f7306091 turns out GL_WaterSurface wasn't binding the texture wasn't binding the
surface taxter. very ugly
2000-08-29 05:22:58 +00:00
Bill Currie
23b70fee0f fixes for no optimisation 2000-08-29 04:33:15 +00:00
Bill Currie
8ccc616134 various make dist related cleanups 2000-08-29 00:10:19 +00:00
Bill Currie
8cb963858f source/vid_svgalib.c source/in_svgalib.c:
"accidently" port over newtree's svga stuff (I copied the wrong file
	then cleaned up the resulting mess:)
Makefile.am include/Makefile.am doc/Makefile.am source/Makefile.am:
	fix things up so doc no longer causes make to barf and makd dist works
source/dirent.c source/fnmatch.c source/in_svgalib.c source/vid_3dfxsvga.c
source/vid_mgl.c source/vid_wgl.c:
	needed for make dist. No, nuq-3dfx does not get created (I don't have
	the libs or card)
2000-08-28 22:38:46 +00:00
Brian Koropoff
58ef964ae2 GIB has completed its de-evolution into a cheap ripoff of bash, thus determining the meaning of its own acronym: GIB Isn't Bash 2000-08-28 20:49:01 +00:00
Bill Currie
490409a57b Well, that's sgl going. It seems to have some issuesi. Gun and sbar were white,
and it crashed my box on exit, but that's most likey the X server (i810, glx
does the same).
2000-08-28 20:21:28 +00:00
Bill Currie
aa61894cd6 Makefile.am:
don't moan about ChangeLog
configure.in:
	enable sld
vid.h:
	prototype VID_SetCaption
vid_sdl.c:
	snarf from newtree
2000-08-28 20:08:34 +00:00
Bill Currie
a6b179571f com.c:
fix endian detection
quakefs.c:
	don't create the gamedir if userpath is .
2000-08-28 16:14:42 +00:00
Bill Currie
39920968d8 quakeNN.{tga,pcx} -> nuqNNN.{tga,pcx}
another external mention of quake goes away and also gives us 1000 screenshots
instead of 100
2000-08-28 02:53:06 +00:00
Bill Currie
76e84b6995 support rogue and hypnotic 2000-08-28 02:29:43 +00:00
Bill Currie
53ddca7a8e an even better fix (thanks, LordHavoc) 2000-08-28 02:03:55 +00:00
Forest Hale
64b7080691 Changed model light clamping. 2000-08-28 01:47:41 +00:00
Bill Currie
2b76b57a0b fix this bug:) for (i...) { for (i...) }
dumb, dumb, dumb
2000-08-28 01:46:37 +00:00
Bill Currie
63f498fdeb fix a typo 2000-08-28 01:41:17 +00:00
Forest Hale
d1cecd1018 fb model fixups, optimizations, spaced indents fixed, minor cleanup 2000-08-28 01:38:16 +00:00
Bill Currie
bf1a322439 it helps if dlights aren't black :/ 2000-08-28 01:08:07 +00:00
Brian Koropoff
a4a7abb902 Adds GIB, an experimental scripting language for QF, and a few compile fixes. 2000-08-28 00:45:40 +00:00
Bill Currie
86a0a6aa3e bring over gl_screen (sort of). world is now much brighter, but dlights and
weapon models still aren't working properly
2000-08-27 22:13:48 +00:00
Bill Currie
ab1ac381ea add outb for when optimisations are turned off 2000-08-27 22:03:46 +00:00
Bill Currie
738cd437b5 remove GLQUAKE and IDGODS #ifdefs 2000-08-27 16:53:07 +00:00
Bill Currie
8659864267 slight optimisation (thanks, LordHavoc) 2000-08-27 11:05:08 +00:00
Bill Currie
737925f295 sprintf -> snprintf
bash and sed rule! :)
2000-08-27 10:30:17 +00:00
Bill Currie
8302413276 that's most of newtree's gl stuff ported over. Three bugs: wound up with
newtree's slow skys, some models are not getting lit, and dlights don't seem
to be working :(
2000-08-27 10:03:31 +00:00
Bill Currie
8538ec49d1 bring over gl_rlight from newtree
sys_unix.c:
	remove #ifdef GLQUAKE
2000-08-27 07:46:54 +00:00
Bill Currie
10a7fbb00a port over the interesting bits of gl_model.c from newtree 2000-08-27 06:55:07 +00:00
Bill Currie
d4d2afe26f import gl_mesh.c from newtree 2000-08-26 21:30:05 +00:00
Bill Currie
103918c7a4 port over gl_draw.c from newtree 2000-08-26 21:23:07 +00:00
Bill Currie
c1e78e5021 don't need this 2000-08-26 19:17:37 +00:00
Bill Currie
85dc32f2b6 nuq.conf is now read and +set foo on the command line is supported 2000-08-26 06:13:07 +00:00
Bill Currie
1ddf60ea24 finally, nuq-glx works. Still needs lots of work, but getting there :) 2000-08-26 05:48:38 +00:00
Bill Currie
438a2bbcd2 getting closer to nuq-glx. just some linking issues 2000-08-25 07:18:23 +00:00
Bill Currie
e2efff9dde nuq-glx almost builds. just some last problems with gl_part.c and gl_view.c 2000-08-25 06:42:29 +00:00
Bill Currie
d6d6aff0aa remove all references to qw (nuq is not quakeworld :) 2000-08-25 01:34:11 +00:00
Bill Currie
ed64e1a0a2 makes more sense to have this in tools 2000-08-25 01:30:09 +00:00
Jeff Teunissen
cfb568ef0f Added preliminary indent profile, for automatically applying (again,
preliminary) QF code style to source.
2000-08-23 20:28:00 +00:00
Bill Currie
41fc6fb942 nuq-svga and nuq-x11 now run again. 2000-08-23 06:03:57 +00:00
Bill Currie
6f396a55ea nuq-x11 now compiles and links 2000-08-23 05:56:33 +00:00
Bill Currie
7b52e8b908 nuq-svga now links 2000-08-23 05:53:17 +00:00
Bill Currie
9f8660c30e header revamp almost done. it now tries (but fails) to link 2000-08-23 04:45:16 +00:00
Bill Currie
98340d8e00 don't need this anymore. it's been subsumed into qdefs.h 2000-08-22 06:29:37 +00:00
Bill Currie
7147e89b21 more header work. getting there, but still no compile 2000-08-22 06:28:42 +00:00
Bill Currie
42baa553f3 some more. no worky yet. more tomorrow night 2000-08-21 05:47:08 +00:00
Bill Currie
7f5868530f more header fixups. still doesn't compile 2000-08-21 05:39:54 +00:00
Bill Currie
a55935a091 more bits needed for the header change. still no buildy 2000-08-21 03:53:35 +00:00