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
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
Anonymous Maarten
ca4a459e91
cmake: only match '^SF:/src/....' instead of '/src/...'
...
The previous regex erroneously matches the `src` subfolder of rwengine.
2018-11-29 01:57:48 +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
50ace3885f
New AppVeyor path in README
2018-11-23 18:18:55 +00:00
Filip Gawin
0bee94d1b9
Try to use ninja on CI
2018-11-22 22:03:57 +00:00
Anonymous Maarten
3c0e40e209
microprofile: update to current master
2018-11-22 21:07:48 +00:00
Daniel Evans
c8adf63bdb
New Screenshots and Improved direction in readme
2018-11-20 21:16:30 +00: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