2076 Commits

Author SHA1 Message Date
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
yvt
f855aff5d1
GLRadiosityRenderer::UpdateDispatch: Use reference to refer to parent 2019-08-08 00:35:33 +09:00
yvt
027f6ef357
GLRadiosityRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:34:00 +09:00
yvt
d99f202c92
GLOptimizeVoxelModel: Replace GLRenderer * with GLRenderer & 2019-08-08 00:08:53 +09:00
yvt
00fbbe9acd
GLNonlinearlizeFilter: Replace GLRenderer * with GLRenderer & 2019-08-08 00:05:55 +09:00
yvt
ab235fed8e
GLModelRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:05:26 +09:00
yvt
0f4e96cb44
GLModelManager: Maintain references using Handle 2019-08-08 00:04:25 +09:00
yvt
16a2785cba
GLModelManager: Replace GLRenderer * with GLRenderer & 2019-08-08 00:01:33 +09:00
yvt
8101f85d6c
GLMapShadowRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:00:41 +09:00
yvt
c21c28875b
GLMapRenderer: Replace GLRenderer * with GLRenderer & 2019-08-08 00:00:03 +09:00
yvt
105c1270b7
GLMapChunk: Replace GLMapRenderer * with GLMapRenderer & 2019-08-07 23:58:24 +09:00
yvt
936041a9fb
GLLongSpriteRenderer: Replace GLRenderer * with GLRenderer & 2019-08-07 23:56:39 +09:00
yvt
8c67276f77
GLLensFlareFilter: Replace GLRenderer * with GLRenderer & 2019-08-07 23:56:06 +09:00
yvt
0c99079614
GLLensFilter: Replace GLRenderer * with GLRenderer & 2019-08-07 23:55:17 +09:00
yvt
ebbca25f6e
GLLensDustFilter: Replace GLRenderer * with GLRenderer & 2019-08-07 23:54:37 +09:00
yvt
f702e381c6
GLImageRenderer: Replace GLRenderer * with GLRenderer & 2019-08-07 23:53:54 +09:00
yvt
4478ec96a2
GLFXAAFilter: Replace GLRenderer * with GLRenderer & 2019-08-07 23:52:09 +09:00