Commit Graph

744 Commits

Author SHA1 Message Date
Bill Currie bd4abbab06 give the opcodes a type 2001-06-03 19:32:50 +00:00
Bill Currie 09118bc01e pr_comp.h:
add OP_ADD_S. WARNING!!! this /will/ move.
progs.h:
	add prototype for PR_PrintStatement
pr_edict.c:
	add OP_ADD_S support in the progs checker
pr_exec.c:
	implement OP_ADD_S
tools/qfcc/include/.gitignore:
	add config.h.in
qfcc.h:
	nuke PR_NameImmediate and change PR_ParseImmediate's prototype (see
	pr_imm.c)
pr_comp.c:
	add ADD_S, adjust for PR_ParseImmediate's prototype, make
	PR_ParseExpression work with non-sequential opcodes (slow, will work on
	that next). Fix up initialised global parsing.
pr_imm.c:
	nuke PR_NameImmediate. didn't work well and wasn't such a good idea anyway.
	PR_ParseImmediate now accepts a def_t * arg. if null, will allocate a
	new global def, otherwise it will initialize the def passed in.
qwaq/main.c:
	sports some debugging code (dumps info about the progs it's running)
qwaq/main.qc:
	better ADD_S testing
2001-06-03 17:36:49 +00:00
Chris Ison 0ca5fc0c67 just some tidy up, thanx Deek 2001-06-03 12:15:06 +00:00
Adam Olsen f7f6c460ce change void to static void, so it compiles for me 2001-06-03 05:58:01 +00:00
Adam Olsen d4df66570f Add ED_FreeRefs, which searches for references to an entity. Not used yet. 2001-06-03 05:54:43 +00:00
Jeff Teunissen b60efa59f4 Bunch of changes. Project has been almost completely rewritten, and now
compiles. The rest are just the results of a simple conversion script I
wrote.
2001-06-03 04:52:36 +00:00
Bill Currie 4c8f84adc5 fix for CustomTF menu truncation 2001-06-03 01:28:11 +00:00
Timothy C. McGrath 9c911edebb gl_lightmode is dead, removed that from the config file. New
benchmarking information, about 1 fps faster from the last time I
updated cvs. (And this is with DRI being 5 fps SLOWER than last time I
updated.)

Misty
2001-06-03 00:03:41 +00:00
Bill Currie 652069d3f2 This one's for Mercury :) (cvar control of pmodel and emodel) 2001-06-02 23:29:41 +00:00
Bill Currie a0796826ee Back out Mercury's removal of emodel and pmodel. They are /required/ by some
servers.
2001-06-02 22:20:34 +00:00
Zephaniah E. Hull 380dcf5c9b Some gl_draw cleanups for glpic.
Some sbar cleanups (still broken, suspect driver issues.).
Removal of pmodel and emodel infokeys, waste of info space.
For servers allow people downloading to hear people talking.
2001-06-02 20:39:54 +00:00
Chris Ison 3f47a8d0a7 -3dfx brightness changed int to float 2001-06-02 11:17:08 +00:00
Chris Ison 903482c923 -3dfx brightness +setrom tdfx_brighten #, 2 with gamma 2 is nice 2001-06-02 10:43:38 +00:00
Ragnvald Maartmann-Moe IV 4826c5dd0f Change shm init to PROT_WRITE, instead of PROT_READ | PROT_WRITE.
This is required for mmap to succeed on my system. YMMV.
May cause a problem with incomplete shutdown.
2001-06-02 06:51:58 +00:00
Bill Currie 297f7c0567 this shouldn't be here 2001-06-02 05:23:00 +00:00
Bill Currie 88d536933f move the creation of the cd command to cd.c 2001-06-02 04:36:42 +00:00
Ragnvald Maartmann-Moe IV 28638a9a98 Remove merge ghosts. Aren't there for Taniwha. cvs quirks, whee. 2001-06-02 04:35:16 +00:00
Bill Currie 25b02984b8 fix nested else statements 2001-06-02 03:37:06 +00:00
Ragnvald Maartmann-Moe IV 85333a9f96 Convert cd audio libs to plugins. Windows untested, dos and sgi not converted yet. 2001-06-01 22:55:33 +00:00
Bill Currie 02003cf229 build the progs automaticly 2001-06-01 22:05:36 +00:00
Bill Currie 6c0791e4f4 d'oh 2001-06-01 22:00:35 +00:00
Bill Currie e3e4915c03 s/qctest/qwaq/ and update .gitignore 2001-06-01 21:59:46 +00:00
Bill Currie 8a23ae0a48 stand alone qc interpreter. So I'm on some serious qwaq :) (actuallly, its
main purpose is language extention testing)
2001-06-01 21:57:59 +00:00
Bill Currie e699f6e888 if progsname is null, assume the progs are already loaded and just process
the data.
2001-06-01 21:14:50 +00:00
Bill Currie 7ad0f7ed2b various compile fixes for mingw. 2001-06-01 00:39:31 +00:00
Adam Olsen 4620b8fdfd Add the cl_showscoresuid cvar I mentioned before 2001-06-01 00:29:55 +00:00
Adam Olsen a187032ebf add #include "QF/cvar.h" for snd_alsa_0_5.c 2001-06-01 00:12:25 +00:00
Bill Currie 06064ec390 compat.h:
create a field_offset macro that takes a structure type and a field and
	returns the offset of the field within the structure
everything else:
	use field_offset to calculate the size of variable sized structs
2001-05-31 18:11:05 +00:00
Bill Currie d2a4faae6e oops :) (packet log fixes: segs aren't nice) 2001-05-31 15:38:08 +00:00
Chris Ison ced128e572 fixed #includes in vid_3dfxsvga.c 2001-05-31 11:41:22 +00:00
Bill Currie 828019505e /me mutters something about old installed headers and search paths 2001-05-31 05:40:25 +00:00
Bill Currie 323015b11a include/QF header cleanup. including config.h (or any file from include) is
a nono because headers in include/QF get installed, but include don't and thus
would break quakeforge-dev.
2001-05-31 05:33:13 +00:00
Bill Currie 6bf58ab1af no header includes cvar.h now 2001-05-31 03:41:35 +00:00
Bill Currie a488af9bf5 add a net_packetlog_zap command (those files can get big:) 2001-05-31 03:04:39 +00:00
Bill Currie 4babd979d6 nuke --enable-packetlog in favor of a net_packetlog cvar so packetlogging is
always available. also change the packet log open mode from truncate to append.
2001-05-31 02:43:48 +00:00
Bill Currie 889b9ce740 try to dump the packet resulting in an overflow 2001-05-30 23:44:21 +00:00
Bill Currie 940598f240 merge pcx.c, tga.c and wad.c. util seemed the most logical place, but LoadPCX
had to be modified to get away from vid.h (better designe now IMO anyway)
2001-05-30 20:56:53 +00:00
Bill Currie 80be659b4a white space 2001-05-30 20:55:28 +00:00
Adam Olsen de4ab28d38 re-add support for changing client port (use +set cl_port foo) 2001-05-30 18:50:17 +00:00
Adam Olsen 8ca626dacc add -export-dynamic to linker lines, so you can use sound plugins with static builds. 2001-05-30 18:35:19 +00:00
Bill Currie d7830293a6 more printf format attributes 2001-05-30 05:38:17 +00:00
Joseph Carter 05adfd0e53 quakefs.h -> vfs.h
quakeio.h -> vfile.h

More diff reduction between trunk and my VFS code.  Also took the time to
put some headers in order and fix a few #include's pointed out by moving
things around a bit.
2001-05-30 04:34:06 +00:00
Joseph Carter 186d577818 s/QFile/VFile/g - makes my diffs much smaller and more manageable for the
VFS work.
2001-05-30 03:21:19 +00:00
Bill Currie 47d95d245a protect the cvar callback and description fields from being modified once
they have been set to non-defaults.
2001-05-30 02:41:30 +00:00
Bill Currie f988572c4d lighthalf and gl_lightmode, meet Mr. Chainsaw, he will be your playmate today. 2001-05-29 21:59:02 +00:00
Bill Currie 18fd21da77 merge the particle system 2001-05-29 19:58:35 +00:00
Bill Currie 763829560a client.h clean 2001-05-29 19:52:10 +00:00
Bill Currie 78702c07e4 make gl_dyn_part.c and sw_rpart.c independent of client.h and host.h 2001-05-29 19:43:15 +00:00
Bill Currie 7708a2ddd1 remove netlogger (unused cvar) and rename netloglevel to net_loglevel so it
matches the user visible name
2001-05-29 18:24:29 +00:00
Bill Currie 87bf3a2b5e cl_main.c:
move the packet loging init call to the right place and remove a duplicate
	PI_Init call
net_packetlog.c:
	don't be so invasive when dumping packets. use a private msg_t that gets
	initialized from the analysed packet, rather than net_packet (which
	tended to corrupt incoming packets)
2001-05-29 18:14:12 +00:00