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

1588 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
Jannik Vogel
a9e76da678
Merge pull request #516 from husho/fixpanic
Fix panic on new game
2018-06-18 23:58:03 +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
1574ebb83c
Merge pull request #511 from madebr/ctest_retry
ctest: increase the retry count for cdash test submissions
2018-06-17 17:42:37 -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
darkf
36e4cf498e
Merge pull request #512 from ShFil119/patch-3
Fix UB in gamestate
2018-06-14 19:47:31 -05:00
Filip Gawin
625ebdcb90
Fix UB in gamestate 2018-06-14 17:06:08 +02:00
Anonymous Maarten
adb5c32da2 ctest: increase the retry count for test submissions
Default retry count is 0 (=do not retry)
2018-06-14 15:55:33 +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
darkf
e17f17cbce
Merge pull request #503 from madebr/cpack
Use CPack to create archives on appveyor
2018-06-08 21:11:43 -05:00
Anonymous Maarten
92cb999368 cmake: echo GIT SHA1 during configuration 2018-06-08 18:31:48 +02:00
Anonymous Maarten
52a9cc42f5 rwlib: create librw library instead of librwlib library 2018-06-08 18:30:25 +02:00
Anonymous Maarten
7d18898e2c cmake: only install shared libraries 2018-06-08 18:30:25 +02:00
Anonymous Maarten
7aaa8e5527 appveyor: push build artifact 2018-06-08 18:30:25 +02:00
Anonymous Maarten
2da3660e23 cmake: use cpack to create archives 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
10b18dada2
Merge pull request #403 from madebr/clangtidy
Add clang-tidy support
2018-06-08 09:30:18 -05:00
darkf
8e6d4e2874
Merge pull request #396 from ShFil119/impr/sanitizers
Add sanitizers
2018-06-08 09:15:47 -05: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
Filip Gawin
e88d67bc5a Remove none sanitizer Thx @madebr 2018-06-08 10:18:05 +02:00
Filip Gawin
ec92476818 Add sanitizers
Leak sanitizer - tracks leaks.

Address sanitizer - like above and
prohibiteted operations on memory.

Thread sanitizer - tracks data races.

Undefined behaviour - like name says. ;)
2018-06-08 09:35:31 +02:00
husho
cc81aa1d5b Fix vehicle damage
Damage was only applied if there was an impulse/impact
2018-06-08 08:16:37 +03:00
Anonymous Maarten
1e6f9a1edc cmake: detect clang-tidy using cmake module + add helper function 2018-06-07 04:55:21 +02:00
Anonymous Maarten
c862da5ac1 cmake: add clang-tidy autofix option 2018-06-07 04:55:21 +02:00
Anonymous Maarten
6e33af303e cmake: add support clang-tidy (=C/C++ linter) 2018-06-07 04:55:21 +02:00
husho
dc3b3c32d1 Enable blending for fades. Thanks to @NFSMONSTR 2018-06-05 08:28:16 +03:00
husho
04c3b62f01 Load splash 2018-06-05 03:01:42 +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
4a9444fdee
Merge pull request #489 from husho/fixawfulframerate
Fixed: accumulated time during pauses caused terrible framerate
2018-05-31 23:22:29 -05:00
darkf
04e857ba0d
Merge pull request #487 from NFSMONSTR/fix432
Fix #432
2018-05-31 23:13:28 -05:00
husho
950ed6d6c9
Minor changes 2018-05-26 22:32:33 +03:00
husho
74df3c7e38 Fixed: accumulated time during pauses, caused terrible framerate 2018-05-26 19:19:57 +03:00
Daniel Evans
b7d657b9ab
Merge pull request #449 from husho/pickups
[Ready] Got some pickups working
2018-05-25 12:56:11 +01:00