1824 Commits

Author SHA1 Message Date
yvt
cdf2bcd9a5
chore: download libysrspades.dylib automatically when building for macOS 2020-12-14 00:14:13 +09:00
yvt
e9cd690a71
chore: build macOS app bundle 2020-12-14 00:02:47 +09:00
yvt
bffbf913c2 chore(ci): setup GitHub workflow for macOS builds 2020-12-13 21:46:14 +09:00
yvt
c808ad427b
chore: get vcpkg-based build working on macOS (again) 2020-12-13 21:46:13 +09:00
yvt
735ab954d4 Update vcpkg 2020-12-13 18:59:57 +09: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
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
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
yvt
8f12984882
Hide unrecognized config variables from autocompletion 2019-07-14 21:31:26 +09:00
yvt
4c041ea8e1
Implement the UI for the command name autocompletion 2019-07-14 20:37:50 +09:00
yvt
8616b5b509
Get the config variable autocompletion working 2019-07-14 20:36:56 +09:00
yvt
dd071637d6
Fix MergeConsoleCommandCandidates 2019-07-14 20:36:27 +09:00
yvt
5794acbc18
Register the assignment behavior of ConsoleCommandCandidate 2019-07-14 20:36:12 +09:00
yvt
1634c61512
Expose the command name autocompletion to the script 2019-07-14 19:51:30 +09:00
yvt
e4efc8b5fc
Autocomplete config variables 2019-07-14 19:15:30 +09:00
yvt
bfe746abca
Remove C++20 constructs 2019-07-14 18:41:13 +09:00
yvt
e57e9655dd
Implement console-related methods on MainScreen 2019-07-14 18:32:42 +09:00
yvt
93cccdecf9
Add View::AutocompleteCommandName 2019-07-14 18:29:50 +09:00
yvt
0ade4b6356
Add console commands for accessing config variables 2019-07-14 17:43:04 +09:00