@@ -86,6 +86,8 @@ <h2>4 Enums</h2>
8686 < li > < a href ="../4 enums/Flow.FreezeMode.html "> Flow.FreezeMode</ a > </ li >
8787 < li > < a href ="../4 enums/Flow.GameStatus.html "> Flow.GameStatus</ a > </ li >
8888 < li > < a href ="../4 enums/Flow.ItemAction.html "> Flow.ItemAction</ a > </ li >
89+ < li > < a href ="../4 enums/Flow.LaraType.html "> Flow.LaraType</ a > </ li >
90+ < li > < a href ="../4 enums/Flow.WeatherType.html "> Flow.WeatherType</ a > </ li >
8991 < li > < a href ="../4 enums/Input.ActionID.html "> Input.ActionID</ a > </ li >
9092 < li > < a href ="../4 enums/Input.AxisID.html "> Input.AxisID</ a > </ li >
9193 < li > < a href ="../4 enums/Objects.AmmoType.html "> Objects.AmmoType</ a > </ li >
@@ -106,7 +108,7 @@ <h2>4 Enums</h2>
106108< h2 > 5 Lua utility modules</ h2 >
107109< ul class ="nowrap ">
108110 < li > < a href ="../5 lua utility modules/CustomBar.html "> CustomBar</ a > </ li >
109- < li > < a href ="../5 lua utility modules/Diary .html "> Diary </ a > </ li >
111+ < li > < a href ="../5 lua utility modules/CustomDiary .html "> CustomDiary </ a > </ li >
110112 < li > < a href ="../5 lua utility modules/EventSequence.html "> EventSequence</ a > </ li >
111113 < li > < a href ="../5 lua utility modules/Timer.html "> Timer</ a > </ li >
112114 < li > < a href ="../5 lua utility modules/Type.html "> Type</ a > </ li >
@@ -150,6 +152,10 @@ <h2><a href="#Functions">Functions</a></h2>
150152 < td class ="summary "> Emit dynamic directional spotlight that lasts for a single frame.</ td >
151153 </ tr >
152154 < tr >
155+ < td class ="name " > < a href ="#EmitFogBulb "> EmitFogBulb(pos, [radius], [density], [color], [name])</ a > </ td >
156+ < td class ="summary "> Emit dynamic fogbulb that lasts for a single frame.</ td >
157+ </ tr >
158+ < tr >
153159 < td class ="name " > < a href ="#EmitBlood "> EmitBlood(pos, [count])</ a > </ td >
154160 < td class ="summary "> Emit blood.</ td >
155161 </ tr >
@@ -336,7 +342,7 @@ <h3>Parameters:</h3>
336342 < em > Default: false.</ em >
337343 </ li >
338344 < li > < span class ="parameter "> spriteSeqID</ span >
339- < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html#SpriteConstants " > SpriteConstants </ a > </ span >
345+ < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html# " > ObjID </ a > </ span >
340346 Sprite sequence slot ID.
341347 < em > Default: Objects.ObjID.DEFAULT_SPRITES.</ em >
342348 </ li >
@@ -583,6 +589,49 @@ <h3>Parameters:</h3>
583589
584590
585591
592+ </ dd >
593+ < dt >
594+ < a name = "EmitFogBulb "> </ a >
595+ < strong > EmitFogBulb(pos, [radius], [density], [color], [name])</ strong >
596+ </ dt >
597+ < dd >
598+ Emit dynamic fogbulb that lasts for a single frame.
599+ If you want a fogbulb that sticks around, you must call this each frame.
600+
601+
602+
603+ < h3 > Parameters:</ h3 >
604+ < ul >
605+ < li > < span class ="parameter "> pos</ span >
606+ < span class ="types "> < a class ="type " href ="../3 primitive classes/Vec3.html# "> Vec3</ a > </ span >
607+ position of the fogbulb
608+ </ li >
609+ < li > < span class ="parameter "> radius</ span >
610+ < span class ="types "> < span class ="type "> int</ span > </ span >
611+ measured in "clicks" or 256 world units (default 20)
612+ < em > Optional.</ em >
613+ </ li >
614+ < li > < span class ="parameter "> density</ span >
615+ < span class ="types "> < span class ="type "> int</ span > </ span >
616+ from 0 to 255 (default 255)
617+ < em > Optional.</ em >
618+ </ li >
619+ < li > < span class ="parameter "> color</ span >
620+ < span class ="types "> < a class ="type " href ="../3 primitive classes/Color.html# "> Color</ a > </ span >
621+ (default Color(255, 255, 255))
622+ < em > Optional.</ em >
623+ </ li >
624+ < li > < span class ="parameter "> name</ span >
625+ < span class ="types "> < a class ="type " href ="https://www.lua.org/manual/5.4/manual.html#6.4 "> string</ a > </ span >
626+ if provided, engine will interpolate this light for high framerate mode (be careful not to use same name for different fogbulbs)
627+ < em > Optional.</ em >
628+ </ li >
629+ </ ul >
630+
631+
632+
633+
634+
586635</ dd >
587636 < dt >
588637 < a name = "EmitBlood "> </ a >
@@ -851,7 +900,7 @@ <h3>Parameters:</h3>
851900 < em > Default: Color(0, 0, 0).</ em >
852901 </ li >
853902 < li > < span class ="parameter "> spriteSeqID</ span >
854- < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html#SpriteConstants " > SpriteConstants </ a > </ span >
903+ < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html# " > ObjID </ a > </ span >
855904 Sprite sequence slot ID.
856905 < em > Default: Objects.ObjID.DEFAULT_SPRITES.</ em >
857906 </ li >
@@ -979,7 +1028,7 @@ <h3>Fields:</h3>
9791028 Directional velocity in world units per second.
9801029 </ li >
9811030 < li > < span class ="parameter "> spriteSeqID</ span >
982- < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html#SpriteConstants " > SpriteConstants </ a > </ span >
1031+ < span class ="types "> < a class ="type " href ="../4 enums/Objects.ObjID.html# " > ObjID </ a > </ span >
9831032 Sprite sequence slot ID.
9841033 < em > Default: Objects.ObjID.DEFAULT_SPRITES.</ em >
9851034 </ li >
0 commit comments