Commit graph

85 commits

Author SHA1 Message Date
Bill Currie
13e5ef92d3 sw no longer segs!:) I'm not 100% satisfied with how I attacked frame loading,
but I'll look into that later. I was getting tired of not having a running
program on this branch. Basicly, frames loading needs a little more study.
2000-09-11 23:17:55 +00:00
Bill Currie
2322b564b9 now builds with --disable-asmop. NOTE: d_copy.S is still used anyway (too lazy
to figure out how to do it in C)
2000-09-11 23:13:06 +00:00
Bill Currie
81400a6374 add .vimrc 2000-09-11 15:31:46 +00:00
Bill Currie
73162d8783 the model merge hack is almost complete. gl works but sw sefaults due to
the alias model verts, tris and frames not being loaded correctly.
2000-09-11 05:28:04 +00:00
Bill Currie
ff69e3f2f3 brush model code has now been merged. common stuff in model_brush.c, gl and sw
specific stuff in gl_model_brush.c and sw_model_brush.c respectively.
2000-09-05 19:58:08 +00:00
Bill Currie
69706f997e sprite model code merge done. model_sprite.c is the common code while
gl_model_sprite.c and sw_model_sprite are just the gl/sw specific code
(Mod_LoadSpriteFrame).
2000-09-05 17:59:11 +00:00
Bill Currie
1ab1dd2683 bah, forgot to save this one :/ 2000-09-01 17:32:42 +00:00
Bill Currie
50bd641616 ok, the chopped up model files compile and sw seems to work just fine. Don't
know about gl yet (probably won't until either monday or tuesday; hence the
branch)
2000-09-01 17:07:28 +00:00
Bill Currie
c7d8fb3773 preliminary work on really cleaning up *model.c. atm, just split out the model
type specific code into the appropriate files (which will later be merged as
much as possible) and remove all model type specific code from model.c.
gl_model.c is no more as it ended up being an exact copy of model.c minus a
header include and a prototype, neither of which were needed.
2000-09-01 04:43:56 +00:00
Bill Currie
16101a8d0b add the maplist command 2000-09-01 04:35:05 +00:00
Zephaniah E. Hull
16614d8e71 -3dfx now compiles and works correctly.
Fixed a segfault case in starting.
2000-08-31 20:23:20 +00:00
Bill Currie
f698534b79 gl_part.c:
do the GL_BLEND thing for R_UpdateFires. Fires just don't look so
	good without it :/
model.c:
	correct some "spelling" mistakes.
2000-08-31 05:10:50 +00:00
Brian Koropoff
1ff9c694dd A fix to the argument parser. 2000-08-31 01:21:00 +00:00
Bill Currie
599f05c84b build_rpm now works outside of ${srcdir} and make clean cleans up afterwards 2000-08-31 00:18:35 +00:00
Bill Currie
df4ecf260b can now build rpms 2000-08-30 23:20:57 +00:00
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