Anton E. Gavrilov
4c49007a2b
Faster Cbuf_InsertText
2000-07-31 07:40:13 +00:00
Dabb
8ccb6a9570
Evil hack to get directsound work under win32, will be removed when sound_sdl & other stuffs are done.
2000-07-30 10:17:18 +00:00
Dabb
a046a4ba69
SDL makefiles for Borland C++ - EXPERIMENTAL
2000-07-30 10:14:02 +00:00
Dabb
15de4e2566
Common cl_sys_sdl for win32 and *nix, replaces cl_sys_win and cl_sys_unix for SDL targets.
2000-07-30 10:12:24 +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
Anton E. Gavrilov
b0f20f955c
A partion of Key_Console() can be simplified by using memmove()
2000-07-28 14:37:41 +00:00
Bill Currie
858a0e5db2
Warp the cursor out of the way for 3dfx users. Hopefully this does the job.
2000-07-27 04:39:01 +00:00
Bill Currie
4f0e4c858a
Move the mouse cursor hiding code from in_x11 to vid_{x11,glx} so it is
...
guaranteed to be done /before/ the glx context is created. Hopefully this
fixes knghtbrd's ugly cursor problem.
2000-07-27 03:37:41 +00:00
Anton E. Gavrilov
1d5ced14dc
Fix Win32 paste-from-buffer problem by changing memcpy() to memmove()
...
(thanks Deek)
2000-07-24 13:32:16 +00:00
Thad Ward
2651d30d59
added pr_offs.c to the server project's files
2000-07-23 01:55:57 +00:00
Dabb
1dd5b7ee10
Changed alloca -> calloc to fix crash bug.
...
Also added modestate (will be removed).
btw, something to remember about ALLOCA:
"If the calling function does not contain any references
to local variables in the stack, the stack will not be
restored correctly when the function exits, resulting
in a program crash. "
2000-07-19 17:58:19 +00:00
Joseph Carter
260687d229
who removed the fflush in Sys_Printf? It's back now.
2000-07-19 07:25:03 +00:00
Forest Hale
5ead0237ca
Possible fix for ATI multitexture (gl_texsort 0) wall rendering.
2000-07-17 14:12:05 +00:00
Forest Hale
907be5bd58
commented out some extend bit reporting code
2000-07-17 14:06:33 +00:00
Joseph Carter
eedd4a5e96
Thanks to akawaka, vid_sdl works!
...
This is far from complete and still does many things oddly by "modern"
standards in newtree.
2000-07-16 21:48:16 +00:00
Dabb
3a50d8337d
Added VID_SetCaption support and removed SDL_INIT_CDROM for now. (thats in cd_sdl.c).
2000-07-14 17:16:08 +00:00
Dabb
4f6b7053ac
Added gl_mtex_enum and modestate, also added VID_SetCaption support.
2000-07-14 17:04:18 +00:00
Dabb
c29a59f262
VID_SetCaption (title) support.
2000-07-14 16:10:26 +00:00
Dabb
b183d0dcaf
VID_SetCaption (title) stubs - code added later.
2000-07-14 16:09:35 +00:00
Dabb
0e2bc6adb3
Added VID_SetCaption (title) support for little more portability.
2000-07-14 16:08:23 +00:00
Dabb
5a1ef7ca3d
Added SDL_INIT for cd-rom.
2000-07-13 13:27:19 +00:00
Dabb
32fe653e47
cd_sdl.c from oldtree.
2000-07-13 13:22:07 +00:00
Dabb
2a3cfd6251
Couple of #ifndef WIN32 to get SDL compile under Borland.
2000-07-11 14:42:05 +00:00
Jeff Teunissen
6a008a83c9
[mumble mumble] SDL target fixed, made -ggi not build.
2000-07-11 07:57:26 +00:00
Jeff Teunissen
1e28e71322
Normal SDL support. It might work. :)
2000-07-11 07:51:36 +00:00
Jeff Teunissen
ba47dca3aa
SDL support in configure.in... it isn't turned into a target yet, but it
...
will be soon.
2000-07-11 05:05:27 +00:00
Dan Olson
bca0df7abc
SDL/GL internals. Someone will need to update the makefiles
...
CFLAGS = -I/usr/include/SDL
LDFLAGS = -lGL -lSDL -lpthread
or have fun playing with SDL's m4 macros and the `sdl-config` stuff
2000-07-11 00:22:52 +00:00
Dabb
d07552e902
Fixes for Borland C++ - all targets should work now without crashes...
2000-07-10 09:35:19 +00:00
Jeff Teunissen
1cf0aff856
zone.c: Remove unnecessary code -- zone isn't used anymore, so it
...
shouldn't be allocated on the hunk.
sv_main.c: Change default timekick fuzz to 1.5 percent from 1
percent. Should cut down on people getting kicked for lag.
2000-07-09 12:43:46 +00:00
Dabb
728a5dfc47
15to8 palette pre-loading for win32 targets too...
2000-07-09 09:43:10 +00:00
Brian Koropoff
01148e4ce9
This fixes a bug with nvidia cards that can cause other GL programs to run very slowly. Thanks to rpete for pointing out the problem.
2000-07-09 05:49:26 +00:00
Brian Koropoff
69c97f84bd
Now the cursor will wrap around the server list when you hit the bottom or top. I hope you are happy, stu.
2000-07-08 04:26:09 +00:00
Dabb
07bbdbfe77
Disabled asm file use for borland c++ software target until conflict issue is resolved. Compiles and works now with bc 5.5 too, but slowly.
2000-07-06 10:35:38 +00:00
Joseph Carter
289cfa557c
cosmetic change - FWIW Mercury it's a bug that blend needs to be disabled
...
there and the bug's not in our code, so don't whack LH too hard.
2000-07-06 07:04:16 +00:00
Zephaniah E. Hull
46855eff2d
gl_screen.c:
...
- Cleanup for the screenshot code.. (Now requires OpenGL 1.2+)
gl_rsurf.c:
- Oh Mr Havoc, *WHACK*, you needed to disable GL_BLEND when you switch
to GL_REPLACE..
2000-07-06 03:35:25 +00:00
Dabb
298f23f2c7
Borland C++ uses __int64 too.
2000-07-05 14:31:12 +00:00
Forest Hale
54648f9a93
Rewrote multitexture rendering. (faster, no fullbright bugs)
2000-07-04 09:29:56 +00:00
Bill Currie
d24e28f28b
speed up R_RenderBrushPoly ever so slightly
2000-07-04 07:04:46 +00:00
Forest Hale
1dd7a8be0d
Fix for the fullbright models.
2000-07-04 06:59:34 +00:00
Forest Hale
225cbaff0d
Minor world rendering fixes.
2000-07-04 04:19:06 +00:00
Forest Hale
f6006e7cef
Fix for dark models bug.
2000-07-04 03:10:31 +00:00
Forest Hale
9f5df4afa6
Possible world rendering speedup.
2000-07-04 02:23:50 +00:00
Forest Hale
51c1db9220
Very minor world rendering optimization.
2000-07-04 00:52:00 +00:00
Forest Hale
b6484d3f66
Fix for long standing baseline bug (OUCH!), should fix invis problems...
2000-07-04 00:49:01 +00:00
Forest Hale
b0f65051b1
Minor cleanup. (purely cosmetic)
2000-07-04 00:44:10 +00:00
Zephaniah E. Hull
7077ac4582
FINALLY the end to the invis objects!!
2000-07-03 21:56:51 +00:00
Forest Hale
fff8ccb2c3
This should stomp the last of the invisible entity bugs.
2000-07-03 00:34:20 +00:00
Forest Hale
50fec20142
Fix for invisible players, etc etc. (QW protocol is nasty)
2000-07-02 14:14:56 +00:00
Forest Hale
5644666f0c
Massive dynamic light rendering speedup.
2000-07-02 13:47:00 +00:00
Forest Hale
fdcf20b4a3
Fix for black static lightmaps. (oops, forgot that one too)
2000-07-02 06:40:46 +00:00
Forest Hale
cd0fbe1b52
Fix for black walls. (oops)
2000-07-02 06:13:46 +00:00
Bill Currie
0af7b854e8
fix a warning that msvc doesn't pick up but gcc does.
2000-07-02 06:00:15 +00:00
Forest Hale
906ab864c2
Brightness controls (brightness, contrast) and gl_lightmode cvar.
2000-07-02 05:16:10 +00:00
Zephaniah E. Hull
d9557428f2
Fixed the black/invisible model problems..
...
This is a bit of a kludge, but it works..
2000-07-01 21:54:29 +00:00
Bill Currie
6f93f36cc2
oh, nothing much, just 1/4 R_DrawSkyLayer's us/call :) (I halved the number
...
of steps around the glob in each direction). it's now taking 3% of the time
on my machine.
2000-07-01 09:40:14 +00:00
Forest Hale
f98331c3a8
Black lightning fix.
2000-07-01 07:52:38 +00:00
Joseph Carter
ce94a82b9d
Fixed view entity - its alpha was never getting set so a stray dlight or
...
something could (and did in all my tests) make viewmodel go away.. That
sucked, but it's fixed now.
2000-07-01 05:54:12 +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
0793a90813
Dynamic lighting fixes. (relative bmodel lighting, mainly)
2000-06-30 22:26:11 +00:00
Forest Hale
e73700f4e8
Fix for minor bug in (unused) transparent model rendering.
2000-06-30 10:29:57 +00:00
Bill Currie
a16a0674a7
fix a parse error LordHavoc missed
2000-06-30 10:07:04 +00:00
Forest Hale
1364c8b47f
Forgot to commit lightning fix. (oops)
2000-06-30 10:03:29 +00:00
Bill Currie
9efdc7e8b6
fix jumping' sky. I forgot to add
s' to the pole tex coords
2000-06-30 10:00:32 +00:00
Forest Hale
e3d8266db8
Fix for invisible gun and lightning. (cleanup after Endy)
2000-06-30 09:59:02 +00:00
Forest Hale
a02481c08c
Fix for .lit support. (fixes black wall bug, oops)
2000-06-30 09:33:43 +00:00
Forest Hale
27e89eb634
Fixed Mod_ExtraData crash. (oops)
2000-06-30 06:26:17 +00:00
Forest Hale
2028766d1f
Removed Endy's broken protocol enhancements.
2000-06-30 05:54:28 +00:00
Forest Hale
7ee4edd961
Another fix for R_MarkLights crash. (oops again)
2000-06-30 05:52:06 +00:00
Forest Hale
6f8c87fa02
Fix for immediate R_MarkLights crash. (oops)
2000-06-30 04:35:05 +00:00
Forest Hale
789984f19b
Fix for TimeRefresh. (oops)
2000-06-30 00:55:46 +00:00
Forest Hale
0b826825ec
GL cleanup. (cleanup after Endy mainly)
2000-06-30 00:47:26 +00:00
Joseph Carter
fa7a67e9fb
And I missed the other one ...
2000-06-30 00:03:10 +00:00
Joseph Carter
5de94bd9ad
taniwha forgot a ; ...
2000-06-30 00:01:42 +00:00
Bill Currie
fb9e8d05b4
took me a while to realise the skydome starts at the equator, not a pole.
...
I hope I got this right
2000-06-29 23:51:02 +00:00
Zephaniah E. Hull
750457b368
Clean up after myself in the Z_* purge..
2000-06-29 23:30:21 +00:00
Forest Hale
def35745d7
Massive dynamic light speedup.
2000-06-29 23:27:03 +00:00
Forest Hale
177652d724
Fix for white particles bug. (cleanup after Endy)
2000-06-29 23:06:08 +00:00
Forest Hale
244ea57e1a
Fixed .lit file (colored lighting) support.
2000-06-29 22:18:13 +00:00
Bill Currie
98c7aeb439
we were drawing the sky layer twice (0-360 horiz, 0-360 vert). Change the vert
...
to 0-180.
2000-06-29 22:07:40 +00:00
Joseph Carter
a9f17c7b6c
Fix polyblend - This is the (SINGLE) thing Endy did that is easy to fix,
...
and the only thing he realized he broke.
2000-06-29 19:25:00 +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
Bill Currie
d5ea4bc9bf
Revamp the software particle rendering loop. Seems to work well.
2000-06-28 23:20:57 +00:00
Zephaniah E. Hull
66e9bfd98c
Fixed the GL water texture problem..
2000-06-28 23:11:52 +00:00
Jeff Teunissen
b41f21f7eb
Argh...looks like I fucked it up. All fixed.
2000-06-28 15:37:16 +00:00
Zephaniah E. Hull
016f682389
R_RecursiveWorldNode from DP, speed improvement..
2000-06-26 19:56:09 +00:00
Zephaniah E. Hull
8e64d0d3cc
Fixed the signal handling for x11 targets, specificly -x11..
...
(Yes, this required a change in the glx target, don't ask)
2000-06-26 17:20:38 +00:00
Forest Hale
cbd8135196
Minor win32 cleanup, now compiles in MSVC 4.
2000-06-26 12:27:03 +00:00
Bill Currie
d75f6944c1
make XRaiseWindow happen unconditionally. Should help with qf not always
...
getting focus on v3.
2000-06-26 10:38:41 +00:00
Bill Currie
09af993795
source/gl_rsurf.c:
...
removed commented out line
source/in_x11.c:
re-enable the mouse warpage.
2000-06-26 10:09:13 +00:00
Forest Hale
7e4def70af
Fix for bmodel relative lighting in R_AddDynamicLights.
2000-06-26 07:47:43 +00:00
Forest Hale
4698dc0d7d
Readability improvements and minor speedup in R_AddDynamicLights.
2000-06-26 07:42:29 +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
3a43cea3b7
Again, patched for colormod and other extend bits.
2000-06-25 20:53:26 +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
Jeff Teunissen
f6ec000127
configure.in: Fix typo preventing detection of vga.h.
...
source/r_part.c: Clarity fix.
2000-06-24 22:28:06 +00:00
Bill Currie
f67e48fb95
put MAX_LIGHTMAPS back to 64 as I found the bug that was causing them to be exhausted
2000-06-24 08:31:38 +00:00
James Brown
244b7d0859
Byebye, evil makefiles.
2000-06-24 08:20:59 +00:00
Bill Currie
ee44cd05e6
source/gl_rsurf.c:
...
put lightmaps back to 256
configure.in:
give us a --enable-profile
2000-06-24 06:19:24 +00:00
James Brown
3a77f62a33
Fixing the console build enviroment.
2000-06-24 05:57:11 +00:00
Joseph Carter
d182c83842
When you change gamedirs, cachepics (such as your conback) will be reloaded
...
in GL.. Please test this extensively, I _think_ the tempfile loader is
smart enough to handle what I'm doing properly. If it's not, we'll have
to fix a slight memory leak.
2000-06-23 18:36:59 +00:00
Dabb
13ce6fc2b8
Removed gl_test.c.
2000-06-23 09:56:38 +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
Joseph Carter
8a40786b66
Removed gl_test.c
2000-06-22 13:02:23 +00:00
Bill Currie
381891e7e4
bring knghtbrd's 1000 screenshot patch over from oldtree.
2000-06-22 11:56:08 +00:00
Bill Currie
abbe2c19f3
seems I keep forgetting to update this :(
2000-06-22 11:15:50 +00:00
Bill Currie
5c0eb38c1b
alpha doesn't do anything useful for flames, so remove it.
2000-06-22 08:02:36 +00:00
Zephaniah E. Hull
4f8cabf049
Small syntax cleanup in cmd.h.
...
Reworking of extension handling in -3dfx..
Support for changing the 3dfx dithering mode, if the extension is supported.
(Extension is /not/ in upstream mesa yet.)
2000-06-21 16:24:17 +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
f703748ee7
fix GL_BLEND issues. servers me right for blind code copying :/
2000-06-20 11:04:54 +00:00
Bill Currie
2530186c5e
make r_firecolor more forgiving for old config files. prints a warning if the
...
old second alpha parameter is given, but accepts the other args.
2000-06-19 23:12:55 +00:00
Bill Currie
8d67ac3784
oops :/
2000-06-19 23:02:33 +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
Anton E. Gavrilov
02e48af08f
Nothing really important
2000-06-18 12:38:37 +00:00
Anton E. Gavrilov
a006a341cb
Swapped the meaning of cl_chatmode 1 and cl_chatmode 2 for consistency reasons
2000-06-17 23:24:53 +00:00
Dabb
88389e4076
Borland C++ makefile for win32 server.
2000-06-17 13:53: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
Joseph Carter
6d62a506b2
Dabb, try this...
2000-06-17 12:37:28 +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
Dabb
811744c473
Makefiles for Borland C++.
2000-06-17 11:58:11 +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
d2a2fbf6cb
cmd.c - use (var = Cvar_FindVar(buf)) != 0 instead of (var = Cvar_FindVar(buf))
...
cvar.c - include strings.h for AIX
gl_warp.c - remove unneeded skytexturenum variable
2000-06-12 06:14:00 +00:00
Bill Currie
0ebebb9bdb
fix a gcc warning. I hope this is what the original coder intended (looks like
...
it).
2000-06-12 02:50:59 +00:00
Dabb
c5c51a2839
fullsbar defaults true now, so changing command line option (win32) -fullsbar -> -nofullsbar
2000-06-11 08:55:40 +00:00
Dabb
3cc97ab304
Added extern.
2000-06-11 08:10:46 +00:00
James Brown
1d1529cb4b
Sky & warning fixes.
2000-06-11 04:44:19 +00:00
Thad Ward
dd81394eb0
turned on -Werror for VC++
2000-06-11 04:19:50 +00:00
Anton E. Gavrilov
b9acf19025
stricmp, strnicmp ---> strcasecmp, strncasecmp
2000-06-11 03:47:11 +00:00
Anton E. Gavrilov
092e377dc1
Add $-expansion code.
2000-06-11 02:57:08 +00:00
Anton E. Gavrilov
b5a2d30444
CVAR_FIXME cleanup
2000-06-11 00:23:13 +00:00
Anton E. Gavrilov
7f5c4e4148
Make command and cvar completion case-insensitive.
2000-06-11 00:05:45 +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
Thad Ward
ac8d74e741
added hl_wad.c and hl_bsp.c to the gl project
2000-06-10 16:40:04 +00:00
James Brown
3b337ab41d
Fixed 'skybug'
2000-06-10 09:40:12 +00:00
James Brown
a495278595
Fixed automake makefile for hl_*.c
2000-06-10 03:48:25 +00:00
James Brown
125dc1252b
Fixed server. Whoot. :)
2000-06-10 03:46:40 +00:00
James Brown
1501c63997
Um. Fixed the server so it won't bomb loading Half-Life maps.
2000-06-10 03:43:18 +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
Anton E. Gavrilov
9ad4192af2
ooops
2000-06-10 00:26:21 +00:00
Anton E. Gavrilov
a1982a0f75
CVAR_FIXME cleanup.
2000-06-10 00:23:56 +00:00
Anton E. Gavrilov
df980b44a1
CVAR_FIXME cleanup
2000-06-09 23:37:39 +00:00
Joseph Carter
6168fcebcc
Proper cache checking for textures - thanks to LordHavoc for the fast and
...
cheap crc (which isn't a real crc, but does the job)
2000-06-09 22:28:08 +00:00
Joseph Carter
a4243ac120
added -3dfx
2000-06-09 21:36:53 +00:00
Joseph Carter
3287c0e38b
ARB multitexture for glx, wgl, and 3dfx targets
2000-06-09 21:34:21 +00:00
Zephaniah E. Hull
53b2cafae8
We have -3dfx again, took me a hour or two to do it..
2000-06-09 20:15:08 +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
5096ce59c3
Rename V_CalcRoll to SV_CalcRoll;
...
CVAR_FIXME cleanup.
2000-06-09 19:06:50 +00:00
Anton E. Gavrilov
538e021faf
Remove the stupid CVAR_NONE & CVAR_USERINFO's;
...
CVAR_FIXME cleanup.
2000-06-09 18:58:19 +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
Anton E. Gavrilov
1139c87959
Remove master_adr;
...
Kill the stupid CVAR_SERVERINFO's.
2000-06-09 18:27:20 +00:00
Jeff Teunissen
d7d581e546
Fix inverted lightmap problem.
2000-06-07 07:23:23 +00:00
Joseph Carter
0b893de220
Doh!
2000-06-06 11:34:50 +00:00
Thad Ward
f0953267ed
remove model.c from the gl builds
2000-06-05 19:51:36 +00:00
Joseph Carter
c1f7cef497
GLX now supports EXT_multitexture if you've got it, one more step
...
toward real ARB_multitexture.
2000-06-05 12:22:22 +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
Jeff Teunissen
6c2ae3cb47
Increase the effective radius of dynamic lights in GL.
2000-06-04 12:56:28 +00:00
Dabb
d5d4036334
fullsbardraw defaults to TRUE now. Sbar needs to be drawn on each frame. Gotta remove unneeded stuffs lateron...
2000-06-04 12:42:38 +00:00
Joseph Carter
207857733a
removing a glFinish
2000-06-04 11:20:51 +00:00
Joseph Carter
1cb3f49391
May fix Dabb's statusbar problem
2000-06-04 10:53:01 +00:00
Dabb
54fecba24b
Reverse my goofup - I need coffee!-)
2000-06-04 09:40:06 +00:00
Dabb
2508ef4264
Added extern to gammatable. Table is "stored" in r_view.c
2000-06-04 09:30:49 +00:00
Dabb
59f1871a16
Someone forgot to define some ints...fixed.
2000-06-04 09:18:48 +00:00
Joseph Carter
77d084e425
missed this before
2000-06-04 01:12:07 +00:00
Joseph Carter
accc15a82e
non-skybox skies were overbrighting, fixed
2000-06-03 22:47:05 +00:00
Joseph Carter
19afb34084
This adds multitexture for win32 back into the game.
2000-06-03 22:32:53 +00:00
Joseph Carter
8d08bc4d86
This is a NON-TRIVIAL update which took LordHavoc and I about 3 days to
...
make work properly:
Win32 thing.. If you don't free textures explicitly, you can cause a
problem with nVidia drivers.
Colored lighting is now RGB instead of RGBA. The alpha is kinda pointless
on a lightmap and the effect's not all that great. Plus people stuck with
16 bit OpenGL (any other 3dfx people out there?) will be quite pleased
with the improvement in image quality. This does include LordHavoc's
dynamic light optimization code which takes most of the pain out of having
gl_flashblend off.
All glColor*'s are now half of what they used to be, except where they
aren't. If that doesn't make sense, don't worry. If you see one that's
only half what you'd expect, don't worry---it probably is meant to be like
that.. (More below)
glDisable (GL_BLEND) is now a thing of the GL_PAST. As is GL_REPLACE.
Instead, we _always_ use GL_MODULATE and leave GL_BLEND turned on. This
seems at first like it might be a performance hit, but I swear it's much
more expensive to change blending modes and texture functions 20-30 times
every screen frame!
Win32 issue.. Even though we check for multitexture, we currently don't
use it. Reason is that I am planning to replace SGIS_multitexture with
the preferred ARB_multitexture extension which is supported in most GL 1.1
implementations and is a requirement for GL 1.2 anyway. I also wanted to
get rid of some duplicated code. Since Linux doesn't support multitexture
yet, I just commented out the code keeping me from compiling to get it to
work. Win32 should work without it until it's fixed, which shouldn't be
long since the differences between SGIS and ARB multitextures as far as
Quake is concerned is minimal AT BEST.
LordHavoc and I have been working tirelessly (well not quite, we both did
manage to sleep sometime during this ordeal) to fix the lighting in the GL
renderers! It looks DAMNED CLOSE to software's lighting now, including
the ability to overbright a color. You've gotta see this to know what I'm
talking about. That's why the glColor*'s are halved in most places. The
gamma table code and the general way it works is LordHavoc's design, but
over the course of re-implementing it in QF we did come up with a few more
small optimizations.
A lot of people have noticed that QF's fps count has gone to shit lately.
No promises that this undid whatever the problem was. That means there
could be a huge optimization lurking somewhere in the shadows, waiting for
us to fix it for a massive FPS boost. Even if there's not, the code in
this commit DOUBLED MY FPS COUNT. Granted I was getting pathetic FPS as
it was (around 30, which is pathetic even for a Voodoo3 in Linux) but
still---60 is a big improvement over 30!
Please be sure to "test" this code thuroughly.
2000-06-03 19:56:09 +00:00
Joseph Carter
76d586a081
a little debugging code for the intermission weirdness
2000-06-03 18:56:52 +00:00
Joseph Carter
d3a9357080
Remember to ./bootstrap with this update - doesn't seem to happen for you
...
when you compile..
model.c has been stuffed wholesale into gl_model.c.. It's also no longer
common source. Now it's a server and software thing. This is needed so
GL model/map code can do things that software loading can't and server
loading shouldn't.
2000-06-03 12:15:49 +00:00
Loring Holden
63dccb8968
in_x11.c - always define in_dgamouse, so it can be false when there is no DGA
...
quakefs.c - include strings.h for strcasecmp() under AIX
2000-06-01 03:37:48 +00:00
Marcus Sundberg
77c92b8334
Added MME sound support.
2000-05-31 22:51:11 +00:00
Marcus Sundberg
4565fd57c7
Fix compilation without DGA.
2000-05-31 22:50:40 +00:00
Marcus Sundberg
ab2e606eb6
Need <string.h> here.
2000-05-31 22:49:53 +00:00
Marcus Sundberg
5555a5339f
64-bit fix
2000-05-31 22:49:17 +00:00
Joseph Carter
73bdee6f6f
erf, not ready for that yet, that's why it was commented
2000-05-31 18:29:34 +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
Dan Olson
de18dc1c84
Added maplist command. The function was in, but it was never registered.
2000-05-31 14:16:08 +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
Joseph Carter
91e380d3b3
New cvars (oldtree console effects)
...
gl_conalpha - 0.6, 1 to disable alpha
gl_conspin - 0, anything else causes it to spin at that speed
gl_constretch - 0, 1 to stretch console instead of sliding it
2000-05-29 10:16:04 +00:00
Joseph Carter
c3649a242a
I feel stupid now, typo fixed
2000-05-28 11:09:59 +00:00
Jeff Teunissen
b3a542bb15
Fix typo in configure.in, add cd_audio.c to EXTRA_* for DOS.
2000-05-28 01:44:31 +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
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
Dan Olson
8973cc4dd3
borked GPL header.
2000-05-26 17:19:16 +00:00
Joseph Carter
81fd7c2277
DGA seems to work... Something done recently by someone (loring or bill)
...
caused Voodoo3 users to get a black mouse cursor that kept getting warped
to the center of the screen.. It was rather ugly and hard to play. So
I added DGA. That made the mouse cursor blue and stay where it was. So
I moved the XGrabPointer to after the XWarpPointer, problem seems to be
fixed. I hope this works for someone other than me. =p
2000-05-26 12:32:45 +00:00
Joseph Carter
beb6472cd5
Sorry about that, unused vars commented out
2000-05-26 04:19:46 +00:00
Loring Holden
5b094c2aa1
Reapply changes - this time tested w/ svga under Linux
2000-05-26 03:55:27 +00:00
Joseph Carter
c9d579b1b5
if (0) is evil. If you're going to comment it out, comment it out or use
...
something like #if 0!
2000-05-26 03:40:22 +00:00
Bill Currie
0bd4043ca4
revert lsh's checkins. They broke newtree for everybody but him.
2000-05-25 09:48:21 +00:00
Loring Holden
8005c0d25e
I got this tree to build under Solaris, AIX, IRIX, & Linux.
...
In order to do so I:
* included strings.h and string.h in many files so various functions would be
defined
* Fixed model_t collision problem in cl_main.c (Solaris)
* com.c - corrected WORDS_BIGENDIAN spelling
* gl_draw.c - Use HAVE_GL_COLOR_INDEX8_EXT to avoid referencing
GL_COLOR_INDEX8_EXT when it isn't available
* net_udp.c - use socklen_t to appease AIX
2000-05-25 06:14:56 +00:00
Bill Currie
0ad3e80422
move the non configure defines to after ifdef USE_INTEL_ASM for non as/ non intel systems
2000-05-25 06:14:47 +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
Joseph Carter
08ae0f5305
New cvar: gl_colorlights, default 1 for GL_RBGA lightmaps, set to 0 for
...
GL_LUMINANCE lightmaps. This is a CVAR_ROM.
2000-05-25 04:16:41 +00:00
Brian Koropoff
ab1aadfe64
Segfault fixed. Yes, I know I'm stupid ;P
2000-05-25 03:57:25 +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
Jeff Teunissen
eb38ab097c
configure.in: clean up final configuration report.
...
cl_main.c, cl_slist.c: Make server listing expand ~
2000-05-24 22:36:59 +00:00
Jeff Teunissen
dc42c03c5b
The proper solution to fs_sharepath and fs_userpath.
2000-05-24 20:03:49 +00:00
Thad Ward
b5e36c7149
commit changes for dabb, since he's having trouble with sourceforge:
...
win32 requires a call to setmode(), since it doesn't seem to do the mode change in fdopen properly.
also removed some "z" modes, since someone forgot to when removing the Qfile stuffs
2000-05-24 19:19:08 +00:00
Anton E. Gavrilov
4acb725dec
Remove all remaining references to cachedir.
2000-05-24 10:44:29 +00:00
Joseph Carter
43e49ccd73
Skyboxes are now rendered always behind everything else.
2000-05-24 09:42:28 +00:00
Bill Currie
1cee02c55c
avoid mutually exclusive options causing long Makefile.in lines:
...
simplify the logic
2000-05-24 07:29:16 +00:00
Bill Currie
b1da890046
alsa sound support is alive and kicking
2000-05-24 06:52:19 +00:00
Joseph Carter
28d0df55d3
fs_userpath is now . like it SHOULD be. Why? Because despite the unix
...
way of doing things, every single person who has tried newtree reports it
as "broken" because it can't find their pak files.
Least surprise.
2000-05-24 05:47:58 +00:00
Bill Currie
c8182eb2fd
fixe the "failed to load sky 1" message
2000-05-24 05:12:54 +00:00
Bill Currie
1d4f3155b8
fix a core dump on premature exit
2000-05-24 04:45:35 +00:00
Jeff Teunissen
a45cefb3e0
Cvar fixups...
2000-05-24 02:07:53 +00:00
Bill Currie
e98edd5f5f
revert back to using f* for file io. I hope this fixes the catapult, but I wouldn't be suprised if it doesn't.
2000-05-23 22:43:36 +00:00
Bill Currie
b26d6672ae
fix what the previous checkin broke:) thanks for the suggestion, Deek.
2000-05-23 21:37:55 +00:00
Bill Currie
92009aae22
bah, turns out COM_CreatePath was designed that way. my bad :/
2000-05-23 21:29:47 +00:00
Jeff Teunissen
fd11d81788
GL fixes, partial Q{open,close,read,write,getc} -> f*
2000-05-23 17:05:34 +00:00
Jeff Teunissen
db453a4b15
Cvar fixes.
2000-05-23 17:01:12 +00:00
Jeff Teunissen
347289ec56
Menu fixes: use Cvar_SetValue() for menu options.
2000-05-23 16:59:25 +00:00
Jeff Teunissen
7bbb9963cc
s/HAS_/HAVE_/g
2000-05-23 16:57:12 +00:00
Bill Currie
fd35f176ba
re-enable autoexec.cfg running on gamedir (defaults to off. need to put set cl_autexec either in quakeforge.conf or on the command line)
2000-05-23 11:29:15 +00:00
Bill Currie
d7f0ffef60
forgot to rename some SendKeyEvents functions
2000-05-23 09:52:17 +00:00
Bill Currie
d14e18e42f
remove the aliasing of _windowed_mouse as in_grab isn't used as a name in this tree
2000-05-23 09:15:51 +00:00
Bill Currie
d30edea236
CVAR_ROM now works
...
provide Cvar_SetROM to get past it. if this proves unnecessary, nuke it :)
provide setrom command: sets the CVAR_ROM flag on a cvar
2000-05-23 08:33:30 +00:00
Bill Currie
290c2f9c0f
+set_vidfullscreen is 95% working for -x11 and -glx. only remaining known problem is mouse grabbing.
2000-05-23 07:33:03 +00:00
Jeff Teunissen
7df8031c9c
menu.c: change "help" to "menu_help" to get rid of error on startup.
...
Add cvs2cl to repository.
2000-05-23 07:29:02 +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
Bill Currie
8ff75f94dc
fix some problems with directories being created in the wrong places or not at all (caused by fs_userpath not being used when it should)
2000-05-23 01:44:20 +00:00
Bill Currie
91a47e083c
remove redundant gamedir stuff
2000-05-22 23:43:52 +00:00
Joseph Carter
cb04fd6496
fix the +gamedir problem and fix my QFile removal
2000-05-22 21:32:14 +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
f29bc45b50
Here it is. No more lockups :) Please don't kill me
2000-05-22 13:29:20 +00:00
Bill Currie
2d640a28ff
forgot to bring these fixes over from OT
2000-05-22 12:43:20 +00:00
Jeff Teunissen
eecba96fe3
Change version number back to 0.1.99pre2 for public test cycle, fix bug in
...
-ggi
2000-05-22 12:10:10 +00:00
Anton E. Gavrilov
a73a779486
Console editing stuff
2000-05-22 09:24:07 +00:00
Bill Currie
3b1fad05a4
fix a compile error
2000-05-22 08:32:51 +00:00
Anton E. Gavrilov
c3cc61bb94
Added K_CAPSLOCK and KP_* keys support for windows targets
2000-05-22 07:59:30 +00:00
Joseph Carter
33a60edde1
oops
2000-05-22 07:49:33 +00:00
Joseph Carter
e9463e2db9
pretty much finishes source/*
2000-05-22 07:46:47 +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
Joseph Carter
fa7a4882ac
*sigh*
2000-05-22 07:10:16 +00:00
Thad Ward
1cb980a02e
removed a silly #else case on an ifdef
2000-05-22 07:07:01 +00:00
Anton E. Gavrilov
c6abe56fd1
Client jump prediction fix;
...
CVAR_FIXME cleanup.
2000-05-22 07:03:41 +00:00
Joseph Carter
87f6b96eb6
GPL thingy
2000-05-22 06:58:14 +00:00
Joseph Carter
7b1b82a16b
C done
2000-05-22 06:46:35 +00:00
Jeff Teunissen
aeca63df3c
win32 fixes.
2000-05-22 06:37:26 +00:00
Thad Ward
baa3a9e1d6
removed gl_test.c from the client vc project...
2000-05-22 06:36:33 +00:00
Jeff Teunissen
89cdc06e0e
Updated checklist, configure.in (0.2.0), cvar.c
2000-05-22 05:51:05 +00:00
Bill Currie
ea1386f190
fixes for __attribute__((format)) (I'll commit that /after/ release) and freelook
2000-05-22 05:47:14 +00:00
Anton E. Gavrilov
aec65c68a2
Execution of autoexec.cfg on gamedir change is temporarily disabled
2000-05-22 05:00:44 +00:00
Anton E. Gavrilov
a454cf411f
Add prediction for current player's effects
2000-05-22 04:54:06 +00:00
Anton E. Gavrilov
4167d8913c
Replace "WinQuake" window header with PROGRAM (---> "QuakeForge")
2000-05-22 04:43:32 +00:00
Anton E. Gavrilov
f8604f0735
sys_sleep is 8 by default now;
...
CVAR_FIXME cleanup
2000-05-22 04:19:49 +00:00
Jeff Teunissen
9ffa5f9e1d
Make gas shut up about indirect jumps without *
2000-05-22 03:41:14 +00:00
Jeff Teunissen
ad03ff24de
gl_vidlinux: DIE DIE DIE!
...
cvar.c: use va() for Cvar_SetValue
r_view.c: cvar cleanups
sirf8.S: whitespace
2000-05-22 03:27:00 +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
Anton E. Gavrilov
bc37d46f5b
Add #include "draw.h";
...
CVAR_FIXME cleanup.
2000-05-22 01:05:57 +00:00
Anton E. Gavrilov
a7c238d27c
Project files update due to common.c split
2000-05-22 00:52:13 +00:00
Anton E. Gavrilov
f070fecc94
Include string.h/strings.h to avoid memcpy() warning
2000-05-21 23:07:22 +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
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
e9551b80d8
build.c must die. build_number counts from 22.12.99 now
2000-05-21 22:07:02 +00:00
Marcus Sundberg
d2ee6e3995
Made gamma CVAR_ARCHIVE.
2000-05-21 21:41:04 +00:00
Marcus Sundberg
c6c333c3ee
Changed basepath -> userpath
2000-05-21 21:39:53 +00:00
Anton E. Gavrilov
cee2729230
MSVC doesn't have this file
2000-05-21 21:16:01 +00:00
Jeff Teunissen
c40d97b99c
s/fs_basedir/fs_userdir/g
2000-05-21 20:28:44 +00:00
Anton E. Gavrilov
dedb64fc98
build.c must die
2000-05-21 20:28:20 +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
a1c3030387
Updated old QuakeForge cruft to newtree style. Include win32/fnmatch.h if we don't have fnmatch.h
2000-05-21 20:10:49 +00:00
Marcus Sundberg
28b417ecb9
Added fnmatch.c to Win32 system files.
2000-05-21 20:00:53 +00:00
Marcus Sundberg
42605dc63e
Moved svs definition to sys_win/unix.c as both the client and server need it.
2000-05-21 19:59:44 +00:00
Marcus Sundberg
126ce0c067
Fixed includes.
2000-05-21 18:40:10 +00:00
Danne
de1c00194f
Headerfile addons for win32
2000-05-21 12:51:42 +00:00
Danne
a920dc69e8
Q_atoi -> atoi + headerfile addons.
2000-05-21 12:50:06 +00:00
Danne
5da01d2b9b
Removing extra line - uh
2000-05-21 12:40:05 +00:00
Danne
c0f3a85970
Fixing missing headers for win32 - this one caused nasty crash :-)
2000-05-21 12:39:18 +00:00
Danne
c88a6fcccd
Header fixups for win32
2000-05-21 11:32:35 +00:00
Danne
bb43135968
Needed by win32 targets
2000-05-21 11:31:59 +00:00
Danne
6ed6543fef
Header file addons & Q_atoi -> atoi changes for WIN32
2000-05-21 11:28:37 +00:00
Bill Currie
5f3c129314
fix a segfault cause by cmd line parsing
2000-05-21 10:21:08 +00:00
Bill Currie
3594de9738
command line now overrides what's in the config file
2000-05-21 10:08:27 +00:00
Danne
1c81f61d0d
Fixups for new header stuff.
2000-05-21 09:59:00 +00:00
Bill Currie
848bfe1ce6
fix make dist
2000-05-21 09:58:14 +00:00
Bill Currie
ce25c13a65
command line and config file parsing ala OT
2000-05-21 09:49:25 +00:00
Joseph Carter
925cb60afa
fix GGI
2000-05-21 09:36:35 +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
Joseph Carter
e471c785d8
Need GL_MODULATE for Draw_AlphaPic under Mesa...
2000-05-21 08:18:00 +00:00
Bill Currie
3bcb4ed046
is_server being true for the clients doesn't help make the protocol work :)
...
That's why the client couldn't connect to the server: it was using the server's
version of the protocol.
2000-05-21 07:19:41 +00:00
Marcus Sundberg
9d4db93b27
Added sound and CD configuration.
...
Compile system, sound and CD drivers into libraries which we link against.
Now Mingw32 compilation works.
2000-05-21 00:15:03 +00:00
Marcus Sundberg
84ff3a3c1b
Fixed mingw32 warnings.
2000-05-21 00:08:27 +00:00
Marcus Sundberg
3e560f5cfd
Mingw32 seems to need INITGUID defined.
2000-05-20 22:33:42 +00:00
Marcus Sundberg
f1edd57186
Move Sys_Init after Cvar_Init.
2000-05-20 22:13:45 +00:00
Danne
cba34a7572
sprintf -> snprintf
2000-05-20 10:30:09 +00:00
Danne
37e42f35c6
sprintf -> snprintf, vsprintf -> vsnprintf
2000-05-20 10:27:34 +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
46a2fffe15
sprintf -> snprintf
2000-05-20 08:23:41 +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
James Brown
b2a8652d33
My stuff. :P
2000-05-20 04:48:51 +00:00
Marcus Sundberg
88701b5038
Added MGL target.
2000-05-20 03:27:04 +00:00
Marcus Sundberg
735ace6c0c
Fixed warnings.
2000-05-20 03:25:47 +00:00
Marcus Sundberg
e31f9fa9cd
Moved vid_win.c -> vid_mgl.c, and fix lots of warnings.
2000-05-20 03:24:57 +00:00
Marcus Sundberg
52867ce15d
Moved sys_unix.c and sys_linux.c into sys_linux.c, cl_sys_unix.c and
...
sv_sys_unix.c.
2000-05-20 02:00:28 +00:00
Marcus Sundberg
c7d068a829
Fix warning in MSVC++.
2000-05-20 01:47:54 +00:00
Marcus Sundberg
acc0d2c5b8
Fixed up system driver selection.
...
Made qf-server compile with Mingw32.
2000-05-20 01:15:14 +00:00
Marcus Sundberg
e5a8b1dfab
Fix waring about unused var.
2000-05-20 01:00:59 +00:00
Marcus Sundberg
f3bd9acd2e
Removed some unused stuff.
2000-05-20 01:00:20 +00:00
Marcus Sundberg
e8cf54f5f3
Merged net_wins.c with net_udp.c.
2000-05-20 00:04:33 +00:00
Marcus Sundberg
ea61fa1d09
Don't use the Win32 pragmas with gcc.
2000-05-19 23:51:56 +00:00
Marcus Sundberg
5974810713
Fixed TRU64 warning.
2000-05-19 23:17:41 +00:00
Marcus Sundberg
6fb394d259
Added GGI target to build system.
2000-05-19 22:42:44 +00:00
Marcus Sundberg
4163c252b3
Made Makefile find includes.
2000-05-19 22:31:14 +00:00
Danne
559f05e2c7
Fixed another crash.
...
Disabled lcd_x cvar - until someone reimplements it.
2000-05-19 16:19:09 +00:00
Danne
b1331433f7
Added checks for possible height=0 crashes to GL target too.
2000-05-19 14:41:10 +00:00
Danne
4cf13bcdbf
Fix for showstopper crash in software client.
...
Also added checks for possible height=0 crashes to GL target too.
2000-05-19 14:38:45 +00:00
Thad Ward
a1bca14fa8
added vid_wgl.c (renamed from gl_vidnt.c) to the client .dsp
...
changed the name of the output exe files from vc to qf-*.exe
2000-05-19 14:19:22 +00:00
Danne
b3fc949d8c
Made Minimized qboolean for WIN32
2000-05-19 13:35:17 +00:00
Danne
fe35e4a69c
SND_Init SND_Dma def changes.
2000-05-19 13:08:27 +00:00
Danne
52f0fe0bde
Removed unneeded Visual C defs.
2000-05-19 12:58:54 +00:00
Anton E. Gavrilov
6a6185458b
Moved cvar initialization from CL_Init() to CL_InitCvars()
2000-05-19 10:48:21 +00:00
Anton E. Gavrilov
9a8e82e5df
Oops, forgot an extern.
2000-05-19 10:09:19 +00:00
Anton E. Gavrilov
34365188bc
#include <config.h> --> #include "config.h";
...
ClearAllStates() fix.
2000-05-19 08:33:31 +00:00
Anton E. Gavrilov
04e41775cd
This file was renamed to vid_wgl.c
2000-05-19 08:32:09 +00:00
Anton E. Gavrilov
7ddd1c5ae5
Former gl_vidnt.c.
...
Already with #include "config.h" ("" in place of <>) and ClearAllStates() fix.
2000-05-19 08:29:11 +00:00
Anton E. Gavrilov
1f97d4fc63
Added checking of cvar aliases in PF_cvar_set();
...
Added a warning message when the cvar is not found (should that be DPrint?).
2000-05-19 07:48:06 +00:00
Anton E. Gavrilov
0cd42f8b1d
Added Cmd_CmdList_f()
2000-05-19 07:38:14 +00:00
Thad Ward
4a5ffaed66
fix a win32 build error in cl_main.c
2000-05-19 04:37:16 +00:00
Brian Koropoff
0140835694
Server list stuff added to newtree!
2000-05-19 04:33:12 +00:00
Anton E. Gavrilov
00abaed37a
Fixed a harmless id bug (invalid setting of maxspectators)
2000-05-19 04:00:43 +00:00
Joseph Carter
195847715d
explain what and why a bit more
2000-05-19 03:10:33 +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
739ff24b70
Removed Sys_Init() from Host_Init() --- who put it there?
2000-05-19 00:10:18 +00:00
Anton E. Gavrilov
1f8b0fd704
Changed R_LoadSky_f() to R_LoadSky_F(void) to avoid warnings on MSVC.
...
/me grumbles: why do i have to do that again?
2000-05-18 22:01:46 +00:00
Anton E. Gavrilov
c97b82d333
Keypad stuff
2000-05-18 20:54:49 +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
Jeff Teunissen
00aa3557d4
Cleaned up the build system...thanks to some configure hacking, -glx is
...
now only built if X11 is available, and defines its own CFLAGS and LIBS
variables to be empty if dirs are not specified on the
configure command-line.
Oh, yeah. OPENGL_* are now GLX_*. Sorry. :)
2000-05-18 13:15:10 +00:00
Yan Sweitzer
39d627ef10
qw-server .s custom build had disappeared
2000-05-18 08:53:50 +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
1ce7197bab
rename snd_linux.c to snd_oss.c in prep for snd_alsa.c
2000-05-18 03:44:30 +00:00
Brian Koropoff
549ceb75d4
Fixes to the options menu, including several segfaults and a cursor problem.
2000-05-18 03:00:16 +00:00
Bill Currie
116daa40e9
fix the seg on startup with -nosound
2000-05-18 02:46:05 +00:00
Joseph Carter
a12e476479
If new map requested and not found, try to restart the current one. If
...
that also fails, DIE GRACEFULLY rather than continue to run with things
all screwed up from the intermission settings. Fixes weird behavior under
any mod where a map can change.
2000-05-18 01:36:42 +00:00
Brian Koropoff
3a88e0f876
Oddone, try coding on < 10 beers ;P
2000-05-18 00:31:48 +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
ad7b0f9c67
Re-arranged includes a bit to fix TRU64 warnings
2000-05-17 20:12:23 +00:00
Marcus Sundberg
826c403823
Added CDAudio_Pause
2000-05-17 20:11:55 +00:00
Marcus Sundberg
f89f7fc5a4
Arm with #ifdef USE_INTEL_ASM
2000-05-17 19:59:39 +00:00
Marcus Sundberg
1d1726fd46
Fix X-detection.
2000-05-17 19:51:02 +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
81115b3719
Added EXTRA_DIST
2000-05-17 18:19:05 +00:00
Marcus Sundberg
3bbefb1a65
Added GGI client.
2000-05-17 17:28:22 +00:00
Jeff Teunissen
e68f73a621
configure updates. GL seems to build now.
2000-05-17 13:39:16 +00:00
Bill Currie
e5bda6fdc5
ignore Makefile
2000-05-17 12:14:53 +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
Bill Currie
832af13c12
all files now include config.h
2000-05-17 10:03:19 +00:00
Jeff Teunissen
906444dfca
.gitignore files
2000-05-17 09:43:59 +00:00
Jeff Teunissen
7e5af715bb
Automake stuff. Don't blame me for this. ;)
...
You will need to run automake --add-missing to create the necessary
symlinks for install-sh, etc.
2000-05-17 09:25:03 +00:00
Anton E. Gavrilov
04a4e65a9a
Added the jumping bug fix (from the main qf tree)
2000-05-17 09:11:11 +00:00
Bill Currie
0b7e010ad4
removed my (commeented out) borked code. Thanks, Yanster.
2000-05-17 08:11:42 +00:00
Joseph Carter
dc7546dfbd
serverinfo sv_allowflymode is now serverinfo playerfly
2000-05-17 08:08:09 +00:00
Joseph Carter
f5bca8ba17
ghost crosshair bug fixed
2000-05-17 08:07:12 +00:00
Bill Currie
c193373d9e
rearange things a little so it's a bit neater
2000-05-17 02:46:43 +00:00
Brian Koropoff
e30c17729c
Various things from theoddone. For some reason he can't commit...
2000-05-17 01:52:15 +00:00
Bill Currie
76fe294e09
include GGI dependency files
2000-05-16 22:45:23 +00:00
Marcus Sundberg
ae2e1809e3
Added GGI target.
2000-05-16 22:04:03 +00:00
Yan Sweitzer
efc900e371
fixed a bug in Cvar_Info()
2000-05-16 20:55:45 +00:00
Brian Koropoff
55fbc12c3d
Replaced the runtime endien check with #ifndef WORDS_BIGENDIEN. It may need some more work. Also, it will now exec autoexec.cfg when you connect to a server.
2000-05-16 20:24:26 +00:00
Dan Olson
df7af60578
A cvar fix that I overlooked last night
2000-05-16 19:04:53 +00:00
Danne
01ab5f4fbe
Borland fixes
2000-05-16 13:57:54 +00:00
Thad Ward
bd1cc58799
partially fixed win32 from the cvar conversion...
2000-05-16 13:12:55 +00:00
Bill Currie
f8a6f9cb0b
no more CVAR_FIXME in here :)
2000-05-16 07:48:14 +00:00
Bill Currie
cab6a46c03
no longer segs, but mouse doesn't work!!!
2000-05-16 07:43:31 +00:00
Bill Currie
88b110dd62
glx now gets to where I can type "quit" without segging
2000-05-16 07:31:03 +00:00
Bill Currie
285f02e006
getting closer to working glx client
2000-05-16 07:21:28 +00:00
Bill Currie
5e6187be19
client now starts up without segging (X11, anyway)
2000-05-16 06:33:37 +00:00
Bill Currie
119270c6fc
server now starts up without segging from the cvar update
2000-05-16 06:28:50 +00:00
Bill Currie
fa198d11f3
alsa sound support for linux. added now in anticipation of autoconf
2000-05-16 05:40:02 +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
Thad Ward
5c58a21a1c
cleaned up a warning about not all paths return a value
2000-05-16 03:28:20 +00:00
Bill Currie
c828007467
dunno how this showed up again, I thought I removed it (and it was in the attic when I checked cvsweb, so I don't know what's going on)
2000-05-15 23:33:15 +00:00
Bill Currie
6f95f89478
remove a /* from a comment
2000-05-15 09:52:29 +00:00
Yan Sweitzer
1efb92f899
sprintf -> snprintf
...
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Bill Currie
1bb513d584
bah, typo
2000-05-15 01:45:11 +00:00
Joseph Carter
a323e4b5a7
added key for flymode - serverinfo sv_allowflymode 1 to turn on the
...
jetpack for Mega2k. This is NOT the final name for the key and you won't
be able to change it after I talk to Ambush (Mega2k should set it for you
I hope..)
2000-05-15 01:42:30 +00:00
Bill Currie
a7b5176e68
found this bug in the main tere. We should die gracefully if we can't allocate memory for the zone.
2000-05-15 00:43:19 +00:00
Yan Sweitzer
f29f8e1415
accomodated cl_parse/gl_parse/cl_trans/gl_trans changes
2000-05-15 00:20:21 +00:00
Yan Sweitzer
39de5bdcf9
accomodated cl_parse/gl_parse/cl_trans/gl_trans changes
2000-05-15 00:19:15 +00:00
Anton E. Gavrilov
875aec747f
Applied win9x priority fixes from the main tree
...
Removed two unused headers (<sys/*>)
2000-05-15 00:09:45 +00:00
Joseph Carter
7e4a424854
Add the QSG and QF version keys
2000-05-14 23:58:57 +00:00
Anton E. Gavrilov
43b92078d2
- All targets (SW, GL Server) use the same output dir (Debug/Release) now.
...
- Server uses assembler (world.S, math.S).
2000-05-14 23:41:27 +00:00
Anton E. Gavrilov
4bf5222841
Killed the last #ifdef SERVERONLY (actually, changed to is_server)
2000-05-14 23:13:14 +00:00
Marcus Sundberg
440cc9f7d3
gl_parse.c doesn't exist anymore.
2000-05-14 23:10:09 +00:00
Bill Currie
b6127df548
clean up the parse code so that only NewTranslation is duplicated, not the whole module.
2000-05-14 23:04:47 +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
Anton E. Gavrilov
e459dbd407
Added #include <sys.h>
2000-05-14 21:36:19 +00:00
Joseph Carter
4aaa58287e
commented my changes
2000-05-14 21:11:24 +00:00
Yan Sweitzer
ac02d268e0
crash fix in PR_ExecuteProgram()
2000-05-14 20:45:26 +00:00
Anton E. Gavrilov
7a21e4fbd3
Moved Sys_DoubleTime() to sys_win.c, added timeBeginPeriod( 1 ) to sv_sys_win.c -> Sys_Init().
2000-05-14 20:34:28 +00:00
Yan Sweitzer
f1dab8604b
crash fix in PR_ExecuteProgram()
2000-05-14 20:29:32 +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
Anton E. Gavrilov
4baa81458a
*** empty log message ***
2000-05-14 20:19:18 +00:00
Dan Olson
4312654fc2
Merc's speed cheat code ported from oldtree
2000-05-14 19:29:57 +00:00
Marcus Sundberg
71f7f1836e
Imported nullcursor code from vid_x11.c
...
Changed dpy -> x_disp and win -> x_win like vid_x11.c calls them.
2000-05-14 19:27:44 +00:00
Marcus Sundberg
8d35343a0a
Imported nullcursor code from QF.
2000-05-14 19:24:44 +00:00
Dan Olson
1fc4396f12
Revert my dumb error
2000-05-14 18:46:05 +00:00
Marcus Sundberg
a201c4686c
Fix includes.
2000-05-14 18:39:37 +00:00
Danne
696a534fa6
Added include sys.h
2000-05-14 18:11:51 +00:00
Marcus Sundberg
a3a9384eec
Cast isspace() and tolower() arguments to int to avoid warnings.
2000-05-14 18:10:56 +00:00
Marcus Sundberg
14a56b7317
Need string.h for memset()
2000-05-14 18:08:53 +00:00
Marcus Sundberg
37f9a98d7d
Removed silly Linux-specific includes.
2000-05-14 18:06:53 +00:00
Marcus Sundberg
597a695630
Removed pointless #ifdef __alpha__
2000-05-14 18:01:19 +00:00
Marcus Sundberg
eebb6426aa
Removed pointless #ifdef __alpha__
...
Fixed alignment of size in D_SCAlloc() for 64-bit platforms.
2000-05-14 18:00:34 +00:00
Marcus Sundberg
1e308e0f33
Removed unused declaration.
2000-05-14 17:55:02 +00:00
Dan Olson
a5b47d2b45
Fix demos
2000-05-14 17:28:08 +00:00
Marcus Sundberg
ba644e67c7
Check return code from mmap() properly.
2000-05-14 17:24:35 +00:00
Dan Olson
a254c348e7
Added some GPL headers
2000-05-14 17:08:28 +00:00
Joseph Carter
8f8bf4bd44
now includes sys.h
2000-05-14 17:04:33 +00:00
Marcus Sundberg
f7569b8d0d
Whitespace is not allowed before the '#' of pre-processor directives.
2000-05-14 17:04:13 +00:00
Marcus Sundberg
845f0c80c0
Fixed *** No rule to make target `CPPFLAGS\' error.
2000-05-14 17:03:34 +00:00
Joseph Carter
72c7743812
FindFile telling you it found the file is a devel feature and finally
...
even acts like it. Need developer set to 1 to use it now.
2000-05-14 17:03:08 +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
Danne
31b8be8648
*ver MUST be numerical - clients to ATOI with it.
2000-05-14 16:54:45 +00:00
Marcus Sundberg
8e678728b0
Fixed a nasty bug that only showed up on 64-bit platforms (or platforms
...
where sizeof(float) != sizof(float *) to be precise).
2000-05-14 16:42:16 +00:00
Thad Ward
56f31454c5
added libcmt to the ignorelibs, cause it was conflicting with libc
2000-05-14 12:46:15 +00:00
Yan Sweitzer
6fb48ec9e5
fixed external ref to scr_skipupdate
2000-05-14 10:46:48 +00:00
Yan Sweitzer
d2f2670436
damn !
2000-05-14 10:45:57 +00:00
Yan Sweitzer
c763e497c2
removed mgl for GL targets
...
added sw_client.c
2000-05-14 10:40:56 +00:00
Yan Sweitzer
bfb28427a9
cleaned external references to in_win.c
...
include in_win.h
2000-05-14 09:57:28 +00:00
Yan Sweitzer
04d765301d
identical to sys_wina.s, removed
2000-05-14 09:50:33 +00:00
Yan Sweitzer
e6e8cbb8f4
added GL target, output same location as software
...
paths to scitech mgl and directx sdk are _not_ specified, make sure they're in your paths
2000-05-14 09:38:33 +00:00
Bill Currie
bb3c299bf5
Hopefully, this will work for both 3dfx and non-3dfx
2000-05-14 08:25:10 +00:00
Danne
d65d73154c
Extern fixes.
2000-05-14 08:16:28 +00:00
Danne
c038f1f713
More extern fixes.
2000-05-14 08:05:34 +00:00
Danne
40b2640b33
Tiny fix. Wish me luck. Dabb.
2000-05-14 07:40:41 +00:00
Dan Olson
e74c0bc8f5
Split up some of *_view.c
2000-05-14 07:19:15 +00:00
Thad Ward
b0ced49de7
oops.. didn't realize that there was an #ifdef __linux__ around the call to s_init
2000-05-14 06:20:41 +00:00
Dan Olson
96664f63e7
Fix my stupid error that I blamed on taniwha. Sorry taniwha. :(
2000-05-14 05:45:27 +00:00
Thad Ward
9d6aba3598
moved sound initializatio out of vid_* to cl_host, where it belongs
...
(it seems i missed a file or two)
2000-05-14 03:34:24 +00:00
Thad Ward
d8b2f366a1
moved sound initializatio out of vid_* to cl_host, where it belongs
2000-05-14 03:32:06 +00:00
Dan Olson
b748d7bd39
some aesthetic stuff
2000-05-14 03:29:32 +00:00
Bill Currie
6e74823980
take care of a fscked gl_model.c and some other bits (not sure what happened) I probably killed theoddone33's seg fixes :(
...
rename gl_vidlinuxglx.c to vid_glx.c
2000-05-14 02:32:27 +00:00
Joseph Carter
289610088d
This fixes GL.
...
It may not work well for people using non-3dfx cards, someone PLEASE test
it!
2000-05-14 00:32:35 +00:00
Joseph Carter
b434a9194b
gitignore update
2000-05-14 00:12:13 +00:00
Joseph Carter
a1db7e86ef
Texture cache mismatch fix (I think, since I'm working blind here..)
2000-05-14 00:11:12 +00:00