Anonymous user
AGS Pointers for Dummies: Difference between revisions
Jump to navigation
Jump to search
m
removed datestamp
*>SSH (copied from previous location) |
*>SSH m (removed datestamp) |
||
Line 1: | Line 1: | ||
==AGS Pointers for Dummies (A reference for the rest of us!)== | ==AGS Pointers for Dummies (A reference for the rest of us!)== | ||
''So what exactly are pointers, and how do I use them?'' | ''So what exactly are pointers, and how do I use them?'' | ||
Line 75: | Line 74: | ||
'''''Note that if you have less than 5 GUIs in your game, this WILL crash it.''''' | '''''Note that if you have less than 5 GUIs in your game, this WILL crash it.''''' | ||
I forgot to mention, that you can even place a pointer inside of a struct. This can be another '''great''' use for pointers in AGS. You define it the same way you define any other variable in a struct: | I forgot to mention, that you can even place a pointer inside of a struct. This can be another '''great''' use for pointers in AGS. You define it the same way you define any other variable in a struct: |