Dabb
0dd34a3e20
Added include host.h
2000-12-05 20:29:15 +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
8ce7084ba1
Added Key_Event (whatever, -1, whatever). To use that "Internal mess" until someone has time to do this "right" ;-)
2000-11-22 07:27:46 +00:00
Dabb
e1b173450c
Added -window parameter in addition to good old -startwindowed (which I hated to type)
2000-11-16 15:05:37 +00:00
Dabb
6b52545fb0
I don't think we want to free vid.buffer under win32...
2000-11-07 19:23:28 +00:00
Dabb
d1ec2e2cac
Oops... forgot to add "return false" - did it now.
2000-11-07 19:16:43 +00:00
Bill Currie
b7ea0dcf7b
small ws cleanups
2000-11-07 18:15:43 +00:00
Dabb
10d9030dc9
Fix lockup bug in Win32 - cleaned up VID_Allocbuffers (copy/paste from *nix counterparts :-)
2000-11-07 18:09:20 +00:00
Bill Currie
c7790511ec
hopefully fix the surface cache alloc error
2000-11-03 18:29:42 +00:00
Dabb
81840d58c6
ICON2 -> ICON1 - LoadIcon works now for win32.
2000-11-02 19:47:33 +00:00
Jeff Teunissen
31c5c6079c
Fix Win32 software crash (null surface cache)
2000-11-02 17:02:59 +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
Thad Ward
06996ffe01
fix build errors in vid_wgl and vid_mgl
2000-10-29 08:45:37 +00:00
Bill Currie
669648778f
hopefully help Coderjoe with win32 compilation
2000-10-29 00:13:23 +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
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
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
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
60a1c3b857
corrected a minor issue.
2000-09-25 23:39:47 +00:00
Jeff Teunissen
71b841adeb
Cvar audit; These files set cvars improperly, by changing their values
...
without using Cvar_SetValue ().
2000-09-25 06:36:50 +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
Dabb
0e2bc6adb3
Added VID_SetCaption (title) support for little more portability.
2000-07-14 16:08:23 +00:00
Anton E. Gavrilov
df980b44a1
CVAR_FIXME cleanup
2000-06-09 23:37:39 +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
e9463e2db9
pretty much finishes source/*
2000-05-22 07:46:47 +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
Anton E. Gavrilov
4167d8913c
Replace "WinQuake" window header with PROGRAM (---> "QuakeForge")
2000-05-22 04:43:32 +00:00
Marcus Sundberg
126ce0c067
Fixed includes.
2000-05-21 18:40:10 +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
6ed6543fef
Header file addons & Q_atoi -> atoi changes for WIN32
2000-05-21 11:28:37 +00:00
Danne
1c81f61d0d
Fixups for new header stuff.
2000-05-21 09:59:00 +00:00
Danne
46a2fffe15
sprintf -> snprintf
2000-05-20 08:23:41 +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