Users browsing this thread: 8 Guest(s)
PBG's ADVENTURE! (Yeah!)
#11
Ok, so, what is the reasoning for listing the variables at the top after the word "short"?

Code:
short hp, maxhp, maxHeartsPerRow, i;
    short cellX, cellY, cellPixelWidth, cellPixelHeight;
    short wholeHeartSpriteID, emptyHeartSpriteID;

Is this setting variables or...?

Also, what would I replace cellX/cellY, cellPixelWidth/height with? Or should I replace them at all?
[Image: rHiHaRN.jpg]
Reply
Thanked by:


Messages In This Thread
PBG's ADVENTURE! (Yeah!) - by Joxon - 08-17-2015, 12:12 AM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-18-2015, 07:18 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-29-2015, 08:38 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-29-2015, 09:55 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-29-2015, 10:12 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-29-2015, 10:56 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 12:36 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 02:28 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 02:47 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 03:16 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 03:23 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 03:36 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 03:38 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 04:08 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 04:18 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 04:43 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 04:55 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 04:57 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 05:30 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 07:49 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 07:52 PM
RE: PBG's ADVENTURE! (Yeah!) - by TheShyGuy - 08-30-2015, 07:59 PM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 08-30-2015, 08:05 PM
RE: PBG's ADVENTURE! (Yeah!) - by Silversea - 09-04-2015, 12:20 AM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 11-04-2015, 09:27 AM
RE: PBG's ADVENTURE! (Yeah!) - by Joxon - 11-07-2015, 11:14 AM

Forum Jump: