2092 Commits

Author SHA1 Message Date
yvt
8a98e3d186 Fix the incorrect arrangement of preprocessor directives 2020-06-08 13:02:52 +09:00
Tomoaki Kawada
502e02a2df
Merge pull request #899 from devnexen/i386_build_fix
Preserves EBX manually for the i386 architecture with PIC builds.
2020-06-08 12:54:04 +09:00
David Carlier
eb6d59c946 Little fix proposal for i386 arch.
needs to preserv ebx for the i386 architecture with PIC builds.
2020-06-06 13:50:07 +01:00
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
e4e72d7dca
ParticleSpriteEntity: Replace Client * with Client & 2019-08-08 01:22:01 +09:00
yvt
8d9145c6ec
SmokeSpriteEntity: Replace Client * with Client & 2019-08-08 01:20:26 +09:00
yvt
eece4c3251
TCGameMode: Force bounds check 2019-08-08 01:11:59 +09:00
yvt
99489cab66
TCProgressView: Replace Client * with Client & 2019-08-08 01:10:28 +09:00
yvt
1a4594d9bd
Tracer: Replace Client * with Client & 2019-08-08 01:09:22 +09:00
yvt
066eda82df
Add bounds check 2019-08-08 01:08:12 +09:00
yvt
0ce6371142
SWMapRenderer: Replace SWRenderer * with SWRenderer & 2019-08-08 00:57:59 +09:00
yvt
e91c957ad8
SWFlatMapRenderer: Replace SWRenderer * with SWRenderer & 2019-08-08 00:57:10 +09:00
yvt
2c331275a2
GLWaterRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:55:47 +09:00
yvt
932a4d2f12
GLVoxelModel: Replace GLRenderer * with GLRenderer & 2019-08-08 00:54:52 +09:00
yvt
9c8737fabc
GLSSAOFilter: Replace GLRenderer * with GLRenderer & 2019-08-08 00:53:46 +09:00
yvt
6ad4800e70
GLSpriteRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:53:08 +09:00
yvt
bd005ac5a2
GLSoftSpriteRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:52:24 +09:00
yvt
51292cd320
GLSoftLitSpriteRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:51:47 +09:00
yvt
3ee8204466
Replace std::map with std::unordered_map
Because we do not support MSVC 2010 anymore.
2019-08-08 00:48:55 +09:00
yvt
518a85b8fd GLProgramManager: Make minor changes 2019-08-08 00:48:19 +09:00
yvt
e947de6a7d GLProgramManager: Use std::unique_ptr for memory management 2019-08-08 00:48:14 +09:00
yvt
63782bb00a
GLShader: Replace IGLDevice * with IGLDevice & 2019-08-08 00:38:13 +09:00
yvt
93e8a30f84
Fix debug builds 2019-08-08 00:37:24 +09:00