From 50aa1c01f25fb5b76a29157b9e78136b051c2333 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:57:09 +0000 Subject: [PATCH] update slate[no ci] --- docs/index.html | 1523 ++++++++++++++++++++++------------------------- docs/light.html | 1523 ++++++++++++++++++++++------------------------- 2 files changed, 1434 insertions(+), 1612 deletions(-) diff --git a/docs/index.html b/docs/index.html index 01f088340..ab3a83314 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1851,9 +1851,6 @@
  • ImGuiIO
  • -
  • - InputDevice -
  • InputMapping
  • @@ -1907,12 +1904,6 @@
  • JournalPageProgress
  • -
  • - JournalPageRecap -
  • -
  • - JournalPageStory -
  • JournalPageTraps
  • @@ -2076,6 +2067,9 @@
  • JournalUI
  • +
  • + MenuScreenPanels +
  • OnlineLobbyScreenPlayer
  • @@ -2103,6 +2097,9 @@
  • ScreenArenaScore
  • +
  • + ScreenArenaScoreLavaBubble +
  • ScreenArenaStagesSelect
  • @@ -2112,9 +2109,15 @@
  • ScreenCharacterSelect
  • +
  • + ScreenCodeInput +
  • ScreenConstellation
  • +
  • + ScreenControls +
  • ScreenCredits
  • @@ -2122,10 +2125,10 @@ ScreenDeath
  • - ScreenIntro + ScreenEnterOnlineCode
  • - ScreenLeaderboards + ScreenIntro
  • ScreenLevel @@ -2145,9 +2148,6 @@
  • ScreenOptions
  • -
  • - ScreenPlayerProfile -
  • ScreenPrologue
  • @@ -2157,9 +2157,6 @@
  • ScreenScores
  • -
  • - ScreenSeedInput -
  • ScreenStateCamp
  • @@ -2178,9 +2175,6 @@
  • ScreenWin
  • -
  • - ScreenZoomAnimation -
  • @@ -10481,25 +10475,6 @@

    ImGuiIO

    -

    InputDevice

    - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    intinput_index
    intbuttons

    InputMapping

    Used in PlayerSlot

    @@ -10760,11 +10735,6 @@

    JournalPageDeathMenu

    -int -selected_menu_index - - - TextRenderingInfo game_over_text_info @@ -10884,11 +10854,6 @@

    JournalPageJournalMenu

    -int -selected_menu_index - - - TextRenderingInfo journal_text_info @@ -11144,28 +11109,6 @@

    JournalPageProgress

    -

    JournalPageRecap

    -

    Derived from JournalPage

    - - - - - - - - -
    TypeNameDescription
    -

    JournalPageStory

    -

    Derived from JournalPage

    - - - - - - - - -
    TypeNameDescription

    JournalPageTraps

    Derived from JournalPage JournalPageDiscoverable

    @@ -13060,22 +13003,17 @@

    JournalUI

    TextureRenderingInfo -unknown23 - - - -TextureRenderingInfo entire_book int -page_timer +fade_timer int -fade_timer +page_timer @@ -13089,6 +13027,105 @@

    JournalUI

    Stores pages loaded into memeory. It's not cleared after the journal is closed or when you go back to the main (menu) page.
    Use :get_type() to chcek page type and cast it correctly (see ON.RENDER_PRE_JOURNAL_PAGE) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    floatwoodpanels_velocity
    floatwoodpanels_progress
    floatscroll_unfurl_progress
    floatbottom_woodpanel_speed_multiplayer
    floatbottom_woodpanel_y_offset
    TextureRenderingInfobottom_woodpanel
    TextureRenderingInfotop_woodpanel
    TextureRenderingInfoscroll
    TextureRenderingInfotop_woodpanel_left_scrollhandle
    TextureRenderingInfotop_woodpanel_right_scrollhandle
    STRINGIDscroll_text
    STRINGIDbottom_left_text
    STRINGIDbottom_right_text
    STRINGIDbottom_middle_text
    booltop_woodpanel_visible
    boolbottom_woodpanel_visible
    booltoggle_woodpanel_slidein_animation
    boolcapitalize_scroll_text

    OnlineLobbyScreenPlayer

    @@ -13099,6 +13136,11 @@

    OnlineLobbyScreenPlayer

    + + + + + @@ -13107,6 +13149,11 @@

    OnlineLobbyScreenPlayer

    + + + + +
    intplatform_icon16 = PC, 17 = Discord, 18 = Steam, 19 = Xbox, 32 = switch, 48 = PS, 49 = PS again?
    int character 0 - Ana Spelunky, 1 - Margaret Tunnel, 2 - Colin Northward, 3 - Roffy D. Sloth.. and so on. Same order as in ENT_TYPE
    ready
    boolsearching

    PauseUI

    @@ -13154,17 +13201,32 @@

    PauseUI

    - + - + + + + + + + + + + + + + + + + - +
    TextureRenderingInfo confirmation_panelPrompt background
    intpreviously_selected_menu_indexselected_optionIt's set wh game displays the prompt
    boolprompt_visible
    array<int, MAX_PLAYERS>buttons_actions
    array<int, MAX_PLAYERS>buttons_movement
    int visibility0 - Invisible, 1 - Sliding down, 2 - Visible, 3 - Sliding up

    SaveRelated

    @@ -13232,11 +13294,6 @@

    ScreenArenaIntro

    TextureRenderingInfo -unknown_all_forced - - - -TextureRenderingInfo left_scroll @@ -13247,7 +13304,7 @@

    ScreenArenaIntro

    float -scroll_unfurl_timer +scroll_unfurl @@ -13275,6 +13332,11 @@

    ScreenArenaIntro

    countdown + +array<ParticleEmitterInfo, 9> +particles + +

    ScreenArenaItems

    Derived from Screen

    @@ -13287,73 +13349,8 @@

    ScreenArenaItems

    -float -woodpanel_top_slidein_timer - - - -float -woodpanel_top_scroll_unfurl_timer - - - -TextureRenderingInfo -unknown9 - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -unknown11 - - - -TextureRenderingInfo -top_scroll_left_handle - - - -TextureRenderingInfo -top_scroll_right_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -text_id_2 - - - -STRINGID -text_id_3 - - - -STRINGID -text_id_4 - - - -bool -woodpanel_top_visible - - - -bool -woodpanel_bottom_visible - - - -bool -woodpanels_toggle +MenuScreenPanels +screen_panels @@ -13432,6 +13429,11 @@

    ScreenArenaItems

    +map<int, float> +items_to_gray_out + + + float center_panels_horizontal_slide_position @@ -13446,6 +13448,11 @@

    ScreenArenaItems

    selected_item_index + +ScreenControls +controls + +

    ScreenArenaLevel

    Derived from Screen

    @@ -13472,6 +13479,11 @@

    ScreenArenaLevel

    get_ready_outline + +array<ParticleEmitterInfo, 11> +particles + +

    ScreenArenaMenu

    Derived from Screen

    @@ -13484,83 +13496,8 @@

    ScreenArenaMenu

    -ScreenZoomAnimation -brick_background_animation - - - -ScreenZoomAnimation -blurry_border_animation - - - -float -top_woodpanel_slidein_timer - - - -float -top_scroll_unfurl_timer - - - -TextureRenderingInfo -unknown13 - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -unknown15 - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -unknown17_text_id - - - -STRINGID -unknown18_text_id - - - -STRINGID -unknown19_text_id - - - -bool -top_woodpanel_visible - - - -bool -bottom_woodpanel_visible - - - -bool -woodpanels_toggle +MenuScreenPanels +screen_panels @@ -13708,6 +13645,11 @@

    ScreenArenaMenu

    selected_option_index + +ScreenControls +controls + +

    ScreenArenaScore

    Derived from Screen

    @@ -13721,17 +13663,12 @@

    ScreenArenaScore

    float -woodpanel_slide_timer +woodpanel_slide float -scroll_unfurl_timer - - - -TextureRenderingInfo -unknown10 +scroll_unfurl @@ -13741,11 +13678,6 @@

    ScreenArenaScore

    TextureRenderingInfo -unknown_all_forced - - - -TextureRenderingInfo woodpanel_left_scroll @@ -13821,26 +13753,11 @@

    ScreenArenaScore

    TextureRenderingInfo -unknown24 - - - -TextureRenderingInfo -unknown25 - - - -TextureRenderingInfo score_counter TextureRenderingInfo -unknown27 - - - -TextureRenderingInfo lava_bubbles @@ -13860,11 +13777,6 @@

    ScreenArenaScore

    -int -animation_frame - - - bool squash_and_celebrate @@ -13899,10 +13811,18 @@

    ScreenArenaScore

    next_sidepanel_slidein_timer + +array<ParticleEmitterInfo, 13> +particles + + + +array<ScreenArenaScoreLavaBubble, 15> +lava_bubbles_positions + + -

    ScreenArenaStagesSelect

    -

    Derived from Screen

    - +

    ScreenArenaScoreLavaBubble

    @@ -13912,62 +13832,43 @@

    ScreenArenaStagesSelect

    - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - + +
    Type
    floatwoodenpanel_top_slidein_timerx
    floatwoodenpanel_top_scroll_unfurl_timer
    TextureRenderingInfowoodenpanel_top
    TextureRenderingInfowoodenpanel_top_left_scroll
    TextureRenderingInfowoodenpanel_top_right_scroll
    STRINGIDtext_id_1
    STRINGIDtext_id_2y
    STRINGIDtext_id_3inttimer1
    STRINGIDtext_id_4inttimer2
    boolwoodenpanel_top_visiblevisible
    +

    ScreenArenaStagesSelect

    +

    Derived from Screen

    + + - - - + + + + - - + + @@ -14101,10 +14002,30 @@

    ScreenArenaStagesSelect

    + + + + + + + + + + + + + + + + + + + +
    boolwoodenpanel_bottom_visibleTypeNameDescription
    boolwoodenpanels_toggleMenuScreenPanelsscreen_panels
    map<int, float>stages_to_gray_out
    floatpanels_slide_from_both_sides
    floatvisibility_all_stages
    int selected_stage_index
    ScreenControlscontrols

    ScreenCamp

    Derived from Screen

    @@ -14134,72 +14055,27 @@

    ScreenCharacterSelect

    float -main_background_zoom_target +main_background_zoom_progress float -blurred_border_zoom_target +main_background_zoom_target float -top_bottom_woodpanel_slidein_timer +blurred_border_zoom_progress float -top_scroll_unfurl_timer - - - -TextureRenderingInfo -bottom_woodpanel - - - -TextureRenderingInfo -top_woodpanel - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -left_button_text_id - - - -STRINGID -right_button_text_id - - - -STRINGID -middle_button_text_id - - - -bool -top_woodpanel_visible - - - -bool -bottom_woodpanel_visible +blurred_border_zoom_target -bool -toggle_woodpanel_slidein_animation +MenuScreenPanels +screen_panels @@ -14329,12 +14205,12 @@

    ScreenCharacterSelect

    float -topleft_woodpanel_esc_slidein_timer +topleft_woodpanel_esc_slidein float -start_panel_slidein_timer +start_panel_slidein @@ -14343,6 +14219,11 @@

    ScreenCharacterSelect

    +int +next_screen_to_load + + + bool not_ready_to_start_yet @@ -14358,13 +14239,13 @@

    ScreenCharacterSelect

    -int -buttons +TextureRenderingInfo +screen_blackout float -opacity +blackout_transparency @@ -14378,6 +14259,11 @@

    ScreenCharacterSelect

    +bool +disable_controls + + + array<FlyingThing, 6> flying_things @@ -14443,32 +14329,17 @@

    ScreenCharacterSelect

    -SoundMeta -sound +array<SoundMeta, 4> +torch_sound + + + +array<int, MAX_PLAYERS> +buttons -

    ScreenConstellation

    -- forces any level transition to immediately go to constellation ending with custom text
    -set_callback(function()
    -    if state.screen_next == SCREEN.TRANSITION then
    -      if state.level_count == 0 then state.level_count = 1 end -- no /0
    -      state.win_state = WIN_STATE.COSMIC_OCEAN_WIN
    -      state.screen_next = SCREEN.CONSTELLATION
    -      state.world_next = 8
    -      state.level_next = 99
    -      state.theme_next = THEME.COSMIC_OCEAN
    -      state.level_gen.themes[THEME.COSMIC_OCEAN].sub_theme = state.level_gen.themes[state.theme]
    -      state:force_current_theme(THEME.COSMIC_OCEAN)
    -      set_global_interval(function()
    -        if state.screen_constellation.sequence_state == 2 then
    -          state.screen_constellation.constellation_text = "Lol u stars now"
    -          clear_callback()
    -        end
    -      end, 1)
    -    end
    -  end, ON.PRE_LOAD_SCREEN)
    -
    -
    +

    ScreenCodeInput

    Derived from Screen

    @@ -14479,13 +14350,144 @@

    ScreenConstellation

     
    - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    intsequence_stateMenuScreenPanelsscreen_panels
    boolallow_randomneeds to be set before opening the screen to show the correct text at the bottom
    intanimation_timerselected_button_index
    boolpressed_select
    floattopleft_woodpanel_esc_slidein
    STRINGIDscroll_text_id
    STRINGIDstart_text_id
    TextureRenderingInfomain_woodpanel_left_border
    TextureRenderingInfomain_woodpanel_center
    TextureRenderingInfomain_woodpanel_right_border
    TextureRenderingInfotop_scroll
    TextureRenderingInfoletter_cutouts
    TextureRenderingInfohand_pointer
    TextureRenderingInfokey_background
    TextureRenderingInfotopleft_woodpanel_esc
    TextureRenderingInfostart_sidepanel
    floatstart_sidepanel_slidein
    intseed_lengthCurrent input length (0-8). You probably shouldn't write to this, except to set it to 0.
    optional<int>get_seed()Get the seed currently entered in the seed dialog or nil if nothing is entered. Will also return incomplete seeds, check seed_length to verify it's ready.
    nilset_seed(optional seed, optional length)Set the seed entered in the seed dialog. Call without arguments to clear entered seed. Optionally enter a length to set partial seed.
    +

    ScreenConstellation

    -- forces any level transition to immediately go to constellation ending with custom text
    +set_callback(function()
    +    if state.screen_next == SCREEN.TRANSITION then
    +      if state.level_count == 0 then state.level_count = 1 end -- no /0
    +      state.win_state = WIN_STATE.COSMIC_OCEAN_WIN
    +      state.screen_next = SCREEN.CONSTELLATION
    +      state.world_next = 8
    +      state.level_next = 99
    +      state.theme_next = THEME.COSMIC_OCEAN
    +      state.level_gen.themes[THEME.COSMIC_OCEAN].sub_theme = state.level_gen.themes[state.theme]
    +      state:force_current_theme(THEME.COSMIC_OCEAN)
    +      set_global_interval(function()
    +        if state.screen_constellation.sequence_state == 2 then
    +          state.screen_constellation.constellation_text = "Lol u stars now"
    +          clear_callback()
    +        end
    +      end, 1)
    +    end
    +  end, ON.PRE_LOAD_SCREEN)
    +
    +
    +

    Derived from Screen

    + + + + + + + + + + + + + + + + @@ -14509,6 +14511,50 @@

    ScreenConstellation

    
     
    TypeNameDescription
    intsequence_state
    intanimation_timer
    +

    ScreenControls

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    boolup
    booldown
    boolleft
    boolright
    intdirection_input-1 - none, 0 - UP, 1 - DOWN, 2 - LEFT, 3 - RIGHT
    inthold_down_timerDelay after which fast scroll activates (can stop at different value, only matters when you hold down the direction button)
    intfast_scroll_timer

    ScreenCredits

    Derived from Screen

    @@ -14520,6 +14566,11 @@

    ScreenCredits

    +float +credits_progression + + + SoundMeta bg_music_info @@ -14536,6 +14587,33 @@

    ScreenDeath

    +

    ScreenEnterOnlineCode

    +

    Available in ScreenOnlineLobby +Derived from Screen ScreenCodeInput

    + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    TextureRenderingInfoenter_code_your_code_scroll
    TextureRenderingInfoenter_code_your_code_scroll_left_handle
    TextureRenderingInfoenter_code_your_code_scroll_right_handle

    ScreenIntro

    Derived from Screen

    @@ -14548,12 +14626,12 @@

    ScreenIntro

    TextureRenderingInfo -unknown4 +blackout_background float -darkness +blackout_alpha @@ -14567,17 +14645,6 @@

    ScreenIntro

    skips prologue and goes straight to the title screen after the intro -

    ScreenLeaderboards

    -

    Derived from Screen

    - - - - - - - - -
    TypeNameDescription

    ScreenLevel

    Derived from Screen

    @@ -14619,6 +14686,16 @@ logo_fmod + +int +state +0 - mossmouth, 1 - blitworks, 2 - fmod, 3 - end (next screen) + + +int +timer + +

    ScreenMenu

    Derived from Screen

    @@ -14631,6 +14708,11 @@

    ScreenMenu

    +int +state +0: "cthulhu_pre_movement",
    1: "cthulhu_rotating",
    2: "cthulhu_separating",
    3: "cthulhu_lowering",
    4: "cthulhu_transition_to_menu",
    5: "return_from_backlayer",
    6: "highlight_selection",
    7: "idle",
    8: "to_submenu",
    9: "to_backlayer",
    10: "backlayer_idle" + + TextureRenderingInfo tunnel_background @@ -14706,6 +14788,16 @@

    ScreenMenu

    +ParticleEmitterInfo +particle_smoke + + + +ParticleEmitterInfo +particle_rubble + + + float cthulhu_disc_ring_angle @@ -14726,13 +14818,38 @@

    ScreenMenu

    +ScreenControls +controls + + + int selected_menu_index -float -menu_text_opacity +int +sides_hold_down_timer + + + +int +sides_fast_scroll_timer + + + +bool +loop +Allow going up from first to last option + + +int +menu_id +0 = main menu, 1 = play, 2 = online + + +int +transfer_to_menu_id @@ -14751,6 +14868,16 @@

    ScreenMenu

    +array<int, 6> +spear_dangle_momentum + + + +array<int, 6> +spear_dangle_angle + + + float play_scroll_descend_timer @@ -14760,6 +14887,16 @@

    ScreenMenu

    scroll_text + +float +shake_offset_x + + + +float +shake_offset_y + +

    ScreenOnlineLoading

    Derived from Screen

    @@ -14793,68 +14930,8 @@

    ScreenOnlineLobby

    -float -woodpanels_slidein_timer - - - -float -scroll_unfurl_timer - - - -TextureRenderingInfo -woodpanel_bottom - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -btn_left_text_id - - - -STRINGID -btn_right_text_id - - - -STRINGID -btn_center_text_id - - - -bool -woodpanel_top_visible - - - -bool -woodpanel_bottom_visible - - - -bool -toggle_panels_slidein +MenuScreenPanels +screen_panels @@ -14874,7 +14951,7 @@

    ScreenOnlineLobby

    float -topleft_woodpanel_esc_slidein_timer +topleft_woodpanel_esc_slidein @@ -14903,269 +14980,124 @@

    ScreenOnlineLobby

    -TextureRenderingInfo -arrow_left - - - -TextureRenderingInfo -arrow_right - - - -float -arrow_left_hor_offset - - - -float -arrow_right_hor_offset - - - -TextureRenderingInfo -platform_icon - - - -int -player_count - - - -bool -searching_for_players - - - -bool -show_code_panel - - - -float -enter_code_woodpanel_bottom_slidein_pos - - - -TextureRenderingInfo -enter_code_woodpanel_bottom - - - -STRINGID -enter_code_btn_right_text_id - - - -bool -enter_code_woodpanel_top_visible - - - -bool -enter_code_woodpanel_bottom_visible - - - -bool -enter_code_toggle_panels_slidein - - - -int -selected_character - - - -int -characters_entered_count - - - -float -enter_code_topleft_woodpanel_esc_slidein_timer - - - -STRINGID -enter_code_banner_text_id - - - -STRINGID -enter_code_OK_text_id - - - -TextureRenderingInfo -enter_code_main_woodpanel_left - - - -TextureRenderingInfo -enter_code_main_woodpanel_center - - - -TextureRenderingInfo -enter_code_main_woodpanel_right - - - -TextureRenderingInfo -enter_code_banner - - - -TextureRenderingInfo -enter_code_char_cutouts - - - -TextureRenderingInfo -enter_code_pointing_hand - - - -TextureRenderingInfo -enter_code_buttons - - - -TextureRenderingInfo -enter_code_OK_panel - - - -float -enter_code_OK_panel_slidein_timer - - - -TextureRenderingInfo -enter_code_your_code_scroll - - - -TextureRenderingInfo -enter_code_your_code_scroll_left_handle - - - -TextureRenderingInfo -enter_code_your_code_scroll_right_handle - - - -nil -set_code(string code) - - - -

    ScreenOptions

    -

    Derived from Screen

    - - - - - - - - - - - + + - + - + - + - - + + - - + + - - + + - - + + - - + + +
    TypeNameDescription
    intselected_menu_indexTextureRenderingInfoarrow_left
    TextureRenderingInfobrick_borderarrow_right
    floattop_bottom_woodpanels_velocityarrow_left_hor_offset
    floattop_bottom_woodpanels_progressarrow_right_hor_offset
    floatscroll_unfurl_progressTextureRenderingInfoplatform_icon
    floatbottom_woodpanel_yintplayer_count
    floattop_bottom_woodpanels_slide_in_relatedboolsearching_for_players
    TextureRenderingInfobottom_woodpanelboolshow_code_panel
    TextureRenderingInfotop_woodpanelScreenEnterOnlineCodescreen_code_input
    +

    ScreenOptions

    +

    Derived from Screen

    + + - - + + + + + + + + - - + + - - + + + + + + + - - + + - - + + - - + + - - + + - + + + + + + - + - + + + + + + @@ -15220,12 +15152,17 @@

    ScreenOptions

    + + + + + - + @@ -15234,31 +15171,70 @@

    ScreenOptions

    + + + + + + + + + + + + + + + + + + + + - + - + - + -
    TextureRenderingInfotop_woodpanel_left_scrollhandleTypeNameDescription
    booldown
    TextureRenderingInfotop_woodpanel_right_scrollhandleboolup
    STRINGIDbutton_right_captionintdirection_input-1 = none, 0 = down, 1 = up
    inthold_down_timer
    STRINGIDbutton_middle_captionintfast_scroll_timer
    booltop_woodpanel_visibleintselected_menu_index
    boolbottom_woodpanel_visibleintsides_hold_down_timer
    booltoggle_woodpanel_slidein_animationintsides_fast_scroll_timer
    boolcapitalize_top_woodpanelloopAllow going up from first to last option
    MenuScreenPanelsscreen_panels
    intcurrent_menu_1menu_id
    intcurrent_menu_2transfer_to_menu_id
    boolshow_apply_button
    TextureRenderingInfovolume_progressbar_foreground
    TextureRenderingInfo progressbar_foreground
    TextureRenderingInfoprogressbar_position_indicatorvolume_progressbar_position_indicator
    TextureRenderingInfopet_iconsIn "Gameplay" menu
    TextureRenderingInfobottom_scrollFor the code in the sync menu
    TextureRenderingInfobottom_left_scrollhandle
    TextureRenderingInfobottom_right_scrollhandle
    floattopleft_woodpanel_esc_slidein_timertopleft_woodpanel_esc_slidein
    floattext_fadein_timertext_fadein
    floatvertical_scroll_effect_timervertical_scroll_effect
    -

    ScreenPlayerProfile

    -

    Derived from Screen

    - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
    TypeNameDescriptionbooloptions_visiable
    boolshow_highlightShows the red background behind the option, the scarab on the left and left/right arrows
    vector<STRINGID>tooltip_text
    booldisable_controlsUsed for sync progress
    intsync_progress_state0 - none, 1 - waiting for the code, 2 - code acquired, 3 - sync in progress, 4 - sync completed
    floatcredits_progression

    ScreenPrologue

    Derived from Screen

    @@ -15368,102 +15344,6 @@

    ScreenScores

    -

    ScreenSeedInput

    -

    Derived from Screen

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    floatbottom_woodpanel_slideup_timer
    floatbottom_woodpanel_y
    TextureRenderingInfobottom_woodpanel
    STRINGIDbuttons_text_id
    floattopleft_woodpanel_esc_slidein_timer
    STRINGIDscroll_text_id
    STRINGIDstart_text_id
    TextureRenderingInfomain_woodpanel_left_border
    TextureRenderingInfomain_woodpanel_center
    TextureRenderingInfomain_woodpanel_right_border
    TextureRenderingInfoseed_letter_cutouts
    TextureRenderingInfotopleft_woodpanel_esc
    TextureRenderingInfostart_sidepanel
    floatstart_sidepanel_slidein_timer
    intseed_lengthCurrent input length (0-8). You probably shouldn't write to this, except to set it to 0.
    optional<int>get_seedGet the seed currently entered in the seed dialog or nil if nothing is entered. Will also return incomplete seeds, check seed_length to verify it's ready.
    set_seedParams: optional seed, optional length
    Set the seed entered in the seed dialog. Call without arguments to clear entered seed. Optionally enter a length to set partial seed.

    ScreenStateCamp

    Derived from Screen

    @@ -15513,7 +15393,7 @@

    ScreenTeamSelect

    TextureRenderingInfo -ana_carrying_torch +player_portrait @@ -15533,7 +15413,7 @@

    ScreenTeamSelect

    TextureRenderingInfo -unknown4 +gems_above_the_ropes @@ -15557,8 +15437,18 @@

    ScreenTeamSelect

    +TextureRenderingInfo +go_back_wooden_panel + + + float -start_panel_slide_timer +start_panel_slide + + + +float +go_back_wooden_panel_slide @@ -15643,6 +15533,11 @@

    ScreenTitle

    +float +brightness + + + SoundMeta music @@ -15685,6 +15580,11 @@

    ScreenTransition

    float +stats_scroll_unfurl_actualvalue + + + +float stats_scroll_unfurl_targetvalue @@ -15740,7 +15640,7 @@

    ScreenTransition

    TextureRenderingInfo -unknown_all_forced +scroll @@ -15794,6 +15694,11 @@

    ScreenTransition

    +float +mama_tunnel_fade_targetvalue + + + STRINGID mama_tunnel_text_id @@ -15849,8 +15754,8 @@

    ScreenTransition

    -TextureRenderingInfo -unknown26 +int +stats_scroll_unfurl_sequence @@ -15893,6 +15798,11 @@

    ScreenTransition

    this_level_money_color + +array<int, MAX_PLAYERS> +buttons + +

    ScreenWin

    Derived from Screen

    @@ -15925,20 +15835,6 @@

    ScreenWin

    -

    ScreenZoomAnimation

    - - - - - - - - - - - - -
    TypeNameDescription
    floatzoom_target

    Sound types

    BackgroundSound

    Derived from SoundMeta

    @@ -16258,17 +16154,17 @@

    GameManager

    -ScreenPlayerProfile +Screen screen_player_profile - +It just opens journal -ScreenLeaderboards +Screen screen_leaderboards - +All handled by the Online -ScreenSeedInput +ScreenCodeInput screen_seed_input @@ -16283,6 +16179,21 @@

    GameManager

    +Screen +screen_transition + + + +Screen +screen_arena_level + + + +Screen +screen_arena_score + + + ScreenOnlineLoading screen_online_loading @@ -16981,7 +16892,7 @@

    StateMemory

    ScreenTeamSelect screen_team_select - +For the arena ScreenStateCamp @@ -17011,12 +16922,12 @@

    StateMemory

    ScreenCredits screen_credits - +The spaceship minigame ScreenScores screen_scores - +Landing on the moon after win ScreenConstellation @@ -17026,7 +16937,7 @@

    StateMemory

    ScreenRecap screen_recap - +Journal after CO win ScreenArenaStagesSelect @@ -29005,7 +28916,7 @@

    ON.RENDER_POST_JOURNAL_PAGE

    Search script examples for ON.RENDER_POST_JOURNAL_PAGE

    -

    Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_story()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_recap()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()

    +

    Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()

    ON.RENDER_PRE_LAYER

    Search script examples for ON.RENDER_PRE_LAYER

    @@ -31995,7 +31906,7 @@

    ON

    RENDER_POST_JOURNAL_PAGE ON::RENDER_POST_JOURNAL_PAGE -Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_story()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_recap()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()
    +Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()
    RENDER_PRE_LAYER diff --git a/docs/light.html b/docs/light.html index 2dacaf7e4..cb3f71748 100644 --- a/docs/light.html +++ b/docs/light.html @@ -1851,9 +1851,6 @@
  • ImGuiIO
  • -
  • - InputDevice -
  • InputMapping
  • @@ -1907,12 +1904,6 @@
  • JournalPageProgress
  • -
  • - JournalPageRecap -
  • -
  • - JournalPageStory -
  • JournalPageTraps
  • @@ -2076,6 +2067,9 @@
  • JournalUI
  • +
  • + MenuScreenPanels +
  • OnlineLobbyScreenPlayer
  • @@ -2103,6 +2097,9 @@
  • ScreenArenaScore
  • +
  • + ScreenArenaScoreLavaBubble +
  • ScreenArenaStagesSelect
  • @@ -2112,9 +2109,15 @@
  • ScreenCharacterSelect
  • +
  • + ScreenCodeInput +
  • ScreenConstellation
  • +
  • + ScreenControls +
  • ScreenCredits
  • @@ -2122,10 +2125,10 @@ ScreenDeath
  • - ScreenIntro + ScreenEnterOnlineCode
  • - ScreenLeaderboards + ScreenIntro
  • ScreenLevel @@ -2145,9 +2148,6 @@
  • ScreenOptions
  • -
  • - ScreenPlayerProfile -
  • ScreenPrologue
  • @@ -2157,9 +2157,6 @@
  • ScreenScores
  • -
  • - ScreenSeedInput -
  • ScreenStateCamp
  • @@ -2178,9 +2175,6 @@
  • ScreenWin
  • -
  • - ScreenZoomAnimation -
  • @@ -10481,25 +10475,6 @@

    ImGuiIO

    -

    InputDevice

    - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    intinput_index
    intbuttons

    InputMapping

    Used in PlayerSlot

    @@ -10760,11 +10735,6 @@

    JournalPageDeathMenu

    -int -selected_menu_index - - - TextRenderingInfo game_over_text_info @@ -10884,11 +10854,6 @@

    JournalPageJournalMenu

    -int -selected_menu_index - - - TextRenderingInfo journal_text_info @@ -11144,28 +11109,6 @@

    JournalPageProgress

    -

    JournalPageRecap

    -

    Derived from JournalPage

    - - - - - - - - -
    TypeNameDescription
    -

    JournalPageStory

    -

    Derived from JournalPage

    - - - - - - - - -
    TypeNameDescription

    JournalPageTraps

    Derived from JournalPage JournalPageDiscoverable

    @@ -13060,22 +13003,17 @@

    JournalUI

    TextureRenderingInfo -unknown23 - - - -TextureRenderingInfo entire_book int -page_timer +fade_timer int -fade_timer +page_timer @@ -13089,6 +13027,105 @@

    JournalUI

    Stores pages loaded into memeory. It's not cleared after the journal is closed or when you go back to the main (menu) page.
    Use :get_type() to chcek page type and cast it correctly (see ON.RENDER_PRE_JOURNAL_PAGE) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    floatwoodpanels_velocity
    floatwoodpanels_progress
    floatscroll_unfurl_progress
    floatbottom_woodpanel_speed_multiplayer
    floatbottom_woodpanel_y_offset
    TextureRenderingInfobottom_woodpanel
    TextureRenderingInfotop_woodpanel
    TextureRenderingInfoscroll
    TextureRenderingInfotop_woodpanel_left_scrollhandle
    TextureRenderingInfotop_woodpanel_right_scrollhandle
    STRINGIDscroll_text
    STRINGIDbottom_left_text
    STRINGIDbottom_right_text
    STRINGIDbottom_middle_text
    booltop_woodpanel_visible
    boolbottom_woodpanel_visible
    booltoggle_woodpanel_slidein_animation
    boolcapitalize_scroll_text

    OnlineLobbyScreenPlayer

    @@ -13099,6 +13136,11 @@

    OnlineLobbyScreenPlayer

    + + + + + @@ -13107,6 +13149,11 @@

    OnlineLobbyScreenPlayer

    + + + + +
    intplatform_icon16 = PC, 17 = Discord, 18 = Steam, 19 = Xbox, 32 = switch, 48 = PS, 49 = PS again?
    int character 0 - Ana Spelunky, 1 - Margaret Tunnel, 2 - Colin Northward, 3 - Roffy D. Sloth.. and so on. Same order as in ENT_TYPE
    ready
    boolsearching

    PauseUI

    @@ -13154,17 +13201,32 @@

    PauseUI

    - + - + + + + + + + + + + + + + + + + - +
    TextureRenderingInfo confirmation_panelPrompt background
    intpreviously_selected_menu_indexselected_optionIt's set wh game displays the prompt
    boolprompt_visible
    array<int, MAX_PLAYERS>buttons_actions
    array<int, MAX_PLAYERS>buttons_movement
    int visibility0 - Invisible, 1 - Sliding down, 2 - Visible, 3 - Sliding up

    SaveRelated

    @@ -13232,11 +13294,6 @@

    ScreenArenaIntro

    TextureRenderingInfo -unknown_all_forced - - - -TextureRenderingInfo left_scroll @@ -13247,7 +13304,7 @@

    ScreenArenaIntro

    float -scroll_unfurl_timer +scroll_unfurl @@ -13275,6 +13332,11 @@

    ScreenArenaIntro

    countdown + +array<ParticleEmitterInfo, 9> +particles + +

    ScreenArenaItems

    Derived from Screen

    @@ -13287,73 +13349,8 @@

    ScreenArenaItems

    -float -woodpanel_top_slidein_timer - - - -float -woodpanel_top_scroll_unfurl_timer - - - -TextureRenderingInfo -unknown9 - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -unknown11 - - - -TextureRenderingInfo -top_scroll_left_handle - - - -TextureRenderingInfo -top_scroll_right_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -text_id_2 - - - -STRINGID -text_id_3 - - - -STRINGID -text_id_4 - - - -bool -woodpanel_top_visible - - - -bool -woodpanel_bottom_visible - - - -bool -woodpanels_toggle +MenuScreenPanels +screen_panels @@ -13432,6 +13429,11 @@

    ScreenArenaItems

    +map<int, float> +items_to_gray_out + + + float center_panels_horizontal_slide_position @@ -13446,6 +13448,11 @@

    ScreenArenaItems

    selected_item_index + +ScreenControls +controls + +

    ScreenArenaLevel

    Derived from Screen

    @@ -13472,6 +13479,11 @@

    ScreenArenaLevel

    get_ready_outline + +array<ParticleEmitterInfo, 11> +particles + +

    ScreenArenaMenu

    Derived from Screen

    @@ -13484,83 +13496,8 @@

    ScreenArenaMenu

    -ScreenZoomAnimation -brick_background_animation - - - -ScreenZoomAnimation -blurry_border_animation - - - -float -top_woodpanel_slidein_timer - - - -float -top_scroll_unfurl_timer - - - -TextureRenderingInfo -unknown13 - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -unknown15 - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -unknown17_text_id - - - -STRINGID -unknown18_text_id - - - -STRINGID -unknown19_text_id - - - -bool -top_woodpanel_visible - - - -bool -bottom_woodpanel_visible - - - -bool -woodpanels_toggle +MenuScreenPanels +screen_panels @@ -13708,6 +13645,11 @@

    ScreenArenaMenu

    selected_option_index + +ScreenControls +controls + +

    ScreenArenaScore

    Derived from Screen

    @@ -13721,17 +13663,12 @@

    ScreenArenaScore

    float -woodpanel_slide_timer +woodpanel_slide float -scroll_unfurl_timer - - - -TextureRenderingInfo -unknown10 +scroll_unfurl @@ -13741,11 +13678,6 @@

    ScreenArenaScore

    TextureRenderingInfo -unknown_all_forced - - - -TextureRenderingInfo woodpanel_left_scroll @@ -13821,26 +13753,11 @@

    ScreenArenaScore

    TextureRenderingInfo -unknown24 - - - -TextureRenderingInfo -unknown25 - - - -TextureRenderingInfo score_counter TextureRenderingInfo -unknown27 - - - -TextureRenderingInfo lava_bubbles @@ -13860,11 +13777,6 @@

    ScreenArenaScore

    -int -animation_frame - - - bool squash_and_celebrate @@ -13899,10 +13811,18 @@

    ScreenArenaScore

    next_sidepanel_slidein_timer + +array<ParticleEmitterInfo, 13> +particles + + + +array<ScreenArenaScoreLavaBubble, 15> +lava_bubbles_positions + + -

    ScreenArenaStagesSelect

    -

    Derived from Screen

    - +

    ScreenArenaScoreLavaBubble

    @@ -13912,62 +13832,43 @@

    ScreenArenaStagesSelect

    - + - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - + +
    Type
    floatwoodenpanel_top_slidein_timerx
    floatwoodenpanel_top_scroll_unfurl_timer
    TextureRenderingInfowoodenpanel_top
    TextureRenderingInfowoodenpanel_top_left_scroll
    TextureRenderingInfowoodenpanel_top_right_scroll
    STRINGIDtext_id_1
    STRINGIDtext_id_2y
    STRINGIDtext_id_3inttimer1
    STRINGIDtext_id_4inttimer2
    boolwoodenpanel_top_visiblevisible
    +

    ScreenArenaStagesSelect

    +

    Derived from Screen

    + + - - - + + + + - - + + @@ -14101,10 +14002,30 @@

    ScreenArenaStagesSelect

    + + + + + + + + + + + + + + + + + + + +
    boolwoodenpanel_bottom_visibleTypeNameDescription
    boolwoodenpanels_toggleMenuScreenPanelsscreen_panels
    map<int, float>stages_to_gray_out
    floatpanels_slide_from_both_sides
    floatvisibility_all_stages
    int selected_stage_index
    ScreenControlscontrols

    ScreenCamp

    Derived from Screen

    @@ -14134,72 +14055,27 @@

    ScreenCharacterSelect

    float -main_background_zoom_target +main_background_zoom_progress float -blurred_border_zoom_target +main_background_zoom_target float -top_bottom_woodpanel_slidein_timer +blurred_border_zoom_progress float -top_scroll_unfurl_timer - - - -TextureRenderingInfo -bottom_woodpanel - - - -TextureRenderingInfo -top_woodpanel - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -left_button_text_id - - - -STRINGID -right_button_text_id - - - -STRINGID -middle_button_text_id - - - -bool -top_woodpanel_visible - - - -bool -bottom_woodpanel_visible +blurred_border_zoom_target -bool -toggle_woodpanel_slidein_animation +MenuScreenPanels +screen_panels @@ -14329,12 +14205,12 @@

    ScreenCharacterSelect

    float -topleft_woodpanel_esc_slidein_timer +topleft_woodpanel_esc_slidein float -start_panel_slidein_timer +start_panel_slidein @@ -14343,6 +14219,11 @@

    ScreenCharacterSelect

    +int +next_screen_to_load + + + bool not_ready_to_start_yet @@ -14358,13 +14239,13 @@

    ScreenCharacterSelect

    -int -buttons +TextureRenderingInfo +screen_blackout float -opacity +blackout_transparency @@ -14378,6 +14259,11 @@

    ScreenCharacterSelect

    +bool +disable_controls + + + array<FlyingThing, 6> flying_things @@ -14443,32 +14329,17 @@

    ScreenCharacterSelect

    -SoundMeta -sound +array<SoundMeta, 4> +torch_sound + + + +array<int, MAX_PLAYERS> +buttons -

    ScreenConstellation

    -- forces any level transition to immediately go to constellation ending with custom text
    -set_callback(function()
    -    if state.screen_next == SCREEN.TRANSITION then
    -      if state.level_count == 0 then state.level_count = 1 end -- no /0
    -      state.win_state = WIN_STATE.COSMIC_OCEAN_WIN
    -      state.screen_next = SCREEN.CONSTELLATION
    -      state.world_next = 8
    -      state.level_next = 99
    -      state.theme_next = THEME.COSMIC_OCEAN
    -      state.level_gen.themes[THEME.COSMIC_OCEAN].sub_theme = state.level_gen.themes[state.theme]
    -      state:force_current_theme(THEME.COSMIC_OCEAN)
    -      set_global_interval(function()
    -        if state.screen_constellation.sequence_state == 2 then
    -          state.screen_constellation.constellation_text = "Lol u stars now"
    -          clear_callback()
    -        end
    -      end, 1)
    -    end
    -  end, ON.PRE_LOAD_SCREEN)
    -
    -
    +

    ScreenCodeInput

    Derived from Screen

    @@ -14479,13 +14350,144 @@

    ScreenConstellation

     
    - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    intsequence_stateMenuScreenPanelsscreen_panels
    boolallow_randomneeds to be set before opening the screen to show the correct text at the bottom
    intanimation_timerselected_button_index
    boolpressed_select
    floattopleft_woodpanel_esc_slidein
    STRINGIDscroll_text_id
    STRINGIDstart_text_id
    TextureRenderingInfomain_woodpanel_left_border
    TextureRenderingInfomain_woodpanel_center
    TextureRenderingInfomain_woodpanel_right_border
    TextureRenderingInfotop_scroll
    TextureRenderingInfoletter_cutouts
    TextureRenderingInfohand_pointer
    TextureRenderingInfokey_background
    TextureRenderingInfotopleft_woodpanel_esc
    TextureRenderingInfostart_sidepanel
    floatstart_sidepanel_slidein
    intseed_lengthCurrent input length (0-8). You probably shouldn't write to this, except to set it to 0.
    optional<int>get_seed()Get the seed currently entered in the seed dialog or nil if nothing is entered. Will also return incomplete seeds, check seed_length to verify it's ready.
    nilset_seed(optional seed, optional length)Set the seed entered in the seed dialog. Call without arguments to clear entered seed. Optionally enter a length to set partial seed.
    +

    ScreenConstellation

    -- forces any level transition to immediately go to constellation ending with custom text
    +set_callback(function()
    +    if state.screen_next == SCREEN.TRANSITION then
    +      if state.level_count == 0 then state.level_count = 1 end -- no /0
    +      state.win_state = WIN_STATE.COSMIC_OCEAN_WIN
    +      state.screen_next = SCREEN.CONSTELLATION
    +      state.world_next = 8
    +      state.level_next = 99
    +      state.theme_next = THEME.COSMIC_OCEAN
    +      state.level_gen.themes[THEME.COSMIC_OCEAN].sub_theme = state.level_gen.themes[state.theme]
    +      state:force_current_theme(THEME.COSMIC_OCEAN)
    +      set_global_interval(function()
    +        if state.screen_constellation.sequence_state == 2 then
    +          state.screen_constellation.constellation_text = "Lol u stars now"
    +          clear_callback()
    +        end
    +      end, 1)
    +    end
    +  end, ON.PRE_LOAD_SCREEN)
    +
    +
    +

    Derived from Screen

    + + + + + + + + + + + + + + + + @@ -14509,6 +14511,50 @@

    ScreenConstellation

    
     
    TypeNameDescription
    intsequence_state
    intanimation_timer
    +

    ScreenControls

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    boolup
    booldown
    boolleft
    boolright
    intdirection_input-1 - none, 0 - UP, 1 - DOWN, 2 - LEFT, 3 - RIGHT
    inthold_down_timerDelay after which fast scroll activates (can stop at different value, only matters when you hold down the direction button)
    intfast_scroll_timer

    ScreenCredits

    Derived from Screen

    @@ -14520,6 +14566,11 @@

    ScreenCredits

    +float +credits_progression + + + SoundMeta bg_music_info @@ -14536,6 +14587,33 @@

    ScreenDeath

    +

    ScreenEnterOnlineCode

    +

    Available in ScreenOnlineLobby +Derived from Screen ScreenCodeInput

    + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescription
    TextureRenderingInfoenter_code_your_code_scroll
    TextureRenderingInfoenter_code_your_code_scroll_left_handle
    TextureRenderingInfoenter_code_your_code_scroll_right_handle

    ScreenIntro

    Derived from Screen

    @@ -14548,12 +14626,12 @@

    ScreenIntro

    TextureRenderingInfo -unknown4 +blackout_background float -darkness +blackout_alpha @@ -14567,17 +14645,6 @@

    ScreenIntro

    skips prologue and goes straight to the title screen after the intro -

    ScreenLeaderboards

    -

    Derived from Screen

    - - - - - - - - -
    TypeNameDescription

    ScreenLevel

    Derived from Screen

    @@ -14619,6 +14686,16 @@ logo_fmod + +int +state +0 - mossmouth, 1 - blitworks, 2 - fmod, 3 - end (next screen) + + +int +timer + +

    ScreenMenu

    Derived from Screen

    @@ -14631,6 +14708,11 @@

    ScreenMenu

    +int +state +0: "cthulhu_pre_movement",
    1: "cthulhu_rotating",
    2: "cthulhu_separating",
    3: "cthulhu_lowering",
    4: "cthulhu_transition_to_menu",
    5: "return_from_backlayer",
    6: "highlight_selection",
    7: "idle",
    8: "to_submenu",
    9: "to_backlayer",
    10: "backlayer_idle" + + TextureRenderingInfo tunnel_background @@ -14706,6 +14788,16 @@

    ScreenMenu

    +ParticleEmitterInfo +particle_smoke + + + +ParticleEmitterInfo +particle_rubble + + + float cthulhu_disc_ring_angle @@ -14726,13 +14818,38 @@

    ScreenMenu

    +ScreenControls +controls + + + int selected_menu_index -float -menu_text_opacity +int +sides_hold_down_timer + + + +int +sides_fast_scroll_timer + + + +bool +loop +Allow going up from first to last option + + +int +menu_id +0 = main menu, 1 = play, 2 = online + + +int +transfer_to_menu_id @@ -14751,6 +14868,16 @@

    ScreenMenu

    +array<int, 6> +spear_dangle_momentum + + + +array<int, 6> +spear_dangle_angle + + + float play_scroll_descend_timer @@ -14760,6 +14887,16 @@

    ScreenMenu

    scroll_text + +float +shake_offset_x + + + +float +shake_offset_y + +

    ScreenOnlineLoading

    Derived from Screen

    @@ -14793,68 +14930,8 @@

    ScreenOnlineLobby

    -float -woodpanels_slidein_timer - - - -float -scroll_unfurl_timer - - - -TextureRenderingInfo -woodpanel_bottom - - - -TextureRenderingInfo -woodpanel_top - - - -TextureRenderingInfo -left_scroll_handle - - - -TextureRenderingInfo -right_scroll_handle - - - -STRINGID -scroll_text_id - - - -STRINGID -btn_left_text_id - - - -STRINGID -btn_right_text_id - - - -STRINGID -btn_center_text_id - - - -bool -woodpanel_top_visible - - - -bool -woodpanel_bottom_visible - - - -bool -toggle_panels_slidein +MenuScreenPanels +screen_panels @@ -14874,7 +14951,7 @@

    ScreenOnlineLobby

    float -topleft_woodpanel_esc_slidein_timer +topleft_woodpanel_esc_slidein @@ -14903,269 +14980,124 @@

    ScreenOnlineLobby

    -TextureRenderingInfo -arrow_left - - - -TextureRenderingInfo -arrow_right - - - -float -arrow_left_hor_offset - - - -float -arrow_right_hor_offset - - - -TextureRenderingInfo -platform_icon - - - -int -player_count - - - -bool -searching_for_players - - - -bool -show_code_panel - - - -float -enter_code_woodpanel_bottom_slidein_pos - - - -TextureRenderingInfo -enter_code_woodpanel_bottom - - - -STRINGID -enter_code_btn_right_text_id - - - -bool -enter_code_woodpanel_top_visible - - - -bool -enter_code_woodpanel_bottom_visible - - - -bool -enter_code_toggle_panels_slidein - - - -int -selected_character - - - -int -characters_entered_count - - - -float -enter_code_topleft_woodpanel_esc_slidein_timer - - - -STRINGID -enter_code_banner_text_id - - - -STRINGID -enter_code_OK_text_id - - - -TextureRenderingInfo -enter_code_main_woodpanel_left - - - -TextureRenderingInfo -enter_code_main_woodpanel_center - - - -TextureRenderingInfo -enter_code_main_woodpanel_right - - - -TextureRenderingInfo -enter_code_banner - - - -TextureRenderingInfo -enter_code_char_cutouts - - - -TextureRenderingInfo -enter_code_pointing_hand - - - -TextureRenderingInfo -enter_code_buttons - - - -TextureRenderingInfo -enter_code_OK_panel - - - -float -enter_code_OK_panel_slidein_timer - - - -TextureRenderingInfo -enter_code_your_code_scroll - - - -TextureRenderingInfo -enter_code_your_code_scroll_left_handle - - - -TextureRenderingInfo -enter_code_your_code_scroll_right_handle - - - -nil -set_code(string code) - - - -

    ScreenOptions

    -

    Derived from Screen

    - - - - - - - - - - - + + - + - + - + - - + + - - + + - - + + - - + + - - + + +
    TypeNameDescription
    intselected_menu_indexTextureRenderingInfoarrow_left
    TextureRenderingInfobrick_borderarrow_right
    floattop_bottom_woodpanels_velocityarrow_left_hor_offset
    floattop_bottom_woodpanels_progressarrow_right_hor_offset
    floatscroll_unfurl_progressTextureRenderingInfoplatform_icon
    floatbottom_woodpanel_yintplayer_count
    floattop_bottom_woodpanels_slide_in_relatedboolsearching_for_players
    TextureRenderingInfobottom_woodpanelboolshow_code_panel
    TextureRenderingInfotop_woodpanelScreenEnterOnlineCodescreen_code_input
    +

    ScreenOptions

    +

    Derived from Screen

    + + - - + + + + + + + + - - + + - - + + + + + + + - - + + - - + + - - + + - - + + - + + + + + + - + - + + + + + + @@ -15220,12 +15152,17 @@

    ScreenOptions

    + + + + + - + @@ -15234,31 +15171,70 @@

    ScreenOptions

    + + + + + + + + + + + + + + + + + + + + - + - + - + -
    TextureRenderingInfotop_woodpanel_left_scrollhandleTypeNameDescription
    booldown
    TextureRenderingInfotop_woodpanel_right_scrollhandleboolup
    STRINGIDbutton_right_captionintdirection_input-1 = none, 0 = down, 1 = up
    inthold_down_timer
    STRINGIDbutton_middle_captionintfast_scroll_timer
    booltop_woodpanel_visibleintselected_menu_index
    boolbottom_woodpanel_visibleintsides_hold_down_timer
    booltoggle_woodpanel_slidein_animationintsides_fast_scroll_timer
    boolcapitalize_top_woodpanelloopAllow going up from first to last option
    MenuScreenPanelsscreen_panels
    intcurrent_menu_1menu_id
    intcurrent_menu_2transfer_to_menu_id
    boolshow_apply_button
    TextureRenderingInfovolume_progressbar_foreground
    TextureRenderingInfo progressbar_foreground
    TextureRenderingInfoprogressbar_position_indicatorvolume_progressbar_position_indicator
    TextureRenderingInfopet_iconsIn "Gameplay" menu
    TextureRenderingInfobottom_scrollFor the code in the sync menu
    TextureRenderingInfobottom_left_scrollhandle
    TextureRenderingInfobottom_right_scrollhandle
    floattopleft_woodpanel_esc_slidein_timertopleft_woodpanel_esc_slidein
    floattext_fadein_timertext_fadein
    floatvertical_scroll_effect_timervertical_scroll_effect
    -

    ScreenPlayerProfile

    -

    Derived from Screen

    - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + -
    TypeNameDescriptionbooloptions_visiable
    boolshow_highlightShows the red background behind the option, the scarab on the left and left/right arrows
    vector<STRINGID>tooltip_text
    booldisable_controlsUsed for sync progress
    intsync_progress_state0 - none, 1 - waiting for the code, 2 - code acquired, 3 - sync in progress, 4 - sync completed
    floatcredits_progression

    ScreenPrologue

    Derived from Screen

    @@ -15368,102 +15344,6 @@

    ScreenScores

    -

    ScreenSeedInput

    -

    Derived from Screen

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeNameDescription
    floatbottom_woodpanel_slideup_timer
    floatbottom_woodpanel_y
    TextureRenderingInfobottom_woodpanel
    STRINGIDbuttons_text_id
    floattopleft_woodpanel_esc_slidein_timer
    STRINGIDscroll_text_id
    STRINGIDstart_text_id
    TextureRenderingInfomain_woodpanel_left_border
    TextureRenderingInfomain_woodpanel_center
    TextureRenderingInfomain_woodpanel_right_border
    TextureRenderingInfoseed_letter_cutouts
    TextureRenderingInfotopleft_woodpanel_esc
    TextureRenderingInfostart_sidepanel
    floatstart_sidepanel_slidein_timer
    intseed_lengthCurrent input length (0-8). You probably shouldn't write to this, except to set it to 0.
    optional<int>get_seedGet the seed currently entered in the seed dialog or nil if nothing is entered. Will also return incomplete seeds, check seed_length to verify it's ready.
    set_seedParams: optional seed, optional length
    Set the seed entered in the seed dialog. Call without arguments to clear entered seed. Optionally enter a length to set partial seed.

    ScreenStateCamp

    Derived from Screen

    @@ -15513,7 +15393,7 @@

    ScreenTeamSelect

    TextureRenderingInfo -ana_carrying_torch +player_portrait @@ -15533,7 +15413,7 @@

    ScreenTeamSelect

    TextureRenderingInfo -unknown4 +gems_above_the_ropes @@ -15557,8 +15437,18 @@

    ScreenTeamSelect

    +TextureRenderingInfo +go_back_wooden_panel + + + float -start_panel_slide_timer +start_panel_slide + + + +float +go_back_wooden_panel_slide @@ -15643,6 +15533,11 @@

    ScreenTitle

    +float +brightness + + + SoundMeta music @@ -15685,6 +15580,11 @@

    ScreenTransition

    float +stats_scroll_unfurl_actualvalue + + + +float stats_scroll_unfurl_targetvalue @@ -15740,7 +15640,7 @@

    ScreenTransition

    TextureRenderingInfo -unknown_all_forced +scroll @@ -15794,6 +15694,11 @@

    ScreenTransition

    +float +mama_tunnel_fade_targetvalue + + + STRINGID mama_tunnel_text_id @@ -15849,8 +15754,8 @@

    ScreenTransition

    -TextureRenderingInfo -unknown26 +int +stats_scroll_unfurl_sequence @@ -15893,6 +15798,11 @@

    ScreenTransition

    this_level_money_color + +array<int, MAX_PLAYERS> +buttons + +

    ScreenWin

    Derived from Screen

    @@ -15925,20 +15835,6 @@

    ScreenWin

    -

    ScreenZoomAnimation

    - - - - - - - - - - - - -
    TypeNameDescription
    floatzoom_target

    Sound types

    BackgroundSound

    Derived from SoundMeta

    @@ -16258,17 +16154,17 @@

    GameManager

    -ScreenPlayerProfile +Screen screen_player_profile - +It just opens journal -ScreenLeaderboards +Screen screen_leaderboards - +All handled by the Online -ScreenSeedInput +ScreenCodeInput screen_seed_input @@ -16283,6 +16179,21 @@

    GameManager

    +Screen +screen_transition + + + +Screen +screen_arena_level + + + +Screen +screen_arena_score + + + ScreenOnlineLoading screen_online_loading @@ -16981,7 +16892,7 @@

    StateMemory

    ScreenTeamSelect screen_team_select - +For the arena ScreenStateCamp @@ -17011,12 +16922,12 @@

    StateMemory

    ScreenCredits screen_credits - +The spaceship minigame ScreenScores screen_scores - +Landing on the moon after win ScreenConstellation @@ -17026,7 +16937,7 @@

    StateMemory

    ScreenRecap screen_recap - +Journal after CO win ScreenArenaStagesSelect @@ -29005,7 +28916,7 @@

    ON.RENDER_POST_JOURNAL_PAGE

    Search script examples for ON.RENDER_POST_JOURNAL_PAGE

    -

    Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_story()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_recap()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()

    +

    Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()

    ON.RENDER_PRE_LAYER

    Search script examples for ON.RENDER_PRE_LAYER

    @@ -31995,7 +31906,7 @@

    ON

    RENDER_POST_JOURNAL_PAGE ON::RENDER_POST_JOURNAL_PAGE -Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_story()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_recap()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()
    +Params: VanillaRenderContext render_ctx, JOURNAL_PAGE_TYPE page_type, JournalPage page
    Runs after the journal page is drawn on screen. In this event, you can draw textures with the draw_screen_texture function of the VanillaRenderContext
    The JournalPage parameter gives you access to the specific fields of the page. Be sure to cast it to the correct type, the following functions are available to do that:
    page:as_journal_page_progress()
    page:as_journal_page_journalmenu()
    page:as_journal_page_places()
    page:as_journal_page_people()
    page:as_journal_page_bestiary()
    page:as_journal_page_items()
    page:as_journal_page_traps()
    page:as_journal_page_feats()
    page:as_journal_page_deathcause()
    page:as_journal_page_deathmenu()
    page:as_journal_page_playerprofile()
    page:as_journal_page_lastgameplayed()
    RENDER_PRE_LAYER