yvt
8aa52a40fb
Add const
to GameMap
's methods
2019-07-16 01:17:47 +09:00
yvt
c910bd4846
Remove Mutex
, replacing their uses with std::{mutex, recursive_mutex}
2019-05-25 15:00:32 +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
f19469f6fe
clang-format
2019-05-19 13:03:35 +09:00
yvt
30e49b68aa
Implement thread-local random number generator
2018-09-18 22:18:54 +09:00
yvt
585cbfce1c
Improve random number generation
...
The global RNG state is now protected from simultaneous accesses by
employing a mutex.
Performance sensitive code requiring generation of a large number of
random numbers can utilize `LocalRNG`. This is not thread-safe but
provides a much greater throughput. `LocalRNG` is seeded by the global
RNG only at construction time.
2018-09-17 23:48:38 +09:00
yvt
49cc61c573
Use more smart pointers and modern language constructs
2017-12-15 23:05:08 +09: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
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
624d291f79
Update #include
s
...
- 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
2eb9e35c65
Apply clang-format to all non-external source files
2016-12-03 18:23:47 +09:00
VelocityRa
30d133ce31
Use better random generator
2016-11-22 23:08:35 +02:00
yvt
d856bcadaa
Reduce compiler warnings
2014-04-06 22:42:17 +09:00
yvt
ac51df6179
CastRay2
returns the furthest voxel coordinate when a ray didn’t hit a block
2014-03-09 22:28:38 +09:00
yvt
ed35c6533c
Support multiple GameMapListeners for one GameMap
2014-03-09 00:13:37 +09:00
yvt
db88ee4703
Fixed some little bugs (thanks to Clang static analyzer)
2014-02-25 19:35:37 +09:00
learn_more
f8d980cbd7
add openal logging
...
alt+tab is less annoying (doesnt grab the mouse on hover anymore, only when explicitly activated)
2013-11-27 00:33:16 +01:00
yvt
d6088eeac2
Saving map
2013-11-22 19:34:20 +09:00
learn_more
822ab0cb53
create ServerAddress, holder / generic functions for ip addresses
2013-09-15 04:19:34 +02:00
yvt
13692657e1
Merge and some refactor (ref-counting some objects)
2013-09-14 13:28:19 +09:00
yvt
709866d6d9
Exported some of renderer interface to script
2013-09-14 12:06:11 +09:00
yvt
49ac82ffbd
Waterlevel blocks now use the same color as the groundlevel blocks
2013-09-09 17:49:53 +09:00
yvt
776bafe1d8
Preload and performance improvement
2013-09-06 11:44:36 +09:00
yvt
30dbb862c6
Added copyright header of pysnip
2013-09-05 00:52:03 +09:00
yvt
f0d34ef494
added GPLv3 header
2013-08-29 11:45:22 +09:00
learn_more
97164320df
MSVC 2010 project file + some fixes.
...
Uses hardcoded path to E:/thirdparty to find all externals, fix it if you can't use this folder.
2013-08-28 00:07:29 +02:00
yvt
931be8cf09
From pre-0.0.3 source code
2013-08-18 16:18:06 +09:00