1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00
Commit Graph

1913 Commits

Author SHA1 Message Date
Filip Gawin
195020df46 Use unique_ptr to handle TextureData 2019-03-18 00:14:23 +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
Filip Gawin
c03fbf79f8 Cleanup rwcore headers 2019-01-20 20:00:00 +01:00
Filip Gawin
1a7d4ac7e6 Cleanup interfaces of rwgame 2019-01-20 20:00:00 +01:00
Daniel Evans
01d2445b86
Merge pull request #692 from madebr/rwconfig_fixes
RWconfig fixes
2019-01-18 22:31:21 +00:00
Daniel Evans
530a7d35ac
Merge pull request #686 from vflyson/patch-1
Prevent weapon use while driving
2019-01-18 20:42:50 +00: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
Anonymous Maarten
1ccec04148 rwgame: catch boost::exception
Boost.program_options throws boost::exception on macosx's xcode
2019-01-08 04:14:11 +01:00
Anonymous Maarten
548ff80909 rwgame+tests: fix argument parsing of bool arguments
- --invert_y caused a boost::bad_any_cast exception
- do not allow guessing of command line options + test
2019-01-08 02:11:55 +01: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