fix parameters for humble_get_player_size to be pointers not references.
| | |
| | | * Gets the allowable player size of the humble player. Use this to restrict the size of the game in windowed mode. |
| | | * returns 1 if the restriction should be enforced.. 0 otherwise |
| | | */ |
| | | int humble_get_player_size(int& width, int& height); |
| | | int humble_get_player_size(int *width, int *height); |
| | | |
| | | #ifdef __cplusplus |
| | | }; |
| | |
| | | humble_init(); |
| | | |
| | | int w, h; |
| | | int ret = humble_get_player_size(w, h); |
| | | int ret = humble_get_player_size(&w, &h); |
| | | |
| | | std::cout << "HumblePlayerSize Enabled: " << ret << " @ ( " << w << ", " << h << " )\n"; |
| | | |