Filip Gawin
4f07af11bb
Prevent possibility of reading garbage
2018-06-02 01:33:17 +02:00
Filip Gawin
0eab89eb13
Fix dereference nullptr in CharacterObject
2018-06-02 01:32:06 +02:00
Filip Gawin
0abe8ca211
Fix derefencing nullptr in VehicleObject
...
Logic error: Called C++ object pointer is null
1: Assuming 'enable' is not equal to 0 in /home/filip/Projekty/qt/
small/rwengine/src/objects/VehicleObject.cpp:708
2: Assuming pointer value is null in /home/filip/Projekty/qt/small/
rwengine/src/objects/VehicleObject.cpp:709
3: Called C++ object pointer is null in /home/filip/Projekty/qt/small/
rwengine/src/objects/VehicleObject.cpp:716
2018-06-02 01:17:13 +02:00
Daniel Evans
2b096eb228
Merge pull request #480 from husho/garages
...
[Ready] Garages
2018-05-24 17:35:40 +01:00
Daniel Evans
0e87037397
Merge pull request #486 from husho/morelocateopcodes
...
Locate opcodes
2018-05-24 13:02:06 +01:00
darkf
d08057f13a
Merge pull request #485 from husho/warnings
...
Fixed a bunch of warnings
2018-05-23 17:36:12 -05:00
husho
09fa9edaca
Locate opcodes
2018-05-23 21:27:33 +03:00
husho
d753d8cf20
Fixed warnings
2018-05-23 16:56:07 +03:00
husho
3ad651986c
Minor changes
2018-05-23 14:42:50 +03:00
husho
a8f5326c1f
Don't update doors every tick
2018-05-23 14:17:39 +03:00
husho
5d27eb33e9
Garages controller and basic functionality
2018-05-23 14:05:13 +03:00
Daniel Evans
de8131924d
Merge pull request #450 from husho/objphy
...
[Ready] Fixed script objects falling through the ground
2018-05-22 23:35:59 +01:00
Daniel Evans
c226432e88
Merge pull request #474 from NFSMONSTR/fix_loading_zonecylinder_texture
...
Fixed loading ZoneCylinder texture
2018-05-22 23:21:56 +01:00
Daniel Evans
4f57a78dc0
Merge pull request #482 from husho/gameloop
...
Added support for variable game speed
2018-05-22 21:09:48 +01:00
husho
214095ba02
Improved game loop to support game speed
2018-05-22 22:40:51 +03:00
Daniel Evans
5f85de5bd3
Merge pull request #484 from husho/fixcrash
...
Fixed crash on new game, fixed missions not failing on death/arrest
2018-05-22 01:06:01 +01:00
husho
cf3196c928
Fixed crash on new game, fixed missions not failing
...
on death/arrest
2018-05-22 01:42:18 +03:00
darkf
f17f2b8c7f
Merge pull request #475 from mole99/window-config
...
Added window configs
2018-05-21 17:12:35 -05: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
Daniel Evans
6695a836c7
Merge pull request #443 from dracc/various-411
...
Implemented some various opcodes
2018-05-21 13:43:13 +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
Daniel Evans
989ed36b78
Merge pull request #477 from husho/fixrestart2
...
Clear world on player restart
2018-05-19 22:51:04 +01:00
Daniel Evans
511e96e31a
Merge pull request #478 from ShFil119/patch-6
...
Fix mac build
2018-05-19 19:39:04 +01:00
Filip Gawin
f3ff844112
Try to fix mac build
2018-05-19 20:08:00 +02:00
husho
1ecba29a62
Clear world on player restart, fixed 0395 opcode
2018-05-19 20:00:23 +03:00
NFS_MONSTR
7d6bc6a22e
Minor fixes
2018-05-19 17:47:27 +03:00
Daniel Evans
a9f60b84c8
Merge pull request #465 from ShFil119/patch-5
...
Increase tickrate to 60 times per second
2018-05-19 15:38:15 +01:00
mole99
8d7cb91b60
Added window configs
2018-05-19 16:25:34 +02:00
NFS_MONSTR
b019d187d6
Fixed loading ZoneCylinder texture
2018-05-19 17:13:47 +03:00
husho
97224fccd0
Attempt to fix physics of script objects
2018-05-18 11:43:57 +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
Daniel Evans
a380cdd54f
Merge pull request #460 from husho/moreopcodes
...
[Ready] Mostly game stats related opcodes
2018-05-17 19:15:24 +01:00
Filip Gawin
93278ecb4e
Increase tickrate to 1/60
...
It should reduce level of perceptibility physics bugs and tearing non-interpolated objects.
2018-05-16 20:44:55 +02: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
Daniel Evans
03784a2a41
Merge pull request #464 from husho/patch-1
...
Debug menu off by 1 error fix
2018-05-16 17:36:47 +01:00
husho
ffeb83d56b
Off by 1 error fix
2018-05-16 17:51:33 +03:00
Daniel Evans
8b1e7d428c
Merge pull request #461 from husho/debugmenu
...
[Ready] Missions debug menu
2018-05-16 12:00:08 +01:00
husho
ee2421de41
Missions debug menu
2018-05-15 23:44:34 +03: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