Skip to content

Commit

Permalink
Change values of Nugget's MIF_ flags
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Dec 28, 2023
1 parent 8c81cba commit c3b7d5b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@
- **Reimplemented _Move Over/Under Things_ feature**¹, making it much less bug-prone
- **Improved Automap line thickening when the window is downscaled**
- **Tweaked zooming effect**
- **Changed internal values of Nugget's internal mobj flags**²

**1\.** Among other changes, the setting itself has been extended: a value of `1` enables the feature only for players,
while a value of `2` enables it for all Things. This differs from the previous implementation, wherein `1` would enable
the feature for all Things.

**2\.** This change may affect existing saves.

## Bug Fixes

- **FOV effects not being cleared thoroughly upon loading levels**
11 changes: 7 additions & 4 deletions src/p_mobj.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,13 @@ enum {
MIF_SCROLLING = 8, // Object is affected by scroller / pusher / puller
// cosmetic
MIF_FLIP = 16,
// [Nugget]
MIF_CROUCHING = 32, // Mobj (player) is crouching
MIF_EXTRASPAWNED = 64, // [So Doom] Nightmare-spawned, Icon of Sin-spawned and Archvile-resurrected monsters
MIF_CHEESE = 128,

// [Nugget] ----------------------------------------------------------------

MIF_CROUCHING = 0x00010000, // Mobj (player) is crouching
MIF_EXTRASPAWNED = 0x00020000, // [So Doom] Nightmare-spawned, Icon of Sin-spawned and Archvile-resurrected monsters

MIF_CHEESE = 0x10000000,
};

// Map Object definition.
Expand Down

0 comments on commit c3b7d5b

Please sign in to comment.