Skip to content

Commit

Permalink
fix some spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaulwurff committed Jun 26, 2022
1 parent a1c61b7 commit 4d48762
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GZDoom 4.5 required.
- Different representations: blocks, wheel, plain text
- Press Fire key to select and Alt Fire key to cancel
- Color and scale options
- Customizable behavior
- Behavior options
- Multiplayer compatible
- Reaction to number keys
- extras.wad icon support for vanilla weapons
Expand Down Expand Up @@ -57,7 +57,7 @@ Inventory.AltHudIcon for your weapons! Tag property is also nice to have.
## Known Issues

- Weapon icons in wheel aren't affected by "HUD preserves aspect ration" option.
- Mouse input in wheel in multiplayer causes screen jitter.
- Mouse input in wheel in multiplayer causes screen shake.

## License

Expand Down
2 changes: 1 addition & 1 deletion zscript/gearbox/display/blocky_view.zs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class gb_BlockyView

if (mOptions.isShowingTags()) drawTag(viewModel.tags[i], aFont, slotX, weaponY);
}
else // unselected slot (small boxes)
else // not selected slot (small boxes)
{
int boxY = startY - MARGIN + (SLOT_SIZE + MARGIN) * (inSlotIndex + 1);
drawAlphaTexture(mTextureCache.blockBox, slotX, boxY, mBaseColor);
Expand Down
6 changes: 3 additions & 3 deletions zscript/gearbox/input_processor.zs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class gb_InputProcessor
if (event.type != InputEvent.Type_KeyDown) return InputNothing;

int key = event.keyScan;
if (isKeyForCommand(key, "weapnext" )) return InputSelectNextWeapon;
if (isKeyForCommand(key, "weapprev" )) return InputSelectPrevWeapon;
if (isKeyForCommand(key, "weapNext" )) return InputSelectNextWeapon;
if (isKeyForCommand(key, "weapPrev" )) return InputSelectPrevWeapon;
if (isKeyForCommand(key, "+attack" )) return InputConfirmSelection;
if (isKeyForCommand(key, "+altattack")) return InputClose;
if (isKeyForCommand(key, "+altAttack")) return InputClose;

for (int i = 0; i <= 11; ++i)
{
Expand Down
2 changes: 1 addition & 1 deletion zscript/gearbox/inventory_menu.zs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class gb_InventoryMenu
if (item.bInvBar)
{
string tag = item.getTag();
int icon = int(BaseStatusBar.getInventoryIcon(item, BaseStatusBar.DI_ALTICONFIRST));
int icon = int(BaseStatusBar.getInventoryIcon(item, BaseStatusBar.DI_AltIconFirst));
viewModel.tags .push(tag);
viewModel.slots .push(index + 1);
viewModel.indices .push(index);
Expand Down
2 changes: 1 addition & 1 deletion zscript/gearbox/weapon_menu.zs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class gb_WeaponMenu
private ui
TextureID getIconFor(Weapon aWeapon) const
{
TextureID icon = BaseStatusBar.getInventoryIcon(aWeapon, BaseStatusBar.DI_ALTICONFIRST);
TextureID icon = BaseStatusBar.getInventoryIcon(aWeapon, BaseStatusBar.DI_AltIconFirst);

{
uint nServices = mIconServices.size();
Expand Down

0 comments on commit 4d48762

Please sign in to comment.