NFS_MONSTR
cfdcf32159
[WIP]Added transparency for pickups and selecting blend mode
2018-05-09 23:33:35 +03:00
darkf
b7fb22f95c
Merge pull request #440 from mole99/buoys
...
Make buoys float again
2018-05-07 10:43:48 -05:00
darkf
e89b37edf8
Merge pull request #421 from madebr/cmake_CMP0072
...
cmake: use OpenGL GLVND libraries by default
2018-05-07 10:43:31 -05:00
Jannik Vogel
648762e1bc
Merge pull request #442 from husho/buildfix
...
Access `engine` directly instead through `character->engine`
2018-05-06 21:40:18 +02:00
husho
558d44b379
fixed build
2018-05-06 20:19:30 +03:00
Miloslav Číž
db28b7b87a
Address simple TODOs in the code ( #350 )
...
* Make player gain money from getting into a taxi
* Remove redundant condition in VehicleObject
* Add documenting comment on SpecialModel
* Limit collecting money from each taxi to only once
2018-05-06 10:32:12 -05:00
darkf
512f1d2885
Merge pull request #439 from christoph-heiss/new-opcodes
...
Implement random number opcodes [0098, 0099, 0208, 0209].
2018-05-06 10:26:28 -05:00
Filip Gawin
63de965e3f
Fix condition in sorting
...
I forgot push suitable rebased commit.
2018-05-06 10:24:07 -05:00
mole99
1d54996adc
Reformatting changes
2018-05-06 16:20:00 +02:00
mole99
08d02fd5de
Prevent other objects than buoys from floating
...
As there is no way to distinguish whether an object should float on water or not, the names of the objects have to be hardcoded
2018-05-06 14:53:42 +02:00
mole99
afb7f3f96f
Make buoys float again
...
Until now buoys would just fall down, we need to apply the force with an impulse to make it work. To update the object in debug mode, a tickPhysics function had to be created, like the vehicles already use.
2018-05-05 13:54:26 +02:00
Christoph Heiss
73ddf887f5
Implement opcodes 0098, 0099, 0208 and 0209.
...
These opcodes are relevant for generating random values.
2018-05-01 22:57:16 +02:00
Christoph Heiss
5745da77d2
Remove unimplemented warnings from implemented opcodes.
2018-05-01 22:57:07 +02:00
darkf
464a1e39b9
Merge pull request #414 from ShFil119/fix/transparent_objects
...
Fix order of transparent objects
2018-04-30 04:55:46 -05:00
darkf
107d2c7aa5
Merge pull request #330 from ShFil119/fix/deference_null_pointer
...
Some potential deference of null pointers
2018-04-30 04:49:58 -05:00
darkf
0df204b430
Merge pull request #398 from ShFil119/various
...
Various, small changes
2018-04-30 04:42:41 -05:00
darkf
66552a99c8
Merge pull request #423 from Lihis/fix-380
...
Fix pausing issues
2018-04-30 04:30:13 -05:00
darkf
9efe9ffd3b
Merge pull request #404 from ShFil119/impr/pauseAllSounds
...
Allow to pause and resume sounds
2018-04-30 04:29:52 -05:00
Tomi Lähteenmäki
9929f9304f
Fix pausing cutscenes
2018-04-27 22:16:33 +03:00
Filip Gawin
2d5d70c1b2
More constexpr
2018-04-17 16:15:17 +02:00
Filip Gawin
5f5e9f7504
Set args as const if possible
2018-04-17 16:15:17 +02:00
Filip Gawin
2aa6d3b3b3
More nullptr
2018-04-17 16:15:17 +02:00
Filip Gawin
cf5efb9560
Use "= default" for trivial ctor/dtor
2018-04-17 16:15:17 +02:00
Filip Gawin
ecbb0599ed
Allow to pause and resume sounds
...
There's a lot of unneeded operation,
I mean coping strings and searching in loops.
We can get rid of it with extra method (passing
by sound by ref) or coping code.
PS cutscene's sound loses sync, because cutscene
doesn't stop.
2018-04-17 16:09:31 +02:00
Anonymous Maarten
2a429e37f8
cmake: use OpenGL GLVND libraries by default
...
Needed since CMake 3.11.0: CMP0072 policy
2018-04-16 20:36:58 +02:00
Filip Gawin
248d8ef727
Fix order of transparent objects
...
As https://learnopengl.com/Advanced-OpenGL/Blending
suggests transparent objects should be last.
2018-03-17 19:38:05 +01: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