[Added] God2 and Buddha2 cheats

Moderator: GZDoom Developers

God2 and Buddha2 cheats

Postby Major Cooke » Fri Oct 24, 2014 7:57 pm

For the ultimate enthusiast and/or tester who just needs to live through all sorts of testing, this is for them.

In short, it remains absolutely stalwart against no matter how much damage is dealt, or by whatever means it is dealt with.

Also attempts to fix that annoying bug where NODAMAGE doesn't factor in when voodoo dolls are damaged. That flag means precisely that.
User avatar
Major Cooke
The road to Hell is paved in the carrion she leaves behind.
 
Joined: 28 Jan 2007

Re: God2 and Buddha2 cheats

Postby Graf Zahl » Sat Oct 25, 2014 2:45 am

Added - but please note that I didn't merge this, but cherry-picked your commits into the master branch because for some reason this pull request created a bit of the mess in the commit history. So next time you do something, make sure you perform a rebase instead of a merge when you pull the changes before you start working.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: God2 and Buddha2 cheats

Postby Edward-san » Sat Oct 25, 2014 5:39 am

Code: Select allExpand view
/home/edward-san/zdoom/trunk/src/p_interaction.cpp: In function ‘int P_DamageMobj(AActor*, AActor*, AActor*, int, FName, int)’:
/home/edward-san/zdoom/trunk/src/p_interaction.cpp:1265:100: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    if ((player->cheats & CF_BUDDHA2) || ((player->cheats & CF_BUDDHA) && damage < TELEFRAG_DAMAGE) && player->playerstate != PST_DEAD)
                                                                                                    ^
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: God2 and Buddha2 cheats

Postby Graf Zahl » Sat Oct 25, 2014 6:13 am

Ha, ha, it wasn't even correct to begin with...
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: God2 and Buddha2 cheats

Postby Major Cooke » Sat Oct 25, 2014 8:11 am

Right. Sorry about that. I've been trying to figure out how to rebase it. Does that essentially mean deleting my fork and starting anew?
User avatar
Major Cooke
The road to Hell is paved in the carrion she leaves behind.
 
Joined: 28 Jan 2007

Re: God2 and Buddha2 cheats

Postby Graf Zahl » Sat Oct 25, 2014 8:14 am

If you are unsure how to rebase, yes, that' s my recommendation. I've just finished fixing bugs so it's a good time right now.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests