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

1767 Commits

Author SHA1 Message Date
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
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
Filip Gawin
884e035602 Fix opcode_03e5
https://github.com/Lighnat0r/GTA-III-SCM-Converted/blob/master/
02_wanted.sc
As you can see there's no another cleaning functionality,
so 03e5 should clean after itself.
2018-08-15 18:17:31 +01:00
Daniel Evans
ae0192333f
Merge pull request #586 from ShFil119/sfx_script
Sfx - ScriptObject, metadata, opcodes, listener position
2018-08-15 18:15:31 +01:00
Filip Gawin
37a677802d Fix problem with case sensivity of sfx files name 2018-08-15 13:03:36 +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
Filip Gawin
ed24fe71aa Enable av_register_all() for older version of ffmpeg
They require it before calling  avformat_alloc_context()
2018-08-15 01:12:40 +02:00
Filip Gawin
cb69ad596e Fix grabbing orientation from camera to listener
Codes has been a bit refactored.
Btw it looks like resampling of sfx won't be needed.
2018-08-15 01:12:40 +02:00
Filip Gawin
a8bdc83b0e Implement opcode 03d7 2018-08-15 01:12:40 +02:00
Filip Gawin
7b8e7a4e9f Implement 018e 2018-08-15 01:12:40 +02:00
Filip Gawin
048839e000 Implement 018d 2018-08-15 01:12:29 +02:00
Filip Gawin
1769830af0 Implement 018c 2018-08-15 01:07:21 +02:00
Filip Gawin
746b8f7d20 Update Listener parameters 2018-08-15 01:02:11 +02:00
Filip Gawin
1b1b924d8f Sound as ScriptType 2018-08-15 01:02:11 +02:00
Filip Gawin
4119afbae3 Add hardcoded metadata about sfx 2018-08-15 01:02:02 +02:00
Filip Gawin
5b110126d2 Store ptr to GameWorld in SoundManager
It's allowed to remove duplicated calls of
LoaderSDT's `load`, and need of calling `loadSound`
before `createSfxInstance`.
2018-08-13 21:44:35 +02:00