MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / PopUnsignedWord

Method PopUnsignedWord

src/newgrf_text.cpp:703–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 int8_t PopSignedByte() { return (int8_t)this->PopUnsignedByte(); }
702
703 uint16_t PopUnsignedWord()
704 {
705 uint16_t val = this->PopUnsignedByte();
706 return val | (this->PopUnsignedByte() << 8);
707 }
708 int16_t PopSignedWord() { return (int32_t)this->PopUnsignedWord(); }
709
710 uint32_t PopUnsignedDWord()

Callers 4

PopSignedWordMethod · 0.95
PopUnsignedDWordMethod · 0.95
RotateTop4WordsMethod · 0.95

Calls 1

PopUnsignedByteMethod · 0.95

Tested by

no test coverage detected