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

1094 Commits

Author SHA1 Message Date
Daniel Evans
3fee2ba5c4 Utility: findOverlappingObjects 2019-05-06 01:12:38 +01:00
Daniel Evans
5f01c155e3 Refactor object removeability check into GameObject 2019-05-06 01:12:38 +01:00
Daniel Evans
d7c10b1a05 Remove constexpr 2019-05-06 01:10:46 +01:00
Filip Gawin
09d466269d Avoid overwriting generic textures with splashes 2019-04-12 23:38:08 +02:00
Filip Gawin
a63b084d31 Implement basic tests for audio decoding and playing 2019-04-10 20:29:34 +02:00
Filip Gawin
50c6eedf4f Divide SoundSource (for future streaming) 2019-04-10 20:29:34 +02:00
Daniel Evans
a3916ca677
Merge pull request #696 from ShFil119/various
Various (smaller changes)
2019-03-18 20:05:51 +00:00
Filip Gawin
7592a48587 Avoid using map for Logger::MessageSeverity 2019-03-18 00:14:44 +01:00
Filip Gawin
195020df46 Use unique_ptr to handle TextureData 2019-03-18 00:14:23 +01:00
Artem Popov
342e3c8f83 Pickups speed adjusted. Closes #694 (#701)
* Pickups speed adjusted

* requested changes

* Variable name adjusted
2019-02-15 23:49:44 +01:00
George Popoff
9b4ebc105c Fix segfault when failed to create shader object 2019-02-11 00:35:25 +01:00
Filip Gawin
f15f3cefdd Avoid using shared_ptr for InstanceData 2019-01-21 00:29:11 +01:00
Filip Gawin
44148c528a Use '\n' instead of std::endl 2019-01-21 00:29:11 +01:00
Filip Gawin
dd8de77b8e Cleanup headers of rwengine 2019-01-20 20:00:00 +01:00
Vincent Flyson
490bc91f91 Prevent weapon use while driving 2019-01-15 22:47:40 -05:00
Daniel Evans
08c90fdfb8
Merge pull request #683 from danhedron/feat/melee
Melee Weapon implementation
2019-01-13 01:06:09 +00:00
Daniel Evans
f59653eeea Make DamageInfo construction more explicit 2019-01-06 02:54:03 +00:00
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
bdacc1137a Modernize ScanType enum 2019-01-05 02:02:28 +00:00
Daniel Evans
f894718183 Melee against on-ground target uses alternate anim 2019-01-05 01:49:18 +00:00
Daniel Evans
c307a1c5e3 Implement melee weapon damage 2019-01-04 01:11:17 +00:00
Daniel Evans
62637ccc29 Move WeaponScan to Weapon.hpp, add scan source field 2019-01-04 01:11:17 +00:00
Daniel Evans
fd11f9c7e3 Melee animation handling 2019-01-04 01:09:44 +00: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