User:Erorr404/Editor/design: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
resource
  file
      interface


main
  elementdata.lua // keeps track of selected element and movement modes
      bool selectElement(element theElement)
      element getSelectedElement()
      bool deselectElement()
      bool setMoveMode(int mode)
      int getMoveMode()
moveelement
  mousemove.lua // attaches element to cursor
      bool enableMouseMove(element)
      bool disableMouseMove()
  cameramove.lua // attaches element to camera
      bool enableCameraMove(element)
      bool disableCameraMove()
  keyboardmove.lua
      bool enableKeyboardMove(element)
      bool disableKeyboardMove()

Latest revision as of 18:29, 16 June 2007