Bill Currie
12450fe6b8
[vid] Remove redundant direct, conbuffer and conrowbytes
2021-07-11 13:44:00 +09:00
Bill Currie
6db6f8f0e2
[win] Fix a pile of bitrot
...
Man, those bits rot quickly. Must be stored with a rotfish.
2021-07-11 13:30:52 +09:00
Bill Currie
37d35811e3
[vid,render] Clean up fov and aspect
...
vid.aspect is removed (for now) as it was not really the right idea (I
really didn't know what I was doing at the time). Nicely, this *almost*
fixes the fov bug on fresh installs: the view is now properly
upside-down rather than just flipped vertically (ie, it's now rotated
180 degrees).
2021-04-01 19:17:19 +09:00
Bill Currie
6f56f98714
[vid] Make windows vid init conform to QF's method
...
Ie, respecting cvars.
2021-03-31 15:50:10 +09:00
Bill Currie
5f93c115ff
[util] Make developer flag names easier to manage
...
They're now an enum, and the flag part of the name is all lowercase, but
now the flag definitions and names list will never get out of sync.
2021-03-29 22:38:47 +09:00
Bill Currie
88ff254f42
Get QF cross-compiling using MXE/mingw32
...
This includes -win clients (no clue if anything actually works yet).
2021-03-27 20:09:37 +09:00
Bill Currie
a32e2319e2
Merge branch 'master' into win-merge
2021-03-25 22:42:16 +09:00
Bill Currie
2336b0bcc8
Do some more code split-up.
2013-01-28 16:02:33 +09:00
Bill Currie
3e27689ca8
Begin splitting the code into more easily digested chunks.
...
While MH's code certainly does the job, it's rather hard to follow with
functions doing different jobs on different calls.
2013-01-27 20:04:34 +09:00
Bill Currie
c56a075199
Get MH's vid_win.c mostly working for sw and sw32.
...
There are still a great many problems, but pixels get to the screen in the
right place (for windowed mode, anyway).
2013-01-27 12:53:58 +09:00
Bill Currie
a35f6cadf7
Use the cvar's int_val rather than coverting its value.
...
Let the cvar system to its job :)
2013-01-25 16:36:00 +09:00
Bill Currie
b3a7ed8a62
Use vid_win.c from engoo as a basis.
...
Thanks to leilei being a diehard sw quake fan, and MH being the hacker he
is, engoo's vid_win.c drops Scitech's MGL :) (I really did not want to
resurrect that). However, I've modified it so it /compiles/ in QF: ripped
out the menu code, ripped out the input handling (that's in in_win.c) and
started trying to get it to work for vid_render. The clients at least link,
but I'm certain they'll segfault (GPF?).
2013-01-24 21:11:33 +09:00
Bill Currie
4d6fe3694d
Add the missing function required for -win.
...
They're just stubs for now, but nq-win.exe and qw-client-win.exe build. I'm
99.999% certain they won't work, though :P
2013-01-24 12:36:14 +09:00
Bill Currie
bd537ac1b1
Fix vid_win.c compilation.
...
It will not work yet.
2013-01-24 12:36:14 +09:00
Bill Currie
ae6dfd8cb6
Move the mouse activation/deactivation into in_win.c.
...
It now gets handled by the keydest callback (I hope it still works).
2013-01-24 12:36:14 +09:00
Bill Currie
d14da7f34a
Enable the "win" clients.
...
The win clients are the native windows (NOT sdl!! *twitch*). Things are
already looking on the up: only three errors in in_win.c. I'm not looking
forward to vid_win.c (ex vid_wgl.c), though.
2013-01-24 12:36:14 +09:00
Bill Currie
d332a9f5ae
remove useless file
2002-12-16 21:09:25 +00:00
Chris Ison
e3b2bfb81a
clear key states on game start
2002-01-17 22:04:58 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Ragnvald Maartmann-Moe IV
66fafd3e0e
First stage of video and input system merge. The city has collapsed, wreckage sifting ensues...
2001-04-15 04:18:22 +00:00