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
Filip Gawin
056864e1d7
Clean animation and audio after cutscene
2018-11-17 01:47:39 +01:00
Filip Gawin
df0bda35e1
Update xcode version to 10.1
2018-11-15 17:48:15 +01:00
Filip Gawin
80666bc38d
Start using structure bindings
2018-10-31 17:51:18 +01:00
Petar Kukolj
45ea1df74c
Fix style errors
2018-10-30 15:08:25 +01:00
Petar Kukolj
262523c211
Add HUDDrawer class and add a test
2018-10-30 15:08:25 +01:00
Petar Kukolj
811765fd79
Add wrapper class for HUD drawing parameters
2018-10-30 15:08:25 +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
Filip Gawin
a2ef7d1159
Update conan dependency - glm
2018-10-29 16:35:32 +01:00
Filip Gawin
339703c75f
Update cpp17
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