Commit graph

123 commits

Author SHA1 Message Date
Bill Currie
459f7f3087 apply WildCode's portability helping patch 2000-09-26 01:59:16 +00:00
Jeff Teunissen
ad9168db1d "gamma"/v_gamma cvar gone. It wasn't useful in GL, and the brightness and
contrast cvars more than make up for its loss. Both are available from the
options menu now, and what's more, the contrast cvar works properly in GL,
unlike newtree where it seems to have a weird cutoff problem.
2000-09-24 14:15:06 +00:00
Bill Currie
50b5c7776e use more than one scrap. haven't needed this yet, but it doesn't hurt 2000-09-24 04:05:09 +00:00
Bill Currie
20ff12319a in_x11.c:
turn off autorepeat on startup
vid_x11.c:
	remove autorepeat controll. wrong place for it.
2000-09-24 03:08:28 +00:00
Bill Currie
a18c68fdad port over the alias skin group fixes from newtree 2000-09-24 02:37:44 +00:00
Bill Currie
cc8d0329d6 try to fix gl_flashblend 1 2000-09-23 02:13:47 +00:00
Bill Currie
49255645c6 config.h.in is generated by bootstrap 2000-09-23 01:50:51 +00:00
Bill Currie
ebecdf9331 fix compile error 2000-09-23 01:39:00 +00:00
Bill Currie
10c6a3a42f quakeio.c now compiles with newer glibc versions (fpos_t changed)
vid_glx.c has some unsigned changes ported over from newtree
the rest have had fclose and fopen converted to Q*
2000-09-22 17:07:42 +00:00
Bill Currie
44e9299f29 missed this fopen->Qopen conversion 2000-09-22 15:32:58 +00:00
Forest Hale
fb028dcd6f optimized R_MarkLights (no longer checks sky/water, less recursion) 2000-09-22 04:58:49 +00:00
Bill Currie
7dc163eb61 sprintf -> snprintf 2000-09-21 16:23:51 +00:00
Bill Currie
ec896dce6f add desti's nodga patch with modifications to control the grabbing of kb and
mouse input
2000-09-21 16:23:27 +00:00
Jeff Teunissen
0e3df0b239 mmap should set PROT_READ|PROT_WRITE, not just PROT_WRITE. Takes care of a
problem with FreeBSD. Also, check for MAP_FAILED instead of
(unsigned char *)-1
2000-09-21 06:28:15 +00:00
Bill Currie
29635fb5d5 zlib support now works 2000-09-20 01:29:59 +00:00
Bill Currie
53a3a217eb add hammerfall. How I'm going to test this, I have no idea (I wonder if I can
convince PBD)
2000-09-20 00:13:31 +00:00
Bill Currie
a8e188eb5c zlib now linked in. I'll test tonight at home 2000-09-19 23:01:46 +00:00
Bill Currie
9752037248 add the z flag to the appropriate Qopen/Qdopen calls 2000-09-19 22:42:52 +00:00
Bill Currie
279d332373 first steps to getting zlib support in 2000-09-19 22:32:45 +00:00
Bill Currie
dd3b346d4f add -game foo handling 2000-09-19 16:58:17 +00:00
Bill Currie
e0679ee1bf accept sound format paramtetsr and snd_alsa_0_6.c currently doesn't support
stereo for non-interleaved devices until I figure out how to get it to work.
Kind of hard when I don't have such a device :(
2000-09-19 04:53:53 +00:00
Bill Currie
d68561ccad clean up shm->samples setting 2000-09-18 18:50:09 +00:00
Bill Currie
d6544ea871 added :) 2000-09-18 18:49:05 +00:00
Bill Currie
1900df8da6 force color 255 to black and fix x11 handling when the display can't be had 2000-09-18 15:18:51 +00:00
Bill Currie
258cceffee ALSA 0.6 support added. old snd_alsa.c renamed to snd_alsa_0_5.c 2000-09-18 02:49:59 +00:00
Bill Currie
7605d9d17e hehe, player skins were totally borked for the last 3 weeks :/. They're now
fixed :)
2000-09-16 19:28:13 +00:00
Jeff Teunissen
18aa60183d *** empty log message *** 2000-09-16 09:45:52 +00:00
Bill Currie
d2708c4bc1 at last, fullbrights work fully :) 2000-09-16 09:22:42 +00:00
Bill Currie
5cf177294d forgot about multitexture for fullbrights 2000-09-16 08:50:12 +00:00
Bill Currie
7f785632c0 brush model fullbrights are now implemented and seem to be working. They can
be toggled using gl_fb_bmodels (default on).
2000-09-15 04:46:22 +00:00
Bill Currie
4b67ed54c4 preparations for giving bmodels fullbrights. Fullbright detection has been
moved from gl_model_alias.c to fl_model_fullbright.c and Mod_LoadMMNearest
has been renamed to Mod_ProcessTexture.
2000-09-14 06:42:07 +00:00
Bill Currie
60afa90414 getting closer to a linking nuq-ded 2000-09-12 20:12:29 +00:00
Bill Currie
5330a869a1 client and server selection now work. Also fix a couple of spelling errors 2000-09-12 19:13:41 +00:00
Bill Currie
ffada45133 the beginnings of support for nuq-ded have been added. Also, the begginings
of support for controlling which targets are built
2000-09-12 18:29:02 +00:00
Bill Currie
42bf156a01 merge the model_merge branch into HEAD. This chops up the model loading code
into something a litter easier to maintain (I hope) as most common bits have
been merged. I'm not 100% satisfied with alias frames, but that can wait till
later.

NOTE: d_copy.S currently ALWAYS produces asm output. This IS a bug, but I was
too lazy to convert it to C (hopefully it won't matter as I think svgalib is for
x86 Linux (and *BSD?) only anyway.
2000-09-12 00:56:52 +00:00
Bill Currie
11a8d450c7 merge in bug fixes from HEAD into model_merge in preparation for merging the
other way.
2000-09-11 23:43:57 +00:00
Bill Currie
13e5ef92d3 sw no longer segs!:) I'm not 100% satisfied with how I attacked frame loading,
but I'll look into that later. I was getting tired of not having a running
program on this branch. Basicly, frames loading needs a little more study.
2000-09-11 23:17:55 +00:00
Bill Currie
2322b564b9 now builds with --disable-asmop. NOTE: d_copy.S is still used anyway (too lazy
to figure out how to do it in C)
2000-09-11 23:13:06 +00:00
Bill Currie
81400a6374 add .vimrc 2000-09-11 15:31:46 +00:00
Bill Currie
73162d8783 the model merge hack is almost complete. gl works but sw sefaults due to
the alias model verts, tris and frames not being loaded correctly.
2000-09-11 05:28:04 +00:00
Bill Currie
5bdd5c0ec4 default gl_lightmode to 0 which is more reasonable for normal quake 2000-09-10 01:51:11 +00:00
Bill Currie
4b393f7310 port over a sound init fix from oldtree that prevents a crash if sound doesn't
init properly
2000-09-07 17:34:46 +00:00
Bill Currie
ff69e3f2f3 brush model code has now been merged. common stuff in model_brush.c, gl and sw
specific stuff in gl_model_brush.c and sw_model_brush.c respectively.
2000-09-05 19:58:08 +00:00
Bill Currie
69706f997e sprite model code merge done. model_sprite.c is the common code while
gl_model_sprite.c and sw_model_sprite are just the gl/sw specific code
(Mod_LoadSpriteFrame).
2000-09-05 17:59:11 +00:00
Bill Currie
1ab1dd2683 bah, forgot to save this one :/ 2000-09-01 17:32:42 +00:00
Bill Currie
50bd641616 ok, the chopped up model files compile and sw seems to work just fine. Don't
know about gl yet (probably won't until either monday or tuesday; hence the
branch)
2000-09-01 17:07:28 +00:00
Bill Currie
c7d8fb3773 preliminary work on really cleaning up *model.c. atm, just split out the model
type specific code into the appropriate files (which will later be merged as
much as possible) and remove all model type specific code from model.c.
gl_model.c is no more as it ended up being an exact copy of model.c minus a
header include and a prototype, neither of which were needed.
2000-09-01 04:43:56 +00:00
Bill Currie
16101a8d0b add the maplist command 2000-09-01 04:35:05 +00:00
Zephaniah E. Hull
16614d8e71 -3dfx now compiles and works correctly.
Fixed a segfault case in starting.
2000-08-31 20:23:20 +00:00
Bill Currie
f698534b79 gl_part.c:
do the GL_BLEND thing for R_UpdateFires. Fires just don't look so
	good without it :/
model.c:
	correct some "spelling" mistakes.
2000-08-31 05:10:50 +00:00