1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-09 20:32:43 +01:00
Commit Graph

1902 Commits

Author SHA1 Message Date
Daniel Evans
08c90fdfb8
Merge pull request #683 from danhedron/feat/melee
Melee Weapon implementation
2019-01-13 01:06:09 +00:00
Daniel Evans
21da262a64
Merge pull request #678 from madebr/conan_cmake
Various conan/cmake updates 'n fixes
2019-01-06 04:47:44 +00:00
Daniel Evans
f59653eeea Make DamageInfo construction more explicit 2019-01-06 02:54:03 +00:00
Anonymous Maarten
151de65f69 cmake+conan: do not use debug runtime in debug mode
This improves debug experience on windows using Visual Studio
2019-01-05 05:22:28 +01:00
Anonymous Maarten
5e582fd393 conan: update qt, boost, ffmpeg, openal and sdl2 2019-01-05 05:22:28 +01:00
Anonymous Maarten
bdf4167cd3 conan: Visual Studio 2015 has no c++17 support 2019-01-05 05:22:28 +01: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
35731f2031 cmake: simplify wraptargets 2019-01-05 05:14:25 +01:00
Anonymous Maarten
80946d64e6 cmake: detect ffmpeg version 2019-01-05 05:14:25 +01:00
Anonymous Maarten
8efde3a5cb cmake: simplify FindSDL2 + detect SDL2 version
+ allow switching between static and shared SDL2
  without complete reconfiguration and rebuild.
2019-01-05 05:14:25 +01:00
Anonymous Maarten
9ea287606d project: update travis url to travis-ci.com 2019-01-05 05:14:25 +01:00
Anonymous Maarten
e01a5365b0 cmake: pass /Zc:__cplusplus to msvc to set correct __cplusplus macro
https://blogs.msdn.microsoft.com/vcblog/2018/04/09/msvc-now-correctly-reports-__cplusplus/
2019-01-05 05:14: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
ba913e5154
Merge pull request #679 from danhedron/feat/vehicle_volumequery
Use collision detection for AI vehicle behaviour
2019-01-03 18:36:22 +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
Daniel Evans
76223438d7
Merge pull request #677 from madebr/statemanager
rwgame: make StateManager non-static
2019-01-02 23:48:01 +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
ec7091b2d7 Make kErrorTitle constexpr 2019-01-02 22:57:17 +01:00
Anonymous Maarten
53b45f7f25 rwgame: make StateManager non-static
This allows RWGame to be relaunched multiple times in the same process
2019-01-01 23:17:40 +01:00
Daniel Evans
eaf719f973
Merge pull request #676 from madebr/config
Refactor argument & configuration parsing + split rwgame target in librwgame and rwgame
2018-12-31 21:01:14 +00:00
Filip Gawin
9e4e97a58e Convert Renderer to unique_ptr 2018-12-28 13:57:51 +01:00
Anonymous Maarten
b39d002522 tests: make tests use librwgame 2018-12-28 00:58:10 +01:00
Anonymous Maarten
4b5107719f rwgame: split rwgame in librwgame and rwgame 2018-12-28 00:58:10 +01:00
Anonymous Maarten
c3573c8070 cmake: update code coverage cmake script
- add branch coverage
- ignore interface libraries
- ignore generator expressions
2018-12-28 00:58:10 +01:00
Anonymous Maarten
8b38fda984 rwgame: merge argument + configuration file parsing + add tests
- definition of arguments an configuration parameters is centralized
  in rwgame/RWConfig.inc
- argument parsing is tested
- the try/catch in main is less weird now (imho)
2018-12-28 00:58:10 +01:00
Filip Gawin
c49b4bbd50 Further refactor of menu managment 2018-12-27 22:50:05 +01:00
Filip Gawin
d5541ac91f Convert Menu instances to std::optional 2018-12-21 22:58:51 +01:00
Filip Gawin
28155f5aa8 Don't require coverage to pass test 2018-12-15 23:06:21 +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