1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-05 00:27:30 +02:00
Commit Graph

1447 Commits

Author SHA1 Message Date
Filip Gawin
ec92476818 Add sanitizers
Leak sanitizer - tracks leaks.

Address sanitizer - like above and
prohibiteted operations on memory.

Thread sanitizer - tracks data races.

Undefined behaviour - like name says. ;)
2018-06-08 09:35:31 +02:00
Anonymous Maarten
d03a33c284 ci: upgrade python before general upgrade 2018-03-17 12:55:32 +00:00
Anonymous Maarten
b8bf99ed1f docker: use latest branched fedora version instead of rawhide 2018-03-17 12:55:32 +00:00
Daniel Evans
c328132e92 Implement opcodes 0181 and 0182 2018-02-22 00:34:11 +00:00
Daniel Evans
cf5c75e526 Update CI badges and platform information 2018-02-15 21:41:44 +00:00
Anonymous Maarten
aa71fd4a6a rwlib: boost 1.58.0 needs to inclue boost/version.hpp for BOOST_VERSION 2018-02-15 21:10:11 +00:00
Anonymous Maarten
2305bb4a33 rwengine: tabs2space of GTA3ModuleImpl.inl
sed -i 's/\t/    /' GTA3ModuleImpl.inl
2018-02-14 23:58:57 +00:00
Filip Gawin
96ed30bc02 Three emplace_backs more 2018-02-14 22:32:08 +00:00
Filip Gawin
1ae0768725 Move temp data(instead of copying) 2018-02-14 22:32:08 +00:00
Anonymous Maarten
f23304dfcc ctest: do not fail test on failed test submission 2018-02-13 22:15:26 +00:00
Anonymous Maarten
af7b84637d cmake+ci: rewrite ctest + add appveyor 2018-02-13 22:15:26 +00:00
Anonymous Maarten
4ebc66b544 rwengine+rwgame: add missing includes 2018-02-13 22:15:26 +00:00
Anonymous Maarten
ebc74559e8 tests: do not link to the dynamic Boost Test library on Windows 2018-02-13 22:15:26 +00:00
Anonymous Maarten
e190fc54fb tests/test_config: ignore errors when removing temporary files/directories 2018-02-13 22:15:26 +00:00
Anonymous Maarten
58f219c04d rwgame: rwgame needs an entry point (main) using vs2017 2018-02-13 22:15:26 +00:00
Anonymous Maarten
4037c83929 tests: RUN_TESTS has special meaning in a Visual Studio solution 2018-02-13 22:15:26 +00:00
Anonymous Maarten
27fb8bd462 cmake: windows static ffmpeg build has dependency on swresample 2018-02-13 22:15:26 +00:00
Anonymous Maarten
fdb669a518 cmake: detect compiler and pass arguments accordingly 2018-02-13 22:15:26 +00:00
Anonymous Maarten
91fc924a45 rwlib: do not include <Windows.h> in defines.hpp 2018-02-13 22:15:26 +00:00
Anonymous Maarten
d6ee4774d1 script: Use Fedora rawhide instead of latest stable release 2018-02-13 00:17:24 +00:00
Filip Gawin
240b44af8b More fixes double promotion 2018-02-12 09:54:25 +00:00
Lucas Eriksson
6f50fa4ab7 Add experimental flag needed by glm 0.9.9 2018-02-10 17:03:27 +00:00
Christoph Heiss
2434a2b7f0 travis: Install libjack on macOS.
ffmpeg/libavcodec seems to require it.
2018-02-10 16:58:59 +00:00
Christoph Heiss
bbf0752a3d Fix unit test 'LoaderDFF/test_clump_clone'.
This test crashed apparently only on macOS, although it should have not
worked on Linux as well as it exhibits undefined behavior

Anyway, the cause was passing a uninitialized variable into OpenGL as a
buffer id. Just initialize it with 0 (reserved 'no object' id) and check
before using it.
2018-02-10 16:58:59 +00:00
Christoph Heiss
fd2637f5be Re-enable travis builds for macOS.
Since 13f8d4530d all macOS-related build
failures have been cleared, so travis can build again.
2018-02-09 22:58:49 +00:00
Christoph Heiss
5bfe0c5e00 Fix rwviewer build on macOS. 2018-02-09 22:58:49 +00:00
Christoph Heiss
00bac4c531 Fix build on macOS. 2018-02-09 22:58:49 +00:00
Christoph Heiss
6c3935cbf6 Correctly account for DPI scaling when setting viewport size. 2018-02-09 22:58:49 +00:00
Christoph Heiss
45107f5afb Fix segfault on pressing Command+q in main menu. 2018-02-09 22:58:49 +00:00
Christoph Heiss
256e5e73ad Fix seat assignment on boats. 2018-02-09 22:53:23 +00:00
Lucas Eriksson
51a547ee45 Create debugstate submenu weather. 2018-02-09 22:48:09 +00:00
Lucas Eriksson
3e96ad9c92 Stop using default initialization onglm datatypes.
It results in undefined behaviour with glm 0.9.9
2018-02-09 22:33:10 +00:00
Filip Gawin
5bf92e5a0b Use range loops in SaveGame.cpp
I've added const at the beginning of file,
arrays converted to type std::array.
2018-02-06 19:19:09 +00:00
Filip Gawin
73a5daab82 Use range loop 2018-02-06 19:19:09 +00:00
Florin9doi
e3e3642ec2 Save game location for Windows; fixes #375 2018-02-02 15:32:24 +00:00
Daniel Evans
e2eff314fd Weather: Fix linker error with old GLM 2018-02-01 02:43:48 +00:00
Daniel Evans
61e39aa505 Vehicle Object Component Rule evaluation 2018-02-01 02:43:48 +00:00
Daniel Evans
b35188ab94 correct comprules parsing. Use hex digits 2018-02-01 02:43:48 +00:00
Daniel Evans
397bc15638 Disable macOS build as it doesn't work yet 2018-02-01 02:12:45 +00:00
Daniel Evans
54e45f1326 Add test docker script for local building 2018-02-01 02:12:45 +00:00
Daniel Evans
1e48602c59 Ensure correct ownership of /build and /src directories in container 2018-02-01 02:12:45 +00:00
Anonymous Maarten
be879ea97e ci: redo error detection of travic cmake test script 2018-02-01 02:12:45 +00:00
Anonymous Maarten
c03e94f8b0 ci: use Docker for Travis Continuous Integration 2018-02-01 02:12:45 +00:00
Daniel Evans
9f68e4c95d Interpolate between weather types too 2018-01-30 01:54:15 +00:00
Daniel Evans
23fc9bbbe8 Remove RWTypes RGB and RGBA as they are unused 2018-01-30 01:48:33 +00:00
Daniel Evans
4490d91ee1 Load weather data into GLM types instead 2018-01-30 01:48:33 +00:00
Daniel Evans
5d4231f922 Use the WeatherCondition enum without directly indexing into entries 2018-01-30 01:48:33 +00:00
Daniel Evans
d3306922b2 Split Weather Data from the loader
- WeatherLoader now just a namespace with a single function
2018-01-30 01:48:33 +00:00
Florin9doi
e5694b383c Map flashing 2018-01-29 23:50:44 +00:00
Daniel Evans
6f9c3db52e Overahaul of rwviewer to simplify the code and improve usability
- Shared ViewerWidget has been removed. Now multiple instances exist
2018-01-27 21:44:18 +00:00