Bill Currie
6a75c4e00d
vid_gamma now seems to work :)
2001-04-23 04:16:17 +00:00
Bill Currie
bd06625c55
backport the gamma code from the quakeforge tree in preparation for 0.3.1
...
Doesn't work yet because VID_UpdateGamma needs to be called at the
appropriate time and cvar callbacks are not implemented in newtree.
2001-04-23 03:52:20 +00:00
Bill Currie
435c588e37
function header audit.
2001-02-09 02:53:09 +00:00
Jeff Teunissen
8247d35d32
The first messages on the console now wrap like they should, to the window
...
width instead of to 40 characters.
2001-01-09 00:03:08 +00:00
Ragnvald Maartmann-Moe IV
986a610860
Make ifdef's more consistent (and follow CodingStyle), HAVE_* cleanups, make -ggi target compile again, little whitespace, and sorted includes.
2000-12-30 18:26:29 +00:00
Bill Currie
ccba39666b
#include audit
2000-12-30 02:16:36 +00:00
Dabb
1d2e83bb66
Brought back evil DirectSound hack for SDL/SGL
2000-12-29 16:20:38 +00:00
Jeff Teunissen
54e2a4d9d3
Okay, the big whitespace reformat. There is some silliness (case
...
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Jeff Teunissen
fefca3d275
Fix up host.h snafu's
2000-12-05 06:58:01 +00:00
Bill Currie
97f7b9a568
rename quakedef.h to host.h (I should have done this months ago).
...
NOTE: -{sdl,sgl,3dfx,ggi,wgl,mgl} targets are very likely to be broken
if any file fails to compile, just put #include "host.h" into it
2000-12-05 06:33:44 +00:00
Dabb
0a8b0a72d2
Removed evil things. WIN32 SDL/SGL now uses (totally crappy)
...
SDL sounds instead of old directx sounds. Its time to pay for "portability".
2000-12-03 10:53:07 +00:00
Zephaniah E. Hull
13bd5ce012
The init sequence cleanup!
...
Also broke up client.h into a lot of smaller headers.
Oh, software rendering works again.
And yes, this does hit a hell of a lot of files.
2000-10-29 15:35:24 +00:00
Jeff Teunissen
718544d190
Change -sdl to use 320x200 window again
2000-10-28 05:08:55 +00:00
Bill Currie
217f59e1ed
glx, sdl and sgl now all compile on my system (at work), but sgl doesn't link
2000-10-26 16:29:45 +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
Bill Currie
b4a29a6766
forgot to remove some code
2000-10-23 15:29:20 +00:00
Bill Currie
ac4d76b52a
make vid_sdl.c use the new window size code and the vid_fullscreen cvar instead
...
of the -fullscreen command line arg (eww:). Also, doc vid_fullscreen in
vid_sgl.c
2000-10-23 15:27:10 +00:00
Bill Currie
d295f183ba
remove va from commdef.h and fix the consequences
2000-10-21 07:34:56 +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
2682888425
the big cvar value -> int_val audit. seems to work ok
2000-10-17 03:17:42 +00:00
Jeff Teunissen
e0a53aa9a2
cl_main.c: More VID_SetCaption status messages.
...
vid_*: Make it so that VID_SetCaption can be safely called with the output
from va()
2000-10-14 07:10:56 +00:00
Jeff Teunissen
fd81937dd9
vid_sdl.c: Removed some stupid includes, some whitespace
...
vid_sgl.c: Added freelook and joystick support.
2000-10-13 06:16:27 +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
Dan Olson
9b6a9a59b2
Make SDL/SGL include method jive with sdl-config
2000-10-04 23:34:56 +00:00
Bill Currie
065abe9464
make VID_SetCaption consistent wherever appropriate (ie possibly windowed
...
environments). caption is "PROGRAM VERSION[: text]".
2000-10-04 05:45:48 +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
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
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
Jeff Teunissen
1e28e71322
Normal SDL support. It might work. :)
2000-07-11 07:51:36 +00:00