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
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
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
5948ef1a2a
Exclude unknown configs in the in-game config editor
...
Fixes #693 .
2017-12-30 21:02:36 +09:00
yvt
49cc61c573
Use more smart pointers and modern language constructs
2017-12-15 23:05:08 +09:00
yvt
13995e3c63
Fix a memory leak caused by the AngelScript binding code
...
Fixes #687 .
2017-12-15 22:31:39 +09:00
YVT
bc979a32e1
Update Clipboard.cpp
...
(Hopefully) this fixes #603
2017-08-18 18:25:40 +09:00
yvt
ca892698e3
Minor fixes
...
- Remove unnecessary `volatile`
- Replace some operations with atomic ones for soundness
- Clean up
- Avoid certain UBs
- Typo
2017-06-25 21:15:27 +09:00
yvt
8e8f2a8772
(Hopefully) fixes #577
2017-02-25 21:19:19 +09:00
yvt
2d2fbc0d9c
Fix to compile with GCC 4.9 (again)
2017-01-30 01:22:27 +09:00
yvt
7272c067a7
Automatic update check
...
Fixes #526 .
2017-01-30 01:02:40 +09:00
yvt
23e8fae9b9
Expose PackageUpdateManager to the scripting environment
2017-01-29 23:44:52 +09:00
yvt
2ad5074d9c
Rename SetSoundAmbience
to SetSoundEnvironment
2017-01-07 03:55:39 +09:00
yvt
7a14c39911
Enhancement to weapon sound effects
2017-01-06 04:01:10 +09:00
yvt
6be6bd3541
Fix PrimitiveArray
2017-01-05 05:29:48 +09:00
yvt
022fceedbf
Fix the usage of Angelscript
2017-01-05 04:50:26 +09:00
yvt
a7b9909b2e
Refactoring
2017-01-05 03:03:39 +09:00
yvt
d505bfae91
Expose “FontManager” to the scripting environment
2016-12-16 05:05:23 +09:00
YVT
5b887ddb96
Provide an option to browse the config directory ( #481 )
...
Fixes #268 .
2016-12-08 04:40:33 +09:00
yvt
7c615bd259
Provide an option to reset all settings
...
Can be found in Startup configuration window -> Generic tab.
Fixes #360 .
2016-12-08 01:29:41 +09:00
Marco Schlumpp
986e27436b
Implement simple favorite system.
2016-12-03 20:04:11 +01:00
Tomoaki Kawada
2be6524d02
Implement language switcher
...
Fixes #445 .
2016-12-04 00:22:05 +09:00
Tomoaki Kawada
ebd79c0099
Change #include
style
...
All `#include`s to other subsystem now use angle brackets, e.g., `#include <Core/Math.h>`.
2016-12-03 18:49:07 +09:00
VelocityRa
30d133ce31
Use better random generator
2016-11-22 23:08:35 +02:00
Tomoaki Kawada
18f3e81fd1
Convert space indentations to tabs
2016-11-20 19:13:00 +09:00
Tomoaki Kawada
6a7af96daf
Refactor setting variables
2016-11-19 21:27:13 +09:00
Tomoaki Kawada
d2debd19fe
Update AngelScript to 2.31.1
...
This (hopefully) fixes #416 .
2016-11-10 22:21:19 +09:00
Tomoaki Kawada
89748d6bc6
Reduced compiler warnings
2016-07-15 19:40:05 +09:00
yvt
40f8be07c0
Realistic camera focal control mode
...
Set `cg_manualFocus` to `1` to use it. By default, mouse wheel adjusts the focal length, and pressing mouse wheel button enables auto-focus.
2015-06-20 17:10:26 +09:00
yvt
7072e15b63
Mask write to configs from certain scripts
2015-01-24 12:44:57 +09:00
yvt
d83778ce05
Fixed to compile on MSVC 2013
2014-06-14 00:38:20 +09:00
yvt
d856bcadaa
Reduce compiler warnings
2014-04-06 22:42:17 +09:00
yvt
a3e079734c
Show alert from client UI
2014-04-01 02:18:28 +09:00
yvt
db88ee4703
Fixed some little bugs (thanks to Clang static analyzer)
2014-02-25 19:35:37 +09:00
yvt
ba6ecfde2f
Merge branch 'master' into swrenderer
2014-02-14 16:21:49 +09:00
yvt
57c85482b8
Support for localization
2014-02-14 16:20:42 +09:00
yvt
12e960a2a3
Updated the startup window
2014-02-10 03:36:51 +09:00
yvt
073a65ec8b
Updated the startup screen
2014-02-08 22:21:26 +09:00
yvt
cac42196c1
Very basic new startup screen
2014-02-07 00:09:26 +09:00
yvt
5a74b7d3d0
global screen blur
2014-01-31 02:15:53 +09:00
yvt
a63fdb7475
radial blur
2014-01-31 00:54:47 +09:00
yvt
8c774325df
Clipboard support now uses SDL instead of FLTK
2013-12-30 17:29:19 +09:00
yvt
ca88537a6b
Created new renderer method which works like SetColor
but only accepts an alpha pre-multiplied color value, deprecating the badly-behaved SetColor
method
2013-12-09 01:00:09 +09:00
yvt
6106343f43
Credits in the new UI
2013-12-02 21:50:12 +09:00
yvt
81c33addb3
Scripted chat window
2013-12-02 19:42:38 +09:00
yvt
5ef2c4114f
Clipboard operation (Copy/Paste)
2013-12-02 18:36:27 +09:00
yvt
df4e32a684
In-game menu
2013-11-27 16:30:54 +09:00
yvt
9be4e6bd53
Main screen update
2013-11-24 02:27:08 +09:00
yvt
d02e669b99
Basic server list (main menu)
2013-11-24 00:24:46 +09:00
yvt
2e78b346a0
Main screen update
2013-11-23 22:13:04 +09:00