Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
76046cd
Implement BitSet128 class with basic methods
GoldenShit233 Sep 5, 2026
f57abeb
Add StatHUDPlanetarium field to Options.lua
GoldenShit233 Sep 5, 2026
cad8496
Change MissingCharacter parameter type to integer
GoldenShit233 Sep 5, 2026
2af6228
Add return type for GetRandomPool function
GoldenShit233 Sep 5, 2026
00d482c
Add SetLastPool method to ItemPool class
GoldenShit233 Sep 5, 2026
e0aed48
Add return type to RenderToWorld function
GoldenShit233 Sep 5, 2026
20ad2c2
Implement GetColorParams method in Entity.lua
GoldenShit233 Sep 5, 2026
6f8d3c0
Add return types to MakeGroundPoof function
GoldenShit233 Sep 5, 2026
b191bec
Update overload documentation for SalvageCollectible
GoldenShit233 Sep 5, 2026
47034e6
Refactor ColorParams function parameters
GoldenShit233 Sep 5, 2026
71e1439
Change parameter type from ColorModifier to Color
GoldenShit233 Sep 5, 2026
6967f7f
Add GetModdedMenuBackgroundSprite function
GoldenShit233 Sep 5, 2026
f6a54e5
Add Clear method to GridEntitiesSaveStateVector
GoldenShit233 Sep 5, 2026
4848a3c
Merge pull request #1 from GoldenShit233/patch-2
GoldenShit233 Sep 5, 2026
fc04d62
Merge pull request #2 from GoldenShit233/patch-3
GoldenShit233 Sep 5, 2026
0fe988c
Merge pull request #3 from GoldenShit233/patch-4
GoldenShit233 Sep 5, 2026
f3e74c7
Merge pull request #4 from GoldenShit233/patch-5
GoldenShit233 Sep 5, 2026
043b723
Merge pull request #6 from GoldenShit233/patch-7
GoldenShit233 Sep 5, 2026
2139483
Merge pull request #5 from GoldenShit233/patch-6
GoldenShit233 Sep 5, 2026
4f8bece
Merge pull request #7 from GoldenShit233/patch-8
GoldenShit233 Sep 5, 2026
a101441
Merge pull request #8 from GoldenShit233/patch-9
GoldenShit233 Sep 5, 2026
b88c5e4
Merge pull request #9 from GoldenShit233/patch-10
GoldenShit233 Sep 5, 2026
3f7d720
Merge pull request #10 from GoldenShit233/patch-11
GoldenShit233 Sep 5, 2026
2c5dbb9
Merge pull request #11 from GoldenShit233/patch-12
GoldenShit233 Sep 5, 2026
467e526
Merge pull request #12 from GoldenShit233/patch-13
GoldenShit233 Sep 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/docs/repentogon_changes/Isaac.lua
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,12 @@ 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

---Similar to `Isaac.LoadModData`, but lets you read the saveX.dat file from any existing mod data folder, even if that mod is not currently enabled.
---@param name string
---@return string
function Isaac.LoadModDataFromFolder(name)
end
end
7 changes: 6 additions & 1 deletion src/docs/repentogon_changes/ItemPool.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`
Expand All @@ -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
end
3 changes: 2 additions & 1 deletion src/docs/repentogon_changes/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,4 +22,4 @@
---@field WindowHeight integer
---@field WindowPosX integer
---@field WindowPosY integer
---@field WindowWidth integer
---@field WindowWidth integer
7 changes: 6 additions & 1 deletion src/docs/repentogon_changes/entity/Entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -412,4 +417,4 @@ end

---@return boolean
function Entity:CanDevolve()
end
end
4 changes: 2 additions & 2 deletions src/docs/repentogon_changes/entity/EntityPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
end
5 changes: 2 additions & 3 deletions src/docs/repentogon_new/ColorParams.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/docs/repentogon_new/FXLayers.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@class FXLayers
local FXLayers = {}

---@param colorMod ColorModifier
---@param colorMod Color
function FXLayers:AddPoopFx(colorMod)
end
end
7 changes: 7 additions & 0 deletions src/docs/repentogon_new/entityconfig/EntityConfigPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---@class GridEntitiesSaveStateVector
local GridEntitiesSaveStateVector = {}

function GridEntitiesSaveStateVector:Clear()
end

---TODO: Document me!
---@param index integer
---@return GridEntityDesc
Expand Down
15 changes: 15 additions & 0 deletions src/docs/vanilla/BitSet128.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/docs/vanilla/Font.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ end
function Font:Load(FilePath)
end

---@param MissingCharacter string
---@param MissingCharacter integer
function Font:SetMissingCharacter(MissingCharacter)
end

Expand Down