diff --git a/src/docs/repentogon_changes/Isaac.lua b/src/docs/repentogon_changes/Isaac.lua index 995a446..42ff123 100644 --- a/src/docs/repentogon_changes/Isaac.lua +++ b/src/docs/repentogon_changes/Isaac.lua @@ -434,6 +434,7 @@ end --- ---More information can be obtained on [repentogon.com](https://repentogon.com/Isaac.html#rendertoworld) ---@param pos Vector +---@return Vector function Isaac.RenderToWorld(pos) end @@ -441,4 +442,4 @@ end ---@param name string ---@return string function Isaac.LoadModDataFromFolder(name) -end \ No newline at end of file +end diff --git a/src/docs/repentogon_changes/ItemPool.lua b/src/docs/repentogon_changes/ItemPool.lua index 26e50bc..f887b3f 100644 --- a/src/docs/repentogon_changes/ItemPool.lua +++ b/src/docs/repentogon_changes/ItemPool.lua @@ -64,6 +64,7 @@ end ---@param advancedSearch? boolean @default: false. Setting to `true` allows you to make use of the `filter` parameter. ---@param filter? ItemPoolType[] @default: {}. Normally acts as a blacklist of unwanted item pools, however setting `isWhitelist` to `true` turns it into a list from which to choose from. ---@param isWhitelist? boolean @default: false +---@return ItemPoolType function ItemPool:GetRandomPool(rng, advancedSearch, filter, isWhitelist) end @@ -119,6 +120,10 @@ end function ItemPool:ResetCollectible(collectibleType) end +---@param itemPoolType ItemPoolType +function ItemPool:SetLastPool(itemPoolType) +end + ---@class PoolItems ---@field itemID CollectibleType? @default: `CollectibleType.COLLECTIBLE_NULL` ---@field name string? @Alternative to `itemID` @@ -144,4 +149,4 @@ end ---@param poolType ItemPoolType ---@param poolItems PoolItems | PoolItems[] @Can be either a single Lua `PoolItem` object or an array of them. All field names are case insensitive function ItemPool:RemoveTemporaryCollectible(poolType, poolItems) -end \ No newline at end of file +end diff --git a/src/docs/repentogon_changes/Options.lua b/src/docs/repentogon_changes/Options.lua index f85339a..66f72b0 100644 --- a/src/docs/repentogon_changes/Options.lua +++ b/src/docs/repentogon_changes/Options.lua @@ -3,6 +3,7 @@ ---@field HushPanicStateFix boolean ---@field PreventModUpdates boolean ---@field QuickRoomClear boolean +---@field StatHUDPlanetarium boolean ---@field AimLockEnabled boolean ---@field AscentVoiceOver boolean ---@field BossHPOnBottom boolean @@ -21,4 +22,4 @@ ---@field WindowHeight integer ---@field WindowPosX integer ---@field WindowPosY integer ----@field WindowWidth integer \ No newline at end of file +---@field WindowWidth integer diff --git a/src/docs/repentogon_changes/entity/Entity.lua b/src/docs/repentogon_changes/entity/Entity.lua index 05a838a..65ac89b 100644 --- a/src/docs/repentogon_changes/entity/Entity.lua +++ b/src/docs/repentogon_changes/entity/Entity.lua @@ -85,6 +85,10 @@ end function Entity:GetCollisionCapsule(vector) end +---@return ColorParams[] +function Entity:GetColorParams() +end + ---If the entity recently took damage with the DAMAGE_COUNTDOWN `DamageFlag`, ---this returns how many more frames must pass before they can take damage with ---the DAMAGE_COUNTDOWN `DamageFlag` again. @@ -236,6 +240,7 @@ end ---@param position Vector? @default: `self.Position` ---@param color Color? @default: `Color.Default` ---@param scale? number @default: `1.0` +---@return EntityEffect, EntityEffect function Entity:MakeGroundPoof(position, color, scale) end @@ -412,4 +417,4 @@ end ---@return boolean function Entity:CanDevolve() -end \ No newline at end of file +end diff --git a/src/docs/repentogon_changes/entity/EntityPlayer.lua b/src/docs/repentogon_changes/entity/EntityPlayer.lua index ead0d82..f80922a 100644 --- a/src/docs/repentogon_changes/entity/EntityPlayer.lua +++ b/src/docs/repentogon_changes/entity/EntityPlayer.lua @@ -713,7 +713,7 @@ end ---@param position? Vector @default: `self.Position` ---@param rng? RNG @default: PlayerDropRNG ---@param itemPool? ItemPoolType @default: `ItemPoolType.POOL_NULL`. ----@overload fun(pickup: EntityPickup, rng?: RNG, itemPool?: ItemPoolType) +---@overload fun(self:EntityPlayer, pickup: EntityPickup, rng?: RNG, itemPool?: ItemPoolType) function EntityPlayer:SalvageCollectible(collectible, position, rng, itemPool) end @@ -1608,4 +1608,4 @@ end ---Effect duration of R U A Wizard? pill effect. Starts at `900` when the effect is activated. ---@param timer integer function EntityPlayer:SetRUAWizardTimer(timer) -end \ No newline at end of file +end diff --git a/src/docs/repentogon_new/ColorParams.lua b/src/docs/repentogon_new/ColorParams.lua index 0c350e8..bbea8c3 100644 --- a/src/docs/repentogon_new/ColorParams.lua +++ b/src/docs/repentogon_new/ColorParams.lua @@ -3,12 +3,11 @@ local ColorParams = {} ---@param color Color ---@param priority integer ----@param duration1 integer ----@param duration2 integer +---@param duration integer ---@param fadeout boolean ---@param shared boolean ---@return ColorParams -function _G.ColorParams(color, priority, duration1, duration2, fadeout, shared) +function _G.ColorParams(color, priority, duration, fadeout, shared) end ---@return Color diff --git a/src/docs/repentogon_new/FXLayers.lua b/src/docs/repentogon_new/FXLayers.lua index 64f272c..8ee8ca2 100644 --- a/src/docs/repentogon_new/FXLayers.lua +++ b/src/docs/repentogon_new/FXLayers.lua @@ -1,6 +1,6 @@ ---@class FXLayers local FXLayers = {} ----@param colorMod ColorModifier +---@param colorMod Color function FXLayers:AddPoopFx(colorMod) -end \ No newline at end of file +end diff --git a/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua b/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua index 3f5023d..7aefd76 100644 --- a/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua +++ b/src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua @@ -77,6 +77,13 @@ end function EntityConfigPlayer:GetModdedCoopMenuSprite() end +---Returns the Sprite used for a modded character's character select screen. +--- +---Note that this Sprite is shared by other characters from the same mod - there is an animation with the same name as this character. +---@return Sprite? `nil` for vanilla characters, or characters with no corresponding animation. +function EntityConfigPlayer:GetModdedMenuBackgroundSprite() +end + ---Returns the sprite for a modded character's game over screen (ie, their name). --- ---Note that this sprite is shared by other characters from the same mod - there is an animation with the same name as this character. diff --git a/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua b/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua index eb31c8a..d79fb59 100644 --- a/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua +++ b/src/docs/repentogon_new/savestate/GridEntitiesSaveStateVector.lua @@ -1,6 +1,9 @@ ---@class GridEntitiesSaveStateVector local GridEntitiesSaveStateVector = {} +function GridEntitiesSaveStateVector:Clear() +end + ---TODO: Document me! ---@param index integer ---@return GridEntityDesc diff --git a/src/docs/vanilla/BitSet128.lua b/src/docs/vanilla/BitSet128.lua index b3de90b..10d871a 100644 --- a/src/docs/vanilla/BitSet128.lua +++ b/src/docs/vanilla/BitSet128.lua @@ -8,6 +8,21 @@ ---@operator shl(BitSet128): BitSet128 ---@operator shr(BitSet128): BitSet128 +local BitSet128 = {} + +---@param bitPosition integer +---@return boolean +function BitSet128:Get(bitPosition) +end + +---@param bitPosition integer +---@param state boolean +function BitSet128:Set(bitPosition, state) +end + +function BitSet128:__tostring() +end + ---@param l? integer @default = `0` ---@param h? integer @default = `0` ---@return BitSet128 diff --git a/src/docs/vanilla/Font.lua b/src/docs/vanilla/Font.lua index fe0c815..a8381ba 100644 --- a/src/docs/vanilla/Font.lua +++ b/src/docs/vanilla/Font.lua @@ -93,7 +93,7 @@ end function Font:Load(FilePath) end ----@param MissingCharacter string +---@param MissingCharacter integer function Font:SetMissingCharacter(MissingCharacter) end