Jump to content

Photo

Announcing ZeldaShark (current v1.2.0)

cheat

  • Please log in to reply
123 replies to this topic

#121 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 01 July 2014 - 08:11 PM

I see. That's awkward... So we just need call a function to verify and possibly sync gamedata::cheat with the cheat flags on calls to Game->Cheat and the cheat dialog then. Unless there's a better way.

#122 anikom15

anikom15

    Dictator

  • Banned
  • Real Name:Westley
  • Location:California, United States

Posted 01 July 2014 - 08:40 PM

If gamedata::_cheat is the same type as the cheat flags, then you could just make it a reference to the flags. Else you will have to refactor it so they always keep in sync.

EDIT: I don't know the code I just always forget reference variables exist :D

EDIT2: You could also do operator overloading magic to make a class that keeps everything in sync look and act like game::_cheat does. This would be cryptic.

Edited by anikom15, 01 July 2014 - 08:59 PM.


#123 zcbeadnik

zcbeadnik

    Newbie

  • Members

Posted 25 October 2015 - 04:13 PM

Thank you for ZeldaShark! Very helpful!! :)



#124 Deedee

Deedee

    Bug Frog Dragon Girl

  • Moderators
  • Real Name:Deedee
  • Pronouns:She / Her, They / Them
  • Location:Canada

Posted 24 December 2015 - 01:37 AM

Now 100% broken in 2.50.2.

EDIT: It's fixed now.


Edited by Dimentio, 13 November 2018 - 12:11 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users