Commit Graph

33 Commits

Author SHA1 Message Date
Bill Currie c6e087015c command docs patch from Misty-chan because his access hasn't completely come
through yet.
2001-02-06 02:56:14 +00:00
Bill Currie 054f659078 this SHOULD take care of skin crashes on a permanent basis. The problem in
beta6 was caused by the player skin being set to 0 when it shouldn't be on any
userinfo change, and thus even changing rate would cause the client to seg.
Now, the player skin gets set to 0 only when the skin changes, and while there
still seems to be an opening for a segfault (which this patch closes), I still
couldn't get the client to seg with recent code.
2001-02-04 22:47:07 +00:00
Ragnvald Maartmann-Moe IV 603a88c160 Whitespace and typos. 2001-02-03 07:39:45 +00:00
Bill Currie 8d3c85349a add a FIXME comment 2001-01-24 00:02:43 +00:00
Bill Currie 591577f6ef skin.c:
skins must always be loaded into a 320x200 buffer
sv_user.c:
	disable redirect for kill
2001-01-20 20:55:00 +00:00
Bill Currie 1444bac78d fullbrights on player skins now work properly instead of using the fb skin
of the player model.
2001-01-20 06:47:01 +00:00
Bill Currie de137aa864 reserve some texture numbers for player skin fullbrights 2001-01-19 06:16:40 +00:00
Bill Currie e365e174a7 d'oh, forgot to remove the == 0 2001-01-19 04:00:02 +00:00
Bill Currie 5d15e27a3e pcx.c:
forgot to close the skin file.
skin.c:
	seeking within a file inside a pak does NOT work for SEEK_SET and SEEK_END
	so load the whole file at once into memory and change processing
	accordingly. The Hunk_*Alloc calls work nicely because the file is loaded
	into the lower hunk space while the tex is allocated from the temp space
	which is in the high hunk space.
2001-01-18 19:09:37 +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 8a4dfbf615 "Checking ..." messages will now be seen immediately rather than after the
next message.
2001-01-15 07:42:00 +00:00
Bill Currie ccba39666b #include audit 2000-12-30 02:16:36 +00:00
Jeff Teunissen f9022537ee Whitespace. 2000-12-28 06:58:56 +00:00
Jeff Teunissen 54e2a4d9d3 Okay, the big whitespace reformat. There is some silliness (case
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Bill Currie 3feecbde94 cvar doc patches from Misty 2000-12-07 03:02:12 +00:00
Jeff Teunissen 7b82e44ca1 Fix PCX loading on big-endian systems 2000-12-01 08:59:44 +00:00
Zephaniah E. Hull 13bd5ce012 The init sequence cleanup!
Also broke up client.h into a lot of smaller headers.
Oh, software rendering works again.

And yes, this does hit a hell of a lot of files.
2000-10-29 15:35:24 +00:00
Bill Currie 06e50ba0c9 chop up gl_warp into gl_sky, pcx and tga. also break out pcx stuff from client.h 2000-10-28 19:58:22 +00:00
Bill Currie d295f183ba remove va from commdef.h and fix the consequences 2000-10-21 07:34:56 +00:00
Bill Currie 2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Jeff Teunissen 71b841adeb Cvar audit; These files set cvars improperly, by changing their values
without using Cvar_SetValue ().
2000-09-25 06:36:50 +00:00
Anton E. Gavrilov a1982a0f75 CVAR_FIXME cleanup. 2000-06-10 00:23:56 +00:00
Bill Currie af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Bill Currie 832af13c12 all files now include config.h 2000-05-17 10:03:19 +00:00
Dan Olson 1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +00:00
Yan Sweitzer 1efb92f899 sprintf -> snprintf
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Joseph Carter 6e37b33f44 sys.h is no longer part of quakedef.h
sys_wina.S is now sys_x86.S (same as now gone sys_dosa.S, used on Linux too)

Updated Linux Makefile to reflect above

Linux translation table thingy now compiles properly
2000-05-14 16:56:28 +00:00
Bill Currie 3f0635e210 remove sys_win.c.client. if it's still needed, it's in cvs
remove some GLQUAKEs from tho others. no client builds atm :(, but then neither does the server :/
2000-05-12 23:45:09 +00:00
Joseph Carter 38f9b705b9 Whee! Every source file just got edited. Added the QF-style GPL header
to the top.  What I didn't add was descriptions.  Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Dan Olson b139acafc2 ^M cleanup, and qw-server compiles with -Werror 2000-05-10 20:33:16 +00:00
Joseph Carter d859383680 Initial revision 2000-05-10 11:29:38 +00:00