Skip to content
Snippets Groups Projects
Select Git revision
  • next default protected
  • master protected
  • changelog-test
  • changelog-test2
  • magic
  • refactor-mem-get
  • freebsd-support
  • addfile++
  • uncappedrevengeance-master-alt
  • android-port-gme
  • lua-stack-revert-test
  • huge-opt-test
  • android-port-responsefile
  • better-lua-errors
  • deployer-224
  • android-port-prebuilt-libs
  • sdl-dragdrop
  • lua-gvar-stuff
  • sdlstuff
  • public-musicplus-libopenmpt
  • SRB2_assets_222
  • SRB2_assets_221
  • SRB2_release_2.1.24
23 results

lua_script.c

Blame
  • Forked from STJr / SRB2
    16294 commits behind the upstream repository.
    JTE's avatar
    Yukita Mayako authored
    Angles now go from 0 to 0xFFFF (360 degrees == FRACUNIT) instead
    of using a full UINT32. Lua only has one number type, so signedness
    gets in the way of using angle_t directly. This handling of angles
    matches up with how ZDoom ACS scripting and the like does it.
    
    I also changed all the integer casts and pushes of fixed_t to
    their own macro in preperation for possible future seperation.
    ef0e61fc
    History
    lua_script.c 23.39 KiB