Commit Graph

437 Commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV 85992c58d3 Make more cvar names sane. _snd_mixahead is now snd_mixahead. 2001-08-04 18:18:33 +00:00
Adam Olsen c218ede288 Add support for checkfunction, which is a builtin that searches for
another builtin by name, and returns it.

Soon I'll change all our new builtins to by allocated dynamically, as
well as changing the number checkfunction uses, and happily break
everything that uses them :D
2001-08-04 09:11:50 +00:00
Bill Currie f9e85cdf8a split up mleaf_t's minmaxs into two arrays 2001-08-03 23:54:09 +00:00
Adam Olsen ae133d0a90 Modify progs to add builtins at runtime. It should be trivial to
lookup functions by name, and make all our new QC builtins allocate
numbers automatically.
2001-08-03 06:40:28 +00:00
Bill Currie 0a4caac3c6 mingw compile fixes 2001-08-02 23:00:39 +00:00
Bill Currie b455458629 exit cleanup. Sys_Error and Sys_Quit should be used whenever possible. 2001-08-02 17:16:12 +00:00
Ragnvald Maartmann-Moe IV 2887dd3950 Fix issue with gl_lightmap_components 4 and lightmap updates. 2001-08-02 04:12:26 +00:00
Bill Currie 4c23641759 print line and char number for the error 2001-08-02 02:49:14 +00:00
Ragnvald Maartmann-Moe IV fd0c5aab36 Garbage comment removal. 2001-08-02 02:28:17 +00:00
Ragnvald Maartmann-Moe IV 6e9b51edfc (Optionally) Use glTexSubImage2D for lightmap updates. Doesn't give as large a boost as I'd hoped, but will matter far more as other optimizations happen. New cvars gl_lightmap_align does nothing yet, and gl_lightmap_subimage only works in mode 0 and 1. Mode 2 (should be fastest mode on most cards) will eventully get implemented... 2001-08-02 02:18:04 +00:00
Bill Currie 8fa4bff0c4 _ is legal in an unquoted string and make PL_ObjectForKey return the correct
value
2001-08-01 16:07:39 +00:00
Bill Currie 2a96ffb19b fix a couple of warnings 2001-08-01 07:05:28 +00:00
Jeff Teunissen 76385372f3 plist updates; PL_GetPropertyList now calls Sys_Error() on plist errors. 2001-08-01 07:03:46 +00:00
Bill Currie b6ee3e72da don't have blank SUBDIRS=, it hurts 2001-08-01 05:07:58 +00:00
Bill Currie 22339b712d create fs_userdir if it's not "." rather than not FS_USERPATH 2001-07-31 21:52:52 +00:00
Bill Currie fb26d8b18a make Info_Set* take flags indicating wether funchars should be stripped or not 2001-07-31 18:27:49 +00:00
Bill Currie 6cb2cb5bdc start making the rotated bounding box (really dynamic clipping huls) more
generice, and also more in line with the rest of quake's clipping system
(ie, support the entity size selected hulls). I'm not /entirly happy with
what's here, but it's a start, and the force fields in customtf work /much/
better :)
2001-07-30 04:33:59 +00:00
Adam Olsen 0219bcb4c8 Make the help command work with commands too. (moved to cmd.c while I
was at it)
2001-07-30 01:01:39 +00:00
Bill Currie 75f3f27a22 fix a silly mistake that caused configs not to be written 2001-07-24 03:22:54 +00:00
Bill Currie c248372e20 Initial integer type support. qfcc /is/ partially broken when it comes to
integer constants and float function args/return values.

pr_comp.h:
	o  add the integer opcodes to pr_opcode_e
pr_edict.c:
	o  add "quaternion" and "integer" to type_name[]
	o  support quatnernion and integers types when printing values
	o  support the integer opcodes when bounds checking
pr_exec.c
	o  enable the integer opcodes
pr_opcode:
	o  add the integer opcodes to the opcode table
	o  logical operators all result in an integer rather than a value
expr.h:
	o  rename int_val to integer_val
qfcc.h:
	o  kill another magic number
expr.c:
	o  move the opcode to string conversion out of type_mismatch and into
	   get_op_string
	o  rename int_val to integer_val
	o  general integer type support.
	o  generate an internal comipiler error for null opcodes rather than
	   segging.
pr_imm.c:
	o  rename int_val to integer_val
	o  support integer constants, converting to float when needed.
pr_lex.c:
	o  magic number death and support quaternions and integers in type_size[]
qc-lex.l
	o  rename int_val to integer_val
	o  support quaternion and integer type keywords
qc-parse.y:
	o  rename int_val to integer_val
	o  use binary_expr instead of new_binary_expr for local initialized
	   variables
builtins.c:
	o  rename int_val to integer_val
	o  fix most (all?) of the INT related FIXMEs
defs.qc:
	o  use integer instead of float where it makes sense
main.c:
	o  read_result is now integer rather than float
main.qc:
	o  float -> integer where appropriate
	o  new test for int const to float arg
2001-07-23 01:31:22 +00:00
Bill Currie 22c9716b56 rename int_var to integer_var 2001-07-22 20:20:46 +00:00
Bill Currie bad184b11b change the results of the test instructions from float to int. 2001-07-22 19:58:17 +00:00
Bill Currie 67d20e0b70 remove all the _IF, _FI, _IV and _VI instructions (none yet enabled) as I don't
want to implement implicit integer <-> float `conversions'
2001-07-22 19:27:17 +00:00
Bill Currie d6f82b6370 make Qwrite's buffer pointer const. 2001-07-22 18:38:59 +00:00
Ragnvald Maartmann-Moe IV 111dc205d5 whitespace and comment cleanups. 2001-07-22 05:40:34 +00:00
Bill Currie 56bb92a7f9 make gl_sky_clip 3 do as originally promises 2001-07-22 02:06:02 +00:00
Ragnvald Maartmann-Moe IV 54cda68878 Just a bit of whitespace and comment cleanup. 2001-07-21 23:18:59 +00:00
Ragnvald Maartmann-Moe IV 1461143371 Spiffed up scrag and hellknight missile particle trails. (Partly inspired by darkplaces, though not identical to LordHavoc's) 2001-07-21 20:32:45 +00:00
Bill Currie c9626b42f0 Makefile.am:
build the client and server plugins
client.c:
	get to build, though it's very crippled
server.c:
	re-print the message to the buffer after re-sizing the buffer
2001-07-20 18:51:00 +00:00
Bill Currie 22dbc62c71 damn magic numbers. sdl didn't like the key num shift either 2001-07-20 05:18:46 +00:00
Bill Currie 9f09a6aa32 assigning > 255 into an unsigned char isn't too good 2001-07-20 01:45:19 +00:00
Bill Currie bcbd1b953a heh. close, so close. one mised const 2001-07-19 21:51:18 +00:00
Bill Currie 46176e1094 azerty kb patch from Filip Van Raemdonck <mechanix@digibel.org>. includes some
misc fixes, too
2001-07-19 21:46:34 +00:00
Bill Currie edcc313501 debug info for local variables is now used. only works when tracing atm:/ 2001-07-19 07:27:14 +00:00
Adam Olsen a771b5bd6c Make edicts command support a search string, so it only prints edicts
with matching classnames.  Makes it easy to print out the type you want
for debugging :)
2001-07-19 03:18:11 +00:00
Bill Currie 2732797574 fix the undefined symbol error 2001-07-18 22:18:36 +00:00
Bill Currie 47a6f2c9b5 pr_debug.c:
capitolise CRC and add a \n to the message
sv_progs.c (both nq and qw):
	don't bother checking the progdefs.h crc: it's just not needed any more
pr_imm.c:
	use r instead of rep when checking the hash tables.
main.c (quaq):
	make developer work and set com_filesize (otherwise, progs crc doesn't
	get set properly (com_filesize, not developer:))
2001-07-18 21:28:41 +00:00
Bill Currie 33e506e943 make PR_RunError back up to the preceding source line if debug is availalbe 2001-07-18 20:52:12 +00:00
Bill Currie 5a86b66054 fix a typo 2001-07-18 20:49:57 +00:00
Bill Currie 882de10388 rename Con_CompleteCommandLine to Con_BasicCompleteCommandLine and make it
use inputline_t rather than the key_lines junk.
2001-07-18 18:29:38 +00:00
Bill Currie f70e2e8296 cleanup 2001-07-18 18:22:13 +00:00
Bill Currie 02e021a958 get the progs /loader/ name and prototype sorted out properly 2001-07-18 02:21:57 +00:00
Bill Currie ffd459c931 allow for total subversion of the fs code by utilities (or crazy users).
About the only thing that remains in effect is gzip support (not even paks
are searched).
2001-07-17 22:10:20 +00:00
Bill Currie 159bc6147c create an "input line" object for the console so Con_ProcessInput can be used
in verious contexts
2001-07-17 16:46:51 +00:00
Adam Olsen e6f846756e console->pC_Init to general->p_Init, ditto for shutdown. I'm assuming
this is what taniwha meant.  Shoulda test-built ;)
2001-07-17 00:21:56 +00:00
Bill Currie a3c6cd8e29 the server console is now a plugin, though it doesn't get compiled yet (it
/does/ compiled, though). Input handling is currently ripped out.
2001-07-16 23:15:27 +00:00
Bill Currie 4c515d1bb6 more "throw it in cvs". doesn't even attempt to compile yet :) 2001-07-16 22:30:11 +00:00
Bill Currie 20fdc9b9e5 add the command line completion code (complete.c) and the client and server
plugins (though they're not built yet). Again, this /does not/ affect anybody
else, or shouldn't, anyway.
2001-07-16 21:39:50 +00:00
Bill Currie 104701a8c5 the beginnings of the console lib (using plugins for the client/server type
consoles). Currently, doesn't affect anybody other than the need to
re-bootstrap.
2001-07-16 20:41:10 +00:00
Bill Currie 0576dec1e2 split up PR_LoadProgs a bit 2001-07-16 07:13:10 +00:00
Bill Currie 1c9e1b176f fear the mighty const correct patch 2001-07-15 07:04:17 +00:00
Bill Currie 3ab9ecd828 add this so it doesn't get lost. needs work. 2001-07-15 03:01:34 +00:00
Bill Currie 0cbb0bf396 add pr_source_path to specify where to look for the source files 2001-07-15 02:57:36 +00:00
Bill Currie 2771e6385c oops, used the wrong function to look up .debug_file 2001-07-15 02:05:29 +00:00
Adam Olsen ac46e5b49d oops, sys_dump_core instead of sys_dumpcore 2001-07-15 01:45:03 +00:00
Bill Currie 66c8f00dc7 print out source line numbers when available 2001-07-14 23:53:59 +00:00
Bill Currie f4976e8133 more const correctness 2001-07-14 23:50:18 +00:00
Bill Currie d0d32b6a1a I've really got to start testing with gcc 3.0 2001-07-14 04:12:48 +00:00
Adam Olsen cb133ddf93 Add support for core dumping to X11 targets. set sys_dump_core to 1, and
ulimit -c to a sufficiently high value.  (I get ~20 meg cores)
2001-07-14 03:15:14 +00:00
Bill Currie 2818d720c2 move the full info opcocde table from qfcc to gamecode (<KURGON>There can be
only one!</KURGON>:) and use the table in PR_PrintStatement. This means that
qfcc now links against libQFgamecode as well as libQFutil
2001-07-14 02:34:16 +00:00
Bill Currie ecff96258f cmd.[ch]:
api change: Cmd_Args () now takes a parameter inidcating which arg to
	start at for grabbing the un-parsed command line
qw/source/sv_ccmds.c:
	implement kk's tell command and user name matching (though # is used for
	the wildcard and it's still case sensitive)
everything else:
	adjust for the new Cmd_Args protype
2001-07-10 18:25:54 +00:00
Bill Currie 9aeef3f3d6 rename qfont_table to sys_char_map and make it global (and constant) 2001-07-10 15:59:25 +00:00
Bill Currie 0242c0352d break the endian neutral file io out from qendian.c so qfcc can remain
independent of libz
2001-07-09 20:56:05 +00:00
Bill Currie 124dff1bd6 rework alias creation/deletion. Aliases are now sorted (like cvars and
commands), and the alias name length limit has been removed.
2001-07-06 17:45:32 +00:00
Bill Currie 6cda415f06 slight api change: Hash_Del now returns a pointer to the element deleted, or
null if the element was not found, rather than 0 and -1 respectively.
2001-07-06 17:43:47 +00:00
Bill Currie 62a4b86001 d'oh 2001-07-06 00:17:09 +00:00
Bill Currie 245d81420d make sound blocking cvar controlled (in_snd_block, default off, archived) and
pause the cd as well.
2001-07-05 20:35:42 +00:00
Bill Currie 016563e77f found the snd_pcm_playback_pause function for 0.5 2001-07-05 20:24:41 +00:00
Bill Currie fc09d2b00f port Bruce Momjian's patches from newtree with a less incestuous
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.

WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.

How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00
Bill Currie 6f022f5d9f well, that was interesting: turns out mingw provides mprotect and
getpagesize :/
2001-07-05 18:47:19 +00:00
Bill Currie c38ca8e2f1 qfplist.h:
remove include of glob.h. not needed and causes win32 build to fail
plugin.c:
	include compat.h and cast the return of GetProcAddress
gl_funcs.c:
	fix parse error and type mismatch
qfgl_ext.c:
	half re-write QFGL_ExtensionAddress to use QFGL_ProcAddress
vid_wgl.c:
	fix for the new gl linking
2001-07-05 17:28:19 +00:00
Bill Currie 2e5b3b4a83 damn 2001-07-05 06:31:05 +00:00
Bill Currie 0862c8facd I'ld love to know how that got though my testing :/ 2001-07-05 06:29:53 +00:00
Bill Currie e5e289e994 this brings back knghtbrd's Sys_Printf redirection, but in such a way that
Sys_Printf still has the format attribute. To redirect Sys_Printf, declare the
redrecting function as void (const char *, va_list) and call Sys_SetPrintf
with this function as its parameter.
2001-07-05 04:59:43 +00:00
Bill Currie b4ac2446a1 Put knghtbrd's sys cleanup changes back in, but with Sys_MakeCodeWriteable
in sys/util.c rather than limbo (the crux of the problem that caused the
previous reversal). I'll look into his Sys_Printf changes next.
2001-07-05 03:28:40 +00:00
Bill Currie e659c2a44f revert kntbrds recent sys changes as they break sw static builds 2001-07-05 00:12:43 +00:00
Bill Currie ce3eddb89c move the node number validation out of RecursiveHullCheck and into the bsp
loader
2001-07-04 16:28:54 +00:00
Joseph Carter eb71edb5d4 taniwha, please have a look at this to make sure I'm doing it the "right"
way..  Sys_Printf is now Sys_StdPrintf for now.  Sys_Printf is a function
pointer and will end up replacing Con_Printf as well.  Names will change
to something intelligent when I'm done.  Win32 is not yet touched, but I
haven't forgotten it.

The reason for this is the assumption that Con_Printf and Sys_Printf do
not overlap.  The new server console WILL change that, requiring that we
change how we handle both functions.  The plan:  Default to using stubs
and swap them for full-featured functions on Console init which do all
the things we expect.  Will also do a stderr version later.
2001-07-02 18:11:34 +00:00
Joseph Carter fb8d04eca2 Fix -sgl's glFlush 2001-07-01 00:11:24 +00:00
Joseph Carter 515f449a39 Sun-specific code is dead. Sun boxes should work fine with -x11 and -glx
as it is.  Left snd_sun, which looks useful for something.
2001-06-29 08:01:12 +00:00
Joseph Carter 11257134c0 dos is dead, really. This has never worked, and would need a full rewrite
from scratch before it would anyway.  That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00
Bill Currie c350bb2b1b a slight oopsie on the location of WriteFloat and friends :P plus nq is now
endian/size clean.
2001-06-29 06:50:29 +00:00
Chris Ison 9bb956b29c libGL (mesa) now dynamic for -3dfx 2001-06-29 03:27:18 +00:00
Bill Currie f61ca0e321 fix the persistent fires. For sanity's sake, the non-renderer specific parts
of gl_dyn_fires.c have been moved to r_main.c (for now).
2001-06-29 02:43:04 +00:00
Chris Ison 85d2176bb6 make -3dfx compile again, may need fixing for mesa specific functions listed in vid_3dfxsvga.c 2001-06-29 02:10:52 +00:00
Bill Currie 14ce770714 report statment addresses for current statement and branch destinations when
printing statements
2001-06-28 23:58:01 +00:00
Bill Currie 443196e66b very nice command line tab completeion from Shawn Walker
<eviltypeguy@qeradiant.com>
2001-06-28 04:05:14 +00:00
Jeff Teunissen 76e28aeaaa Portability fixes. plugin.c will, in all likelihood, work on Windows now. 2001-06-27 08:34:48 +00:00
Jeff Teunissen 06227cf37d Portability fixes, also use the new ProcAddress setup. 2001-06-27 07:52:00 +00:00
Jeff Teunissen aa7389e8b1 *** empty log message *** 2001-06-27 07:40:10 +00:00
Bill Currie 18ba72b544 shh!! :) 2001-06-27 04:18:39 +00:00
Jeff Teunissen d485ca1fb1 Still broken, but apparently it works for Mercury. 2001-06-26 02:59:37 +00:00
Zephaniah E. Hull 908d265212 Clean up and repair of the run time linking, does NOT work until deek
commits his gl_funcs.c.
2001-06-26 02:26:46 +00:00
Bill Currie 3dbc913903 this is C, not C++ ;) 2001-06-25 15:42:05 +00:00
Jeff Teunissen 5e1de4c8a7 Clean up gl_funcs.c, it's actually readable now. Unfortunately, it sig11s
for me. This may be due to the NVIDIA libGL problem (which they claim is a
bug in libc), but it could very well be that Mercury was right and we
can't have the same names internally as the libGL names. Even so, this
code will probably work on Windows.
2001-06-25 09:32:08 +00:00
Jeff Teunissen 3fbfa27fcd Woohoo. The QFGL_* function prefixes are gone again from the tree. It
might even work under Windows now, but don't get your hopes too high. :)
2001-06-25 06:17:07 +00:00
Joseph Carter 5184d64134 Fixed for very late OpenGL binding 2001-06-24 12:47:05 +00:00
Zephaniah E. Hull 3715430479 This is changing more then I wanted to at once, however.
The major change is that we no longer require libGL to even exist on the
system at compile time for the GL targets, we dynamicly link to the
libGL of choice at run time. (This probably breaks most non-linux
systems, and all GL targets except -glx, some fixup will be needed.)
(This also kills glquake, dead dead DEAD! GONE FOREVER! WHEE!)

Some gl_draw cleanup.

Commented out equake alias model occlusion test stuff, very experimental.

Added the .lo and .la patterns to the .gitignore files.

Some minor sbar cleanup. (We don't use the disc in use symbol for
anything.)
2001-06-24 09:25:55 +00:00
Bill Currie 560b475880 gcc 3.0 compile fixes 2001-06-19 22:05:13 +00:00
Jeff Teunissen c0915106e3 Even more correctness fixes. 2001-06-19 02:29:41 +00:00
Jeff Teunissen 5111376b46 Correctness fixes, some whitespace. 2001-06-19 02:26:19 +00:00
Jeff Teunissen 118645fd51 Property list updates. Objects of type QFDictionary are now hash tables
(and thus have a new simpler PL_ObjectForKey() function to get a value for
a key). Also, you can now call PL_FreeItem() on a plitem_t to free a
property list item and all of its descendants (if it has any).

Binary plist values are still not supported.
2001-06-19 02:10:47 +00:00
Bill Currie 3a94567913 Make Hash_FlushTable loop safe and correct the copyright notices 2001-06-19 02:01:18 +00:00
Bill Currie dda09dabd9 now compiles under mingw 2001-06-15 16:05:33 +00:00
Bill Currie 8c13809e9c don't process .S files when not using asm (either --disable-asmopt or non-x86
platforms). Done by moving the asm objects into libasm.la (yes, there's one in
each dir that needs it) so that the Makefiles don't explode.
2001-06-14 19:52:38 +00:00
Bill Currie 340e104778 /D'OH/!!! How many /years/ have I been working with linked lists and free? 2001-06-11 22:42:05 +00:00
Bill Currie dc5846948e re-enable asm for static builds 2001-06-11 20:59:48 +00:00
Bill Currie f4969d5d67 add some docs for the hash table api and move the include of stdlib.h to
hash.c (no longer needed in hash.h).
2001-06-11 19:37:25 +00:00
Bill Currie 75fbb80b96 make the hash table types opaque 2001-06-11 19:17:40 +00:00
Adam Olsen 9e19da13de function name cleanup. the sound mixer stuff (snd_dma.c, snd_mix.c, etc) use the SND_ prefix now, and drivers (snd_oss.c) use SNDDMA_ as before. 2001-06-10 15:48:24 +00:00
Adam Olsen 2195a9296c This thing was so far out of date, there's no point pretending it still exists in current cvs. 2001-06-10 15:01:07 +00:00
Adam Olsen 4486925f11 merge in the now obsolete snd_common.c 2001-06-10 14:25:19 +00:00
Bill Currie bbc97079e0 pr_comp.h:
define PROG_ID_VERSION as 6 and redefine PROG_VERSION as 0x00fff001
	(0.fff.001) for the new qc features.
pr_edict.c:
	support version 6 and version 0.fff.001 progs
qfcc.h:
	add version field to options_t
	add min_version field to opcode_t
pr_opcode.c:
	set the minumum version of each opcode (gee, that table is getting ugly)
	filter out opcodes with too high a min_version when initializing the opcode
	hash tables.
qfcc.c:
	update help output.
	accept --id to limit code generation to id compatable (ver 6) progs.
	default progs generation to 0.fff.001
2001-06-09 06:25:33 +00:00
Joseph Carter 22e4ce887f Include files for gib have been relocated out of include/ 2001-06-08 18:46:26 +00:00
Bill Currie b9f35283f4 make dist fixes + a --disable-asmopt fix for mingw 2001-06-08 02:47:30 +00:00
Bill Currie 62c783f47a eval_t is no more: too many evil casts involved in using it (which can result
it bad code being generated by gcc).
2001-06-08 00:13:06 +00:00
Bill Currie b2cd7c6c36 refine the test for compiling outb 2001-06-07 23:03:10 +00:00
Bill Currie 3009d0e0c8 fix up some overzelous s/// 2001-06-07 22:15:37 +00:00
Bill Currie 521b86f56a Massive clean up of progs accessors. Just the cleanup of the casts fixed the
CustomTF doors issue.
2001-06-07 21:59:24 +00:00
Bill Currie 2fa5437303 correct a comment 2001-06-07 17:11:34 +00:00
Bill Currie 3b2cf03b99 mingw compile fixes (vid_wgl.c isn't the right thing) 2001-06-07 16:44:22 +00:00
Bill Currie e9c01870b3 provide outb for when not optimising 2001-06-07 16:12:21 +00:00
Bill Currie ab9e025078 don't build cd or sound libs/plugins when not building clients 2001-06-07 03:37:05 +00:00
Bill Currie 2bc94ea66f progs.h:
add no_exec_limit field. Set to 1 to disable the runaway loop check
	for unlimited runs (eg, in qwaq)
pr_exec.c:
	don't bother checking the profile counter if pr->no_exec_limit is set
pr_strings.c:
	free unreferenced dynamic strings rather than referenced.
2001-06-06 18:10:47 +00:00
Bill Currie 22f465dabe use field_offset to hide the nastyness 2001-06-06 16:10:28 +00:00
Bill Currie 37661f3cce allow NUM_FOR_EDICT to work with a null edict no matter what (hopefully not a
bad thing)
2001-06-06 00:38:05 +00:00
Bill Currie ce014fc5c7 use memcpy instead of ugly casts to transfer locals 2001-06-05 23:57:51 +00:00
Bill Currie 735a35b2f9 compile fixes from Artur Frysiak <wiget@pld.org.pl> 2001-06-05 17:23:03 +00:00
Joseph Carter 4a0d453b48 The gfx.wad error is now idiotproof! 2001-06-05 08:39:27 +00:00
Bill Currie e339e82c01 hash.h is now const correct as is a lot of qfcc 2001-06-04 04:52:14 +00:00
Bill Currie 275e74161b string comparison operators 2001-06-04 03:36:35 +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
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 88d536933f move the creation of the cd command to cd.c 2001-06-02 04:36:42 +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 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 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
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 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