vec4u rvec4u( FILE *fp ) { vec4u v; v.x=ruint(fp); v.y=ruint(fp); v.z=ruint(fp); v.w=ruint(fp); return v; }
std::string rstr( FILE *fp ) { uint l=ruint(fp); string r; for(int i=0;i<l;i++) { r.push_back(fgetc(fp)); } return r; }
rbool RDOKeyboard::hasHotKey() const { return m_scan_code != ruint(-1) ? true : false; }