Skip to content

Commit d6871aa

Browse files
JabDoesThingsJabDoesThings
JabDoesThings
authored and
JabDoesThings
committed
FIX: Added self argument to instance method @overloads. Added "nth" cycle discovery for recursively-exposed API.
1 parent 247f2a1 commit d6871aa

File tree

1,782 files changed

+124893
-2145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,782 files changed

+124893
-2145
lines changed

__alias.lua

-495
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
--- @meta
2+
3+
--- @class DDPixelFormat
4+
--- @field public class any
5+
--- @implement DDSurface
6+
--- @field public DDPF_APHAPIXES int
7+
--- @field public DDPF_FOURCC int
8+
--- @field public DDPF_RGB int
9+
--- @field public DDSCAPS2_CUBEMAP int
10+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEX int
11+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEY int
12+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEZ int
13+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEY int
14+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEZ int
15+
--- @field public DDSCAPS2_CUBEMAP_POSITVEX int
16+
--- @field public DDSCAPS2_VOLUME int
17+
--- @field public DDSCAPS_COMPLEX int
18+
--- @field public DDSCAPS_MIPMAP int
19+
--- @field public DDSCAPS_TEXTURE int
20+
--- @field public DDSD_CAPS int
21+
--- @field public DDSD_DEPTH int
22+
--- @field public DDSD_HEIGHT int
23+
--- @field public DDSD_LINEARSIZE int
24+
--- @field public DDSD_MIPMAPCOUNT int
25+
--- @field public DDSD_PITCH int
26+
--- @field public DDSD_PIXELFORMAT int
27+
--- @field public DDSD_WIDTH int
28+
DDPixelFormat = {};
29+
30+
------------------------------------
31+
------------- METHODS --------------
32+
------------------------------------
33+
34+
--- @public
35+
--- @return String
36+
function DDPixelFormat:getFourCCString() end
37+
38+
--- @public
39+
--- @param arg0 long
40+
--- @return void
41+
function DDPixelFormat:setBBitMask(arg0) end
42+
43+
--- @public
44+
--- @param arg0 long
45+
--- @return void
46+
function DDPixelFormat:setFlags(arg0) end
47+
48+
--- @public
49+
--- @param arg0 long
50+
--- @return void
51+
function DDPixelFormat:setFourCC(arg0) end
52+
53+
--- @public
54+
--- @param arg0 long
55+
--- @return void
56+
function DDPixelFormat:setGBitMask(arg0) end
57+
58+
--- @public
59+
--- @param arg0 long
60+
--- @return void
61+
function DDPixelFormat:setRBitMask(arg0) end
62+
63+
--- @public
64+
--- @param arg0 long
65+
--- @return void
66+
function DDPixelFormat:setRGBAlphaBitMask(arg0) end
67+
68+
--- @public
69+
--- @param arg0 long
70+
--- @return void
71+
function DDPixelFormat:setRGBBitCount(arg0) end
72+
73+
--- @public
74+
--- @param arg0 long
75+
--- @return void
76+
function DDPixelFormat:setSize(arg0) end
77+
78+
79+
------------------------------------
80+
----------- CONSTRUCTOR ------------
81+
------------------------------------
82+
83+
--- @public
84+
--- @return DDPixelFormat
85+
function DDPixelFormat.new() end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
--- @meta
2+
3+
--- @class DDSCaps2
4+
--- @field public class any
5+
--- @implement DDSurface
6+
--- @field public DDPF_APHAPIXES int
7+
--- @field public DDPF_FOURCC int
8+
--- @field public DDPF_RGB int
9+
--- @field public DDSCAPS2_CUBEMAP int
10+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEX int
11+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEY int
12+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEZ int
13+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEY int
14+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEZ int
15+
--- @field public DDSCAPS2_CUBEMAP_POSITVEX int
16+
--- @field public DDSCAPS2_VOLUME int
17+
--- @field public DDSCAPS_COMPLEX int
18+
--- @field public DDSCAPS_MIPMAP int
19+
--- @field public DDSCAPS_TEXTURE int
20+
--- @field public DDSD_CAPS int
21+
--- @field public DDSD_DEPTH int
22+
--- @field public DDSD_HEIGHT int
23+
--- @field public DDSD_LINEARSIZE int
24+
--- @field public DDSD_MIPMAPCOUNT int
25+
--- @field public DDSD_PITCH int
26+
--- @field public DDSD_PIXELFORMAT int
27+
--- @field public DDSD_WIDTH int
28+
DDSCaps2 = {};
29+
30+
------------------------------------
31+
------------- METHODS --------------
32+
------------------------------------
33+
34+
--- @public
35+
--- @param arg0 long
36+
--- @return void
37+
function DDSCaps2:setCaps1(arg0) end
38+
39+
--- @public
40+
--- @param arg0 long
41+
--- @return void
42+
function DDSCaps2:setCaps2(arg0) end
43+
44+
45+
------------------------------------
46+
----------- CONSTRUCTOR ------------
47+
------------------------------------
48+
49+
--- @public
50+
--- @return DDSCaps2
51+
function DDSCaps2.new() end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
--- @meta
2+
3+
--- @class DDSLoader
4+
--- @field public class any
5+
--- @implement DDSurface
6+
--- @field public DDPF_APHAPIXES int
7+
--- @field public DDPF_FOURCC int
8+
--- @field public DDPF_RGB int
9+
--- @field public DDSCAPS2_CUBEMAP int
10+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEX int
11+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEY int
12+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEZ int
13+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEY int
14+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEZ int
15+
--- @field public DDSCAPS2_CUBEMAP_POSITVEX int
16+
--- @field public DDSCAPS2_VOLUME int
17+
--- @field public DDSCAPS_COMPLEX int
18+
--- @field public DDSCAPS_MIPMAP int
19+
--- @field public DDSCAPS_TEXTURE int
20+
--- @field public DDSD_CAPS int
21+
--- @field public DDSD_DEPTH int
22+
--- @field public DDSD_HEIGHT int
23+
--- @field public DDSD_LINEARSIZE int
24+
--- @field public DDSD_MIPMAPCOUNT int
25+
--- @field public DDSD_PITCH int
26+
--- @field public DDSD_PIXELFORMAT int
27+
--- @field public DDSD_WIDTH int
28+
--- @field public lastHei int
29+
--- @field public lastWid int
30+
DDSLoader = {};
31+
32+
------------------------------------
33+
------------- METHODS --------------
34+
------------------------------------
35+
36+
--- @public
37+
--- @return void
38+
function DDSLoader:debugInfo() end
39+
40+
--- @public
41+
--- @param arg0 BufferedInputStream
42+
--- @return int
43+
--- @overload fun(self: DDSLoader, arg0: String): int
44+
function DDSLoader:loadDDSFile(arg0) end
45+
46+
47+
------------------------------------
48+
----------- CONSTRUCTOR ------------
49+
------------------------------------
50+
51+
--- @public
52+
--- @return DDSLoader
53+
function DDSLoader.new() end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
--- @meta
2+
3+
--- @class DDSurfaceDesc2
4+
--- @field public class any
5+
--- @implement DDSurface
6+
--- @field public DDPF_APHAPIXES int
7+
--- @field public DDPF_FOURCC int
8+
--- @field public DDPF_RGB int
9+
--- @field public DDSCAPS2_CUBEMAP int
10+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEX int
11+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEY int
12+
--- @field public DDSCAPS2_CUBEMAP_NEGATIVEZ int
13+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEY int
14+
--- @field public DDSCAPS2_CUBEMAP_POSITIVEZ int
15+
--- @field public DDSCAPS2_CUBEMAP_POSITVEX int
16+
--- @field public DDSCAPS2_VOLUME int
17+
--- @field public DDSCAPS_COMPLEX int
18+
--- @field public DDSCAPS_MIPMAP int
19+
--- @field public DDSCAPS_TEXTURE int
20+
--- @field public DDSD_CAPS int
21+
--- @field public DDSD_DEPTH int
22+
--- @field public DDSD_HEIGHT int
23+
--- @field public DDSD_LINEARSIZE int
24+
--- @field public DDSD_MIPMAPCOUNT int
25+
--- @field public DDSD_PITCH int
26+
--- @field public DDSD_PIXELFORMAT int
27+
--- @field public DDSD_WIDTH int
28+
DDSurfaceDesc2 = {};
29+
30+
------------------------------------
31+
------------- METHODS --------------
32+
------------------------------------
33+
34+
--- @public
35+
--- @return DDPixelFormat
36+
function DDSurfaceDesc2:getDDPixelformat() end
37+
38+
--- @public
39+
--- @return DDSCaps2
40+
function DDSurfaceDesc2:getDDSCaps2() end
41+
42+
--- @public
43+
--- @param arg0 DDPixelFormat
44+
--- @return void
45+
function DDSurfaceDesc2:setDDPixelFormat(arg0) end
46+
47+
--- @public
48+
--- @param arg0 DDSCaps2
49+
--- @return void
50+
function DDSurfaceDesc2:setDDSCaps2(arg0) end
51+
52+
--- @public
53+
--- @param arg0 long
54+
--- @return void
55+
function DDSurfaceDesc2:setDepth(arg0) end
56+
57+
--- @public
58+
--- @param arg0 long
59+
--- @return void
60+
function DDSurfaceDesc2:setFlags(arg0) end
61+
62+
--- @public
63+
--- @param arg0 long
64+
--- @return void
65+
function DDSurfaceDesc2:setHeight(arg0) end
66+
67+
--- @public
68+
--- @param arg0 long
69+
--- @return void
70+
function DDSurfaceDesc2:setIdentifier(arg0) end
71+
72+
--- @public
73+
--- @param arg0 long
74+
--- @return void
75+
function DDSurfaceDesc2:setMipMapCount(arg0) end
76+
77+
--- @public
78+
--- @param arg0 long
79+
--- @return void
80+
function DDSurfaceDesc2:setPitchOrLinearSize(arg0) end
81+
82+
--- @public
83+
--- @param arg0 long
84+
--- @return void
85+
function DDSurfaceDesc2:setSize(arg0) end
86+
87+
--- @public
88+
--- @param arg0 long
89+
--- @return void
90+
function DDSurfaceDesc2:setWidth(arg0) end
91+
92+
93+
------------------------------------
94+
----------- CONSTRUCTOR ------------
95+
------------------------------------
96+
97+
--- @public
98+
--- @return DDSurfaceDesc2
99+
function DDSurfaceDesc2.new() end

fmod.fmod/Audio.lua

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
--- @meta
2+
3+
--- @class Audio
4+
--- @field public class any
5+
Audio = {};
6+
7+
------------------------------------
8+
------------- METHODS --------------
9+
------------------------------------
10+
11+
--- @public
12+
--- @return String
13+
function Audio:getName() end
14+
15+
--- @public
16+
--- @return boolean
17+
function Audio:isPlaying() end
18+
19+
--- @public
20+
--- @return void
21+
function Audio:pause() end
22+
23+
--- @public
24+
--- @param arg0 String
25+
--- @return void
26+
function Audio:setName(arg0) end
27+
28+
--- @public
29+
--- @param arg0 float
30+
--- @return void
31+
function Audio:setVolume(arg0) end
32+
33+
--- @public
34+
--- @return void
35+
function Audio:start() end
36+
37+
--- @public
38+
--- @return void
39+
function Audio:stop() end
40+
41+

fmod.fmod/BaseSoundListener.lua

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
--- @meta
2+
3+
--- @class BaseSoundListener
4+
--- @field public class any
5+
BaseSoundListener = {};
6+
7+
------------------------------------
8+
------------- METHODS --------------
9+
------------------------------------
10+
11+
--- @public
12+
--- @param arg0 float
13+
--- @param arg1 float
14+
--- @param arg2 float
15+
--- @return void
16+
function BaseSoundListener:setPos(arg0, arg1, arg2) end
17+
18+
--- @public
19+
--- @return void
20+
function BaseSoundListener:tick() end
21+
22+
23+
------------------------------------
24+
----------- CONSTRUCTOR ------------
25+
------------------------------------
26+
27+
--- @public
28+
--- @param arg0 int
29+
--- @return BaseSoundListener
30+
function BaseSoundListener.new(arg0) end

0 commit comments

Comments
 (0)