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

1907 Commits

Author SHA1 Message Date
Anonymous Maarten
564f6efeb5 ctest+ci: enable parallel building 2018-09-16 00:52:41 +02:00
Anonymous Maarten
56bd77af4e cmake: enable parallel build on MSVC 2018-09-16 00:52:41 +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
7bea25e487 rwengine: some variables are only used in debug builds
Fixes clang warnings about unused private fields: -Wunused-private-field
2018-09-16 00:52:41 +02:00
Anonymous Maarten
890deb217b ci: build openrw using clang on fedora 2018-09-16 00:52:41 +02:00
Anonymous Maarten
764fe2ecf4 docker: install clang 2018-09-16 00:52:41 +02:00
Anonymous Maarten
cce05da985 tests: fix for xcode 2018-09-16 00:52:41 +02:00
Anonymous Maarten
0b5500cf07 rwgame+rwviewer: no more "#pragma once" 2018-09-16 00:52:41 +02:00
Anonymous Maarten
2d595bede7 cmake: add all files to cmake 2018-09-16 00:52:41 +02:00
Anonymous Maarten
089b49b77a rwviewer: fix Visual Studio warnings 2018-09-16 00:52:41 +02:00
Anonymous Maarten
2a1163d391 rwgame: fix Visual Studio warnings 2018-09-16 00:52:41 +02:00
Anonymous Maarten
05896caac5 rwengine: fix Visual Studio warnings 2018-09-16 00:52:40 +02:00
Anonymous Maarten
8557f2176d rwcore: fix Visual Studio warnings 2018-09-15 23:39:46 +02:00
mole99
b92f9f059f Implement and use applyOffset() 2018-09-04 00:46:15 +01:00
Daniel Evans
52dbe78b4a
Merge pull request #621 from danhedron/feat/use_microprofile
Use microprofile for profiling
2018-09-04 00:41:01 +01:00
Berk Özkütük
8e2d17d52b Ignore jump input while in airborne state 2018-09-03 20:41:55 +01:00
Berk Özkütük
270cfea7e7 Fix conan script error due to conan API change 2018-09-02 15:50:04 +01:00
Daniel Evans
0e098b4fa0
Merge pull request #604 from ShFil119/minor_memory_improvements
Minor memory improvements
2018-09-01 23:55:48 +01: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
Daniel Evans
9f1628ee58 CI: enable profiling path 2018-09-01 22:58:25 +01:00
Daniel Evans
be55b616f7 Add additional profiler scopes for increased resolution 2018-09-01 22:58:25 +01:00
Daniel Evans
14885c24dc Move opengl debuging from RW_PROFILER, it interferes with CPU timing. 2018-09-01 22:58:25 +01:00
Daniel Evans
1efe3840b8 Increase profiler coverage in GameRenderer/OpenGLRenderer 2018-09-01 22:58:25 +01:00
Daniel Evans
080a0fe050 Use microprofile for profiling 2018-09-01 22:58:24 +01:00
Daniel Evans
63a2caa471 Add microprofile to rwengine dependencies 2018-09-01 22:58:24 +01:00
Filip Gawin
1f3462fb3f Use std::make_shared in GenericDATLoader.cpp 2018-09-01 17:50:03 +02:00
Filip Gawin
ffb1092077 Remove raw ptr from DebugDraw 2018-09-01 17:50:03 +02:00
Filip Gawin
4ff4356986 Replace raw ptr from OpenGLRenderer with unique_ptr 2018-09-01 17:50:03 +02:00
Filip Gawin
3ef7570fb5 Replace raw ptr in SCMFile with unique_ptr 2018-09-01 17:50:03 +02:00
Filip Gawin
711fa70950 Remove unneeded dynamic alocation of SCMFile 2018-09-01 17:50:03 +02:00
Filip Gawin
d4061540d0 Use ClumpPtr for clone 2018-09-01 17:49:52 +02:00
Filip Gawin
63ab663ea5 Remove raw ptrs from VehicleObject 2018-08-31 20:04:39 +02:00
Daniel Evans
b9ef99e752 Extract GameRenderer object handling into seperate method 2018-08-30 20:28:10 +01:00
Daniel Evans
4e1535ca99 rwgame: Refactor run() into seperate methods to ease profiling 2018-08-30 20:28:10 +01:00
Anonymous Maarten
372381843c rwengine: delete OpenAL buffers and sources before OpenAL shutdown
OpenAL printing
```
AL lib: (WW) FreeContext: (0x614000052440) Deleting 22 Sources
AL lib: (WW) FreeDevice: (0x62d0001f4400) Deleting 22 Buffers
```
at program shutdown is actually a warning that not all sources and
buffers were deleted.

Included suggestions from @ShFil119
2018-08-30 12:05:47 +01: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
2f2c3d823c Add to appveyor environment 2018-08-29 19:43:18 +02:00
Filip Gawin
88aa024258 Add to travis environment 2018-08-29 19:43:18 +02:00
Filip Gawin
77e0e3a3bc Prepare tests for Sound and SoundBuffer
Also refactored SoundBuffer a bit.
2018-08-29 19:43:18 +02:00
Anonymous Maarten
3628faf72b rwviewer: load gamedata before passing it to gameworld 2018-08-28 22:58:50 +01:00
Filip Gawin
fae8f0c1a9 Remove raw ptrs from ProjectileObject 2018-08-28 23:24:57 +02:00
Filip Gawin
70304dd276 Remove raw ptrs from PickupObject 2018-08-28 23:18:27 +02:00
Filip Gawin
071481f617 Remove raw ptrs from CharacterObject 2018-08-28 23:18:20 +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
Daniel Evans
aeece2683e
Merge pull request #607 from madebr/cmake
cmake updates
2018-08-28 10:05:32 +01:00
Anonymous Maarten
c4fd61bd5b cmake: explicitly require minimum version of Windows 2018-08-27 22:33:06 +02:00
Anonymous Maarten
b10c36e747 rwengine: throw runtime_error on loading illegal font 2018-08-23 16:49:12 +02:00
Anonymous Maarten
ee63911acb cmake: do not use gnu extensions to the c++
This will let cmake use -std=c++14 instead of -std=gnu++14
2018-08-23 15:46:57 +02:00
Anonymous Maarten
804276668b rwlib: enable RW_DEBUG if RW_DEBUG is defined 2018-08-23 15:45:39 +02:00
Anonymous Maarten
014a9b1bda rwengine: enable profiler if RW_PROFILER is defined + RENDER_PROFILER unused 2018-08-23 15:44:39 +02:00