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
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
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
Daniel Evans
7d894b2da5
Merge pull request #600 from danhedron/cleanup/game_renderer
...
Cleanup Game Renderer
2018-08-23 10:33:46 +01:00
Filip Gawin
3cd9c7722a
Reduce number of frames dynamic allocation and fix leak
2018-08-22 20:22:34 +01:00
Filip Gawin
e8fe8b614a
Refactor VisualFX and fix memory leaks
2018-08-21 21:51:28 +02:00
Anonymous Maarten
6aa9b3a1b7
tests: GameWorld needs a loaded GameData
...
dependency tree:
GameWorld -> SoundManager -> FileIndex
2018-08-21 19:59:53 +01:00
Daniel Evans
7b3bc093b3
Use array in place of vector for draw texture state
2018-08-21 19:46:53 +01:00
Daniel Evans
14255e5fe1
Disable depth test for post-process pass
2018-08-21 01:04:04 +01:00
Daniel Evans
34b8976856
Extract common rect rendering code
2018-08-21 01:04:04 +01:00
Daniel Evans
2aa0f3a371
Disable depth test for text rendering
2018-08-21 01:04:04 +01:00
Daniel Evans
c4364d037a
Remove OpenGL from rect rendering
2018-08-21 01:04:04 +01:00
Daniel Evans
2e472dd25c
Introduce depth test render state
2018-08-21 01:04:04 +01:00
Daniel Evans
7337da3133
Extract fade/splash rendering into its own Method.
2018-08-21 01:04:04 +01:00
Daniel Evans
fada60225c
GameRenderer: delete dead code
2018-08-21 01:04:04 +01:00
Daniel Evans
d9255cb5df
Merge pull request #594 from madebr/conan
...
Conan updates
2018-08-20 22:45:42 +01:00
Anonymous Maarten
d224da4575
conan: fix create_vs_solusion.py script for 32-bit builds
2018-08-20 18:46:49 +02:00
Anonymous Maarten
281649a102
cmake: no WIN32 for rwviewer
...
Qt/5.11.1@bincrafters/stable does not work well together with the
conan_multi generator.
2018-08-20 15:46:17 +02:00
Anonymous Maarten
0f2cacd35a
rwtests: fix FileIndex test on Windows
2018-08-17 03:31:29 +02:00
Anonymous Maarten
19a5a8e578
rwgame: read the config file from OpenRW's AppData
2018-08-16 20:26:49 +02:00
Anonymous Maarten
22437f9f25
rwcore: convert windows wide string to ACP (active code page)
2018-08-16 20:26:49 +02:00
Anonymous Maarten
c0f11c2935
rwgame: fix profiling
2018-08-16 18:31:31 +02:00
Anonymous Maarten
089ab58717
rwcore: casts needs <string> include
2018-08-15 22:53:34 +02:00
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