yvt
97ed5d46ad
Fix several small issues
...
- `GameMapLoader` did not start the decoding thread.
- `StreamHandle::operator=` caused SEGV for null handles.
- `PipeReader` prematurely stopped outputting data.
2019-05-19 16:13:21 +09:00
yvt
1a2287201d
Add GameMapLoader
2019-05-19 15:51:40 +09:00
yvt
10fc7da79d
Add StreamHandle::operator bool
2019-05-19 14:53:32 +09:00
yvt
a8b50e9a69
Add CreatePipeStream
2019-05-19 14:41:54 +09:00
yvt
94dbd30bb6
Add onProgress
parameter to GameMap::Load
2019-05-19 13:50:07 +09:00
yvt
80972e1661
Reimplement GameMap::Load
using RandomAccessAdaptor
...
It no longer reads all data from the input stream in advance, allowing
streamed parsing.
2019-05-19 13:26:29 +09:00
yvt
40037ecb34
Add RandomAccessAdaptor::Prefetch
2019-05-19 13:12:16 +09:00
yvt
1997fec9a6
Add SPADES_MARK_FUNCTION
to RandomAccessAdaptor
2019-05-19 13:09:55 +09:00
yvt
c4caf4c630
Add RandomAccessAdaptor::Read
2019-05-19 13:08:38 +09:00
yvt
894d8fbec4
Add SPADES_MARK_FUNCTION
to RandomAccessAdaptor
2019-05-19 13:05:32 +09:00
yvt
f19469f6fe
clang-format
2019-05-19 13:03:35 +09:00
yvt
024c8aa7ce
Fix "memcpy
is not a member of std
"
2019-05-19 01:08:51 +09:00
yvt
b9426fd438
Add RandomAccessAdapter
...
It will be used to aid the implementation of the improved map loader.
2019-05-19 00:58:32 +09:00
YVT
3061a3ca8a
Merge pull request #829 from godwhoa/upgrade-travis
...
Upgrade travis ci base image to xenial
2019-05-15 23:57:07 +09:00
Joseph Daniel
50da9f6059
Upgrade travis ci base image to xenial
2019-05-15 17:55:28 +05:30
yvt
ac6bc01617
Make the movement of the flashlight non-rigid
...
Like the one in Metro 2033. Should have no negative effect on gameplay.
2019-05-05 23:32:57 +09:00
yvt
157219eb45
Remove a redundant include
2019-05-05 23:30:24 +09:00
yvt
6f47da8710
Change the type of DynamicLightParam::spotAxis
to std::array
2019-05-05 23:29:51 +09:00
yvt
91ebbdb496
Fix artifact with spotlights
2019-05-05 23:09:03 +09:00
yvt
adc944a415
Use spotlight cone angle for D-light pass object culling
...
Lowers the GPU cost of spotlights.
2019-05-05 22:51:15 +09:00
yvt
7853329e6d
Move GLDynamicLightShader::{Cull, SphereCull}
to GLDynamicLight
2019-05-05 22:12:33 +09:00
YVT
e1abcf9c41
Merge pull request #825 from NotAFile/use-state-to-end-map-transfer
...
detect end of map transfer with state packet
2019-05-05 13:04:59 +09:00
NotAFile
49a4c0dd4f
remove duplicate handling of VersionGet
2019-05-04 20:21:44 +02:00
NotAFile
2ecd3ced44
detect end of map transfer with state packet
...
Previously, the end of map transfer was detected by a number of fallible
heuristics, including checking if the map is loadable on every non-map
packet, when a timeout had been reached, or the map size given by the
server was reached. This broke in a number of scenarios, including when
an unexpected packet was sent.
Instead, we now detect the end of the map transfer when we receive a
state packet, as intended by the protocol.
2019-05-04 20:14:42 +02:00
Flávio Monteiro
21279e894b
Merge pull request #819 from digiberk/patch-1
...
Updated README for Flatpak
2019-04-16 19:28:25 -03:00
Berk
7ccb89165e
Update README.md
...
Added some improvements to running the program after installation. Thanks to @feikname
2019-04-14 14:17:51 +10:00
Berk
0154361e37
Updated README.md
...
I have added the installation procedure to install OpenSpades via Flatpak on Linux.
2019-04-07 12:38:24 +10:00
yvt
bac1b2c228
Update Xcode project to use Opus headers from pre-compiled library package
...
Fixes #818 .
2019-03-28 16:22:26 +09:00
YVT
5ad2cf6ab0
Merge pull request #811 from kdeleteme/master
...
Add flatpak build
2019-02-25 19:53:29 +09:00
Kent Delante
65489914ea
flatpak manifest: persist config to .local/share/openspades
2019-02-20 06:49:43 +08:00
Kent Delante
a8a0bf25fe
flatpak manifest: Give access to ~ for config access
2019-02-16 13:54:37 +08:00
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