Commit Graph

335 Commits

Author SHA1 Message Date
Bill Currie 6d09465ade better put this one in while I'm at it with that overcommit before 2001-01-19 04:01:40 +00:00
Bill Currie 186bec3342 remove the hardcoding of qw from all but the default server gamedir. This
should take care of skin downloads when using --with-newstyle
2001-01-19 03:36:08 +00:00
Bill Currie fc70d429bb skin.c:
Rip out the pcx loading code and use LoadPCX instead.
pcx.h:
	remove the data field from pcx_t: it was messing with gcc's idea of the
	structure size. also, update LoadPCX's prototype
pcx.c:
	change LoadPCX to return tex_t (new type in texture.h) and take a new
	param: convert. LoadPCX will now wither load raw 8 bit or convert to
	rgba on loading depending on convert. Also, make LoadPCX WORK and use
	Hunk_TempAlloc to store the resulting texture.
texture.h:
	define tex_t. defines an in-memory texture (either 8 or 32 bit, depending
	on the presense of a palette). Data comes immediately after the sturcture.
	eg tex_t *tex = Hunk_TempAlloc (sizeof (tex_t) + count)
2001-01-18 10:20:36 +00:00
Bill Currie aab3c199a2 more skin cleanups 2001-01-17 08:43:26 +00:00
Bill Currie 45bacc2b60 second step of skins re-work 2001-01-17 07:28:34 +00:00
Bill Currie e9ed2d1a40 white space 2001-01-16 23:11:51 +00:00
Bill Currie c6a06f6dc6 bump MAX_STUFFTEXT from 256 to 512 so pox will run 2001-01-16 03:29:21 +00:00
Bill Currie bae13155b4 fix a segmentation fault in PR_PrintStatement caused by bogus prototypes 2001-01-16 03:15:23 +00:00
Bill Currie bbac14a7d5 commands now sport descriptions (currently "No Description", but then I'm a
lazy bastard:)
2001-01-15 17:07:06 +00:00
Dabb 936f1f55bb Function defs for packet logging. 2001-01-15 16:55:44 +00:00
Bill Currie 26a2d6a3de GL alias model meshes are now doubly protected from corruption and model
mismatch. First, the md4 checksum is stored in the mesh, and the md4 checksum
of the mesh and the model checksum are also stored. If, on loading, either
checksum fails, the model is re-meshed.

include/mdfour.h:
	Add define for MDFOUR_DIGEST_BYTES
source/.gdbinit
	setrom _windowed_mouse 0 so mods don't make debugging difficult
source/model_alias.c:
	pass original model data and size to GL_MakeAliasModelDisplayLists
source/sw_model_alias.c:
	GL_MakeAliasModelDisplayLists take (but ignore) new params
source/gl_mesh.c:
	do md4 checksums on the model and mesh
2001-01-15 06:50:59 +00:00
Bill Currie 7d8fb5901e ipv6 support. TOTALLY untested except for compile time. 2001-01-15 04:09:07 +00:00
Jeff Teunissen 84ad232ed0 Getting ready for 0.2.99beta6... 2001-01-11 10:07:19 +00:00
Bill Currie cea0adf4ff use a saver version number :/ 2001-01-11 08:51:59 +00:00
Thad Ward 8290955813 get MSVC back up and running again. 2001-01-11 08:43:11 +00:00
Bill Currie 35c50a73d0 updated 2001-01-10 03:36:53 +00:00
Jeff Teunissen d41da03640 glquake.h: Whitespace, a new convenience check #define for multitexturing.
qfgl_ext.h:
Add protection against multiple includes of extensions from different files.
Add defs for GL_EXT_paletted_texture.
Change the #ifndef conditional for shared palettes to
GL_EXT_shared_texture_palette.
2001-01-09 00:25:31 +00:00
Bill Currie b66c22d0e5 flickering rocket/lava lights are dead and cvars now support vectors (archiving
broken atm).
2001-01-08 07:07:48 +00:00
Dabb 127b5e4610 Added GL_SHARED_TEXTURE_PALETTE_EXT. 2001-01-06 08:12:42 +00:00
Jeff Teunissen fc005fc215 Cleanup of extensions, they are no longer defined in glquake.h. In
addition, removed support (for now) for SGIS and EXT multitexture. It
allowed me to enhance support for ARB multitexture, which is better anyway
(especially for Radeon, but that won't get special support yet until we
need a third texture pass).

Updated the Unix 8-bit GL code to be more like the Windows version, which
may work better. It still defaults off, because many drivers have bugs in
their handling of the shared texture palette extension.
2001-01-06 07:29:17 +00:00
Jeff Teunissen 20784c33fd Include qtypes.h, caused a problem here 2001-01-06 07:21:52 +00:00
Bill Currie 8706ada7c6 some compile fixes for vc (hopefully) 2001-01-05 21:10:41 +00:00
Dabb a8c5bf0812 Added #define ZERO_ARRAY_LENGTH 2001-01-05 15:25:20 +00:00
Bill Currie dd5363cdb5 commands and aliases now use hash tables 2001-01-04 20:51:35 +00:00
Ragnvald Maartmann-Moe IV 9099a7175e Whitespace, and header sort. 2001-01-04 19:57:26 +00:00
Bill Currie 68dfbd6729 forgot to add hash.h for make dist 2001-01-04 19:11:18 +00:00
Bill Currie 381f5b6df4 cvars and cvar alias now use a hash table for lookups. commands and aliases
coming soon :)
2001-01-04 19:10:38 +00:00
Bill Currie e2798548a8 make mingw compatable 2001-01-04 18:25:57 +00:00
Bill Currie 8b78d845df add sv_pr_cmds.h to extra-dist 2001-01-04 15:46:00 +00:00
Bill Currie c3a0e96c46 forgot the fscking header file, didn't I? 2001-01-04 05:59:51 +00:00
Bill Currie 81620d5245 fix a crash in progs code caused by a bad prototype 2001-01-04 05:44:53 +00:00
Bill Currie 5e86c729fa now progs and server really are separated :) 2001-01-03 07:08:28 +00:00
Bill Currie 0192ed40c3 the progs engine and the server are now completely independent paving the way
for CSQC.
2001-01-03 05:54:35 +00:00
Bill Currie 2debf6f669 now only svs is reverenced where it shouldn't be, and that's to set info
strings (skybox and *progs). skybox is easy to take care of (aditional parse
functions), but I haven't yet decided what to do with *progs. Also, progs code
needs a bit of a cleanup, but that will come later.
2001-01-02 03:22:46 +00:00
Dabb 5ba9c66816 Nuked unused "texture_mode" - probably leftovers from old stuffs. 2000-12-31 13:59:19 +00:00
Bill Currie b6c832d900 while not 100% complete (sv is still referred to as well as r_skyname), the
progs engine no longer refers to any global vars. This alows for multiple progs
being loaded (NOTE: NOT multiple mods, but (eg) for various protocol
extensions) and, once the last couple of issues are taken care of, CSQC.
2000-12-31 07:43:09 +00:00
Dabb 2bd3c73d0c Added HAVE_STRING_H 2000-12-30 18:45:03 +00:00
Dabb ed7e9b001f Some more defs. 2000-12-30 11:48:54 +00:00
Bill Currie 1e9779f1ca die, borland, die 2000-12-30 05:40:39 +00:00
Bill Currie 886c1d10bc too early to do that :/ 2000-12-30 05:21:56 +00:00
Bill Currie ee47b4d568 a start on a #include audit for the header files and misc fixups for win32 2000-12-30 05:18:48 +00:00
Bill Currie 5f21837c33 cleanup the includes in host.h 2000-12-30 03:23:31 +00:00
Bill Currie f29ea7f1d3 fix up <> vs "" in #includes 2000-12-30 03:07:15 +00:00
Bill Currie 60fe4aea40 forgot these 2000-12-30 02:25:58 +00:00
Dabb 477bcf51b0 Win32 sound cleanups - phase1 2000-12-29 15:20:12 +00:00
Bill Currie 73980fe852 make qf-server REALY sleep when there are no clients currently connected 2000-12-29 05:32:24 +00:00
Bill Currie c71fc78360 it was decided the menu code should return until release. here it is with the
gettimeofday -> Sys_DoubleTime change (though I'm having some operational
issues (non-critial) with the server list).
2000-12-29 03:14:53 +00:00
Dabb 0e3072728f Mingw support for ppl without configure :-) 2000-12-27 15:18:27 +00:00
Zephaniah E. Hull 01238243c1 Due to snax's ping stuff not compiling under windows, I did a little
cleaning.

Specificly, the entire menu system has been completely and utterly
removed.

Flame me AFTER writing a replacement. <=:]
2000-12-26 17:41:26 +00:00
Brian Koropoff 0210465303 This update changes the server list layout and adds server pinging and querying support. Use 'p' to update pings, 's' to update status information, and 'u' to do both at once. Feel free to abuse this and report any bugs that you find. 2000-12-25 02:36:36 +00:00