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

Give names to dword_12345678 idents #1591

Closed
wants to merge 5 commits into from
Closed

Give names to dword_12345678 idents #1591

wants to merge 5 commits into from

Conversation

mewmew
Copy link
Contributor

@mewmew mewmew commented Sep 10, 2019

Give name to gmenu_enable_func and unused_help, ...

@mewmew mewmew changed the title Give name to gmenu_enable_func Give names to dword_12345678 idents Sep 10, 2019
@@ -37,8 +37,8 @@ BYTE *pDungeonCels;
int SpeedFrameTbl[128][16];
THEME_LOC themeLoc[MAXTHEMES];
char dPlayer[MAXDUNX][MAXDUNY];
int dword_5C2FF8;
int dword_5C2FFC;
int game_world_width;
Copy link
Member

Choose a reason for hiding this comment

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

Maybe screen_chunks and screen_blocks. Since it's screen size and not world size.

Copy link
Member

Choose a reason for hiding this comment

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

game_view_chunks, game_view_blocks

@@ -7,7 +7,7 @@ TMenuItem *sgpCurrItem;
BYTE *BigTGold_cel;
int PentSpin_tick;
BYTE PentSpin_frame;
void (*dword_63447C)(TMenuItem *);
void (*gmenu_enable_func)(TMenuItem *);
Copy link
Member

Choose a reason for hiding this comment

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

gmenu_current_option?

@mewmew
Copy link
Contributor Author

mewmew commented Jan 2, 2021

Closing this PR as most variables have been given names already.

The one missing is:

  • dword_63447C -> gmenu_current_option / gmenu_enable_func

@mewmew mewmew closed this Jan 2, 2021
@@ -438,7 +438,7 @@ const char gszHelpText[] = {
void InitHelp()
{
helpflag = 0;
dword_634494 = 0;
unused_help = 0;
Copy link
Member

Choose a reason for hiding this comment

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

We could call it unhelpful :P

@AJenbo
Copy link
Member

AJenbo commented Jan 3, 2021

Applied via a006a25

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.

2 participants