162 Commits

Author SHA1 Message Date
David Carlier
2c0dab7c32 Choosing the driver via a new submenu instead 2022-07-18 19:25:11 +01:00
David Carlier
b539f2f728 V-Sync new submenu proposal.
disabled or plain mode, maybe adaptive mode can be considered at some point.
2022-04-16 15:00:30 +01:00
yvt
c1b5781752 feat(client): support specifying the muzzle and case ejection positions in the weapon skins 2021-06-20 16:15:17 +09:00
yvt
8ac141daf4 feat(draw): support linear lights 2021-06-20 16:11:39 +09:00
Pablo-Dallegri
a4f3e067d8 Fix displayed string 2021-05-07 11:56:17 -03:00
Pablo-Dallegri
b6e0153e62 Rename new cvar 2021-05-07 11:52:16 -03:00
Pablo-Dallegri
4fd3329c1d Revert cg_alerts renaming 2021-05-07 11:46:14 -03:00
Pablo-Dallegri
3349ac54ab Add alerts volume slider 2021-05-07 11:00:17 -03:00
Pablo-Dallegri
b9001dfb55 Rename cg_alerts to cg_alerts_show 2021-05-07 10:29:49 -03:00
Pablo-Dallegri
de21f9ea6c Create UI volume slider 2021-05-05 14:57:09 -03:00
Pablo-Dallegri
fb9edc11e0 Create and use prescale constructor 2021-05-05 07:23:55 -03:00
Pablo Dallegri
e59acb67ab Change chat beep from toggle to slider 2021-05-05 04:12:08 -03:00
yvt
18f8b77c4a feat(gui): indicate the usage of a pre-release version in the startup window 2021-05-03 00:38:12 +09:00
yvt
a517f5aefc feat(draw): do not require r_temporalAA to use r_fogShadow 2
I thought it would look bad without `r_temporalAA`. It wasn't that bad,
actually.
2021-01-29 19:45:56 +09:00
yvt
d8b06b63b9 feat(gui): add r_fogShadow 2 to the startup screen, move r_fogShadow to the top level
Since it can apply GI, it no longer belongs to "Local Illumination".
2021-01-29 19:35:22 +09:00
yvt
c8ad6ba012 feat(gui): hide the temporal AA option as it's still experimental
The users can enable it anyway by toggling `r_temporalAA`.
2021-01-16 23:39:07 +09:00
yvt
31dbe3649d Implement temporal AA
Fixes #597.

Currently, reprojection is done by taking only the camera rotation into
account. The result is not very satisfactory.
2021-01-08 21:28:19 +09:00
YVT
dc5225d4a1
Merge branch 'master' into feature-system-console 2019-07-16 00:08:03 +09:00
yvt
5eab672881
Clear TextViewer's selection when Text is changed 2019-07-15 23:49:31 +09:00
yvt
64438390fa
Fix crash on clicking empty TextViewer
Closes #843.
2019-07-15 23:48:16 +09:00
yvt
eb086b2165
Update a doc comment 2019-07-15 23:45:59 +09:00
yvt
781056ef70
Fix small peculiarities with the system console's input field
- Hide the candidates after hitting Enter
- Fix the weird hard-to-describe behavior when navigating through the
  input history
2019-07-15 00:19:17 +09:00
yvt
ed508fadd5
Add IRenderer::ClearCache 2019-07-14 23:53:10 +09:00
yvt
3960f47cc8
Deprecate cvar editing via chat window 2019-07-14 23:07:55 +09:00
yvt
4c041ea8e1
Implement the UI for the command name autocompletion 2019-07-14 20:37:50 +09:00
yvt
cacec5b470
Invoke View::ExecCommand from the console window 2019-07-14 14:59:58 +09:00
yvt
070707c892
Implement the script side of the console window 2019-07-14 14:13:34 +09:00
yvt
a9edb61512
Add TextViewer.RemoveFirstLines
This method is used to remove old log lines from the console window.
2019-07-14 13:22:51 +09:00
yvt
c6edd641ca
Hide the console window when the escape key is pressed 2019-07-14 11:31:53 +09:00
yvt
d6f5370581
Add the console window (WIP) 2019-07-14 01:38:28 +09:00
yvt
b02ad53109 Add View::RunFrameLate
`IRenderer::{FrameDone, Flip}` are now called in `RunFrameLate` instead.
This makes it possible to create a `View` wrapping another `View` to
insert a new 2D drawing pass, which is necessary to render the system
console.
2019-07-14 00:29:36 +09:00
yvt
c37a013157 clang-format AngleScript source files
Unsurprisingly it doesn't support AngelScript, so the Java language mode
is used instead. The overall result seems good, but there's one problem:
Long statements starting with `@something = ` (object handle assignment)
are broken after the `@`. To work-around this, I had to set
`ColumnLimit` to `100`.
2019-07-13 23:45:47 +09:00
yvt
4ffd817056
Add ModelRenderParam::{castShadow, unlit} 2019-05-25 12:10:51 +09:00
yvt
c654b7074b TextViewer: Support text selection and the copy operation
Fixes #417.
2017-12-30 23:23:07 +09:00
yvt
8e7cf01492 Refactor AngelScript code
Split huge source files
2017-12-30 22:06:38 +09:00
yvt
604d82eee4 Fix #592 2017-12-30 21:19:21 +09:00
yvt
5948ef1a2a Exclude unknown configs in the in-game config editor
Fixes #693.
2017-12-30 21:02:36 +09:00
yvt
228f1b1ee5 Remove C++ definitions of some config variables
The following config variables are no longer accessed by the C++ code
directly:

- cg_lastQuickConnectHost
- cg_playerName (not to be confused with cg_playerNames)

The AngelScript code still uses them, though.
2017-09-11 21:03:18 +09:00
yvt
22cda2a1fe Prevent client commands from being sent to the server
Client commands (e.g, /r_bloom 1) typed in the chat window are no longer
send to the server.

Also, the function CheckConfigVariableSet was renamed to
CheckAndSetConfigVariable to make its intent more clear.

Fixes #657.
2017-09-10 20:38:50 +09:00
Flavio Monteiro
d924d75ba1 Fix Resources/Scripts/Base/Utils.as weird formatting 2017-08-28 19:16:46 -03:00
yvt
8e8f2a8772 (Hopefully) fixes #577 2017-02-25 21:19:19 +09:00
yvt
f52f840256 Add translator comments 2017-02-11 16:38:24 +09:00
yvt
7272c067a7 Automatic update check
Fixes #526.
2017-01-30 01:02:40 +09:00
yvt
66c4b6b91a Limit the range of cg_fov
Fixes #549.
2017-01-29 19:58:49 +09:00
yvt
2ad5074d9c Rename SetSoundAmbience to SetSoundEnvironment 2017-01-07 03:55:39 +09:00
yvt
7a14c39911 Enhancement to weapon sound effects 2017-01-06 04:01:10 +09:00
yvt
75b7b97ff1 Set initial value for cg_protocolVersion 2017-01-05 05:31:43 +09:00
yvt
a7b9909b2e Refactoring 2017-01-05 03:03:39 +09:00
yvt
6673b6c56c Update sprint animation 2017-01-04 23:17:07 +09:00
yvt
c878a8f7aa Add GUI for SSAO 2017-01-01 17:48:53 +09:00