1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
Commit Graph

845 Commits

Author SHA1 Message Date
husho
5c1dbbd8b6 Added pickups 2018-05-22 23:19:19 +03:00
husho
214095ba02 Improved game loop to support game speed 2018-05-22 22:40:51 +03:00
husho
cf3196c928 Fixed crash on new game, fixed missions not failing
on death/arrest
2018-05-22 01:42:18 +03:00
darkf
17077627fb
Merge pull request #447 from ShFil119/small_impr
[Ready] Perfect forwarding and some forgotten stuff
2018-05-21 17:07:01 -05:00
darkf
a8110de63e
Merge pull request #473 from husho/patch-3
Fixed: mission is not restarting if player is in vehicle
2018-05-21 17:03:58 -05:00
Daniel Evans
d343a1a0bb
Merge pull request #481 from dracc/aldoxtor-363
New opcodes as written by @aldoxtor
2018-05-21 13:43:37 +01:00
Lucas Eriksson
5869a6903a Implemented some various opcodes
As written by @husho in #411.
Continuation of #435.
2018-05-20 15:03:22 +02:00
husho
972eaf2c08 F: mission not restarting if player is in vehicle 2018-05-20 01:41:42 +03:00
husho
1ecba29a62 Clear world on player restart, fixed 0395 opcode 2018-05-19 20:00:23 +03:00
Daniel Evans
b77ca47fd4
Merge pull request #446 from husho/respawn
[Ready] Respawn functionality
2018-05-18 02:35:10 +01:00
Daniel Evans
370a969dac
Merge pull request #437 from dracc/mission-412
[Ready] Improved mission clean up logic and implemented related opcodes
2018-05-18 02:10:13 +01:00
Filip Gawin
09c5d36398 Set ptr to const if possible
Also:
- make args name matching in header
and source file,
- make more ptrs to const ref,
2018-05-16 19:17:13 +02:00
Filip Gawin
4e1948c23c Rearrange passing args to functions/ctors
Kill extra shared_ptr by passing them using const reference.
Use perfect forwarding for strings.
Remove redundant std::move.
2018-05-16 19:17:13 +02:00
Filip Gawin
0c4e38a95b Add missing override 2018-05-16 19:15:44 +02:00
Filip Gawin
1e6a26e3c3 Replace deprecated stdint.h with cstding 2018-05-16 19:15:44 +02:00
Lucas Eriksson
2346e03a60 Improved mission clean up logic and implemented related opcodes 2018-05-15 20:42:46 +02:00
husho
4aa326f747
Forgot 1 opcode 2018-05-15 21:14:18 +03:00
husho
fafd58df6e Added respawn functionality 2018-05-15 21:07:40 +03:00
husho
ea55baf07d Added stats opcodes 2018-05-15 21:03:59 +03:00
Daniel Evans
c6f5b5406b
Merge pull request #448 from husho/vehiclehealth
[Ready] Vehicle health
2018-05-15 13:13:19 +01:00
Daniel Evans
274fe20f17
Merge pull request #438 from dracc/locate-408
[Ready] Implemented some locate opcodes
2018-05-14 23:03:36 +01:00
Daniel Evans
f6932305ee
Merge pull request #455 from NFSMONSTR/454
Fix #454
2018-05-14 22:44:13 +01:00
Daniel Evans
a8cafe7396
Merge pull request #433 from NFSMONSTR/add_transparent_pickups2
Added transparency for pickups
2018-05-14 22:13:05 +01:00
husho
3c41e43a85
Little fix 2018-05-14 18:49:28 +03:00
husho
127c8168b3 Vehicle health 2018-05-14 10:37:33 +03:00
NFS_MONSTR
6c76a130af fix 454 2018-05-13 01:47:03 +03:00
Daniel Evans
9831314162
Merge pull request #436 from dracc/blip-409
Implemented blip opcodes
2018-05-11 10:06:38 +01:00
NFS_MONSTR
45ee3ad0d4 Fixed bugs caused by adding switching glBlendFunc 2018-05-09 23:34:30 +03:00
NFS_MONSTR
a2edb79644 Fixed building 2018-05-09 23:34:25 +03:00
NFS_MONSTR
deafe08f1e little changes 2018-05-09 23:34:01 +03:00
NFS_MONSTR
b8cab132f3 Added enum for blending modes 2018-05-09 23:33:55 +03:00
NFS_MONSTR
cfdcf32159 [WIP]Added transparency for pickups and selecting blend mode 2018-05-09 23:33:35 +03:00
Lucas Eriksson
a7bf0f9ea5 New opcodes as written by @aldoxtor
Updated according to requested changes and comments in #363
2018-05-09 10:48:19 +02:00
darkf
b7fb22f95c
Merge pull request #440 from mole99/buoys
Make buoys float again
2018-05-07 10:43:48 -05:00
Lucas Eriksson
263f861a7c Implemented some locate opcodes 2018-05-07 10:05:29 +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
Lucas Eriksson
36e73abfd0 Implemented blip opcodes as per #409
Renamed some functions and updated comments accordingly.
2018-05-06 11:43:51 +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
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