Skip to content

Commit 6936949

Browse files
authored
ADD_NODE(lel, sorkopiko.levelpath/level-path-node);
1 parent c7dfb37 commit 6936949

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# <cy>PRNTSCRN</c> Changelog
2+
## v1.0.12
3+
- Added LevelPath's player trail to the "" filter toggle.
4+
- This mod is not yet on the index as of publishing this update, but will be available soon.
5+
- Fixed a really blatant typo in one of the mod setting descriptions.
26
## v1.0.11
37
<c-aaaaaa>*Disclaimer: For a number of reasons (especially legal), any sub-bullet points referring to Update 2.2081 in this changelog represents RayDeeUx's (Erymanthus') opinions on Update 2.2081, and no one else's.*</c>
48
- Fix that darn bug where scrollable layers would be partially cropped out in screenshots taken by PRNTSCRN itself.

include/api.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ using namespace geode::prelude;
3737
* EditorUI
3838
* EditorPauseLayer
3939
* dankmeme.globed2/game-overlay
40+
* sorkopiko.levelpath/level-path-node
4041
*/
4142

4243
/*

mod.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@
9494
"hide-player": {
9595
"type": "bool",
9696
"name": "Hide Player",
97-
"description": "Hides both players when taking a screenshot\nwhile playing a level or while inside the level editor.\n\n<cy>Note that not everything can be hidden;</c>\n<cy>dash fire sprites, spider teleportation trails, and ghost icon trails</c>\n<cy>may still be visible in some cases.</c>\n<cy>To hide them more consistently during gameplay,</c>\n<cy>find the</c> <cl>\"No Ghost Trail\"</c> <cy>toggle in</c> <cl>Eclipse Menu</c>\n<cy>and the</c> <cl>\"Hide Player Dash Fire\"</c> <cy>toggle in</c> <cl>KrazyPlayLayer</c><cy>.</c>",
97+
"description": "Hides both players when taking a screenshot\nwhile playing a level or while inside the level editor.\n\n<co>If \"Editor Trail In-Game\" by Zilko is installed, the Editor Trail that Zilko's mod adds will also be hidden in the screenshot.</c>\n\n<cy>Note that not everything can be hidden;</c>\n<cy>dash fire sprites, spider teleportation trails, and ghost icon trails</c>\n<cy>may still be visible in some cases.</c>\n<cy>To hide them more consistently during gameplay,</c>\n<cy>find the</c> <cl>\"No Ghost Trail\"</c> <cy>toggle in</c> <cl>Eclipse Menu</c>\n<cy>and the</c> <cl>\"Hide Player Dash Fire\"</c> <cy>toggle in</c> <cl>KrazyPlayLayer</c><cy>.</c>",
9898
"default": false
9999
},
100100
"hide-multiplayers": {
101101
"type": "bool",
102102
"name": "Hide Other Players",
103-
"description": "Hide other players when taking a screenshot\nwhile playing a level or while inside the level editor.\n\n<co>If \"Editor Trail In-Game\" by Zilko is installed, the Editor Trail that Zilko's mod adds will also be hidden.</c>\n\n<cy>Useful for those using Globed, Champions, and Editor Collab.</c>\n\n<cy>This still won't hide every possible part of a player; see \"Hide Player\" for more info.</c>",
103+
"description": "Hide other players when taking a screenshot\nwhile playing a level or while inside the level editor.\n\n<cy>Useful for those using Globed, Champions, and Editor Collab.</c>\n\n<cy>This still won't hide every possible part of a player; see \"Hide Player\" for more info.</c>",
104104
"default": true
105105
},
106106
"hide-ui": {
@@ -136,13 +136,13 @@
136136
"hide-debug-draw": {
137137
"type": "bool",
138138
"name": "Hide Editor Hitboxes/Debug Draw",
139-
"description": "<cp>Inspired by Ausk, with MASSIVE help from Zilko.</c>\n\nHides object hitboxes when taking a screenshot while inside the level editor.\n\n<cy>Note that this won't hide everything visible in the level editor as the Geode index grows.</c>",
139+
"description": "<cp>Inspired by Ausk, with MASSIVE help from Zilko.\n\n</c>Hides object hitboxes when taking a screenshot while inside the level editor.\n\n<cy>Note that this won't hide everything visible in the level editor as the Geode index grows.</c>",
140140
"default": false
141141
},
142142
"hide-playtest-path-clicks": {
143143
"type": "bool",
144144
"name": "Hide Editor Playtest Path and Clicks",
145-
"description": "<cp>Inspired by Ausk, with MASSIVE help from Zilko.</c>\n\nHides the playtest path and clicks when taking a screenshot while inside the level editor.\n\n<cy>Note that this won't hide everything visible in the level editor as the Geode index grows.</c>",
145+
"description": "<cp>Inspired by Ausk, with MASSIVE help from Zilko.</c>\n\nHides the playtest path and clicks when taking a screenshot while inside the level editor.\n\n<co>If \"LevelPath\" by SorkoPiko is installed, the trail of player icons that SorkoPiko's mod adds will also be hidden in the screenshot.</c>\n\n<cy>Note that this won't hide everything visible in the level editor as the Geode index grows.</c>",
146146
"default": false
147147
},
148148
"use-window-width": {

src/SharedScreenshotLogic.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ void SharedScreenshotLogic::screenshot(CCNode* node) {
494494
ADD_NODE(lel->m_debugDrawNode->getParent(), nwo5.better_editor_trail/better-trail-indicators);
495495
}
496496
ADD_MEM(lel, m_playtestDeathSprite);
497+
ADD_NODE(lel, sorkopiko.levelpath/level-path-node);
497498
}
498499
if (hideTN && lel) {
499500
// funny story: i was supposed to add this far earlier, but forgot. oops! --raydeeux
@@ -645,6 +646,7 @@ void SharedScreenshotLogic::screenshot(CCNode* node) {
645646
RES_NODE(lel->m_debugDrawNode->getParent(), nwo5.better_editor_trail/better-trail-indicators);
646647
}
647648
RES_MEM(lel, m_playtestDeathSprite);
649+
RES_NODE(lel, sorkopiko.levelpath/level-path-node);
648650
}
649651
if (hideTN && lel) {
650652
// funny story: i was supposed to add this far earlier, but forgot. oops! --raydeeux

0 commit comments

Comments
 (0)