454 Commits

Author SHA1 Message Date
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
otzade
ab83d7639b Merge remote-tracking branch 'upstream/master' into block 2019-05-26 00:53:38 +03:00
yvt
7a9a2c5d96
GL: Sample D-light texture in a uniform control flow
(Hopefully) fixes the artifact mentioned in #834.
2019-05-26 05:56:30 +09:00
otzade
aeeca9331e Some more changes..
Cursor made emissive, unshaded
Yellow cursor is back, but less opaque
2019-05-25 17:11:55 +03:00
otzade
a1def7e762 Merge branch 'master' into block 2019-05-25 13:19:59 +03:00
yvt
31a153e711 Add "ghost" rendering
This commit adds new model rendering options
`ModelRenderParam::{ghost, opacity}`.

> Specifies that the model is not an actual object in the virtual world, 
> thus does not affect the shading of other objects and does not appear
> in a mirror.
> ...
> In exchange, it allows the use of an opacity value other than `1`.
2019-05-25 18:56:41 +09:00
yvt
831b25bc86
Fix shader compilation failure 2019-05-25 18:44:56 +09:00
yvt
51af48e98b
GL: Support emissive material 2019-05-25 16:24:46 +09:00
yvt
38e359d930
Include placeholder KV6 files in pak005-Models.pak 2019-05-25 14:30:34 +09:00
yvt
4ffd817056
Add ModelRenderParam::{castShadow, unlit} 2019-05-25 12:10:51 +09:00
teodor6140
ab9521c6ff Some changes
Yellow cursor no longer visible, only shows at the ends of an !active block line
Normal block cursor is the one with the corners only
Solid frame cursor is used when making a line, the corners-only one doesn't look good on lines
2019-05-24 21:10:52 +03:00
teodor6140
843f1434e5 Make lines thinner (1/24) 2019-05-24 18:49:45 +03:00
teodor6140
2e3a433dab Use model for block cursor 2019-05-24 17:28:38 +03:00
yvt
b5a30d7e65
Update openspades.pot 2019-05-19 17:24:40 +09:00
yvt
91ebbdb496 Fix artifact with spotlights 2019-05-05 23:09:03 +09:00
YVT
319afa5582
Merge pull request #793 from Ericson2314/patch-1
Fix CMake build for macOS
2019-01-01 16:45:36 +09:00
yvt
79099e48c5 Update translations
Contributors:

- Spanish: SandFX
- Vietnamese: Asian Guy
- Ukrainian: Rivan2
- Russian: Ivan, ArionWT, Lyashenko Arsenii Maksimovich
- Greek: SpyKaps
- Hungarian: uno20001
- Chinese (Simplified): 桦翰 (HuaHan)
- Dutch: Tapmemer
2019-01-01 15:18:54 +09:00
yvt
7abc247b52 Bump version to 0.1.3-rc 2019-01-01 02:17:12 +09:00
John Ericson
2d13704fef Fix CMake build for macOS 2018-12-20 04:34:49 -05:00
yvt
6bde199bea Do not use empty shaders
Some (old?) video drivers are unhappy about shaders containing no
executable lines and cause link errors.

This commit fixes #741.
2018-10-08 01:22:29 +09:00
YVT
2f501dbeca
Create uk.json 2018-02-02 23:43:58 +09:00
yvt
c04f7e257d Change the version for real (oopsie!) 2017-12-31 22:32:25 +09:00
yvt
009b0c718e Bump version to 0.1.2 2017-12-31 19:15:21 +09:00
yvt
0eded302cc Update translations 2017-12-31 19:02:26 +09:00
yvt
35bcea5110 Indicate that you carry the intel
Fixes #601.
2017-12-30 23:47:47 +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
c2b00aa464 Update openspades.pot 2017-12-29 21:07:01 +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
Teodor
0cb053c15d Add a headshot bang sound like in classic (#648)
* Add satisfying headshot bangs like in classic

* add whack sound

* Update Client_Update.cpp

* Add files via upload

* Moved to Resources/Sounds/Feedback

* Play only if inflicted by LocalPlayer

Also lowered volume

* Update AUTHORS

* Update Credits.inc
2017-09-05 18:27:05 +09:00
yvt
d8916aa5ca Update translations 2017-09-05 18:11:05 +09:00
yvt
aa22e4b25a Show "player joined team" message for the Spectator team
Fixes #635.
2017-09-03 16:00:30 +09:00
Flavio Monteiro
d924d75ba1 Fix Resources/Scripts/Base/Utils.as weird formatting 2017-08-28 19:16:46 -03:00