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

luaengine: add HUD-like capabilities #90

Merged
merged 2 commits into from Jan 5, 2015

Commits on Dec 25, 2014

  1. luaengine: add screen drawing/HUD capabilities

    This commit allows LUA scripts to implement HUD capabilities,
    by overlaying elements (lines, boxes, text) to screen.
    Mostly used to draw custom graphic helpers for trainings and
    TAS runs development.
    
    Signed-off-by: Luca Bruno <lucab@debian.org>
    lucab committed Dec 25, 2014
    Copy the full SHA
    017f4e4 View commit details
    Browse the repository at this point in the history
  2. luaengine: add frame hooking support

    This commit adds a method to let LUA scripts register a callback
    to be invoked before rendering each frame.
    This callback typically makes use of screen drawing methods to
    draw a custom HUD on top of each frame.
    
    Signed-off-by: Luca Bruno <lucab@debian.org>
    lucab committed Dec 25, 2014
    Copy the full SHA
    be2e7b5 View commit details
    Browse the repository at this point in the history