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

fix typos #2291

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2627,7 +2627,7 @@ void mem_free_dbg(void *p)
}

/**
* @brief Load a file in to a buffer
* @brief Load a file into a buffer
* @param pszName Path of file
* @param pdwFileLen Will be set to file size if non-NULL
* @return Buffer with content of file
Expand Down Expand Up @@ -2656,7 +2656,7 @@ BYTE *LoadFileInMem(const char *pszName, DWORD *pdwFileLen)
}

/**
* @brief Load a file in to the given buffer
* @brief Load a file into the given buffer
* @param pszName Path of file
* @param p Target buffer
* @return Size of file
Expand Down
4 changes: 2 additions & 2 deletions Source/pack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ void PackPlayer(PkPlayerStruct *pPack, int pnum, BOOL manashield)
}

/**
* Expand a PkItemStruct in to a ItemStruct
* Expand a PkItemStruct into an ItemStruct
*
* Note: last slot of item[MAXITEMS+1] used as temporary buffer
* find real name reference below, possibly [sizeof(item[])/sizeof(ItemStruct)]
* @param is The source packed item
* @param id The distination item
* @param id The destination item
*/
#ifndef HELLFIRE
static
Expand Down
2 changes: 1 addition & 1 deletion structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ typedef struct MonsterStruct { // note: missing field _mAFNum
int _mxvel; // Pixel X-velocity while walking. Applied to _mxoff
int _myvel; // Pixel Y-velocity while walking. Applied to _myoff
int _mdir; // Direction faced by monster (direction enum)
int _menemy; // The current target of the mosnter. An index in to either the plr or monster array based on the _meflag value.
int _menemy; // The current target of the monster. An index into either the plr or monster array based on the _meflag value.
unsigned char _menemyx; // X-coordinate of enemy (usually correspond's to the enemy's futx value)
unsigned char _menemyy; // Y-coordinate of enemy (usually correspond's to the enemy's futy value)
short falign_52; // probably _mAFNum (unused)
Expand Down
Loading