Skip to content

feat(cheats): add the elephant weapon and animated portrait - #1

Merged
nahime0 merged 6 commits into
mainfrom
feat/elephant-cheat
Oct 28, 2026
Merged

nahime0 merged 6 commits into
mainfrom
feat/elephant-cheat

Conversation

@nahime0

@nahime0 nahime0 commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Typing IDELEPHC shows a small elephant head from behind in the pistol slot and changes the marine portrait to an elephant. The head stays low in the view, with broad ears that flap when firing red/orange elephant projectiles. The weapon uses pistol ammo and cadence. Typing the code again restores the pistol and marine portrait.

The HUD elephant glances around and reacts to five health bands, firing, damage, pickups, invulnerability and death. The mode survives level changes and saves, and resets with a fresh player. Expressions use existing player state and require no new save fields.

Original pixel art is generated into memory using the WAD palette and rendered through existing clipping and projectile collision paths. The WAD file stays unchanged, its original bytes determine save fingerprints, and appended sprite/type records preserve legacy save indices.

Validation: 15 focused elephant tests (93 assertions) covering firing, collisions, persistence, expression priorities, health bands, portrait bounds and the rear head's low position and two ears; native SDL build; inspected real shareware E1M1 idle/firing frames and the portrait sheet. Native CI runs the full gameplay/tooling suites and packaging on Linux x86_64, Linux ARM64 and macOS ARM64.

@nahime0
nahime0 marked this pull request as ready for review October 28, 2026 13:53
@nahime0 nahime0 changed the title feat(cheats): add the elephant trunk cheat feat(cheats): add the elephant weapon and animated portrait Oct 28, 2026
@nahime0
nahime0 merged commit ba8916a into main Oct 28, 2026
3 checks passed
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.

1 participant