Commit graph

382 commits

Author SHA1 Message Date
Bill Currie
c60c3892e5 add some missing headers 2000-10-28 20:00:42 +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
Zephaniah E. Hull
5d07b61d7a The big particle rework!
Lots of changes, more then I can cover quickly.
Things now look, different, and probally much better!

Note, SOFTWARE RENDERING IS BROKEN with this commit!
2000-10-28 08:02:08 +00:00
Jeff Teunissen
111274c12e Rev for beta 4 2000-10-28 07:35:42 +00:00
Jeff Teunissen
5bb2a9002c Change fires to a more visually-appealing red-orange color. Looks *killer*
Add -brighten arg to GL targets, to replace -gamma but still look nice.
"-brighten 2.5" brightens the palette by 2.5 times, to give a similar
effect to the brightness cvar, but without the dithering brightness
gives. This is a palette hack, which means it _can't_ be a cvar.
2000-10-28 07:11:37 +00:00
Bill Currie
a3dbf0f9da fix the screen offset caused by moving the mouse at just the wrong moment 2000-10-28 05:08:11 +00:00
Jeff Teunissen
e678502641 Mostly whitespace 2000-10-27 10:16:18 +00:00
Bill Currie
426aa7ff77 use the correct include delimitiers 2000-10-27 01:50:04 +00:00
Bill Currie
27465bc765 bring in Despair's (Ragnvald Maartmann-Moe IV, rmmiv@earthlink.net) clean up
of the gl setup code.
2000-10-26 06:08:09 +00:00
Zephaniah E. Hull
b9c0c95729 Misc cleanups. 2000-10-24 17:03:09 +00:00
Bill Currie
d295f183ba remove va from commdef.h and fix the consequences 2000-10-21 07:34:56 +00:00
Bill Currie
63fc732758 clean up the includes ov vid.c and bring over va.h from nuq 2000-10-21 07:20:57 +00:00
Bill Currie
dcd1201131 create VID_GetWindowSize in vid.c and use it elsewhere for window size
selection.  in_x11.c just had refs to scr_width and scr_height removed.
2000-10-21 07:15:30 +00:00
Jeff Teunissen
afae879d2e dga_check.h: DGA and VidMode check functions return qboolean, not
int. Cleaned up prototypes to not include variable names.

dga_check.c: Fix bug in DGA detection that lead to segfault.

in_x11.c: Better DGA input support for X targets; The -nodga parameter is
gone, it is now the in_dga Cvar, which is dependant on the _windowed_mouse
Cvar. in_dga is archived.
2000-10-21 05:30:34 +00:00
Jeff Teunissen
17ea696c0d One of the biggest things keeping -mem/-heapsize numbers up is the video
memory in software mode. This is now taken care of, the memory is now
grabbed using calloc.

On Unix systems and all systems using SDL, the default video memory is now
8MB. This should now be enough for almost everybody, unless you have some
truly huge maps and boatloads of sounds. The minimum memory allowable is
now down to 4MB, but complex maps and/or models can cause the game to quit
-- not like this wasn't a problem already with the old 5.3MB lower limit,
but there it is.
2000-10-18 10:16:11 +00:00
Bill Currie
1dd0f7ed0f Conditionally disable bunny hopping (speed jumping). To disable bunny hopping
on your server, put `serverinfo no_pogo_stick 1' into your server.cfg. It's
called no_pogo_stick for two reasons: the effect is called "pogo stick" in the
source code in a comment from the original id source code and also as a minor
(and very week:/) obfustication for `cheaters' trying to set it in their
clients. However, the client checks for no_pogo_stick in the server info and
forces it on when appropriate and having them in disagreement would only make
prediction a little screwy anyway :). BTW, when enabled this actually fixes the
original bug that allowed bunny hopping in the first place (though you still
get a jump grunt when you try to bunny hop; minor bug).
2000-10-15 04:26:09 +00:00
Jeff Teunissen
ced3051b20 Rev for beta 3 2000-10-14 07:11:53 +00:00
Jeff Teunissen
8903d650d2 Makefile.am: misc. fixes to changelog building.
input.h: Use int_val for freelook
cl_input.c: Use freelook macro instead of in_mlook.state
in_svgalib.c: freelook support and whitespace
in_win.c: whitespace and minor optimization in mouse support
in_x11.c: freelook support
vid_ggi.c: joystick support and minor opt in mouse support
vid_sdl.c: joystick support, freelook support, minor mouse opt, spaces->tabs
2000-10-13 05:36:46 +00:00
Bill Currie
4e1ea06a0d add locs.h 2000-10-06 23:47:11 +00:00
Bill Currie
c91fd814e9 turns out some like interpolated, others don't. snd_interp conrols this.
Defaults to on so those used to 11k sampling won't be too suprised.
2000-10-06 18:42:02 +00:00
Zephaniah E. Hull
70657119f3 Would help if I added locs.h and locs.c. 2000-10-06 16:31:53 +00:00
Zephaniah E. Hull
760dfb8541 %l %a %A %h, for say and say_team, not quite finished yet. 2000-10-06 16:30:37 +00:00
Bill Currie
21787a552f Add Qgetline for Mercury. Safely read in a random lenght line from a file. 2000-10-06 07:05:22 +00:00
Dabb
496de868dc Zlib support for BC win32. 2000-10-03 15:05:24 +00:00
Jeff Teunissen
85e0b2b6aa X11 targets have runtime caption setting now. 2000-10-03 07:10:48 +00:00
Jeff Teunissen
5b97739385 Rev Win32 config.h for beta 2, my last commit revved the Unix builds'
version numbers.
2000-10-03 02:55:35 +00:00
Bill Currie
677b7de94d %s/HAS_ZLIB/HAVE_ZLIB/g 2000-09-30 05:56:00 +00:00
Zephaniah E. Hull
e4c9ccff8f Cvar audit 1, all unused cvars are gone, with the exception of software
rendering, and the server.
2000-09-30 04:08:40 +00:00
Bill Currie
8601bc905b more fixes 2000-09-29 23:36:16 +00:00
Bill Currie
5c524ba2f0 server now compiles from make dist 2000-09-29 22:13:19 +00:00
Bill Currie
294b991cdc missing file from make dist 2000-09-29 21:59:00 +00:00
Zephaniah E. Hull
01a5c65e52 More cleanup, now working on the rendering line as a whole.
Con_SafePrintf is no longer needed, as Con_Printf is safe.
2000-09-29 19:29:22 +00:00
Thad Ward
c8e95a85fd added zlib support in the VC projects.
WARNING: re-read readme.win for instructions on getting this working
on your system, since it depends on zlib being installed on your system,
similar to the way mgl is done.
2000-09-28 19:52:46 +00:00
Dabb
6307c488f2 BC compile fixes. inline = __inline 2000-09-28 15:02:30 +00:00
Zephaniah E. Hull
d02d9e140b Oops, frogot the header.
Minor whitespace cleanup in gl_rmain.c
2000-09-28 08:05:09 +00:00
Bill Currie
1aa9084aa9 add support for COMPRESSED downloads!!! Of course, both client and server must
both support this. The client tells the server it can support compressed
downloads by setting the z flag in the *cap userinfo. If the server detects
that the client supports compression, and the file to be downloaded is
compressed (more accurately, has the .gz extension), the server sends a special
download packet with a size of -2 (-1 indicates error),, percent of 0, followed
by the new name of the file (eg maps/foo.bsp.gz for maps/foo.bsp). The client
WILL NOT accept a new filename that doesn not match the old name for the length
of the old name. The client also will not accept a new name if there are . or
.. path components. If the client rejects the new name, it prints a warning
message and aborts that download.
2000-09-28 06:11:55 +00:00
Zephaniah E. Hull
f6bfcfc82d State change cleanup, but saner code! 2000-09-28 00:22:24 +00:00
Bill Currie
86f87122c0 zlib support (gzipped pack contents). if you have a probelm with gzgets, you
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Jeff Teunissen
50abe6080e Joystick support generalized, autoconfiscated. Systems without joystick
support are built with joy_null.c. To create a joystick driver for a new
system, take a look at joystick.h and joy_null.c for the driver
interface. I'd like to see a Windows driver using this interface, it would
probably simplify in_win.c greatly.
2000-09-26 14:16:09 +00:00
Zephaniah E. Hull
68a4e60eaf Behold, the great state audit, and a few other things.
First off, a cleanup in alias model rendering.
Then we have R_CullBox, which is now a inline function.
Then the big one, the state change cleanup, right now GL_BLEND.
2000-09-26 09:03:21 +00:00
Bill Currie
fb55453675 David Jeffery's linux joystick support ala nuq 2000-09-26 03:21:06 +00:00
Bill Currie
9a4e650790 port over int_val from nuq. much better for integer cvars 2000-09-26 03:17:09 +00:00
Jeff Teunissen
bf2ec8da6d glquake.h: Comment out <GL/glu.h> -- may be used in the future, but we
don't use libGLU right now.

gl_draw.c: brightness/contrast are created in r_view.c, I'm a little
surprised this didn't cause a crash.

menu.c: Use bound() for sliders.
2000-09-25 04:12:58 +00:00
Bill Currie
9ece49b4e8 fix for Bug #105221 though it seems repeats were ignored anyway. this was done
by backporting the glx/x11 changes from nuq
2000-09-24 03:43:06 +00:00
Bill Currie
b88799880f fix alias model loading for when the model has groups. gdbinit added to ease
debugging
2000-09-24 02:34:35 +00:00
Jeff Teunissen
830d6e044e debian/*: Yaay, Debian packages. They're not perfect, but they should do
the job. -3dfx doesn't get a package built right now, there
are...obstacles.

acinclude.m4, configure.in, Makefile.am: -sgl is detected separately from
-sdl now, and HAVE_XMESA is no longer in use.
2000-09-23 08:06:40 +00:00
Zephaniah E. Hull
210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +00:00
Bill Currie
ddef594b2e gl bmodel fullbrights implemented. I hope. I'll find out for sure when I get
home.
2000-09-20 23:06:26 +00:00
Bill Currie
96aba78186 forgot to rename Mod_LoadMMNearest to Mod_ProcessTexture 2000-09-20 22:21:25 +00:00
Bill Currie
b55b0264b5 model loading reorg ala nuq. once again, gl hasn't been tested (will test when
I get home tonight). This is in preparation for bmodel fulbrights.
2000-09-20 22:11:17 +00:00
Jeff Teunissen
a3e19d5cc2 gl_screen.c: Minor tweaks, contrast gets clamped to 0.1-1 instead of 0.2-1
view.h: Add brightness, contrast cvars as extern
menu.c: Change brightness scroller to use the brightness cvar, add
contrast scroller.
r_view, sw_view.c: Add brightness/contrast cvars to software, and make
them work.
2000-09-20 04:06:12 +00:00
Anton E. Gavrilov
66a91044bb cl_parsesay --- parse $\ (fake); $[, $]; $R $G $B $Y (ocrana leds);
Note that this cvar is different from QWF's cl_parsesay.
cl_nofake --- unhide fake messages from other players
2000-08-22 18:54:01 +00:00
Anton E. Gavrilov
d46f19e7ae Add "overloaded" impulse command (e.g. impulse 5 4 1) --- a hack that
only works correctly in standard deathmatch but may be useful in TF too
2000-08-22 17:53:48 +00:00
Maddes Buecher
b72492afd3 EndFrame function by FrikaC/Maddes 2000-08-20 19:47:37 +00:00
Zephaniah E. Hull
b5e459d224 FULLBRIGHT SUPPORT FOR MODELS!
Yes, this means that your standard grenades, the pipebombs, proxys,
sents, etc will all have fullbright pixels!

As a added bonus they are toggable with the gl_fb_models cvar! But
there is more! This comes at a almost unnoticeable cost! Thats right!
For you get this all for only 2 FPS!

Repeat, thats 2 FPS! PRACTICALLY NOTHING!

So order now! Available from the quakeforge newtree CVS.
2000-08-16 09:26:22 +00:00
Zephaniah E. Hull
0b7385ca76 We need a slightly larger MAX_INFO_STRING, boosted to 512. 2000-08-15 02:41:36 +00:00
Zephaniah E. Hull
23d81824dc Old draw cleanups, frogot I had them around..
Clean up of Dabb's mess, he dies.
2000-08-14 04:53:45 +00:00
Dabb
afc467b84f Basic DoS flood attack protections. Use sv_netdosprotect 1 to turn them on.
(quite experimental, these might break something...)
Cvars added: sv_allow_log, sv_allow_status, sv_allow_ping, sv_netdosprotect
Commands added: netdosexpire, netdosvalues
2000-08-13 14:26:20 +00:00
Anton E. Gavrilov
f48c974c01 Added cl_deadbodyfilter and cl_gibfilter cvars 2000-08-02 22:50:28 +00:00
Jeff Teunissen
cf2f9a1233 Add teamplay.[ch] to makefiles, also found some necessary files that would
be missed by make dist.
2000-08-02 22:49:41 +00:00
Anton E. Gavrilov
fb545cb638 Intial checkin (just the header) 2000-08-02 21:09:46 +00:00
Bill Currie
92baf1a751 add gl_skymultipass to conroll whether the skydome is single or double pass.
Currently defaults to 1 (multipass, ie old behaviour).
2000-07-30 02:54:17 +00:00
Dabb
c29a59f262 VID_SetCaption (title) support. 2000-07-14 16:10:26 +00:00
Dabb
f934609bf2 Define GL_BGR, GL_BGRA if missing from gl.h. (win32 builds have v1.1 gl.h) 2000-07-06 09:36:31 +00:00
Forest Hale
968efda8ed Fixed up Endy's EXTEND support - everything should work now. 2000-07-01 04:56:13 +00:00
Forest Hale
99836b2862 Another include fix for software... (ugh) 2000-06-30 23:15:16 +00:00
Forest Hale
674e537a72 Includes for recent fixes. (forgot to upload them) 2000-06-30 23:10:23 +00:00
Zephaniah E. Hull
750457b368 Clean up after myself in the Z_* purge.. 2000-06-29 23:30:21 +00:00
James Brown
68ae22b1ac More changes, rendering effects like alpha and colormod SHOULD work :) 2000-06-29 14:32:27 +00:00
Bill Currie
b25d03c602 source/vid_glx.c:
#if 0 the signal code. wouldn't compile otherwise, but not game to
	nuke it just yet
include/win32/version.h:
	buggered if I know. fscking configure/cvs :)
include/glquake.h:
	remove size declarations from bubble_sintable and bubble_costable
source/gl_part.c source/gl_rlight.c:
	32 segments in a circle now instead of 16 and change the pointer
	math to cope
source/gl_warp.c:
	nothing much. just almost double my fps. (hint: the above tables)
2000-06-29 09:21:23 +00:00
Zephaniah E. Hull
29ef95a9b5 The end of Z_*!!
This after the Z_* stuff hit my profiling list as a top user..
2000-06-29 05:46:15 +00:00
Forest Hale
f17ed670d5 Fixed min and max redefinition complaint on win32. 2000-06-26 12:31:47 +00:00
Bill Currie
9bd5bd4ffb include/modelgen.h include/spritegn.h:
remove the INCLUDELIBS blocks
include/win32/version.h:
	ws changes. don't know why it's there in the first place (or generated
	by configure, but too bad)
2000-06-26 03:25:31 +00:00
Joseph Carter
39dcc9fdf3 The "Save Endy's Life" commit
Um, %d is not for floats, use %f
2000-06-26 02:35:40 +00:00
James Brown
089a0a35d0 Patched for QSG Standard 2 (Extend Protocol).
Unfinished, renderer effects are only half implimented at this point.
2000-06-25 13:00:19 +00:00
James Brown
3a77f62a33 Fixing the console build enviroment. 2000-06-24 05:57:11 +00:00
Joseph Carter
957068392d It is now possible to use 32bpp textures. It's not currently possible to
load them.  That comes later.
2000-06-23 08:43:32 +00:00
Bill Currie
5c0eb38c1b alpha doesn't do anything useful for flames, so remove it. 2000-06-22 08:02:36 +00:00
Joseph Carter
2693901bd1 gl_particles added - disable it to make particles not happen 2000-06-20 15:31:29 +00:00
Bill Currie
70b3327d77 gl client now builds again (thanks knghtbrd;) 2000-06-19 22:56:28 +00:00
Bill Currie
1246b26046 gl_fires/r_firecolor patch. Software client still builds and runs correctly,
but as I don't have GL at work, I have no idea if gl client still works, or if
rocket trails work (default to off). This is mostly a blind patch taking the
code from oldtree to newtree.
2000-06-19 22:15:18 +00:00
Anton E. Gavrilov
6024c0ce7f Solution for stufftext problem 2000-06-18 14:24:19 +00:00
Joseph Carter
32b13fb303 gl_finish - it's done
gl_ztrick - here's the hat, but no rabbit

considering that a buggy driver can make gl_ztrick into a sort of cheat if
you can stand the flicker, it's gone.  gl_finish was already a zombie Cvar
so I just removed its definition.
2000-06-17 13:30:39 +00:00
Bill Currie
ee3f88d57d add format checking to our printf style functions and correct the consequences
of this.
2000-06-17 12:27:59 +00:00
Bill Currie
18a9900b21 merge in knghtbrd's work, minus his over-bright stuff (it causes textures to
not be drawn when multitexture is not available (or at least I think that's
the condition)). More specificly, his altered blend states.
2000-06-17 10:39:28 +00:00
Bill Currie
acb5f4b21a revert Endy's HL changes. Sorry endy but what would you rather have: HL
support in quakeforge, or knghtbrd using your guts for violin strings? :)
2000-06-16 09:41:42 +00:00
Loring Holden
26c36382db client.h - add needed define of CL_ParseEntityLump() 2000-06-12 06:14:34 +00:00
James Brown
1d1529cb4b Sky & warning fixes. 2000-06-11 04:44:19 +00:00
Anton E. Gavrilov
092e377dc1 Add $-expansion code. 2000-06-11 02:57:08 +00:00
Zephaniah E. Hull
d3dbe394ce Woops, frogot to cvs add this one on the HL fix.. 2000-06-10 21:48:01 +00:00
Zephaniah E. Hull
b8a92f28dc Newtree compiles again, no promices that it will work though..
I'm tempted to pull Endy's CVS write abilitys until he promices
to make sure major changes at least COMPILE before he commits them.
(=:]
2000-06-10 21:40:31 +00:00
James Brown
957873f3bb Half-Life BSP support, and fixed that idiotic WGL multitexture crash. I don't know and don't care if other targets are also screwed this way :) 2000-06-10 03:36:28 +00:00
Joseph Carter
3287c0e38b ARB multitexture for glx, wgl, and 3dfx targets 2000-06-09 21:34:21 +00:00
Anton E. Gavrilov
3644a3056e host_frametime --> sv_frametime for server;
CVAR_FIXME cleanup.
2000-06-09 19:22:30 +00:00
Anton E. Gavrilov
39b83b626b Rename client_state_t to sv_client_state_t;
client_state_t cls ---> client_static_t cls;
2000-06-09 18:47:12 +00:00
Joseph Carter
a3e32e213e Draw_Character -> Draw_Character8
Draw_String -> Draw_String8
Draw_Alt_String -> Draw_AltString8

You know what this means right?  Draw_*16 is coming soon.  Very soon.
2000-06-05 01:05:25 +00:00
Joseph Carter
9a348350df Multitexture for GLX, sortof. It's useless to you unless you've got
SGIS_multitexture (I assure you, unless you're on IRIX, you don't have
it!)  Added a Sbar_Changed () to fix the sbar overbright for a few people
and the very beginnings of ARB_multitexture are now in glquake.h
2000-06-04 13:53:29 +00:00
Joseph Carter
19afb34084 This adds multitexture for win32 back into the game. 2000-06-03 22:32:53 +00:00
Marcus Sundberg
1af69a110f Replaced 40 lines of silly shellscript code in configure with a pair of
nice and clean #ifdefs in glquake.h
2000-05-31 22:53:07 +00:00
Marcus Sundberg
a087ac10b3 If we have stdarg.h and sys/types.h we include them here. 2000-05-31 22:51:53 +00:00
Joseph Carter
0f9bcaf22f -gamma for Linux! No you can't control it from the menu, it has to be
done on the cmdline at the moment.  Menu support later if possible.
2000-05-31 17:46:59 +00:00
Joseph Carter
38daae8b5a Seems to fix the DGA issue. Mouse cursor doesn't get hidden if we're in
DGA because the way we hide it doesn't mesh with Mesa+Glide.  There's a
way to do it properly, but it's more trouble than it's worth for now.
2000-05-29 13:42:33 +00:00
Joseph Carter
efb2d99e22 some oldtree cruft for rogue/hipnotic removed (we'll support them in a
very different way than did Id Software did later on, it'll be a major
improvement, that's for sure..)

fs_basegame Cvar created, defaults to whatever you selected in config.h,
most likely id1.
2000-05-29 12:45:05 +00:00
Dabb
b3a9432b70 Minor change for some borland defs. 2000-05-28 13:29:55 +00:00
Joseph Carter
ef1c6be3df New Cvar function: Cvar_SetFlags. Yes, it's there for completeness.
Some minor changes to DGA code I couldn't be bothered to back out before
I committed.  They don't hurt anything, but they don't really improve
matters much either.  The mouse cursor still doesn't get warped off the
screen, but it's no longer bright blue - now it's black and white like
normal.  I'm rewriting the damned DGA code from scratch to Get It Right
this time.
2000-05-27 16:40:36 +00:00
Jeff Teunissen
30d1dc1c87 Minor fixes. 2000-05-27 04:33:09 +00:00
Jeff Teunissen
2d0932e00e Configuration stuff. include/win32/version.h is now Autoconfiscated (but
still has to be in CVS, because Win32 people generally won't be able to
rebuild it).

configure.in: Cleanups to the DGA, VidMode, and sound detection code.
Makefile.am: Cleanups to sound code, to allow 'make dist' to work.
2000-05-27 04:19:24 +00:00
Joseph Carter
bf576c54d0 HAS_DGA -> HAVE_DGA (undefined in both cases) for win32
win32 global config is now .\global.cfg
Changed "        #define" to "#^idefine" for the 3dnow stuff..
2000-05-27 02:31:47 +00:00
Thad Ward
9761dc6732 added FS_SHAREPATH and FS_USERPATH 2000-05-26 03:40:13 +00:00
Dabb
16c06526c9 Borland fixes, to get it compile 2000-05-25 14:04:47 +00:00
Loring Holden
9e65b2c06d Make sure math.h is included before M_PI is tested 2000-05-25 06:08:12 +00:00
Bill Currie
43b5a87fbd some fixes to make quakeforge build on solaris. not quite done yet as the
server doesn't get linked with the network libs yet.

.gitignore: add quakeforge-*.tar.gz (I'm tired of seeing that with ? :)
include/Makefile.am: forgot to add the new x11 related headers
source/makefile.am: move snd_dma.c from cient sources to snd lib and add
	snd_null.c
source/cl_sys_unix.c: replace FNDELAY with O_NONBLOCK
2000-05-25 05:01:20 +00:00
Dan Olson
af98ae5fa5 Rename all Server_List_* to SL_* as well as some code cleanup. Does not fix
segfault
2000-05-25 01:38:52 +00:00
Joseph Carter
82c68a482b Explosions are temporarily PURPLE, deal with it.
Made dlight colors RGB as opposed to RGBA, the alpha doesn't make a whole
lot of sense.
2000-05-24 23:55:43 +00:00
Anton E. Gavrilov
4acb725dec Remove all remaining references to cachedir. 2000-05-24 10:44:29 +00:00
Bill Currie
b1da890046 alsa sound support is alive and kicking 2000-05-24 06:52:19 +00:00
Bill Currie
72ff6cb80b FS_.*PATH have been eliminated as fs_userpath and fs_sharepath default to . and
can be configured by ${sysconfdir}/quakeforge.conf
2000-05-24 05:57:56 +00:00
Bill Currie
7f193522f3 fix make dist 2000-05-24 02:32:47 +00:00
Jeff Teunissen
a45cefb3e0 Cvar fixups... 2000-05-24 02:07:53 +00:00
Jeff Teunissen
02eaf75b18 cvar cleanups. 2000-05-23 21:46:17 +00:00
Jeff Teunissen
5c27b5fa9d Remove obsolete glquake2.h 2000-05-23 18:05:49 +00:00
Bill Currie
3951d1fe4c bring across the VID and IN modules for svga, x11 and glx from OT. 2000-05-23 06:36:33 +00:00
Thad Ward
55d2328c77 added include/win32/version.h for the non-automake win32 builds will have a common place to get the version number.
also commented out the section of include/win32/?c/config.h that defined the versions and replaced with an include statement
2000-05-23 06:10:22 +00:00
Joseph Carter
3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Anton E. Gavrilov
a73a779486 Console editing stuff 2000-05-22 09:24:07 +00:00
Jeff Teunissen
476b299074 Fix conflict 2000-05-22 08:49:01 +00:00
Bill Currie
e68701838a white space cleanup for last checkin 2000-05-22 08:44:34 +00:00
Jeff Teunissen
c4a0462f93 missed an extra comment 2000-05-22 08:41:20 +00:00
Jeff Teunissen
c1fde8e2ca Fix comments 2000-05-22 08:40:21 +00:00
Bill Currie
2fd97f5eab header (C) block touch ups 2000-05-22 08:26:01 +00:00
Anton E. Gavrilov
d272b79bfa Add #define HAVE_FNMATCH_H 2000-05-22 08:15:36 +00:00
Jeff Teunissen
adcb479d77 Makefile updates for win32 targets 2000-05-22 07:32:00 +00:00
Anton E. Gavrilov
778b77c394 CL_ClearStates now generates key up event for each key that is down.
CVAR_FIXME cleanup.
2000-05-22 07:20:00 +00:00
Thad Ward
1cb980a02e removed a silly #else case on an ifdef 2000-05-22 07:07:01 +00:00
Thad Ward
6175d2e7bf updated VERSION to 0.2.0 for the release 2000-05-22 04:47:50 +00:00
Anton E. Gavrilov
6d3b7f22af #define _POSIX_ 2000-05-22 03:37:18 +00:00
Anton E. Gavrilov
a955b34f46 freelook cvar support 2000-05-22 03:15:30 +00:00
Anton E. Gavrilov
2b42f07798 quakefs.h now defines fs_userpath and fs_sharepath 2000-05-22 01:37:19 +00:00
Jeff Teunissen
d5f18435ec Misc. fixes. bound() is now defined, make dist works properly it seems,
missed a basepath/userpath, and fixed up the menu.
2000-05-21 23:01:36 +00:00
Anton E. Gavrilov
e1e329733c _POSIX_ is undefined temporary when io.h is included. Ugly, but it works 2000-05-21 22:59:40 +00:00
Bill Currie
1fda6e16c1 break up the honking huge line :) 2000-05-21 22:53:59 +00:00
Bill Currie
cc5e8e2b59 build.[ch] -> buildnum.[ch] related fixes 2000-05-21 22:39:28 +00:00
Anton E. Gavrilov
0f656e5f44 build.c is buildnum.c now 2000-05-21 22:13:01 +00:00
Anton E. Gavrilov
b6fcbb239a build.h must die 2000-05-21 22:06:03 +00:00
Marcus Sundberg
96ecbb71bf Fix ifdef around pragma. 2000-05-21 21:41:46 +00:00
Anton E. Gavrilov
c20699131e Add some #defines 2000-05-21 20:42:08 +00:00
Anton E. Gavrilov
f640667461 Disable MSVC warnings 2000-05-21 20:33:57 +00:00
Anton E. Gavrilov
234cfae009 MSVC doesn't have dirent.h 2000-05-21 20:30:44 +00:00
Jeff Teunissen
c40d97b99c s/fs_basedir/fs_userdir/g 2000-05-21 20:28:44 +00:00
Brian Koropoff
d9da49c2a9 The server address book now uses a linked list. I had some issues merging this with some of taniwha's changes, so it may not be perfect. Please test it. 2000-05-21 20:14:09 +00:00
Marcus Sundberg
6f5fe77ed2 Arm byte typedef with ifndef _DEF_BYTE_.
Include compat.h
2000-05-21 18:36:30 +00:00
Danne
c88a6fcccd Header fixups for win32 2000-05-21 11:32:35 +00:00
Danne
06ae81fd30 Config changes for bc win32 2000-05-21 11:29:53 +00:00
Danne
7f245155ce Header addons for win32 2000-05-21 11:29:27 +00:00
Bill Currie
ce25c13a65 command line and config file parsing ala OT 2000-05-21 09:49:25 +00:00
Joseph Carter
6bb69779a4 Fix make dist I hope 2000-05-21 09:48:36 +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
68ca31e417 port in q* from OT, and split of other things in prep for removing common.*
The use of these files isn't being committed just yet.
2000-05-20 09:42:02 +00:00
Danne
1bd34e0dc5 Added HAVE_MGRAPH_H 2000-05-20 08:07:47 +00:00
James Brown
fa06af16e4 Movetype_ppush stuff, take 1 2000-05-20 05:59:34 +00:00
Joseph Carter
f52c47388d SOLID_BSP fix (I hope) 2000-05-20 05:35:20 +00:00
Marcus Sundberg
c87243d94c Arm byte typedef with #ifndef _DEF_BYTE_ 2000-05-20 03:26:19 +00:00
Marcus Sundberg
ea61fa1d09 Don't use the Win32 pragmas with gcc. 2000-05-19 23:51:56 +00:00
Marcus Sundberg
ee3e144763 Misc fixes. 2000-05-19 23:31:28 +00:00
Dan Olson
aacad834e0 fix a compile error 2000-05-19 18:49:47 +00:00
Danne
0e7468bda8 Config.h for Borland C++ 2000-05-19 13:36:42 +00:00
Yan Sweitzer
440b2aec18 added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts
(work in progress, need to clean .c files as well)
2000-05-19 06:44:56 +00:00
Brian Koropoff
0140835694 Server list stuff added to newtree! 2000-05-19 04:33:12 +00:00
Joseph Carter
466344b359 Not as clean as it could be, but for now it will work. 2000-05-19 03:06:05 +00:00
Anton E. Gavrilov
f6887de132 Added SCR_UpdateWholeScreen(void) 2000-05-19 00:41:12 +00:00
Joseph Carter
0594dcfd33 loadsky command implemented:
loadsky skyname
		turns it on if env/skyname*.tga exists

	loadsky none
		turns it off, always.

Clientside support.  Serverside key needs to be added still
2000-05-18 20:32:11 +00:00
Thad Ward
9d4adec3d5 added visualc's config.h and got everything building again 2000-05-18 08:06:59 +00:00
Joseph Carter
0c93f0d1f2 Skybox support - just add env/*.tga!
Bring your own Cmd_LoadSky_f (), I haven't done that or the server code
yet.
2000-05-18 04:34:26 +00:00
Bill Currie
3d1ae7ea7c add Makefile 2000-05-18 02:24:33 +00:00
Bill Currie
64d00faa8f Apply theoddone33's cvar patch (he's having connectivity problems with tank) 2000-05-17 23:16:23 +00:00
Marcus Sundberg
22c85298f0 Changed #if USE_INTEL_ASM to #ifdef USE_INTEL_ASM and
#if !USE_INTEL_ASM to #ifndef USE_INTEL_ASM
2000-05-17 20:50:22 +00:00
Marcus Sundberg
46e80702d3 Moved compability macros and declarations into compat.h
Moved some common stuff from quakedef.h and qwsvdef.h into commdef.h
2000-05-17 19:52:41 +00:00
Jeff Teunissen
131cd2b99d You get the idea. 2000-05-17 18:32:30 +00:00
Jeff Teunissen
7647fdd484 Configure.in: minor changes.
include/* -- #defines so that you can #include them more than once.
2000-05-17 18:28:13 +00:00
Marcus Sundberg
91d0005d4f Added stuff in win32/ subdir. 2000-05-17 18:19:46 +00:00
Marcus Sundberg
0802eb72e2 Added Makefile.am with EXTRA_DIST statement so make dist works. 2000-05-17 17:26:31 +00:00
Thad Ward
6393325c6d added directories for the auto* impared compilers config.h files
(not sure if committing empty dirs works :/ )
2000-05-17 13:25:50 +00:00
Bill Currie
c83cb15ede id386 -> USE_INTEL_ASM conversion
better HAVE_SYM_PREFIX_UNDERSCORE checking
2000-05-17 11:57:35 +00:00
Jeff Teunissen
b493557f7f More .gitignore stuff, nuke old Makefiles, fix asm weirdness with
asm_i386.h
2000-05-17 11:25:33 +00:00
Jeff Teunissen
9f36417b5e Fix "_" problems. 2000-05-17 10:22:12 +00:00
Jeff Teunissen
ed16632673 Minor patch to configure.in, added a couple files to a few .gitignore
files.
2000-05-17 10:08:56 +00:00
Jeff Teunissen
906444dfca .gitignore files 2000-05-17 09:43:59 +00:00
Joseph Carter
f5bca8ba17 ghost crosshair bug fixed 2000-05-17 08:07:12 +00:00
Yan Sweitzer
64ac247e0c 2 more exports 2000-05-17 02:58:36 +00:00
Danne
01ab5f4fbe Borland fixes 2000-05-16 13:57:54 +00:00
Danne
b82af01381 Borland fixes. 2000-05-16 13:16:22 +00:00
Bill Currie
4a7f6dfbde getting closer to working glx client
(must remember to check in from top level dir)
2000-05-16 07:22:20 +00:00
Joseph Carter
00f00185f8 view lowering now does actually lower view. 2000-05-16 04:59:51 +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
2fe6997023 Microsoft _vsprintf -> vsprintf particularities 2000-05-15 09:01:47 +00:00
Anton E. Gavrilov
9b46606595 Applied keynum changes from the main tree 2000-05-15 00:33:32 +00:00
Anton E. Gavrilov
1e384f48eb Moved .extern C(BOPS_Error) from quakeasm.h to math.S;
Moved a bunch of .extern C's from quakeasm.h to snd_mixa.S
Removed references to quakeasm.h from math.S, snd_mixa.S, sys_x86.S, and worlda.S
2000-05-14 22:21:59 +00:00
Dan Olson
bfbfc01491 This would be the real fix for stuff left over from the #ifdef massacre.
The last two revsions were failed attempts to do this
2000-05-14 20:25:49 +00:00
Dan Olson
4312654fc2 Merc's speed cheat code ported from oldtree 2000-05-14 19:29:57 +00:00
Dan Olson
1fc4396f12 Revert my dumb error 2000-05-14 18:46:05 +00:00