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

Method PopUnsignedByte

src/newgrf_text.cpp:694–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692 }
693
694 uint8_t PopUnsignedByte()
695 {
696 if (this->stack.empty()) return 0;
697 auto res = this->stack.back();
698 this->stack.pop_back();
699 return res;
700 }
701 int8_t PopSignedByte() { return (int8_t)this->PopUnsignedByte(); }
702
703 uint16_t PopUnsignedWord()

Callers 3

PopSignedByteMethod · 0.95
PopUnsignedWordMethod · 0.95

Calls 2

pop_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected