1679 Commits

Author SHA1 Message Date
Kent Delante
581ed7c822 Update flatpak manifest
Specify OPENSPADES_RESDIR for non-free paks (extra-data) instead of
using OPENSPADES_INSTALL_RESOURCES

Move installation of apply_extra script to post-install script. Doing
it in build-commands is unnecessary
2019-02-16 12:35:28 +08:00
Kent Delante
40edc756c1 flatpak appdata: Add OARS and fix release dates 2019-02-15 11:47:46 +08:00
Kent Delante
eae0b4fc05 flatpak manifest: Use extra-data for nonfree paks 2019-02-15 11:38:44 +08:00
Kent Delante
5877e2acd8 flatpak appdata: Fixed consistency with indentation 2019-02-14 07:18:04 +08:00
Kent Delante
df9cf73eda flatpak manifest: Added opus sha256 sum 2019-02-14 07:17:21 +08:00
Kent Delante
0584850d19 Merge branch 'master' of github.com:kdeleteme/openspades 2019-02-14 06:22:26 +08:00
Kent Delante
45b4543492 Pull opus from archive instead of git and use gcc to compile 2019-02-14 06:21:00 +08:00
Marco Schlumpp
fcaccba81a
flatpak appdata: added translation page
Co-Authored-By: kdeleteme <22228751+kdeleteme@users.noreply.github.com>
2019-02-14 06:13:54 +08:00
Marco Schlumpp
861c299a4b
flatpak appdata: Added app category
Co-Authored-By: kdeleteme <22228751+kdeleteme@users.noreply.github.com>
2019-02-14 06:08:16 +08:00
Marco Schlumpp
53c6c6fa66
flatpak manifest: changed configuration path
Co-Authored-By: kdeleteme <22228751+kdeleteme@users.noreply.github.com>
2019-02-14 06:07:21 +08:00
Kent Delante
bd1dda57c6 Provided a more complete description 2019-02-12 08:45:24 +08:00
Kent Delante
5f2e50619f Appstream data passes validate-relax 2019-02-12 08:32:37 +08:00
Kent Delante
ad99a55db1 Builds and works 2019-02-11 22:24:49 +08:00
Kent Delante
7fd4f95dc4 Can now be compiled with flatpak but not run 2019-02-11 18:56:23 +08:00
Kent Delante
5a2b589697 Use cmake config-opts instead of global cxxflags. Removed c-specific configs 2019-02-09 20:18:19 +08:00
Kent Delante
045a0c5030 Setup for flatpak support 2019-02-09 11:10:33 +08:00
YVT
1691c16619
Merge pull request #805 from feikname-forks/cmake
Update CMake policies
2019-01-28 22:09:13 +09:00
YVT
ddfb4f3125
Merge pull request #761 from feikname-forks/fix-667-2
Do not overwrite User Resource Directory on every snap launch
2019-01-28 16:11:44 +09:00
Flavio Monteiro
c3fc0cfebf Update CMake policies
Closes #776, closes #762
2019-01-22 10:56:38 -02:00
YVT
319afa5582
Merge pull request #793 from Ericson2314/patch-1
Fix CMake build for macOS
2019-01-01 16:45:36 +09:00
yvt
79099e48c5 Update translations
Contributors:

- Spanish: SandFX
- Vietnamese: Asian Guy
- Ukrainian: Rivan2
- Russian: Ivan, ArionWT, Lyashenko Arsenii Maksimovich
- Greek: SpyKaps
- Hungarian: uno20001
- Chinese (Simplified): 桦翰 (HuaHan)
- Dutch: Tapmemer
2019-01-01 15:18:54 +09:00
yvt
203528a769 Add a hotkey to expand the chat log
Closes #744.
2019-01-01 14:47:40 +09:00
yvt
9c0bf82a28 Update the link to pre-compiled external libraries for macOS
SDL2 was updated to 2.0.9. This fixes #781.
2019-01-01 13:31:44 +09:00
yvt
cc9deee57b Update OpenSpades_VER_STR 2019-01-01 13:22:09 +09:00
yvt
56e4e9e197 CMake: Look for SDL 2.0 specific header files to determine include path
`NO_DEFAULT_PATH` was added in 565eb6b6fd3e6b2c9275490c3c07e585b0942a92.
However this breaks Nixpkgs/NixOS, which installs everything to separate
prefixes and adds compiler flags to supply them.

This commit removes `NO_DEFAULT_PATH`. Instead, it looks for a header
file specific to SDL 2.0 and not in SDL 1.2.
2019-01-01 13:17:10 +09:00
yvt
7abc247b52 Bump version to 0.1.3-rc 2019-01-01 02:17:12 +09:00
yvt
e67fd7dc90 CMake: Do not link GLEW on macOS 2019-01-01 01:52:20 +09:00
yvt
4012a16d16 CMake: Do not link Xext on macOS 2019-01-01 01:51:40 +09:00
yvt
565eb6b6fd CMake: Do not include SDL 1.2's header file on macOS
Both of SDL 1.2 and 2.0 includes `SDL.h`, so `FIND_PATH` sometimes gets
confused when both of them are installed. This commit fixes that by
limiting the search paths to directories specific to SDL 2.0.
2019-01-01 01:43:08 +09:00
yvt
ffe68364ec Eliminate compiler warnings 2019-01-01 00:33:23 +09:00
yvt
6426247f09 Use C++11 atomics in place of AngelScript's implementation
AngelScript's implementation uses now-deprecated `OSAtomicIncrement32`
and generates compiler warnings.
2018-12-31 21:57:11 +09:00
yvt
c7fb662f77 Remove dead code 2018-12-31 21:35:37 +09:00
yvt
2fddc13024 Eliminate compiler warnings
- Possible misuse of comma operators
- `std::move` prevents copy elision
2018-12-31 21:34:30 +09:00
yvt
06d654d3a7 Apply changes to the build settings suggested by Xcode 2018-12-31 21:31:18 +09:00
yvt
3d23a7a064 Update macOS deployment target to 10.12 2018-12-31 21:27:29 +09:00
John Ericson
2d13704fef Fix CMake build for macOS 2018-12-20 04:34:49 -05:00
YVT
ef3f5f9527
Merge pull request #791 from Jipok/patch-1
Show shotgun tracers

Fixes #727.
2018-12-10 02:28:14 +09:00
Jipok
d25cf1bb91
Show shotgun tracers 2018-12-09 21:09:28 +05:00
yvt
3cd581260a Fix a bug causing the program not to start
This bug was introduced in ac4799abafbeb1d44d1b7166913406cd3a46b560.

This bug apparently only affected MSVC since the evaluation order of function
call parameters respect to other parameters is unspecified by the C++
specification.

Fixes #785.
2018-10-31 16:16:51 +09:00
yvt
cafb664e8e Do not unmask "Invalid" FP exceptions
This commit removes code that enables "Invalid" FP exceptions. Its
intent is unclear since it predates the git history of OpenSpades, but
it's probably for debugging.

Fixes #784.
2018-10-28 17:51:17 +09:00
YVT
ac4799abaf
Merge pull request #782 from yvt/patch-dispose-sdlswport
Explicitly delete a reference to SDL surface when a window is closed
2018-10-27 18:28:23 +09:00
yvt
c50906d16b Fix to build with GCC 4.9 2018-10-27 18:19:38 +09:00
YVT
2e49a51af7
Merge pull request #783 from Calinou/use-https-links
Use HTTPS links in README
2018-10-16 11:36:18 +09:00
Hugo Locurcio
4414cec6d1
Use HTTPS links in README
This also replaces references to Mac OS X with macOS, which is
the official name since 10.12.
2018-10-15 21:44:34 +02:00
yvt
ea0088ddd4 Explicitly delete a reference to SDL surface when a window is closed
This issue was identified by #775. (Hopefully) fixes #779.
2018-10-13 16:09:15 +09:00
yvt
6a6e771478 Add utilities and static checks to Handle 2018-10-13 16:07:24 +09:00
yvt
5dd26e3ce0 Use SPUnreachable() in place of SPAssert(false) 2018-10-13 16:07:04 +09:00
yvt
cfb972f944 Improve code quality
- Overriding methods are clearly indicated with `override` keywords
- Remove redundant `virtual` keywords from destructors of subclasses
- Introduce `SPUnsupported()`, replacing most uses of
  `SPNotImplemented()`, which now serves as a dynamic "TODO" marker
2018-10-13 14:43:49 +09:00
YVT
176b217cd4
Merge pull request #778 from yvt/fix-777
README.md: mention imagemagick dependency
2018-10-09 13:39:51 +09:00
Flávio Monteiro
a83b267eea
README.md: mention imagemagick dependency
It's required as a build dependency for generating the icon(s).
The wiki page was also updated too. 

Fixes #777.
2018-10-09 01:37:58 -03:00