Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Oct 6, 2023
1 parent 1b9ea22 commit d28b49f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/src/includes/_enums.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ Name | Data | Description
[MOON_CHALLENGE](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.MOON_CHALLENGE) | LOGIC::MOON_CHALLENGE |
[STAR_CHALLENGE](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.STAR_CHALLENGE) | LOGIC::STAR_CHALLENGE |
[SUN_CHALLENGE](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.SUN_CHALLENGE) | LOGIC::SUN_CHALLENGE |
[MAGMAN_SPAWN](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.MAGMAN_SPAWN) | LOGIC::MAGMAN_SPAWN |
[MAGMAMAN_SPAWN](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.MAGMAMAN_SPAWN) | LOGIC::MAGMAMAN_SPAWN |
[WATER_BUBBLES](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.WATER_BUBBLES) | LOGIC::WATER_BUBBLES |
[OLMEC_CUTSCENE](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.OLMEC_CUTSCENE) | LOGIC::OLMEC_CUTSCENE |
[TIAMAT_CUTSCENE](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=LOGIC.TIAMAT_CUTSCENE) | LOGIC::TIAMAT_CUTSCENE |
Expand Down
2 changes: 1 addition & 1 deletion docs/src/includes/_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ Type | Name | Description
[LogicUnderwaterBubbles](#LogicUnderwaterBubbles) | [water_bubbles](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=water_bubbles) | Only the bubbles that spawn from the floor<br/>Even without it, entities moving in water still spawn bubbles
[LogicOlmecCutscene](#LogicOlmecCutscene) | [olmec_cutscene](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=olmec_cutscene) |
[LogicTiamatCutscene](#LogicTiamatCutscene) | [tiamat_cutscene](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=tiamat_cutscene) |
[LogicApepTrigger](#LogicApepTrigger) | [apep_spawner](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=apep_spawner) | Works only if the level has at least one room [ROOM_TEMPLATE](#ROOM_TEMPLATE).APEP, and it still spawns apep at hardcoded positions
[LogicApepTrigger](#LogicApepTrigger) | [apep_spawner](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=apep_spawner) | Triggers and spawns Apep only in rooms set as [ROOM_TEMPLATE](#ROOM_TEMPLATE).APEP
[LogicCOGAnkhSacrifice](#LogicCOGAnkhSacrifice) | [city_of_gold_ankh_sacrifice](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=city_of_gold_ankh_sacrifice) | All it does is it runs transition to Duat after time delay (sets the state next theme etc. and state.items for proper player respawn)
[Logic](#Logic) | [duat_bosses_spawner](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=duat_bosses_spawner) |
[LogicTiamatBubbles](#LogicTiamatBubbles) | [bubbler](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=bubbler) | Spawn rising bubbles at [Tiamat](#Tiamat) (position hardcoded)
Expand Down
6 changes: 3 additions & 3 deletions src/game_api/script/usertypes/logic_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ void register_usertypes(sol::state& lua)
LOGIC::STAR_CHALLENGE,
"SUN_CHALLENGE",
LOGIC::SUN_CHALLENGE,
"MAGMAN_SPAWN",
LOGIC::MAGMAN_SPAWN,
"MAGMAMAN_SPAWN",
LOGIC::MAGMAMAN_SPAWN,
"WATER_BUBBLES",
LOGIC::WATER_BUBBLES,
"OLMEC_CUTSCENE",
Expand Down Expand Up @@ -99,7 +99,7 @@ void register_usertypes(sol::state& lua)
return sol::make_object(lua, (LogicStarChallenge*)return_logic);
case LOGIC::SUN_CHALLENGE:
return sol::make_object(lua, (LogicSunChallenge*)return_logic);
case LOGIC::MAGMAN_SPAWN:
case LOGIC::MAGMAMAN_SPAWN:
return sol::make_object(lua, (LogicMagmamanSpawn*)return_logic);
case LOGIC::WATER_BUBBLES:
return sol::make_object(lua, (LogicUnderwaterBubbles*)return_logic);
Expand Down
2 changes: 1 addition & 1 deletion src/game_api/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ Logic* LogicList::start_logic(LOGIC idx)
size = sizeof(LogicTuskPleasurePalace);
break;
}
case LOGIC::MAGMAN_SPAWN:
case LOGIC::MAGMAMAN_SPAWN:
{
offset = VTABLE_OFFSET::LOGIC_VOLCANA_RELATED;
size = sizeof(LogicMagmamanSpawn);
Expand Down
4 changes: 2 additions & 2 deletions src/game_api/state_structs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ enum class LOGIC : uint32_t
MOON_CHALLENGE,
STAR_CHALLENGE,
SUN_CHALLENGE,
MAGMAN_SPAWN,
MAGMAMAN_SPAWN,
WATER_BUBBLES,
OLMEC_CUTSCENE,
TIAMAT_CUTSCENE,
Expand Down Expand Up @@ -695,7 +695,7 @@ struct LogicList
LogicUnderwaterBubbles* water_bubbles;
LogicOlmecCutscene* olmec_cutscene;
LogicTiamatCutscene* tiamat_cutscene;
/// Works only if the level has at least one room ROOM_TEMPLATE.APEP, and it still spawns apep at hardcoded positions
/// Triggers and spawns Apep only in rooms set as ROOM_TEMPLATE.APEP
LogicApepTrigger* apep_spawner;
/// All it does is it runs transition to Duat after time delay (sets the state next theme etc. and state.items for proper player respawn)
LogicCOGAnkhSacrifice* city_of_gold_ankh_sacrifice;
Expand Down

0 comments on commit d28b49f

Please sign in to comment.