1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-07-08 05:48:07 +02:00
Commit Graph

289 Commits

Author SHA1 Message Date
tsjost
5f5afac574 Fix off-by-one error putting null char into filepath 2021-10-13 00:13:56 +02:00
tsjost
74993e2a94 Re-use the same random engine
as per https://github.com/rwengine/openrw/pull/682#discussion_r249476939
2021-10-12 21:53:56 +02:00
Florin9doi
fc394a1bde Remove boost::filesystem; Fixes #670 2021-10-12 21:53:56 +02:00
tsjost
e34884598f std::filesystem uses perms::*_exec not _exe 2021-10-12 18:18:38 +02:00
tsjost
26983ffa3d unique_path doesn't exist in std::filesystem 2021-10-12 18:18:38 +02:00
Daniel Evans
c7d77084c2
Merge pull request #717 from danhedron/imgui
Use ImGui for debugging
2019-05-25 16:37:07 +01:00
Daniel Evans
e759101a47 Provide tests for ViewCamera 2019-05-23 23:38:43 +01:00
Filip Gawin
685b78a6f6 Fix openAL's issue with unqueueing buffers 2019-05-23 15:24:01 +02:00
Filip Gawin
88b1c9e509 Replicate extra scenerio in audio loading test
(hazardous for streaming)
2019-05-23 15:24:01 +02:00
Daniel Evans
ff10f3769e Unify Object Atomic/Clump handling 2019-05-16 00:11:32 +01:00
Filip Gawin
a63b084d31 Implement basic tests for audio decoding and playing 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
Daniel Evans
23e21a3d58
Merge pull request #693 from danhedron/remove-nodata-build
Remove RW_TEST_WITH_DATA from test code
2019-01-22 03:16:40 +00:00
Daniel Evans
6f9e23acc9 Remove RW_TEST_WITH_DATA from test code 2019-01-21 20:31:31 +00:00
Filip Gawin
f15f3cefdd Avoid using shared_ptr for InstanceData 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
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
08c90fdfb8
Merge pull request #683 from danhedron/feat/melee
Melee Weapon implementation
2019-01-13 01:06:09 +00: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
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
62637ccc29 Move WeaponScan to Weapon.hpp, add scan source field 2019-01-04 01:11:17 +00:00
Daniel Evans
97609fcb5e HitTest class for use in area scanning 2019-01-03 00:00:54 +00:00
Anonymous Maarten
b39d002522 tests: make tests use librwgame 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
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
Petar Kukolj
262523c211 Add HUDDrawer class and add a test 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
0ae2a836ca Game objects as unique ptrs 2018-10-05 13:06:53 +01:00
Filip Gawin
a813837040 Convert AnimationBone and Animatior to unique ptr 2018-09-24 21:32:33 +01:00
Anonymous Maarten
c73e5d514d cmake+ci: install pdb's + enable on ci 2018-09-16 00:53:18 +02:00
Anonymous Maarten
0b8bc41fa7 all: fix 'warning: missing braces around initializer' 2018-09-16 00:53:16 +02:00
Anonymous Maarten
32d3ab7508 rwengine+tests: disable C4305 warning for bullet3
warning C4305: 'argument': truncation from 'double' to 'const btScalar'
2018-09-16 00:52:41 +02:00
Anonymous Maarten
cce05da985 tests: fix for xcode 2018-09-16 00:52:41 +02:00
Daniel Evans
02b42a8fed
Merge pull request #616 from ShFil119/remove_raw_ptrs_from_objects
Remove raw ptrs from game objects
2018-09-01 23:37:42 +01:00
Filip Gawin
63ab663ea5 Remove raw ptrs from VehicleObject 2018-08-31 20:04:39 +02:00
Daniel Evans
26398ca636
Merge pull request #603 from ShFil119/sounds_tests
Prepare tests for Sound and SoundBuffer
2018-08-29 20:30:13 +01:00
Filip Gawin
77e0e3a3bc Prepare tests for Sound and SoundBuffer
Also refactored SoundBuffer a bit.
2018-08-29 19:43:18 +02:00
Daniel Evans
2670de509f
Merge pull request #573 from ShFil119/raii_effects
Refactor VisualFX and fix memory leaks
2018-08-28 14:28:55 +01:00
Filip Gawin
e8fe8b614a Refactor VisualFX and fix memory leaks 2018-08-21 21:51:28 +02:00