1026 Commits

Author SHA1 Message Date
yvt
d935ea6d18 Change the font of ammo count back 2016-12-17 04:26:55 +09:00
yvt
d505bfae91 Expose “FontManager” to the scripting environment 2016-12-16 05:05:23 +09:00
YVT
2d0ae3b817 FreeType2 font renderer (#484)
* Backport ngspades’s FreeType2 font renderer

* Change system fonts

* Fix SWImage::Update

* Preliminary custom TTF/OTF font support

* Fix font rendering

* Adjust design

* Update devpak

* Fix to compile on Linux

* Update .travis.yml

* Update external libraries

* Update .travis.yml

* Attempt to fix Travis CI build

* Add missing sudo to travis.yml

* Nevermind the changes, it didn't work

* Update .travis.yml

* Update .travis.yml and CMakeLists.txt
2016-12-11 23:18:16 +09:00
YVT
5b887ddb96 Provide an option to browse the config directory (#481)
Fixes #268.
2016-12-08 04:40:33 +09:00
yvt
de10fa8f78 Remove unused configs 2016-12-08 01:35:53 +09:00
yvt
7c615bd259 Provide an option to reset all settings
Can be found in Startup configuration window -> Generic tab.
Fixes #360.
2016-12-08 01:29:41 +09:00
yvt
a7e64908ea Fix a comment 2016-12-08 00:52:04 +09:00
YVT
dcce3d900e Merge pull request #480 from feikname/master
Add missing <intrin.h> header for Windows build
2016-12-06 15:28:44 +09:00
YVT
cd2636ea32 Merge branch 'master' of https://github.com/yvt/openspades 2016-12-05 22:28:05 -08:00
YVT
8784754bec Fix #476 2016-12-05 22:27:13 -08:00
Flávio Monteiro
a208506a74 Add missing <intrin.h> header for Windows build
- Fixes VS2017 build (#473)
2016-12-06 03:37:19 -02:00
YVT
216f92a166 Merge pull request #479 from yvt/patch-mkpak-ps
Support pak creation with Windows builds
2016-12-06 11:15:01 +09:00
YVT
aa9dea330c Support pak creation with Windows builds
- mkpak.sh was ported to PowerShell (tested on PowerShell 5).
- Resources/CMakeList.txt was modified to use mkpak.ps1 on Windows and
  to generate pak files in the "Resources" directory inside the build
  output directory.
- Fixes #316.
- However, users still have to download the non-free pak manually.
2016-12-05 11:13:50 -08:00
David Carlier
1d970ec34d make the build possible on OpenBSD.
modified version of the pk download script.
isnan belongs to std namespace in C++11 standard.
2016-12-04 20:01:37 +00:00
YVT
b1bf4e5466 Merge pull request #465 from theunknownxy/favorites
Favorite Servers
2016-12-04 22:44:43 +09:00
Marco Schlumpp
eb65b2f33b
Remove wrong return type. 2016-12-04 12:54:13 +01:00
YVT
0df91910ed Remove polyfills for older versions of MSVC 2016-12-04 01:23:12 -08:00
Marco Schlumpp
0f4f426176
Check whether a entry was found before trying to access it. 2016-12-03 20:20:22 +01:00
Marco Schlumpp
b8c9265ebc
Fix compilation on newer libstdc++.
Newer versions only declare isnan in the std namespace when the cmath
header is used.
2016-12-03 20:07:16 +01:00
Marco Schlumpp
986e27436b
Implement simple favorite system. 2016-12-03 20:04:11 +01:00
Tomoaki Kawada
e1d6e84a96 Initialize grenadeVibrationSlow 2016-12-04 01:05:06 +09:00
Tomoaki Kawada
c601a5e7d2 Fix coding style 2016-12-04 01:04:38 +09:00
Tomoaki Kawada
2be6524d02 Implement language switcher
Fixes #445.
2016-12-04 00:22:05 +09:00
Tomoaki Kawada
ccd365b602 Fix incorrect SPLog arguments
Fixes #468.
2016-12-03 22:00:46 +09:00
YVT
113c8479aa Fix to compile with MSVC 2015 2016-12-03 02:40:17 -08:00
Tomoaki Kawada
624d291f79 Update #includes
- Reorder them so that system libraries come first
- Use C++-style headers (`<cmath>`) instead of C-style headers (`<math.h>`)
2016-12-03 19:04:58 +09:00
Tomoaki Kawada
ebd79c0099 Change #include style
All `#include`s to other subsystem now use angle brackets, e.g., `#include <Core/Math.h>`.
2016-12-03 18:49:07 +09:00
Tomoaki Kawada
3f5916baa9 Little fix 2016-12-03 18:36:56 +09:00
Tomoaki Kawada
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09:00
YVT
65202bb56d Fix plural form selection code (#470)
Fixes #469.
2016-12-02 20:48:29 +02:00
Tomoaki Kawada
dd75492b7a Fix segfault caused by access to an uninitialized std::string
Segfault seems to occur only with the latest version of GCC or glibc.
Hopefully fixes the second issue reported in #434.
2016-12-02 20:48:29 +02:00
VelocityRa
e63f3d856b Change spectatorTeamId back to 255 2016-12-02 15:05:42 +02:00
VelocityRa
ac35fcea08 Handle localization of 'Spectators' string properly 2016-12-01 00:08:20 +02:00
VelocityRa
0f5b4dab56 Display Spectators in Scoreboard 2016-11-30 22:52:28 +02:00
Flávio Monteiro
ab7879cdb9 Add more information and fix typos. 2016-11-28 22:06:27 -02:00
YVT
038b2116fc Merge pull request #461 from feikname/update-docs
Improve text files.
2016-11-23 19:38:11 +09:00
YVT
478a4460e8 Merge pull request #460 from VelocityRa/master
Use better random generator.
2016-11-23 19:36:33 +09:00
Flávio Monteiro
9fe993b94e Update Credits.inc 2016-11-22 19:50:38 -02:00
VelocityRa
30d133ce31 Use better random generator 2016-11-22 23:08:35 +02:00
Flávio Monteiro
42114ded2b Remove confusing and outdated dependencies
* Remove fluid.exe and out.txt references
 * Rename SDL to SDL2
 * Tidy up formatting a bit to improve readability
2016-11-22 17:53:55 -02:00
Tomoaki Kawada
4d964d6595 Add more camera shake (cg_shake 2) and additional movements of view weapons 2016-11-22 01:25:22 +09:00
Tomoaki Kawada
a79261a8f5 Remove poly2tri as it’s no longer used
Fixes #291.
2016-11-20 23:15:21 +09:00
Tomoaki Kawada
1eda4270be Fix #398 2016-11-20 20:39:18 +09:00
Tomoaki Kawada
18f3e81fd1 Convert space indentations to tabs 2016-11-20 19:13:00 +09:00
Tomoaki Kawada
5e3b41b8ed Provide more game experience options
- Fixes #448. (Setting `cg_animations` to `0` disables the ADS animation)
2016-11-20 18:13:49 +09:00
Tomoaki Kawada
100eb15378 Fix a bug that prevented config variables from being initialized 2016-11-20 17:40:50 +09:00
Tomoaki Kawada
3380a07bfe Renderer: latch some config variables 2016-11-19 23:22:18 +09:00
Tomoaki Kawada
6a7af96daf Refactor setting variables 2016-11-19 21:27:13 +09:00
Tomoaki Kawada
785d62d1f8 Detect libopenal.so.[01]? on Linux/BSD (Fixes #440) 2016-11-19 19:54:06 +09:00
Nick Renieris
c7a4cb1872 Merge pull request #442 from VelocityRa/glsl-vars-fix
Rename 'texture' GLSL occurences for max compatibility
2016-11-18 23:37:50 +02:00