Searched refs:boolFields (Results 1 – 6 of 6) sorted by relevance
125 Uint8 boolFields = unserializeInt(&buffer, serKey.boolFields); in loadBinary() local126 _discovered[0] = (boolFields & 1) ? true : false; in loadBinary()127 _discovered[1] = (boolFields & 2) ? true : false; in loadBinary()128 _discovered[2] = (boolFields & 4) ? true : false; in loadBinary()129 _currentFrame[1] = (boolFields & 8) ? 7 : 0; in loadBinary()130 _currentFrame[2] = (boolFields & 0x10) ? 7 : 0; in loadBinary()187 Uint8 boolFields = (_discovered[0]?1:0) + (_discovered[1]?2:0) + (_discovered[2]?4:0); in saveBinary() local188 boolFields |= isUfoDoorOpen(1) ? 8 : 0; // west in saveBinary()189 boolFields |= isUfoDoorOpen(2) ? 0x10 : 0; // north? in saveBinary()190 serializeInt(buffer, serializationKey.boolFields, boolFields); in saveBinary()
54 Uint8 boolFields; member
158 …serKey.boolFields = node["tileBoolFieldsSize"].as<Uint8>(1); // boolean flags used to be stored in… in load()389 node["tileBoolFieldsSize"] = Tile::serializationKey.boolFields; in save()
173 var boolFields = map[string]boolField{ var197 if f, ok := boolFields[name[len("no-"):]]; ok {201 if f, ok := boolFields[name[len("toggle-"):]]; ok {205 if f, ok := boolFields[name]; ok {
137 func boolFields(input string) (result map[string]bool) { func