1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00
Commit Graph

1072 Commits

Author SHA1 Message Date
Anonymous Maarten
58c0dcd8ce cmake: only set C and C++ standard for "core targets"
core targets = developed by us
2019-01-05 05:22:25 +01:00
Anonymous Maarten
c066077a4c Revert "Disable warnings caused by register in bullet"
This reverts commit 4940ae0d6b.
2019-01-05 05:14:25 +01:00
Daniel Evans
0bf99fade6 Use hittests for AI driver behaviour 2019-01-03 00:06:08 +00:00
Daniel Evans
00240c4125 Logic and Debug Vis for vehicle path checking 2019-01-03 00:00:54 +00:00
Daniel Evans
97609fcb5e HitTest class for use in area scanning 2019-01-03 00:00:54 +00:00
Daniel Evans
465f0ab056
Merge pull request #660 from danhedron/fix/bullet-perf
setForcedUpdateAllAabbs to false; Reduces stepSimulation time by 35%.
2019-01-02 23:50:27 +00:00
Filip Gawin
740ee1fa0c Remove GameRenderer.cpp 2019-01-02 22:57:17 +01:00
Filip Gawin
652e8f90b9 Make TextFragmentShader and TextVertexShader constexpr 2019-01-02 22:57:17 +01:00
Filip Gawin
f383f2dd6d Make MapFragmentShader and MapVertexShader constexpr 2019-01-02 22:57:17 +01:00
Filip Gawin
3fec94247b Make sprite_names constexpr 2019-01-02 22:57:17 +01:00
Filip Gawin
fe3cb2d70c Make code of shaders constexpr 2019-01-02 22:57:17 +01:00
Filip Gawin
9e4e97a58e Convert Renderer to unique_ptr 2018-12-28 13:57:51 +01:00
Filip Gawin
b2f9567c3f Convert chaseVehicles to unordered_map and use reserve 2018-12-12 18:02:47 +01:00
Filip Gawin
84c09d93ce Convert functions to unordered_map and use reserve 2018-12-12 18:02:47 +01:00
Filip Gawin
4063fabe52 Convert AnimationSet to unordered_map and use reserve 2018-12-12 18:02:47 +01:00
Filip Gawin
8c7e94a600 Convert INFO:entries and ANIM:frames to std::uint32_t 2018-12-09 14:32:11 +01:00
Filip Gawin
8fbf201b8d Use unordered_map and reserve for bones 2018-12-09 14:32:11 +01:00
Filip Gawin
835c0147fe Use static instance of AnimationBone 2018-12-09 14:32:11 +01:00
Daniel Evans
fe3d085de2
Merge pull request #666 from madebr/codecov
Add coverage reports
2018-12-02 11:41:37 +00:00
Filip Gawin
6cc8037ffb Convert vehicleInfo to vector 2018-11-29 23:36:44 +01:00
Filip Gawin
3c98a7222d Use only static memory allocations of DynamicObjectData 2018-11-29 23:36:44 +01:00
Filip Gawin
dce5257eb3 Avoid dynamic allocations of WeaponData 2018-11-29 23:36:44 +01:00
Anonymous Maarten
d43123ba50 ci: add ability to upload to codecov.io 2018-11-27 13:47:25 +01:00
Filip Gawin
2c0356d8b7 Cleanup random generators 2018-11-24 18:05:26 +01:00
Daniel Evans
f7bd8701db setForcedUpdateAllAabbs to false; Reduces stepSimulation time by 35%.
This causes a drop from 6.5ms to 4.2ms on my machine.
2018-11-18 13:21:06 +00:00
Daniel Evans
711aad7701 Newly created instance objects sleep immediately
This improves performance immediately after startup.
2018-11-17 19:14:23 +00:00
Filip Gawin
4adcaa670c Use operator ? to simplify condition 2018-11-17 01:47:39 +01:00
Filip Gawin
0322b5c6b9 Grab currentCutscene as const ref 2018-11-17 01:47:39 +01:00
Filip Gawin
056864e1d7 Clean animation and audio after cutscene 2018-11-17 01:47:39 +01:00
Filip Gawin
80666bc38d Start using structure bindings 2018-10-31 17:51:18 +01:00
Petar Kukolj
ef29878039 Changed the names of methods for applying HUD scale 2018-10-30 15:08:25 +01:00
Petar Kukolj
36f188611c Add HUD scaling config parameter 2018-10-30 15:08:25 +01:00
Filip Gawin
4940ae0d6b Disable warnings caused by register in bullet
To revert when https://github.com/bulletphysics/bullet3/pull/1941
will be merged.
2018-10-29 16:35:32 +01:00
qkolj
c2b55a09c7 Pause all other sounds during a cutscene (#649)
* Pause all other sounds during a cutscene

* Modify if statement so it's more understandable
2018-10-26 02:07:16 +02:00
Filip Gawin
35405534e7 Improved function for destroying effects
Old version (needlessly) iterates on all vector
2018-10-22 14:31:58 +02:00
Filip Gawin
5b135a5689 Replace insert with emplace
See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87658
2018-10-20 09:52:47 +02:00
Filip Gawin
0ae2a836ca Game objects as unique ptrs 2018-10-05 13:06:53 +01:00
Filip Gawin
d1c31952b5 Implement basic sound volume managment
Basic of basics. :P
2018-09-29 20:51:35 +01:00
Filip Gawin
a813837040 Convert AnimationBone and Animatior to unique ptr 2018-09-24 21:32:33 +01:00
Daniel Evans
4b1e4d3aa6
Merge pull request #634 from ShFil119/minor_stuff
Minor stuff
2018-09-23 17:17:53 +01:00
Filip Gawin
94ffd77743 Convert nodes to unique ptrs 2018-09-23 17:15:10 +01:00
Filip Gawin
c6a0c6eb45 Remove already handled "todo" 2018-09-20 22:52:04 +02:00
Filip Gawin
3821244c95 Use lambda for removing VisualFX 2018-09-19 22:02:16 +01:00
Anonymous Maarten
d06d4fc264 rwengine: use applyOffset 2018-09-16 01:14:11 +02:00
Anonymous Maarten
40575e79b6 rwengine: pass const glm::vec's to constructors 2018-09-16 00:53:18 +02:00
Anonymous Maarten
e873f826fc rwengine: remove errorTexture from Game- and ObjectRenderer 2018-09-16 00:53:18 +02:00
Anonymous Maarten
9189a02860 rwengine: remove unused private field 2018-09-16 00:53:18 +02:00
Anonymous Maarten
0b8bc41fa7 all: fix 'warning: missing braces around initializer' 2018-09-16 00:53:16 +02:00
Anonymous Maarten
32d3ab7508 rwengine+tests: disable C4305 warning for bullet3
warning C4305: 'argument': truncation from 'double' to 'const btScalar'
2018-09-16 00:52:41 +02:00
Anonymous Maarten
7bea25e487 rwengine: some variables are only used in debug builds
Fixes clang warnings about unused private fields: -Wunused-private-field
2018-09-16 00:52:41 +02:00