Photon 0.0.2 Simple Open Source 2D Game API |
PhotonMainPhotonMain is the entrypoint for all Photon applications, attempting to use main will result in an error message since main is defined within the library. Using PhotonMain as an entrypoint allows you to bypass any manual initialization of the core Photon library. Example PhotonMain Usageclass MainMenu : public State Summary
PhotonMain
Entrypoint for Photon applications. Arguments
Returnszero on success, non-zero on failure, just like standard main. |
Entrypoint for Photon applications.
int PhotonMain( const photon:: StrVec & args )