Originally Posted By: EvilSOB
To the best of my knowledge, the "player" pointer as an engine defines pointer
for use (exclusively?) with the templates and some default.c functions.
Its equivalent is simply a global declare like
Code:
ENTITY* player;

Other than that, it doesnt really DO anything, or be affected by anything.

I try to avoid using it in lite-c, because it "feels" like an old legacy
pointer...

But I will still welcome other peoples opinions.


There is nothing wrong with using "player".

Just use "player = my;" in the action of whatever entity you chose and it'll work fine as a pointer.

So it is not just exclusive with the templates and default.c, it can be used like any other pointer.


I was once Anonymous_Alcoholic.

Code Breakpoint;