Customizable Keys

  • Potbelly
    19th Feb 2013 Banned 0 Permalink
    This post is hidden because the user is banned
  • boxmein
    19th Feb 2013 Former Staff 0 Permalink
    Aren't you a brilliant one.
    I could try it out, I'm itching for some C++ action anyway.
  • therocketeer
    19th Feb 2013 Member 0 Permalink
    Could it be something quite simple? Something like when "O" is pressed, process the most recent console command.
  • boxmein
    19th Feb 2013 Former Staff 0 Permalink
    @therocketeer (View Post)
    Well, this yes. Something else has to happen though for that....
    Basically, when TPT++ was introduced, every class file was locked out of other classes' (private) functions. With the TPT layout being complex as is, it could mean something like passing around pointers to the original GameView object (which controls key presses!) or pointers to the TPTScriptInterface object (which controls old console commands), which means I have to find where the objects are originally created, or make some sort of an interface. I might have a few plans drawn up but I haven't a clue where said objects are first created, to get the "original" objects. Making a new one would make all commands get handled twice, I think.
    I tried implementing the above. Sadly I couldn't wrap my head around it. ;_;
  • therocketeer
    19th Feb 2013 Member 1 Permalink
    @boxmein (View Post)
    Yeah I was thinking that