10 Commits

Author SHA1 Message Date
yvt
b49028d822 Add const to GameMapLoader::IsComplete 2019-07-24 19:11:36 +09:00
yvt
f841c94db7
Change the return type of CreatePipeStream to use unique_ptr 2019-07-23 22:28:56 +09:00
yvt
d248ac2460 Change the return type of GameMapLoader::TakeGameMap to Handle<_> 2019-07-23 21:57:40 +09:00
yvt
5fe8b0fe18 Remove StreamHandle
It was functionally identical to `std::shared_ptr<IStream>`.
2019-07-23 21:57:40 +09:00
yvt
830db57c01
Require rvalue for Handle::Unmanage 2019-07-20 16:38:21 +09:00
yvt
b4dcec2e1c
Use make_unique to construct unique_ptr 2019-07-20 16:34:35 +09:00
yvt
6e262ea6ec
Add stmp::make_unique
This template function is a polyfill of `std::make_unique`, which is
unavailable in GCC 4.9 (should we even be supporting this old thing?).
2019-07-20 16:17:10 +09:00
yvt
cd3304ef24
Display a progress bar when receiving a map
Replaces the old useless "num-bytes-loaded/16777216" message with a
real progress bar.
2019-05-19 16:25:39 +09:00
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