Daniel Gibson
f13e15e561
ref_gl.so builds and works (on Linux, with Makefile)
...
still dirty, seems to use some symbols from client directly, which will
not work on Windows.
2017-02-19 05:53:56 +01:00
Yamagi Burmeister
4ae8706d22
Make the client asynchronous, e.g. decouble net and refresh frames.
...
This is largely based upon the cl_async 1 mode from KMQuake2, which in
turn is based upon r1q2. The origins of this code may be even older...
Different to KMQuake2 the asynchonous mode is not optional, the client
is always asynchonous. Since we're mainly integrating this rather
fundamental change to simplify the complex internal timing between
client, server and refresh, there's no point in keeping it optional.
The old cl_maxfps cvar controls the network frames. 30 frames should be
enough, even Q3A hasn't more. The new gl_maxfps cvar controls the render
frames. It's set to 95 fps by default to avoid possible remnant of the
famous 125hz bug.
2016-08-04 17:36:42 +02:00
Yamagi Burmeister
eaee1d71d5
Rename cl_stereo* cvars to gl_stereo*.
...
They're renderer cvars, not client cvars.
2016-04-07 17:01:09 +02:00
Valery Guskov
45d3dd0a2f
fixed loading display
...
i guess
2016-04-04 20:55:17 +03:00
Valery Guskov
294a4dfbb9
cleaning up
...
removed non-minimal changes from porting stereo-quake
2016-04-04 00:25:20 +03:00
Valery Guskov
0f8bda3c33
first attempt at porting separation support
...
ported from stereo-quake
http://www.benryves.com/products/stereoquake
2016-04-01 08:51:11 +03:00
svdijk
5c54521199
Screen: Clamp scale to a minimum of 1, except for the HUD
2015-12-19 20:34:02 +01:00
svdijk
54b6d276b2
Screen: Make SCR_Get*Scale() callable before SCR_Init().
2015-12-19 20:18:17 +01:00
svdijk
44969748fb
HUD: Fix centering of scaled crosshair
2015-11-20 22:04:27 +01:00
svdijk
712016783b
UI scaling: Clamp the scale to avoid "over-scaling"
...
This clamps the UI scale, limiting the relative size of the UI
elements to what they would be at scale 1 in a 320x240 resolution.
Allowing bigger scales is not useful, and would make it possible
for the user to shoot him-/herself in the foot by setting a
"too big" UI scale value in the menu. (Since this would mess up
the menu, it could be hard te recover from for a casual user.)
2015-11-20 18:47:08 +01:00
svdijk
0cdf927d3e
Default the various scale variables to "-1" (automatic)
2015-11-08 12:48:27 +01:00
David Reid
fc33d5df64
Fix incorrect positioning of centered strings when scaling is applied.
...
This partially address issue #87 .
2015-10-22 18:08:46 +10:00
Yamagi Burmeister
eba4ce95d4
Rename SCR_GetScale() to SCR_GetDefaultScale()
2015-09-14 19:23:44 +02:00
Yamagi Burmeister
f2e53e657b
Fix crosshair_scale
...
The crosshair_scale cvar was broken a long time ago at Icculus Q2 or
even back at it. The fix is easy... This is part of issue #87 .
2015-09-14 19:05:08 +02:00
Yamagi Burmeister
7ddbedc9c5
Enable hudscaling by default
...
The default value is now -1 aka "auto". If someone wants to disable it
hew can do so in the menu.
2015-06-06 20:56:39 +02:00
Yamagi Burmeister
3fc549ca42
Implement scaling of several non-menu elements
...
- The loading plaque
- The pause plaque
- The "Quit Screen"
2014-06-24 19:39:18 +02:00
Yamagi Burmeister
97139029b0
Implement gl_menuscale
2014-06-24 19:11:46 +02:00
Yamagi Burmeister
61667bd03d
Decouple gl_hudscale and gl_consolescale
2014-06-23 08:09:01 +02:00
Yamagi Burmeister
869ce24922
Hide console scaling behin gl_consolescale
...
With this change it's possible to scale the HUD but not the console.
And vice versa.
2014-06-21 18:54:57 +02:00
Yamagi Burmeister
074891a8a2
Implement gl_hudscale for the console
...
After this change the HUD scaling is applied to the console and notify
messages. This was requested by many users.
2014-06-21 18:17:12 +02:00
svdijk
013ad4aa45
screen: simplify SCR_GetHUDScale.
2014-05-08 04:12:39 +02:00
svdijk
9ae8192f04
video: revert commit 97e149ba9e
, implement a better fix for this.
2014-05-07 18:21:12 +02:00
svdijk
1d81f2e2b6
screen: auto-scale the HUD when gl_hudscale < 0.
2014-05-06 19:45:11 +02:00
svdijk
092e7e1888
SCR_ExecuteLayoutString: also apply scale to xl and yt to avoid overlap.
2014-05-04 21:07:23 +02:00
svdijk
d823940370
Also apply gl_hudscale cvar to the inventory.
2014-05-04 21:05:56 +02:00
svdijk
97e149ba9e
video: avoid artefacts when resizing the viewsize when paused.
2014-05-04 16:05:32 +02:00
Daniel Gibson
7ace8c9116
Implementing gl_hudscale cvar to scale the HUD
...
because it's so small in high resolutions and I'm an old man with bad
eyes.
2014-04-25 21:24:26 +02:00
Yamagi Burmeister
8102e1a021
Move entitycmpfnc() to cl_view.c an reimplement it
...
This function is only used in cl_view.c, so no need for external
declaration. Reimplement it in a sane and on all platform 64 bit
clean way. This allows us to finally remove the horible INT macro.
2013-12-31 12:47:18 +01:00
Yamagi Burmeister
5e85fbc8b9
Allow arbitrary screen sizes.
...
Without this change the width of the render windows was required to be a
multiple of 8, making it unable to use strange resolutions like 1366x768.
This change is based upon an idea submitted by "tmcp" in pull request
27.
2013-10-12 09:29:19 +02:00
Alejandro Ricoveri
3e45c5e363
Refresh API refactoring
...
Analog functions of the former refexport_t are now public for the client
to access.
2013-06-15 10:27:30 +02:00
svdijk
6472514c8f
Lets not do the last two commits just before 5.11
...
Revert "change several strcat calls to Q_strlcat calls"
This reverts commit ab879f1bc7
.
Revert "change (v)sprintf calls to (v)snprintf calls"
This reverts commit b46e210d76
.
2013-05-18 18:59:39 +02:00
svdijk
b46e210d76
change (v)sprintf calls to (v)snprintf calls
2013-05-17 21:50:31 +02:00
svdijk
e07294b6b1
replace most strncpy calls (several of them wrong) by Q_strlcpy calls
2013-05-11 14:44:36 +02:00
svdijk
76e3480ccb
Some rewriting of windowed_mouse setting, in preparation of releasing the mouse in the menu.
2012-10-30 20:36:15 +01:00
Yamagi Burmeister
b52336850f
Reformat the client
2012-07-22 15:34:45 +02:00
Yamagi Burmeister
881b935b65
Change atof() to strtod()
2012-06-02 10:33:28 +02:00
Yamagi Burmeister
67dbe816c9
Change atoi() to strtol()
2012-06-02 10:24:52 +02:00
Yamagi Burmeister
0e1520d29a
Remove dead code and assignments
2012-06-01 17:05:40 +02:00
Christoph Mallon
ab034114b4
Whitespace fixes.
2012-04-30 08:25:59 +02:00
Yamagi Burmeister
03015a686b
Hide music playback from CD behind CDA
2012-04-25 08:53:25 +00:00
Yamagi Burmeister
9d60a5de6a
Hide OGG/Vorbis support under OGG
2012-04-25 08:24:38 +00:00
Yamagi Burmeister
787686a976
Dateiheader neu formatiert und "particles.h" entfernt
2010-07-13 18:19:42 +00:00
Yamagi Burmeister
0afa0b8fef
Eine Funktion von cl_view.c nach cl_screen.c verschoben
2010-06-18 16:50:27 +00:00
Yamagi Burmeister
d32f2e60a3
- cl_scrn.c zu cl_screen.c umbenannt
...
- Einen Header für cl_tent.c
2010-06-18 16:45:44 +00:00