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

1724 Commits

Author SHA1 Message Date
Anonymous Maarten
9dc9ce27a8 ci: pack artifact depending of configuration 2018-08-15 22:53:34 +02:00
Anonymous Maarten
80e1dfee1f ci: fail when tests fail
Downside is that failed test will not push artifacts
2018-08-15 22:53:34 +02:00
Anonymous Maarten
2bc1f560dd cmake: CHECK_INCLUDES -> CHECK_IWYU 2018-08-15 22:53:34 +02:00
Anonymous Maarten
fa1ff787e5 ci: add debug build 2018-08-15 22:53:34 +02:00
Anonymous Maarten
7eab14bee0 conan: update + latest versions 2018-08-15 22:53:32 +02:00
Anonymous Maarten
0915054d93 docker: use fedora 'latest' docker image 2018-08-15 09:12:03 +02:00
Anonymous Maarten
b545b79a4b cmake: do not use rwdep::xxx targets 2018-08-15 09:12:01 +02:00
husho
7dece398f4 Fix segfault when script timer runs out 2018-08-13 10:48:08 +01:00
Daniel Evans
1945d67818
Merge pull request #579 from madebr/no_openglcompat
wrap QOpenGLContext
2018-08-12 10:40:13 +01:00
Daniel Evans
2827ab63f5
Merge pull request #576 from madebr/enable_rwtools
Enable rwtools on ci
2018-08-11 23:56:27 +01:00
Anonymous Maarten
d212a779c2 rwviewer: wrap QOpenGLContext 2018-08-10 03:53:54 +02:00
Anonymous Maarten
8d6b9492a3 rwengine: remove unused source files 2018-08-10 00:49:08 +02:00
Anonymous Maarten
893e4ede06 ci: update macos image 2018-08-10 00:48:59 +02:00
Anonymous Maarten
dc595748a0 rwtools: enable on ci 2018-08-10 00:48:59 +02:00
Daniel Evans
50bbfb40f3
Merge pull request #574 from danhedron/rename_rwlib
Rename rwlib library to "core" to fit its new role
2018-08-09 21:28:19 +01:00
Daniel Evans
4fd92a1549 Rename rwlib library to "core" to fit its new role
Also move up source files into the root directory, as there's nothing else in this directory
2018-08-09 20:28:24 +01:00
Daniel Evans
844fdf8d33
Merge pull request #558 from ShFil119/soundRefactor
Implement methods for sfx, and refactor Sound system
2018-08-08 20:21:54 +01:00
Filip Gawin
11bc35c3f2 Implement methods for sfx, and refactor Sound system
SoundBuffer and SoundSource got their own
files.
2018-08-08 02:12:29 +02:00
Daniel Evans
be2816c398
Merge pull request #572 from danhedron/test_update/IPL
Remove data dependency from LoaderIPL tests
2018-08-08 00:34:27 +01:00
Daniel Evans
a0eb668f79 Simplify IPL tests by adding output and comparison operators 2018-08-07 23:15:20 +01:00
Daniel Evans
31f32b2173
Merge pull request #571 from madebr/kerning
Add font-dependent kerning
2018-08-07 23:06:12 +01:00
Daniel Evans
457364eca3
Merge pull request #566 from paulkocialkowski/vehicles
Various vehicle improvements
2018-08-07 23:05:58 +01:00
Paul Kocialkowski
ff9ccd5f07 rwengine: Set the linear velocity to a zero vector when stopped
Vehicles have a tendency to move on their own when they are stopped, due
to their interactions with other surfaces that result in a non-zero
velocity.

Since we have a threshold with the isStopped() method, fix this situation
by setting the linear velocity and wheels rotation (that otherwise also
rotate on their own) to zero vectors.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2018-08-07 21:25:30 +02:00
Anonymous Maarten
9cfd9bb21b tools/rwfont: Add font texture creator 2018-08-07 12:39:59 +02:00
Anonymous Maarten
1bde51a155 cmake: add optional rwtools directory 2018-08-07 12:39:59 +02:00
Anonymous Maarten
99dca06dbc rwengine: avoid crash of rwviewer/rwgmae when rendering incomplete color string
The string "~g" would crash rwviewer.
2018-08-07 12:39:59 +02:00
Anonymous Maarten
f85f6e3391 rwviewer: keep unconvertible characters in the string as they are 2018-08-07 12:39:59 +02:00
Anonymous Maarten
f0c0bd33ef rwlib: make '~' visible in rwviewer and utf8 strings 2018-08-07 12:39:59 +02:00
Anonymous Maarten
09026ae8b0 rwengine: allow newline in GameString's 2018-08-07 12:39:05 +02:00
Anonymous Maarten
38fca841e7 rwengine: add font-dependent kerning 2018-08-07 12:39:05 +02:00
Daniel Evans
7938f8678f Add LoaderIPL tests for inst section 2018-08-07 01:18:01 +01:00
Daniel Evans
f95427c136
Merge pull request #540 from ShFil119/remove_FileHandle
Remove unneeded FileHandle (aka shared_ptr)
2018-08-07 00:31:19 +01:00
Daniel Evans
2a50194f5b Change LoaderIPL tests to use test-local data 2018-08-06 23:48:16 +01:00
Daniel Evans
0af9b23fe1 Add stream interface to LoaderIPL and use it in test 2018-08-06 23:37:37 +01:00
Daniel Evans
413df08ea9 Extract zone data tests to be more explicit 2018-08-06 23:25:03 +01:00
Daniel Evans
09a092475e Test Fixture 2018-08-06 23:02:07 +01:00
Filip Gawin
f3a718611e Convert data of FileContentsInfo to unique_ptr
I've removed copy ctor and copy assign operator.
We use here unique_ptr so copying should not happen.
2018-08-06 23:08:34 +02:00
Daniel Evans
634a3940ac
Merge pull request #570 from danhedron/test_up/IDE
Remove data dependency from LoaderIDE test suite
2018-08-06 21:43:46 +01:00
Filip Gawin
27333efd8c Remove unneed FileHandle (aka shared_ptr) 2018-08-06 22:42:09 +02:00
Daniel Evans
3941dde8d6 Add overload for lexical_cast<T> to select the base of the conversion 2018-08-06 20:45:40 +01:00
Daniel Evans
b68af53c97 Use BOOST_TEST instead of BOOST_CHECK_* 2018-08-06 20:40:43 +01:00
Daniel Evans
0743ac9681
Merge pull request #528 from madebr/fonts
Convert utf8 string to GameStrings using current font mapping + add string viewer to rwviewer
2018-08-06 20:25:38 +01:00
Daniel Evans
b14bcc8a12 Rename ObjectDataTests suite to LoaderIDETests 2018-08-06 00:03:32 +01:00
Daniel Evans
fc64c5e87e Add more object tests and fix a ped info bug
The car mask ped info member was being loaded as base 10 instead of base 16
2018-08-05 23:55:20 +01:00
Anonymous Maarten
a15413f997 rwlib+rwengine+rwviewer: address feedback comments 2018-08-06 00:16:33 +02:00
Paul Kocialkowski
295cb25cb0 Improve jump by getting inertia from the previous movement
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2018-08-05 23:08:51 +01:00
Daniel Evans
a8b2b94b05 Extract stream construction into fixture 2018-08-05 22:29:01 +01:00
Daniel Evans
3b7bb14de6 Extract object data assertions to functions 2018-08-05 22:22:13 +01:00
Anonymous Maarten
37fcebee40 rwlib+rwengine: add string conversion independent of font 2018-08-05 23:20:58 +02:00
Daniel Evans
81b7e5226a Use hard-coded test data in object data tests
This removes the dependency on the game data for these tests.
2018-08-05 21:39:43 +01:00