Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 174 forks source link

Fixes issues in KoreC Kinc-HL #1357

Closed QuantumCoderQC closed 3 years ago

QuantumCoderQC commented 3 years ago

This PR fixes issues mentioned at https://github.com/armory3d/armory/issues/2267

Specifically, the following issues that occur in Visual Studio when targeting Kore-HL

'return Kore::Display::init()' : cannot convert from 'void' to 'int'
'Kore::Video::position': non-standard syntax; use '&' to create a pointer to member
'Kore::Video::finished': non-standard syntax; use '&' to create a pointer to member
'Kore::Video::duration': non-standard syntax; use '&' to create a pointer to member
'Kore::Mouse::unlock': function does not take 1 arguments
'Kore::Mouse::isLocked': function does not take 1 arguments
'Kore::Mouse::canLock': function does not take 1 arguments

Tested on Windows-HL and Android-HL targets with Armory3D projects and latest Kode repository.