User:Erorr404/Editor/design
Jump to navigation
Jump to search
Map Editor Files
Map editor resource
elements_server.lua (server)
Manages which elements can be moved by clients (to avoid conflicts).
files_server.lua (server)
Handles requests to load files from clients, possibly based on admin level of the client that requested it, to prevent conflicts. If permission is granted, deletes existing elements and creates new elements based on the file.
elements.lua (client)
Manages selecting/deselecting elements based on mouse clicks and GUI requests.
files.lua (client)
Creates a new MAP file, saves elements to MAP file. Loads an existing .map file if allowed by files_server.lua.
GUI.lua (client)
Creates an interface to allow element creation, browsing, and deletion, file save/load requests, and map testing.
Freecam resource
main.lua (client)
Allows user to control camera from mouse and kb input.
element_drag.lua (client)
Mounts an element to cameras position (the element to mount is passed through an event).