ZoriaRPG

Test Parser Association of Pointers Stored in Arrays

Dec 29th, 2016
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int GRAM[214747];
  2.  
  3. const int SUBSCREEN = 501; //THe subscreen pointer.
  4.  
  5. int SubPaneY(int pane){
  6.     if ( pane == PANE_LEFT ) return GRAM[SUBSCREEN[PANE_LEFT_Y]];
  7.     else if ( pane == PANE_RIGHT ) return GRAM[SUBSCREEN[PANE_RIGHT_Y]];
  8.     else return GRAM[SUBSCREEN[PANE_CENTRE_Y]];
  9. }
  10.  
  11. ffc script testptrassoc{
  12.     void run(int pane){
  13.         bool bbb = SubPaneY(pane);
  14.     }
  15. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×