Commit graph

365 commits

Author SHA1 Message Date
Bill Currie
b10b829260 amputate an 8M cacerous growth from the memory footprint of the clients 2001-02-08 19:24:27 +00:00
Jeff Teunissen
6da731fec1 Clear packet entities when they are removed. This fixes a bug in particle
trails, and possibly others as well.

Eliminate cl_oldvisedicts and cl_visedicts_list, change cl_visedicts's
definition to compensate. It isn't used any more, so they just waste
memory.
2001-02-08 17:43:14 +00:00
Bill Currie
3320cf5e2c cl_demospeed cvar. 1 = normal speed, < 1 = slow-mo, > 1 = timelaps.
host.h:
	remove Host_SimulationTime prototype
cl_main.c:
	cl_demospeed stuff. Host_SimulationTime was resurected because of gcc
	warnings about setjmp clobbering vars. It's made static inline so its
	resurection doesn't cost fps.
2001-02-07 20:15:33 +00:00
Ragnvald Maartmann-Moe IV
800ee05584 More whitespace than you can shake a shambler at. 2001-02-07 05:45:59 +00:00
Bill Currie
e32119aa3c forgot to commit this with in_x11.c 2001-02-07 04:57:38 +00:00
Bill Currie
367fee1dc6 add HAVE_WINSOCK_H 2001-02-06 19:54:26 +00:00
Bill Currie
b443a0254e rev version for beta7 2001-02-06 00:29:16 +00:00
Bill Currie
345d34c386 fix make dist 2001-02-06 00:23:31 +00:00
Bill Currie
2079b73194 fix gl_conalpha/scr_consize interaction 2001-02-03 04:04:22 +00:00
Bill Currie
4d08e219d9 make edict_t.v a union of entvars_t and pr_type_t[] 2001-02-02 21:22:35 +00:00
Bill Currie
ff12a738b5 Linux frame buffer support from Ryan Nielsen <ran@gondolin.fortyoz.org> (thank
you). While not yet fully functional, it compiles and runs to the point of
failing to find a mode (probably my fault, that:), but there's no mouse
support yet and the keyboard input isn't playable.
2001-02-02 05:56:53 +00:00
Ragnvald Maartmann-Moe IV
161973d75a Cvar cleanup.
gl_smooth is now gl_dlight_smooth
gl_smoothdlights was redundant, is now gone
gl_flashblend is now gl_dlight_polyblend
gl_lightmap added to enable/disable lightmap updates independently of use of gl_dlight_polyblend
2001-02-01 19:53:15 +00:00
Bill Currie
20a885c174 clean up the #define mess in progs.h. While I doubt this will fix the null
function crashes, at least the code is easier to read.
2001-02-01 08:38:25 +00:00
Ragnvald Maartmann-Moe IV
e930c800f0 Rename gl_particles to r_particles, and allow software to disable particles as well. Thanks sergio! 2001-01-29 00:13:01 +00:00
Bill Currie
a24894dc70 progs modularity improvements. what WAS sv_progs is now sv_pr_state, qwprog is
now sv_progs and the progs loading code no longer falls back to qwprogs.dat or
progs.dat. Also, call SV_Progs_Init_Cvars (forgot to do this earlier)
2001-01-28 23:27:48 +00:00
Zephaniah E. Hull
c316ae0069 Cleaned up a lot of fixmes. 2001-01-27 04:58:07 +00:00
Ragnvald Maartmann-Moe IV
4717448bd6 Minor lighting cleanup, plus fix minor bug (loss of color on nearby dlights). 2001-01-27 03:01:09 +00:00
Ragnvald Maartmann-Moe IV
9b0cea79ed Remove unused #define. 2001-01-27 02:59:33 +00:00
Thad Ward
c8ab801128 qw_client.dsp and makefile.mgw:
remove vid_win.c from the projects. no longer needed after taniwha's
    cl_main changes.

cl_main.c:
    remove #include "winquake.h", which is not needed

vc/config.h:
    add #define HAVE_WINSOCK_H
2001-01-25 21:16:43 +00:00
Bill Currie
97ff9b38da add .vimrc 2001-01-24 20:17:12 +00:00
Dabb
8fd94ff199 Add HAVE_WINSOCK_H 2001-01-24 19:25:39 +00:00
Bill Currie
21654b12e5 server builds (and works, thanks for the test, Dabb) and an sdl client attempts
to link.
2001-01-24 17:41:34 +00:00
Bill Currie
733d55603c partial fixes for cross-compiling using mingw32. MIGHT break normal builds 2001-01-24 00:06:58 +00:00
Zephaniah E. Hull
f6b12b12e3 More fixes for the loc code. 2001-01-23 14:48:05 +00:00
Zephaniah E. Hull
33b135f3dd locs and teamplay: Minor cleanup. (locisgz!? Gone!)
gl_dyn_part.c: Minor cleanup.
2001-01-23 14:36:53 +00:00
Chris Ison
6bea8babbe tidied up locs code and changed loc commands to loc <args> 2001-01-22 23:23:28 +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
90f206ba5d move the definition of skin_t from client.h to skin.h 2001-01-20 04:10:12 +00:00
Forest Hale
5931dd6d80 added SKINBASE to win32 config.h files 2001-01-20 01:45:21 +00:00
Bill Currie
de137aa864 reserve some texture numbers for player skin fullbrights 2001-01-19 06:16:40 +00:00
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