1885 Commits

Author SHA1 Message Date
Tomoaki Kawada
db085ff4f0
Merge pull request #897 from devnexen/mac_build_upd
Disable spurious opengl deprecations warning on mac.
2020-05-20 16:18:40 +09:00
David Carlier
573218c856 Disable spurious opengl deprecations warning on mac.
Metal API had been prioritised thus the deprecation.
2020-05-20 06:49:57 +01:00
yvt
4fbe5ee5ce
Reset intels and team scores after receiving winning IntelCapture
This problem was originally reported in:
<https://github.com/piqueserver/piqueserver/issues/586>

Upon receiving `IntelCapture` with `winning = 1`, the voxlap client
resets both team scores and the holding status of both teams' intels,
but OpenSpades didn't do that, resulting in a weird behavior described
in piqueserver/piqueserver#586. This commit changes OpenSpades' behavior
to be congruent with the voxlap client's behavior.

Fixes #890.
2020-04-20 13:38:57 +09:00
Tomoaki Kawada
a455307017
Merge pull request #877 from goleo108/patch-1
AngelScript: fix build on DragonFly BSD, NetBSD and sparc64
2020-04-20 01:51:24 +09:00
Tomoaki Kawada
470c62d5b7
Merge pull request #884 from devnexen/mem_range_overlap_in_scripting_fix
Memory overlap fix proposal.
2020-04-20 01:51:02 +09:00
yvt
f4dffb78dd
Update translations
Contributors (sorted by language):

- German: theunknownxy
- Hungarian: uno20001
- Italian: PianoPoops (mattiagalati355)
- Lithuanian: minecraft6900
- Norwegian Bokmal: NahojAivk
- Russian: ArionWT
- Spanish: Suicide Cat (markalex.game)
- Turkish: ANormal Gulboy (efegulboy)
2020-04-20 00:08:05 +09:00
Tomoaki Kawada
e1756fe892
Merge pull request #889 from hourai-dev/fix-horizontal-dist
Removed unnecessary call to GetHorizontalLength() in Player.cpp
2020-04-17 13:07:38 +09:00
hourai-dev
a0aa55b24a
Removed unnecessary call to GetHorizontalLength(). 2020-04-16 12:46:13 -05:00
Tomoaki Kawada
174d9d4418
Merge pull request #888 from devnexen/netbsd_recognised
Recognises NetBSD too
2020-04-06 17:18:01 +09:00
David Carlier
393865b750 Recognises NetBSD too 2020-04-05 13:54:53 +01:00
Tomoaki Kawada
4a8e328d05
Merge pull request #883 from devnexen/bsd_unzip_fix_flag
On BSD -u and -o are mutually exclusive.
2020-03-17 16:20:07 +09:00
David Carlier
8f0ac7ceee Memory overlap fix proposal. 2020-03-01 11:15:37 +00:00
David Carlier
fb9dbd82df On BSD -u and -o are mutually exclusive. 2020-02-29 18:06:36 +00:00
yvt
0534cb077c Get vcpkg-based build working on Windows 2020-02-16 03:28:04 -08:00
yvt
bd1ea7feb5
Get vcpkg-based build working on macOS
Use the following command:

    cmake -G Ninja .. -D CMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
2020-02-16 17:34:46 +09:00
yvt
1e921f1b0b
Add submodule vcpkg 2020-01-15 01:17:53 +09:00
Leonid Bobrov
e12db75f2e
Sources/AngelScript/source/as_memory.cpp: fix build on NetBSD and DragonFly BSD 2020-01-11 14:28:36 +02:00
Leonid Bobrov
5deeb88ffb
Sources/AngelScript/source/as_config.h: fix build on NetBSD and sparc64 2020-01-11 14:17:47 +02:00
yvt
b36efa4ef4
Update macOS library dependencies
`OpenSpades-Externals-Darwin-5.zip` updates SDL2 from 2.0.9 to 2.0.10.
2019-12-09 01:09:02 +09:00
yvt
786d9884c9
Fix typo 2019-12-09 01:07:31 +09:00
yvt
cdbc2ccc42
Merge branch 'BR--gunplayfix' 2019-12-09 00:25:57 +09:00
yvt
ada518be9d
Merge branch 'gunplayfix' of https://github.com/BR-/openspades into BR--gunplayfix 2019-12-09 00:25:36 +09:00
dtomlinson-ga
fefce1b4e0 Fix use after free in Main.cpp (issue #846) (#871)
* Fix use after free in Main.cpp (issue #846)

Create c-string to store filepath before concatenating with output message.

* Fix use after free in Main.cpp

Changed variable type to std::string and moved c_str() call

* Fix use after free in Main.cpp

Removed reference to directory variable
2019-11-30 00:56:45 +09:00
dtomlinson-ga
4ce8546df8 Fix typo in Player::GetVelocity()
Corrected GetVelocty() to GetVelocity() everywhere it occurs.
2019-11-28 22:10:38 +09:00
Anthony Som
08e792e7fa Fix aim-down-sight sound when ammo count is zero (#858)
* Fix aim-down-sight sound when ammo count is zero

Fixes #858.

* Delete settings.json
2019-10-08 08:51:47 +09:00
YVT
51f34fee0c
Latch r_softParticles
Fix #856
2019-10-06 20:31:07 +09:00
YVT
33d920a540
Fix compilation issue with MSVC
This commit fixes a compilation issue caused by the use of an incomplete type
`FontManager` in an instantiation of `Handle<FontManager>::~Handle()`.

Fixes #852.
2019-10-04 00:13:05 +09:00
Tuupertunut
3539b4240c Fixed map loading with protocol 0.76. 2019-09-22 21:16:05 +03:00
YVT
ffb3f33abe
Remove a redundant assignment
Reported by Clang's static analysis.
2019-07-24 18:12:08 +09:00
YVT
d92149713a
Add a missing call to CheckError 2019-07-24 18:11:04 +09:00
YVT
d467f3cf5a
Delete BdfToOSFont.cpp 2019-07-20 16:14:30 +09:00
YVT
989fc1e211
Remove out-dated comment 2019-07-17 10:30:36 +09:00
YVT
ed5875181a
Merge pull request #842 from yvt/feature-system-console
Add internal console window
2019-07-16 00:31:36 +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
18911042e7
Merge remote-tracking branch 'origin/master' into feature-system-console 2019-07-15 09:08:09 +09:00
yvt
797dbd755f
Do not initialize 3D before displaying "NOW LOADING"
Fixes the regression introduced by `ConsoleScreen`.
2019-07-15 00:22:30 +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
abcf65d536
Add clearsfxcache console command 2019-07-15 00:08:02 +09:00
yvt
2a1c28d7d1
Add cleargfxcache console command 2019-07-14 23:58:46 +09:00
yvt
ed508fadd5
Add IRenderer::ClearCache 2019-07-14 23:53:10 +09:00
yvt
37982aa020 Replace std::map with std::unordered_map
Because we do not support MSVC 2010 anymore.
2019-07-14 23:48:06 +09:00
YVT
33b6aa370c
Remove unnecessary code 2019-07-14 23:45:13 +09:00
yvt
bb4675ca00
Add help console command 2019-07-14 23:34:40 +09:00
yvt
008c687e83
Raise the buffer size limit of BoundedLogBuffer 2019-07-14 23:22:20 +09:00
yvt
3960f47cc8
Deprecate cvar editing via chat window 2019-07-14 23:07:55 +09:00
yvt
a9561991c3
Add savemap console command 2019-07-14 22:29:15 +09:00
yvt
d0dfb188f0
Remove unnecessary code 2019-07-14 22:06:58 +09:00