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

888 Commits

Author SHA1 Message Date
Jannik Vogel
3a052353a7
Merge pull request #492 from husho/patch-3
Fix vehicle damage
2018-06-19 18:36:36 +02:00
husho
22205aaa28 Fix panic 2018-06-18 16:20:51 +03:00
husho
7f249ecf89 Fix paramedic & vigilante submissions (#491)
Opcodes
0376 opcode "create_random_actor" was unimplemented and did return garbage to the script, and dereferencing nonexistent actor caused crashes
2018-06-18 07:36:27 -05:00
husho
595b671f6d Added missing std:: 2018-06-18 06:53:39 -05:00
husho
f3664def80 Redid opcodes related to player input and cutscenes (#476)
Redid opcodes related to player input and cutscenes
2018-06-18 06:53:09 -05:00
husho
6d04746222 [Ready] Payphones (#498)
Payphones
2018-06-17 23:24:34 -05:00
husho
81781a53ed Various opcodes (#499)
Various opcodes
2018-06-17 23:23:20 -05:00
darkf
d0c07db836
Merge pull request #513 from madebr/ub_characterobject
rwgame: remove undefined behavior in CharacterObjects
2018-06-15 11:05:08 -05:00
Anonymous Maarten
46b94bd1ed rwgame: remove undefined behavior in CharacterObjects
Fixes this warning:
/home/maarten/programming/openrw/rwengine/src/objects/CharacterObject.cpp:202:54: runtime error: downcast of address 0x00000ae11d00 which does not point to an object of type 'PlayerController'
0x00000ae11d00: note: object is of type 'DefaultAIController'
 00 00 00 00  58 91 ca 00 00 00 00 00  e0 2e 90 0b 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'DefaultAIController'
/home/maarten/programming/openrw/rwengine/src/objects/CharacterObject.cpp:202:75: runtime error: member call on address 0x00000ae11d00 which does not point to an object of type 'PlayerController'
0x00000ae11d00: note: object is of type 'DefaultAIController'
 00 00 00 00  58 91 ca 00 00 00 00 00  e0 2e 90 0b 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'DefaultAIController'
/home/maarten/programming/openrw/rwengine/src/ai/PlayerController.hpp:66:16: runtime error: member access within address 0x00000ae11d00 which does not point to an object of type 'PlayerController'
0x00000ae11d00: note: object is of type 'DefaultAIController'
 00 00 00 00  58 91 ca 00 00 00 00 00  e0 2e 90 0b 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'DefaultAIController'
2018-06-15 16:24:23 +02:00
Filip Gawin
625ebdcb90
Fix UB in gamestate 2018-06-14 17:06:08 +02:00
husho
23072a5e99 Implement script timer (#500)
Added script timer
2018-06-12 13:05:50 -05:00
NFSMONSTR
85785b04e0 Don't draw asterisks in subtitles (#510)
Don't draw asterisks in subtitles
2018-06-09 10:23:16 -05:00
Anonymous Maarten
7d18898e2c cmake: only install shared libraries 2018-06-08 18:30:25 +02:00
Anonymous Maarten
e3c0b00453 cmake: use GNUInstallDirs for install paths + install everything (optionally) 2018-06-08 18:30:25 +02:00
darkf
64ecec3650
Merge pull request #502 from husho/fade2
Fade fix part 2
2018-06-08 09:08:21 -05:00
darkf
e0e09ba074
Merge pull request #488 from husho/refactor
Refactor: moved getPlayer to World class
2018-06-08 09:07:45 -05:00
husho
cc81aa1d5b Fix vehicle damage
Damage was only applied if there was an impulse/impact
2018-06-08 08:16:37 +03:00
husho
dc3b3c32d1 Enable blending for fades. Thanks to @NFSMONSTR 2018-06-05 08:28:16 +03:00
husho
e98cb05c47 Fade fix part2 2018-06-04 16:30:05 +03:00
darkf
070f58809e
Merge pull request #470 from husho/patch-1
Fade fix
2018-06-03 18:11:36 -05:00
darkf
62513421f3
Merge pull request #494 from NFSMONSTR/Fix_single_line_help_messages
Fixed one line help messages background too small
2018-06-03 18:10:01 -05:00
darkf
02373968c8
Merge pull request #496 from ShFil119/smallFixes
Remove potential source of bugs
2018-06-03 09:22:56 -05:00
husho
ca576ac3cf Refactor: moved getPlayer to World class 2018-06-03 03:40:59 +03:00
husho
304fb976ad Fade fix 2018-06-02 02:54:00 +03:00
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
NFS_MONSTR
9cb5e3bd09 Fix one line help messages background 2018-06-01 20:49:55 +03:00
darkf
04e857ba0d
Merge pull request #487 from NFSMONSTR/fix432
Fix #432
2018-05-31 23:13:28 -05:00
Daniel Evans
b7d657b9ab
Merge pull request #449 from husho/pickups
[Ready] Got some pickups working
2018-05-25 12:56:11 +01: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
NFS_MONSTR
5da89a871b Fix #432 2018-05-23 22:45:39 +03: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
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
NFS_MONSTR
7d6bc6a22e Minor fixes 2018-05-19 17:47:27 +03:00