1821 Commits

Author SHA1 Message Date
YVT
514889be74
Merge pull request #673 from Rootmars/master
Alert player when building above highest z-level
2017-12-01 13:45:55 +09:00
YVT
81e7a4f5cc
Merge pull request #676 from fantoro/patch-1
Added the PPA to README
2017-12-01 13:38:14 +09:00
fantoro
b3ebac4157
Added the PPA to README 2017-11-30 15:50:01 +01:00
md
bdcfbbec27 First-person spectate now zooms with player 2017-11-29 20:11:10 -08:00
md
67af71d1ff Alert player when building above highest z-level.
Made it so that an alert is displayed when the player attempts
to build beyond the highest z-level (e.g. above the platform
in babel.)

This also fixes a bug where blocks are consumed when attempting
to do such thing.
2017-11-27 19:50:05 -02:00
YVT
b68a17c148
Merge pull request #671 from devnexen/code_fixes
Reducing some compilation warnings.
2017-11-19 13:16:29 +09:00
David Carlier
4864f07937 Reducing some compilation warnings. 2017-11-18 21:15:07 +00:00
YVT
28eb271eaf
Merge pull request #668 from devnexen/openbsd_fix
On OpenBSD SDL_GetBasePath is not really implemented
2017-10-31 15:37:46 +09:00
David Carlier
3c5016dc6c On OpenBSD SDL_GetBasePath is not really implemented
due to lack of kernel support of exe self-retrieval.
2017-10-14 15:56:36 +01:00
YVT
e93ea55e3f Adjust the gain of hit feedback sound (#659)
Fixes #652.

The sound gain is now constant and does not change regardless of the
distance. This imitates the behavior often seen in other first-person
shooters.

Switching from "Play" to "PlayLocal" only affects the way the gain is
computed since "HeadshotFeedback.opus" is a stereo sound file and there-
fore not spatialized by any known audio backends.

This also introduces a config variable named "cg_hitFeedbackSoundGain"
that allows users to adjust the volume of the hit feedback sound.
2017-09-17 14:15:20 +09:00
NotAFile
266d141e04 First person enhancements (#656)
* only switch first-person mode while spectating

closes #655

* use first person view for first-person spectating

* don't spectate specators; refactor
2017-09-17 14:15:06 +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
7d0d8e3704 Create Weapon instances based on the current GameProperties, not a cvar 2017-09-11 20:59:39 +09:00
yvt
821c392ade Add protocol version parameter to GameProperties’ constructor 2017-09-11 20:49:21 +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
notafile
79689848dd Show Dead players in gray on scoreboard
This is done for all cases, but that is probably a bad idea. While this
does not matter in public games, in small tournaments this could be an
advantage. Ideally, the server could disable giving players this
information
2017-09-07 20:32:24 +02:00
NotAFile
bfe62a0a2c Skip dead players when spectating between spawns (#653)
* Skip dead players when spectating between spawns

This makes e.g. spectating the last player alive in arena easier

* Add skip dead players config option
2017-09-08 01:39:22 +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
a5a9392f50 Fix #651 2017-09-05 16:28:39 +09:00
yvt
78834f70b7 Update external library URL
Fixes #621.
2017-09-04 14:59:37 +09:00
yvt
f016bd7cee Prepare for an increased number of player slots
Related: #630
2017-09-04 14:39:37 +09:00
YVT
70fb4979a7 Merge pull request #649 from NotAFile/master
add ability to push messages to CenterMessageView
2017-09-04 14:00:22 +09:00
notafile
1578bdf157 add ability to push messages to CenterMessageView 2017-09-04 00:36:22 +02:00
yvt
a8ae6c1098 Clear the kill count when a player leaves
Fixes #620.
2017-09-03 16:59:33 +09:00
yvt
a853a58631 Remove corpses after respawn on a certain game mode
Fixes #145.
2017-09-03 16:56:01 +09:00
yvt
aa22e4b25a Show "player joined team" message for the Spectator team
Fixes #635.
2017-09-03 16:00:30 +09:00
YVT
c03e869e2b Update README.md 2017-08-31 22:46:43 +09:00
Flavio Monteiro
d924d75ba1 Fix Resources/Scripts/Base/Utils.as weird formatting 2017-08-28 19:16:46 -03:00
Flávio Monteiro
b34c501bdc Update README.md 2017-08-22 20:00:06 -03:00
YVT
bc979a32e1 Update Clipboard.cpp
(Hopefully) this fixes #603
2017-08-18 18:25:40 +09:00
yvt
ca892698e3 Minor fixes
- Remove unnecessary `volatile`
- Replace some operations with atomic ones for soundness
- Clean up
- Avoid certain UBs
- Typo
2017-06-25 21:15:27 +09:00
yvt
63f16d0803 Update translations 2017-06-25 20:47:51 +09:00
YVT
784d383c9c Merge pull request #619 from roboman2444/master
added geometry shader support. Untested, and i dunno if there is any real use for it
2017-05-28 23:15:09 +09:00
roboman2444
08add66f94 added geometry shader support. Untested, and i dunno if there is any real use for it 2017-05-21 21:01:32 -04:00
YVT
ed1e1c88f6 Update building instructions 2017-05-12 02:44:47 +09:00
YVT
29f6cee8de Merge pull request #612 from popey/add-snapcraft
Add snapcraft configuration to build snaps
2017-05-11 16:08:50 +09:00
YVT
d3cdd8bef2 Merge pull request #614 from popey/patch-1
Update README.md to add snap install instructions
2017-05-11 16:08:35 +09:00
Flávio Monteiro
4b3219cdea README.md: make some small aesthetic changes 2017-05-03 16:30:53 -03:00
Alan Pope
3b1ad491f2 Update README.md to add snap install instructions 2017-05-03 10:17:50 +01:00
Alan Pope
8427df283f Add snapcraft configuration to build snaps 2017-05-01 15:57:33 +01:00
YVT
467fc3ce0d Merge pull request #609 from devnexen/possible_uint_shift_overflow
got an issue on arch linux/gcc6
2017-04-28 15:39:21 +09:00
David Carlier
abd2812e1b got an issue on arch linux/gcc6
runtime errors due to the shifting operations done in eNet
2017-04-25 22:07:20 +00:00
YVT
9c2c28c110 Merge pull request #606 from yvt/patch-safe-queue-deletion
Safer dispatch queue deinitialization
2017-03-23 23:48:12 +09:00
yvt
8d02ce3d36 Oops 2017-03-23 15:35:04 +09:00
yvt
fbab073f03 Implement safer TLS deinitialization 2017-03-23 15:34:32 +09:00
yvt
0267df0463 Implement safer dispatch queue deletion
Fixes #604.
2017-03-22 13:24:27 +09:00
YVT
8dae5eb1a7 Merge pull request #595 from devnexen/leaks
Fixing few memory leaks + fixing pthread symbol missing
2017-03-04 22:25:06 +09:00
YVT
091bd187e7 Merge pull request #589 from devnexen/angelscript_fix_for_clang
Fix the build for clang as it s C++11 compliant too.
2017-03-04 22:24:27 +09:00
YVT
05ac2cf4a8 Merge pull request #594 from devnexen/identify_bsd_screen_help
Identify *BSD for the startup screen
2017-03-04 22:24:10 +09:00