Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic weather #1

Closed
wants to merge 9 commits into from
Closed

Dynamic weather #1

wants to merge 9 commits into from

Conversation

Lihis
Copy link
Owner

@Lihis Lihis commented May 9, 2018

Screwed the PR.. See #2

madebr and others added 9 commits April 16, 2018 20:36
Needed since CMake 3.11.0: CMP0072 policy
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.
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
Access `engine` directly instead through `character->engine`
cmake: use OpenGL GLVND libraries by default
@Lihis Lihis closed this May 9, 2018
@Lihis Lihis deleted the dynamic-weather branch May 9, 2018 18:20
Lihis pushed a commit that referenced this pull request Jul 3, 2018
Fixes rwengine#519

==13884==ERROR: AddressSanitizer: heap-use-after-free on address 0x607000b3d954 at pc 0x0000008ba469 bp 0x7ffd7c8f9ab0 sp 0x7ffd7c8f9aa0
READ of size 4 at 0x607000b3d954 thread T0
    #0 0x8ba468 in PlayerController::isTalkingOnPayphone() const /home/maarten/programming/openrw/rwengine/src/ai/PlayerController.cpp:315
    #1 0xa148eb in CharacterObject::updateMovementAnimation(float) /home/maarten/programming/openrw/rwengine/src/objects/CharacterObject.cpp:128
    #2 0xa185d9 in CharacterObject::updateCharacter(float) /home/maarten/programming/openrw/rwengine/src/objects/CharacterObject.cpp:356
    rwengine#3 0xa17735 in CharacterObject::tick(float) /home/maarten/programming/openrw/rwengine/src/objects/CharacterObject.cpp:297
    rwengine#4 0x7c7731 in RWGame::tick(float) /home/maarten/programming/openrw/rwgame/RWGame.cpp:541
    rwengine#5 0x7c6abb in RWGame::run() /home/maarten/programming/openrw/rwgame/RWGame.cpp:447
    rwengine#6 0x793b45 in main /home/maarten/programming/openrw/rwgame/main.cpp:17
    rwengine#7 0x7f154c17e18a in __libc_start_main (/lib64/libc.so.6+0x2318a)
    rwengine#8 0x793839 in _start (/home/maarten/programming/openrw/build/build/rwgame/rwgame+0x793839)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants