Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start cleaning up blackout.c #269

Merged
merged 9 commits into from
Dec 19, 2023
Merged

start cleaning up blackout.c #269

merged 9 commits into from
Dec 19, 2023

Conversation

red031000
Copy link
Member

WIP

@red031000 red031000 marked this pull request as draft November 30, 2023 04:53
@red031000 red031000 marked this pull request as ready for review December 16, 2023 14:47
@red031000
Copy link
Member Author

ready for review

src/blackout.c Outdated Show resolved Hide resolved
src/blackout.c Outdated Show resolved Hide resolved
src/blackout.c Outdated Show resolved Hide resolved
src/blackout.c Outdated
static BOOL Task_ShowPrintedBlackoutMessage(TaskManager *taskManager) {
BlackoutScreenEnvironment *env = TaskManager_GetEnvironment(taskManager);
switch (env->state) {
case 0:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

State enum consts if known

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fully known, I am however debating whether this is the correct name for the func, as it does seem to mostly be palette fades

src/blackout.c Outdated Show resolved Hide resolved
src/blackout.c Show resolved Hide resolved
src/blackout.c Show resolved Hide resolved
src/blackout.c Show resolved Hide resolved
src/blackout.c Outdated Show resolved Hide resolved
src/blackout.c Outdated
u16 deathSpawn;

switch (*state) {
case 0:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

State consts if known

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fully known, some are unclear

@adrienntindall
Copy link
Collaborator

Address conflicting files please

@@ -0,0 +1,243 @@
#include "scrcmd.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing this file is made difficult by the fact that it was both renamed and substantially modified from field_black_out.c.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is somewhat the point

@adrienntindall adrienntindall merged commit 4656429 into pret:master Dec 19, 2023
1 check passed
github-actions bot pushed a commit that referenced this pull request Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants