399 Commits

Author SHA1 Message Date
yvt
ffd5207614 Merge branch 'master' of github.com:yvt/openspades 2017-01-05 04:54:21 +09:00
VelocityRa
d150d2848c Add medium-sized font to FontManager 2017-01-04 21:32:11 +02:00
VelocityRa
2369679dc1 Use GUI font if spectator string contains special chars. 2017-01-04 21:32:11 +02:00
yvt
2554eaad57 Refactor, add more checks 2017-01-05 04:11:42 +09:00
yvt
88f03f01e9 Refactoring
- Mark overriding virtual functions with `override`
- Get rid of warnings
2017-01-05 03:48:11 +09:00
yvt
a7b9909b2e Refactoring 2017-01-05 03:03:39 +09:00
yvt
97247057b2 Fix #242 2017-01-04 23:27:50 +09:00
yvt
4d6fbf6028 Adjust ADS animation 2017-01-01 04:47:37 +09:00
YVT
934d9522bb Merge pull request #493 from yvt/patch-opus
WIP: Support Ogg Opus audio files (.opus)
2016-12-18 20:05:53 +09:00
yvt
ada91e2c5a Fix an issue which caused a hit to be not registered 2016-12-18 00:57:46 +09:00
yvt
2ecbd554b4 Support Ogg Opus audio files (.opus) on macOS 2016-12-18 00:45:17 +09:00
yvt
2046afd660 Fix #487 2016-12-17 22:19:54 +09:00
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
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
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
Tomoaki Kawada
e1d6e84a96 Initialize grenadeVibrationSlow 2016-12-04 01:05:06 +09: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
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09: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
YVT
478a4460e8 Merge pull request #460 from VelocityRa/master
Use better random generator.
2016-11-23 19:36:33 +09:00
VelocityRa
30d133ce31 Use better random generator 2016-11-22 23:08:35 +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
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
6a7af96daf Refactor setting variables 2016-11-19 21:27:13 +09:00
YVT
f1f88d3e18 Fix to compile with MSVC 2015 2016-11-18 04:44:57 -08:00
Tomoaki Kawada
1e32f6d72a Fix #337 2016-11-11 22:32:03 +09:00
Tomoaki Kawada
2bc2bcac26 Water shader: level 3
Screen-space reflections (hybrid w/planar reflections) & refractions!
2016-11-11 02:53:48 +09:00
Tomoaki Kawada
866267daad More recoils
Improves the AoS 0.75 compatibility.
2016-11-06 23:09:16 +09:00
Tomoaki Kawada
1b0ee28add cg_centerMessage now defaults to 2 2016-11-06 22:16:56 +09:00
Tomoaki Kawada
4047b613f1 Remove the vertical fog
Improves the AoS 0.75 compatibility.
2016-11-06 22:15:37 +09:00
Tomoaki Kawada
787c89f0b1 Merge remote-tracking branch 'origin/master' into fix-up 2016-11-06 20:42:42 +09:00
L0L022
03373a68be Use namespace spades 2016-08-05 13:53:16 +02:00
L0L022
da6db0e948 Use pragma once 2016-08-05 13:48:50 +02:00
L0L022
047f89f30f Remove useless comments 2016-08-03 20:36:18 +02:00
L0L022
8dc0a1de1b Add mumble support 2016-08-03 17:08:45 +02:00
Tomoaki Kawada
3f7fcee586 Reorganise resource files 2016-07-16 00:14:59 +09:00
Tomoaki Kawada
89748d6bc6 Reduced compiler warnings 2016-07-15 19:40:05 +09:00
YVT
2b5c49d17b Merge pull request #401 from willismonroe/patch-1
use std::isnan
2016-07-14 14:53:53 +09:00
willismonroe
fc557aeb10 use std::isnan
This fixed the build on Linux for me.
2016-07-01 19:54:17 -07:00
willismonroe
6593371254 use std::isnan
This fixed building on Linux (Ubuntu 16.04) for me.
2016-07-01 19:51:38 -07:00
Samuel Walladge
0ac59fdbae fixed isnan not declared 2016-03-07 09:37:15 +10:30
YVT
355d1f2e82 Merge pull request #384 from Chameleonhider/master
Configure-able player name drawing
2016-03-05 19:59:05 +09:00
Nick Renieris
cc075dcd09 Fix linker error on VS2015 (unresolved symbol) 2016-02-17 22:09:27 +02:00
Chameleonhider
39a7c74fa6 Pressing sprint doesn't stop anymore from using tool / weapon
Pressing sprint key used to prevent using tool/weapon. Now sprint key
must be pressed together with movement keys (while not crouching) to
prevent you from using tool/weapon.
2016-02-11 10:43:55 +02:00