-
-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add type information to Event.Register - Add additional method prototypes to Ship.meta.lua
- Loading branch information
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- Copyright © 2008-2024 Pioneer Developers. See AUTHORS.txt for details | ||
-- Licensed under the terms of the GPL v3. See licenses/GPL-3.txt | ||
|
||
-- This file implements type information about C++ classes for Lua static analysis | ||
|
||
---@meta | ||
|
||
---@class SceneGraph.Model | ||
--- | ||
---@field name string | ||
---@field pattern integer Current pattern applied to the model | ||
---@field numPatterns integer Number of patterns supported by the model | ||
|
||
---@class SceneGraph.Model | ||
local Model = {} | ||
|
||
-- Set the pattern currently applied to the model | ||
---@param idx integer | ||
function Model:SetPattern(idx) end | ||
|
||
-- Set debug flags used when rendering this model | ||
---@param flags ModelDebugFlags[] | ||
function Model:SetDebugFlags(flags) end |