23 Commits

Author SHA1 Message Date
yvt
5e03526fe4 Fix to compile with MSVC 2017 2018-10-08 14:35:10 +09:00
yvt
30e49b68aa Implement thread-local random number generator 2018-09-18 22:18:54 +09:00
yvt
6982134ed7 Fix to build with GCC 4.9 2018-09-17 23:57:35 +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
253443dd4c Fix matrix inversion 2017-01-04 23:35:28 +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
10ed3aec19 Some small fixes 2014-04-01 15:52:22 +09:00
yvt
92e59b05be Control characters in log outputs are now escaped (preventing PC beeps on BEL) 2013-12-17 15:54:30 +09:00
yvt
7ffddd8b32 UTF-8 basic support + international fonts 2013-12-10 01:30:15 +09:00
learn_more
986a53bec8 fix refcounted object
cleanup headers usage (don't include everything in base classes, just include what's needed in .cpp)
2013-11-16 01:34:37 +01:00
yvt
f08393b475 Extended GetRandom for script 2013-09-22 02:58:00 +09:00
yvt
9da577a491 The very first scripting functionality for modding 2013-09-21 04:17:34 +09: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
4eeb27d806 ScriptManager is added. Some of math/utility functions and structures were added to the script engine. 2013-09-12 02:10:44 +09:00
yvt
15cbe06451 Sparse Shadow Maps 2013-09-11 13:50:18 +09:00
yvt
28dcfc4336 OBB3 ray-casting bug fixed (affects hit-test of weapons) 2013-08-31 03:20:22 +09:00
yvt
f0d34ef494 added GPLv3 header 2013-08-29 11:45:22 +09:00
yvt
9afa25a1bd Extended key mapping support:
* Multiple keys can be bound to a single function.
* "Space" and "Spacebar" can be used to specify space key.
2013-08-28 01:26:44 +09:00
yvt
0824bffd19 Local view weapon no longer disturbing while aiming 2013-08-26 17:17:25 +09:00
yvt
f4683d820d * Added player's hands in local view
* Added reload animation
2013-08-21 00:28:57 +09:00
yvt
931be8cf09 From pre-0.0.3 source code 2013-08-18 16:18:06 +09:00