Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • openmw openmw
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 845
    • Issues 845
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenMWOpenMW
  • openmwopenmw
  • Merge requests
  • !1030

Dehardcode camera

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Petr Mikheev requested to merge ptmikheev/openmw:camera2 into master Jul 18, 2021
  • Overview 46
  • Commits 7
  • Pipelines 19
  • Changes 40
  • Lua bindings for camera. See updated example mods (video 1, 2, 3, 4, 5).
  • These mods are also an example that several mods can alter camera behavior at the same time without conflicts.
  • Dehardcoding is started! This MR removes more C++ code than adds, and moves camera-related logic to Lua.
  • It illustrates the approach to built-in scripts, script interfaces, and dehardcoding in general.

Testing is required!
Note that now you always use built-in camera Lua script even if you don't have Lua mods. Please test everything that is related to camera. Without mods the behavior should be exactly the same as before (except a small fix for head bobbing on a very high speed).

Edited Nov 01, 2021 by Petr Mikheev
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: camera2