Best Practice of cross-platform games

时间:2021-09-12 17:10:12

__super keyword

this keyworld is offered only by Microsoft VC. So you had to call the very name of parent class, instead of __super.

folder separator

"\"is the separator of windows. For cross-platform games, you must use "/" in all sources.

standard C library & STL

Use standard C library & STL instead of the particular APIs of each platform.
Note that some functions seem like the members of standard C library, but actually they aren't. Especially, junior programmers with only windows platform experience usually can't differentiate API set between standard C and win32 API.